2 lines
4.9 MiB
2 lines
4.9 MiB
/*! For license information please see 823.507effc9.iframe.bundle.js.LICENSE.txt */
|
||
(self.webpackChunkowncast_admin=self.webpackChunkowncast_admin||[]).push([[823],{"./node_modules/@ant-design/colors/dist/index.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R_:()=>generate});var _ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/conversion.js"),_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/format-input.js"),darkColorMap=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function toHsv(_ref){var r=_ref.r,g=_ref.g,b=_ref.b,hsv=(0,_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__.py)(r,g,b);return{h:360*hsv.h,s:hsv.s,v:hsv.v}}function toHex(_ref2){var r=_ref2.r,g=_ref2.g,b=_ref2.b;return"#".concat((0,_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__.vq)(r,g,b,!1))}function mix(rgb1,rgb2,amount){var p=amount/100;return{r:(rgb2.r-rgb1.r)*p+rgb1.r,g:(rgb2.g-rgb1.g)*p+rgb1.g,b:(rgb2.b-rgb1.b)*p+rgb1.b}}function getHue(hsv,i,light){var hue;return(hue=Math.round(hsv.h)>=60&&Math.round(hsv.h)<=240?light?Math.round(hsv.h)-2*i:Math.round(hsv.h)+2*i:light?Math.round(hsv.h)+2*i:Math.round(hsv.h)-2*i)<0?hue+=360:hue>=360&&(hue-=360),hue}function getSaturation(hsv,i,light){return 0===hsv.h&&0===hsv.s?hsv.s:((saturation=light?hsv.s-.16*i:4===i?hsv.s+.16:hsv.s+.05*i)>1&&(saturation=1),light&&5===i&&saturation>.1&&(saturation=.1),saturation<.06&&(saturation=.06),Number(saturation.toFixed(2)));var saturation}function getValue(hsv,i,light){var value;return(value=light?hsv.v+.05*i:hsv.v-.15*i)>1&&(value=1),Number(value.toFixed(2))}function generate(color){for(var opts=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},patterns=[],pColor=(0,_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_1__.uA)(color),i=5;i>0;i-=1){var hsv=toHsv(pColor),colorString=toHex((0,_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_1__.uA)({h:getHue(hsv,i,!0),s:getSaturation(hsv,i,!0),v:getValue(hsv,i,!0)}));patterns.push(colorString)}patterns.push(toHex(pColor));for(var _i=1;_i<=4;_i+=1){var _hsv=toHsv(pColor),_colorString=toHex((0,_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_1__.uA)({h:getHue(_hsv,_i),s:getSaturation(_hsv,_i),v:getValue(_hsv,_i)}));patterns.push(_colorString)}return"dark"===opts.theme?darkColorMap.map((function(_ref3){var index=_ref3.index,opacity=_ref3.opacity;return toHex(mix((0,_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_1__.uA)(opts.backgroundColor||"#141414"),(0,_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_1__.uA)(patterns[index]),100*opacity))})):patterns}var presetPrimaryColors={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},presetPalettes={},presetDarkPalettes={};Object.keys(presetPrimaryColors).forEach((function(key){presetPalettes[key]=generate(presetPrimaryColors[key]),presetPalettes[key].primary=presetPalettes[key][5],presetDarkPalettes[key]=generate(presetPrimaryColors[key],{theme:"dark",backgroundColor:"#141414"}),presetDarkPalettes[key].primary=presetDarkPalettes[key][5]}));presetPalettes.red,presetPalettes.volcano,presetPalettes.gold,presetPalettes.orange,presetPalettes.yellow,presetPalettes.lime,presetPalettes.green,presetPalettes.cyan,presetPalettes.blue,presetPalettes.geekblue,presetPalettes.purple,presetPalettes.magenta,presetPalettes.grey},"./node_modules/@ant-design/icons/es/components/AntdIcon.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>AntdIcon});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),Context=__webpack_require__("./node_modules/@ant-design/icons/es/components/Context.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),index_esm=__webpack_require__("./node_modules/@ant-design/colors/dist/index.esm.js"),warning=__webpack_require__("./node_modules/rc-util/es/warning.js"),canUseDom=__webpack_require__("./node_modules/rc-util/es/Dom/canUseDom.js");function getContainer(option){return option.attachTo?option.attachTo:document.querySelector("head")||document.body}function injectCSS(css){var _option$csp,option=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,canUseDom.Z)())return null;var _option$csp2,styleNode=document.createElement("style");(null===(_option$csp=option.csp)||void 0===_option$csp?void 0:_option$csp.nonce)&&(styleNode.nonce=null===(_option$csp2=option.csp)||void 0===_option$csp2?void 0:_option$csp2.nonce);styleNode.innerHTML=css;var container=getContainer(option),firstChild=container.firstChild;return option.prepend&&container.prepend?container.prepend(styleNode):option.prepend&&firstChild?container.insertBefore(styleNode,firstChild):container.appendChild(styleNode),styleNode}var containerCache=new Map;function findExistNode(key){var option=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},container=getContainer(option);return Array.from(containerCache.get(container).children).find((function(node){return"STYLE"===node.tagName&&node["rc-util-key"]===key}))}function updateCSS(css,key){var option=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},container=getContainer(option);if(!containerCache.has(container)){var placeholderStyle=injectCSS("",option),parentNode=placeholderStyle.parentNode;containerCache.set(container,parentNode),parentNode.removeChild(placeholderStyle)}var existNode=findExistNode(key,option);if(existNode){var _option$csp3,_option$csp4,_option$csp5;if((null===(_option$csp3=option.csp)||void 0===_option$csp3?void 0:_option$csp3.nonce)&&existNode.nonce!==(null===(_option$csp4=option.csp)||void 0===_option$csp4?void 0:_option$csp4.nonce))existNode.nonce=null===(_option$csp5=option.csp)||void 0===_option$csp5?void 0:_option$csp5.nonce;return existNode.innerHTML!==css&&(existNode.innerHTML=css),existNode}var newNode=injectCSS(css,option);return newNode["rc-util-key"]=key,newNode}function isIconDefinition(target){return"object"===(0,esm_typeof.Z)(target)&&"string"==typeof target.name&&"string"==typeof target.theme&&("object"===(0,esm_typeof.Z)(target.icon)||"function"==typeof target.icon)}function normalizeAttrs(){var attrs=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(attrs).reduce((function(acc,key){var val=attrs[key];if("class"===key)acc.className=val,delete acc.class;else acc[key]=val;return acc}),{})}function generate(node,key,rootProps){return rootProps?react.createElement(node.tag,(0,objectSpread2.Z)((0,objectSpread2.Z)({key},normalizeAttrs(node.attrs)),rootProps),(node.children||[]).map((function(child,index){return generate(child,"".concat(key,"-").concat(node.tag,"-").concat(index))}))):react.createElement(node.tag,(0,objectSpread2.Z)({key},normalizeAttrs(node.attrs)),(node.children||[]).map((function(child,index){return generate(child,"".concat(key,"-").concat(node.tag,"-").concat(index))})))}function getSecondaryColor(primaryColor){return(0,index_esm.R_)(primaryColor)[0]}function normalizeTwoToneColors(twoToneColor){return twoToneColor?Array.isArray(twoToneColor)?twoToneColor:[twoToneColor]:[]}var iconStyles="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",_excluded=["icon","className","onClick","style","primaryColor","secondaryColor"],twoToneColorPalette={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var IconBase=function IconBase(props){var icon=props.icon,className=props.className,onClick=props.onClick,style=props.style,primaryColor=props.primaryColor,secondaryColor=props.secondaryColor,restProps=(0,objectWithoutProperties.Z)(props,_excluded),colors=twoToneColorPalette;if(primaryColor&&(colors={primaryColor,secondaryColor:secondaryColor||getSecondaryColor(primaryColor)}),function useInsertStyles(){var styleStr=arguments.length>0&&void 0!==arguments[0]?arguments[0]:iconStyles,csp=(0,react.useContext)(Context.Z).csp;(0,react.useEffect)((function(){updateCSS(styleStr,"@ant-design-icons",{prepend:!0,csp})}),[])}(),function utils_warning(valid,message){(0,warning.ZP)(valid,"[@ant-design/icons] ".concat(message))}(isIconDefinition(icon),"icon should be icon definiton, but got ".concat(icon)),!isIconDefinition(icon))return null;var target=icon;return target&&"function"==typeof target.icon&&(target=(0,objectSpread2.Z)((0,objectSpread2.Z)({},target),{},{icon:target.icon(colors.primaryColor,colors.secondaryColor)})),generate(target.icon,"svg-".concat(target.name),(0,objectSpread2.Z)({className,onClick,style,"data-icon":target.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},restProps))};IconBase.displayName="IconReact",IconBase.getTwoToneColors=function getTwoToneColors(){return(0,objectSpread2.Z)({},twoToneColorPalette)},IconBase.setTwoToneColors=function setTwoToneColors(_ref){var primaryColor=_ref.primaryColor,secondaryColor=_ref.secondaryColor;twoToneColorPalette.primaryColor=primaryColor,twoToneColorPalette.secondaryColor=secondaryColor||getSecondaryColor(primaryColor),twoToneColorPalette.calculated=!!secondaryColor};const components_IconBase=IconBase;function setTwoToneColor(twoToneColor){var _normalizeTwoToneColo=normalizeTwoToneColors(twoToneColor),_normalizeTwoToneColo2=(0,slicedToArray.Z)(_normalizeTwoToneColo,2),primaryColor=_normalizeTwoToneColo2[0],secondaryColor=_normalizeTwoToneColo2[1];return components_IconBase.setTwoToneColors({primaryColor,secondaryColor})}var AntdIcon_excluded=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];setTwoToneColor("#1890ff");var Icon=react.forwardRef((function(props,ref){var _classNames,className=props.className,icon=props.icon,spin=props.spin,rotate=props.rotate,tabIndex=props.tabIndex,onClick=props.onClick,twoToneColor=props.twoToneColor,restProps=(0,objectWithoutProperties.Z)(props,AntdIcon_excluded),_React$useContext$pre=react.useContext(Context.Z).prefixCls,prefixCls=void 0===_React$useContext$pre?"anticon":_React$useContext$pre,classString=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(icon.name),!!icon.name),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-spin"),!!spin||"loading"===icon.name),_classNames),className),iconTabIndex=tabIndex;void 0===iconTabIndex&&onClick&&(iconTabIndex=-1);var svgStyle=rotate?{msTransform:"rotate(".concat(rotate,"deg)"),transform:"rotate(".concat(rotate,"deg)")}:void 0,_normalizeTwoToneColo=normalizeTwoToneColors(twoToneColor),_normalizeTwoToneColo2=(0,slicedToArray.Z)(_normalizeTwoToneColo,2),primaryColor=_normalizeTwoToneColo2[0],secondaryColor=_normalizeTwoToneColo2[1];return react.createElement("span",(0,objectSpread2.Z)((0,objectSpread2.Z)({role:"img","aria-label":icon.name},restProps),{},{ref,tabIndex:iconTabIndex,onClick,className:classString}),react.createElement(components_IconBase,{icon,primaryColor,secondaryColor,style:svgStyle}))}));Icon.displayName="AntdIcon",Icon.getTwoToneColor=function getTwoToneColor(){var colors=components_IconBase.getTwoToneColors();return colors.calculated?[colors.primaryColor,colors.secondaryColor]:colors.primaryColor},Icon.setTwoToneColor=setTwoToneColor;const AntdIcon=Icon},"./node_modules/@ant-design/icons/es/components/Context.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=(0,__webpack_require__("./node_modules/react/index.js").createContext)({})},"./node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_CheckCircleFilled});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_CheckCircleFilled={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),CheckCircleFilled_CheckCircleFilled=function CheckCircleFilled(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_CheckCircleFilled}))};CheckCircleFilled_CheckCircleFilled.displayName="CheckCircleFilled";const icons_CheckCircleFilled=react.forwardRef(CheckCircleFilled_CheckCircleFilled)},"./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_CloseCircleFilled});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_CloseCircleFilled={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),CloseCircleFilled_CloseCircleFilled=function CloseCircleFilled(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_CloseCircleFilled}))};CloseCircleFilled_CloseCircleFilled.displayName="CloseCircleFilled";const icons_CloseCircleFilled=react.forwardRef(CloseCircleFilled_CloseCircleFilled)},"./node_modules/@ant-design/icons/es/icons/CloseOutlined.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_CloseOutlined});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_CloseOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),CloseOutlined_CloseOutlined=function CloseOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_CloseOutlined}))};CloseOutlined_CloseOutlined.displayName="CloseOutlined";const icons_CloseOutlined=react.forwardRef(CloseOutlined_CloseOutlined)},"./node_modules/@ant-design/icons/es/icons/DownOutlined.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_DownOutlined});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_DownOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),DownOutlined_DownOutlined=function DownOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_DownOutlined}))};DownOutlined_DownOutlined.displayName="DownOutlined";const icons_DownOutlined=react.forwardRef(DownOutlined_DownOutlined)},"./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_EllipsisOutlined});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_EllipsisOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),EllipsisOutlined_EllipsisOutlined=function EllipsisOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_EllipsisOutlined}))};EllipsisOutlined_EllipsisOutlined.displayName="EllipsisOutlined";const icons_EllipsisOutlined=react.forwardRef(EllipsisOutlined_EllipsisOutlined)},"./node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_ExclamationCircleFilled});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_ExclamationCircleFilled={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),ExclamationCircleFilled_ExclamationCircleFilled=function ExclamationCircleFilled(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_ExclamationCircleFilled}))};ExclamationCircleFilled_ExclamationCircleFilled.displayName="ExclamationCircleFilled";const icons_ExclamationCircleFilled=react.forwardRef(ExclamationCircleFilled_ExclamationCircleFilled)},"./node_modules/@ant-design/icons/es/icons/LeftOutlined.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_LeftOutlined});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_LeftOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),LeftOutlined_LeftOutlined=function LeftOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_LeftOutlined}))};LeftOutlined_LeftOutlined.displayName="LeftOutlined";const icons_LeftOutlined=react.forwardRef(LeftOutlined_LeftOutlined)},"./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_LoadingOutlined});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_LoadingOutlined={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),LoadingOutlined_LoadingOutlined=function LoadingOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_LoadingOutlined}))};LoadingOutlined_LoadingOutlined.displayName="LoadingOutlined";const icons_LoadingOutlined=react.forwardRef(LoadingOutlined_LoadingOutlined)},"./node_modules/@ant-design/icons/es/icons/RightOutlined.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_RightOutlined});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_RightOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),RightOutlined_RightOutlined=function RightOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_RightOutlined}))};RightOutlined_RightOutlined.displayName="RightOutlined";const icons_RightOutlined=react.forwardRef(RightOutlined_RightOutlined)},"./node_modules/@ant-design/icons/es/icons/SearchOutlined.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_SearchOutlined});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_SearchOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),SearchOutlined_SearchOutlined=function SearchOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_SearchOutlined}))};SearchOutlined_SearchOutlined.displayName="SearchOutlined";const icons_SearchOutlined=react.forwardRef(SearchOutlined_SearchOutlined)},"./node_modules/@ant-design/icons/es/icons/SmileOutlined.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>icons_SmileOutlined});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_SmileOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),SmileOutlined_SmileOutlined=function SmileOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_SmileOutlined}))};SmileOutlined_SmileOutlined.displayName="SmileOutlined";const icons_SmileOutlined=react.forwardRef(SmileOutlined_SmileOutlined)},"./node_modules/@babel/runtime/helpers/extends.js":module=>{function _extends(){return module.exports=_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},module.exports.__esModule=!0,module.exports.default=module.exports,_extends.apply(this,arguments)}module.exports=_extends,module.exports.__esModule=!0,module.exports.default=module.exports},"./node_modules/@babel/runtime/regenerator/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__("./node_modules/regenerator-runtime/runtime.js")},"./node_modules/@base2/pretty-print-object/dist/index.js":function(__unused_webpack_module,exports){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},__assign.apply(this,arguments)},__spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;var r=Array(s),k=0;for(i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var seen=[];exports.prettyPrint=function prettyPrint(input,options,pad){void 0===pad&&(pad="");var tokens,combinedOptions=__assign(__assign({},{indent:"\t",singleQuotes:!0}),options);tokens=void 0===combinedOptions.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad,indent:pad+combinedOptions.indent}:{newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var expandWhiteSpace=function(string){if(void 0===combinedOptions.inlineCharacterLimit)return string;var oneLined=string.replace(new RegExp(tokens.newLine,"g"),"").replace(new RegExp(tokens.newLineOrSpace,"g")," ").replace(new RegExp(tokens.pad+"|"+tokens.indent,"g"),"");return oneLined.length<=combinedOptions.inlineCharacterLimit?oneLined:string.replace(new RegExp(tokens.newLine+"|"+tokens.newLineOrSpace,"g"),"\n").replace(new RegExp(tokens.pad,"g"),pad).replace(new RegExp(tokens.indent,"g"),pad+combinedOptions.indent)};if(-1!==seen.indexOf(input))return'"[Circular]"';if(null==input||"number"==typeof input||"boolean"==typeof input||"function"==typeof input||"symbol"==typeof input||function isRegexp(value){return"[object RegExp]"===Object.prototype.toString.call(value)}(input))return String(input);if(input instanceof Date)return"new Date('"+input.toISOString()+"')";if(Array.isArray(input)){if(0===input.length)return"[]";seen.push(input);var ret="["+tokens.newLine+input.map((function(el,i){var eol=input.length-1===i?tokens.newLine:","+tokens.newLineOrSpace,value=prettyPrint(el,combinedOptions,pad+combinedOptions.indent);return combinedOptions.transform&&(value=combinedOptions.transform(input,i,value)),tokens.indent+value+eol})).join("")+tokens.pad+"]";return seen.pop(),expandWhiteSpace(ret)}if(function isObj(value){var type=typeof value;return null!==value&&("object"===type||"function"===type)}(input)){var objKeys_1=__spreadArrays(Object.keys(input),function getOwnEnumPropSymbols(object){return Object.getOwnPropertySymbols(object).filter((function(keySymbol){return Object.prototype.propertyIsEnumerable.call(object,keySymbol)}))}(input));if(combinedOptions.filter&&(objKeys_1=objKeys_1.filter((function(el){return combinedOptions.filter&&combinedOptions.filter(input,el)}))),0===objKeys_1.length)return"{}";seen.push(input);ret="{"+tokens.newLine+objKeys_1.map((function(el,i){var eol=objKeys_1.length-1===i?tokens.newLine:","+tokens.newLineOrSpace,isSymbol="symbol"==typeof el,isClassic=!isSymbol&&/^[a-z$_][a-z$_0-9]*$/i.test(el.toString()),key=isSymbol||isClassic?el:prettyPrint(el,combinedOptions),value=prettyPrint(input[el],combinedOptions,pad+combinedOptions.indent);return combinedOptions.transform&&(value=combinedOptions.transform(input,el,value)),tokens.indent+String(key)+": "+value+eol})).join("")+tokens.pad+"}";return seen.pop(),expandWhiteSpace(ret)}return input=String(input).replace(/[\r\n]/g,(function(x){return"\n"===x?"\\n":"\\r"})),combinedOptions.singleQuotes?"'"+(input=input.replace(/\\?'/g,"\\'"))+"'":'"'+(input=input.replace(/"/g,'\\"'))+'"'}},"./node_modules/@ctrl/tinycolor/dist/module/conversion.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{T6:()=>convertHexToDecimal,VD:()=>parseIntFromHex,WE:()=>hsvToRgb,Yt:()=>numberInputToObject,lC:()=>rgbToHsl,py:()=>rgbToHsv,rW:()=>rgbToRgb,s:()=>rgbaToHex,ve:()=>hslToRgb,vq:()=>rgbToHex});var _util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/util.js");function rgbToRgb(r,g,b){return{r:255*(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(r,255),g:255*(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(g,255),b:255*(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(b,255)}}function rgbToHsl(r,g,b){r=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(r,255),g=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(g,255),b=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(b,255);var max=Math.max(r,g,b),min=Math.min(r,g,b),h=0,s=0,l=(max+min)/2;if(max===min)s=0,h=0;else{var d=max-min;switch(s=l>.5?d/(2-max-min):d/(max+min),max){case r:h=(g-b)/d+(g<b?6:0);break;case g:h=(b-r)/d+2;break;case b:h=(r-g)/d+4}h/=6}return{h,s,l}}function hue2rgb(p,q,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?p+6*t*(q-p):t<.5?q:t<2/3?p+(q-p)*(2/3-t)*6:p}function hslToRgb(h,s,l){var r,g,b;if(h=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(h,360),s=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(s,100),l=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(l,100),0===s)g=l,b=l,r=l;else{var q=l<.5?l*(1+s):l+s-l*s,p=2*l-q;r=hue2rgb(p,q,h+1/3),g=hue2rgb(p,q,h),b=hue2rgb(p,q,h-1/3)}return{r:255*r,g:255*g,b:255*b}}function rgbToHsv(r,g,b){r=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(r,255),g=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(g,255),b=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(b,255);var max=Math.max(r,g,b),min=Math.min(r,g,b),h=0,v=max,d=max-min,s=0===max?0:d/max;if(max===min)h=0;else{switch(max){case r:h=(g-b)/d+(g<b?6:0);break;case g:h=(b-r)/d+2;break;case b:h=(r-g)/d+4}h/=6}return{h,s,v}}function hsvToRgb(h,s,v){h=6*(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(h,360),s=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(s,100),v=(0,_util__WEBPACK_IMPORTED_MODULE_0__.sh)(v,100);var i=Math.floor(h),f=h-i,p=v*(1-s),q=v*(1-f*s),t=v*(1-(1-f)*s),mod=i%6;return{r:255*[v,q,p,p,t,v][mod],g:255*[t,v,v,q,p,p][mod],b:255*[p,p,t,v,v,q][mod]}}function rgbToHex(r,g,b,allow3Char){var hex=[(0,_util__WEBPACK_IMPORTED_MODULE_0__.FZ)(Math.round(r).toString(16)),(0,_util__WEBPACK_IMPORTED_MODULE_0__.FZ)(Math.round(g).toString(16)),(0,_util__WEBPACK_IMPORTED_MODULE_0__.FZ)(Math.round(b).toString(16))];return allow3Char&&hex[0].startsWith(hex[0].charAt(1))&&hex[1].startsWith(hex[1].charAt(1))&&hex[2].startsWith(hex[2].charAt(1))?hex[0].charAt(0)+hex[1].charAt(0)+hex[2].charAt(0):hex.join("")}function rgbaToHex(r,g,b,a,allow4Char){var hex=[(0,_util__WEBPACK_IMPORTED_MODULE_0__.FZ)(Math.round(r).toString(16)),(0,_util__WEBPACK_IMPORTED_MODULE_0__.FZ)(Math.round(g).toString(16)),(0,_util__WEBPACK_IMPORTED_MODULE_0__.FZ)(Math.round(b).toString(16)),(0,_util__WEBPACK_IMPORTED_MODULE_0__.FZ)(convertDecimalToHex(a))];return allow4Char&&hex[0].startsWith(hex[0].charAt(1))&&hex[1].startsWith(hex[1].charAt(1))&&hex[2].startsWith(hex[2].charAt(1))&&hex[3].startsWith(hex[3].charAt(1))?hex[0].charAt(0)+hex[1].charAt(0)+hex[2].charAt(0)+hex[3].charAt(0):hex.join("")}function convertDecimalToHex(d){return Math.round(255*parseFloat(d)).toString(16)}function convertHexToDecimal(h){return parseIntFromHex(h)/255}function parseIntFromHex(val){return parseInt(val,16)}function numberInputToObject(color){return{r:color>>16,g:(65280&color)>>8,b:255&color}}},"./node_modules/@ctrl/tinycolor/dist/module/css-color-names.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>names});var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},"./node_modules/@ctrl/tinycolor/dist/module/format-input.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{uA:()=>inputToRGB});var _conversion__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/conversion.js"),_css_color_names__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/css-color-names.js"),_util__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/util.js");function inputToRGB(color){var rgb={r:0,g:0,b:0},a=1,s=null,v=null,l=null,ok=!1,format=!1;return"string"==typeof color&&(color=function stringInputToObject(color){if(0===(color=color.trim().toLowerCase()).length)return!1;var named=!1;if(_css_color_names__WEBPACK_IMPORTED_MODULE_2__.R[color])color=_css_color_names__WEBPACK_IMPORTED_MODULE_2__.R[color],named=!0;else if("transparent"===color)return{r:0,g:0,b:0,a:0,format:"name"};var match=matchers.rgb.exec(color);if(match)return{r:match[1],g:match[2],b:match[3]};if(match=matchers.rgba.exec(color))return{r:match[1],g:match[2],b:match[3],a:match[4]};if(match=matchers.hsl.exec(color))return{h:match[1],s:match[2],l:match[3]};if(match=matchers.hsla.exec(color))return{h:match[1],s:match[2],l:match[3],a:match[4]};if(match=matchers.hsv.exec(color))return{h:match[1],s:match[2],v:match[3]};if(match=matchers.hsva.exec(color))return{h:match[1],s:match[2],v:match[3],a:match[4]};if(match=matchers.hex8.exec(color))return{r:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[1]),g:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[2]),b:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[3]),a:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.T6)(match[4]),format:named?"name":"hex8"};if(match=matchers.hex6.exec(color))return{r:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[1]),g:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[2]),b:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[3]),format:named?"name":"hex"};if(match=matchers.hex4.exec(color))return{r:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[1]+match[1]),g:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[2]+match[2]),b:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[3]+match[3]),a:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.T6)(match[4]+match[4]),format:named?"name":"hex8"};if(match=matchers.hex3.exec(color))return{r:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[1]+match[1]),g:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[2]+match[2]),b:(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.VD)(match[3]+match[3]),format:named?"name":"hex"};return!1}(color)),"object"==typeof color&&(isValidCSSUnit(color.r)&&isValidCSSUnit(color.g)&&isValidCSSUnit(color.b)?(rgb=(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.rW)(color.r,color.g,color.b),ok=!0,format="%"===String(color.r).substr(-1)?"prgb":"rgb"):isValidCSSUnit(color.h)&&isValidCSSUnit(color.s)&&isValidCSSUnit(color.v)?(s=(0,_util__WEBPACK_IMPORTED_MODULE_1__.JX)(color.s),v=(0,_util__WEBPACK_IMPORTED_MODULE_1__.JX)(color.v),rgb=(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.WE)(color.h,s,v),ok=!0,format="hsv"):isValidCSSUnit(color.h)&&isValidCSSUnit(color.s)&&isValidCSSUnit(color.l)&&(s=(0,_util__WEBPACK_IMPORTED_MODULE_1__.JX)(color.s),l=(0,_util__WEBPACK_IMPORTED_MODULE_1__.JX)(color.l),rgb=(0,_conversion__WEBPACK_IMPORTED_MODULE_0__.ve)(color.h,s,l),ok=!0,format="hsl"),Object.prototype.hasOwnProperty.call(color,"a")&&(a=color.a)),a=(0,_util__WEBPACK_IMPORTED_MODULE_1__.Yq)(a),{ok,format:color.format||format,r:Math.min(255,Math.max(rgb.r,0)),g:Math.min(255,Math.max(rgb.g,0)),b:Math.min(255,Math.max(rgb.b,0)),a}}var CSS_UNIT="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function isValidCSSUnit(color){return Boolean(matchers.CSS_UNIT.exec(String(color)))}},"./node_modules/@ctrl/tinycolor/dist/module/util.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function bound01(n,max){(function isOnePointZero(n){return"string"==typeof n&&-1!==n.indexOf(".")&&1===parseFloat(n)})(n)&&(n="100%");var isPercent=function isPercentage(n){return"string"==typeof n&&-1!==n.indexOf("%")}(n);return n=360===max?n:Math.min(max,Math.max(0,parseFloat(n))),isPercent&&(n=parseInt(String(n*max),10)/100),Math.abs(n-max)<1e-6?1:n=360===max?(n<0?n%max+max:n%max)/parseFloat(String(max)):n%max/parseFloat(String(max))}function clamp01(val){return Math.min(1,Math.max(0,val))}function boundAlpha(a){return a=parseFloat(a),(isNaN(a)||a<0||a>1)&&(a=1),a}function convertToPercentage(n){return n<=1?"".concat(100*Number(n),"%"):n}function pad2(c){return 1===c.length?"0"+c:String(c)}__webpack_require__.d(__webpack_exports__,{FZ:()=>pad2,JX:()=>convertToPercentage,V2:()=>clamp01,Yq:()=>boundAlpha,sh:()=>bound01})},"./node_modules/@emotion/core/dist/core.browser.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{xB:()=>Global,Ni:()=>ThemeContext,iv:()=>css_browser_esm,F4:()=>keyframes,Xn:()=>withEmotionCache});var inheritsLoose=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"),react=__webpack_require__("./node_modules/react/index.js");var StyleSheet=function(){function StyleSheet(options){this.isSpeedy=void 0===options.speedy||options.speedy,this.tags=[],this.ctr=0,this.nonce=options.nonce,this.key=options.key,this.container=options.container,this.before=null}var _proto=StyleSheet.prototype;return _proto.insert=function insert(rule){if(this.ctr%(this.isSpeedy?65e3:1)==0){var before,_tag=function createStyleElement(options){var tag=document.createElement("style");return tag.setAttribute("data-emotion",options.key),void 0!==options.nonce&&tag.setAttribute("nonce",options.nonce),tag.appendChild(document.createTextNode("")),tag}(this);before=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(_tag,before),this.tags.push(_tag)}var tag=this.tags[this.tags.length-1];if(this.isSpeedy){var sheet=function sheetForTag(tag){if(tag.sheet)return tag.sheet;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].ownerNode===tag)return document.styleSheets[i]}(tag);try{var isImportRule=105===rule.charCodeAt(1)&&64===rule.charCodeAt(0);sheet.insertRule(rule,isImportRule?0:sheet.cssRules.length)}catch(e){0}}else tag.appendChild(document.createTextNode(rule));this.ctr++},_proto.flush=function flush(){this.tags.forEach((function(tag){return tag.parentNode.removeChild(tag)})),this.tags=[],this.ctr=0},StyleSheet}();const stylis_browser_esm=function stylis_min(W){function M(d,c,e,h,a){for(var q,g,k,y,C,m=0,b=0,v=0,n=0,x=0,K=0,u=k=q=0,l=0,r=0,I=0,t=0,B=e.length,J=B-1,f="",p="",F="",G="";l<B;){if(g=e.charCodeAt(l),l===J&&0!==b+n+v+m&&(0!==b&&(g=47===b?10:47),n=v=m=0,B++,J++),0===b+n+v+m){if(l===J&&(0<r&&(f=f.replace(N,"")),0<f.trim().length)){switch(g){case 32:case 9:case 59:case 13:case 10:break;default:f+=e.charAt(l)}g=59}switch(g){case 123:for(q=(f=f.trim()).charCodeAt(0),k=1,t=++l;l<B;){switch(g=e.charCodeAt(l)){case 123:k++;break;case 125:k--;break;case 47:switch(g=e.charCodeAt(l+1)){case 42:case 47:a:{for(u=l+1;u<J;++u)switch(e.charCodeAt(u)){case 47:if(42===g&&42===e.charCodeAt(u-1)&&l+2!==u){l=u+1;break a}break;case 10:if(47===g){l=u+1;break a}}l=u}}break;case 91:g++;case 40:g++;case 34:case 39:for(;l++<J&&e.charCodeAt(l)!==g;);}if(0===k)break;l++}if(k=e.substring(t,l),0===q&&(q=(f=f.replace(ca,"").trim()).charCodeAt(0)),64===q){switch(0<r&&(f=f.replace(N,"")),g=f.charCodeAt(1)){case 100:case 109:case 115:case 45:r=c;break;default:r=O}if(t=(k=M(c,r,k,g,a+1)).length,0<A&&(C=H(3,k,r=X(O,f,I),c,D,z,t,g,a,h),f=r.join(""),void 0!==C&&0===(t=(k=C.trim()).length)&&(g=0,k="")),0<t)switch(g){case 115:f=f.replace(da,ea);case 100:case 109:case 45:k=f+"{"+k+"}";break;case 107:k=(f=f.replace(fa,"$1 $2"))+"{"+k+"}",k=1===w||2===w&&L("@"+k,3)?"@-webkit-"+k+"@"+k:"@"+k;break;default:k=f+k,112===h&&(p+=k,k="")}else k=""}else k=M(c,X(c,f,I),k,h,a+1);F+=k,k=I=r=u=q=0,f="",g=e.charCodeAt(++l);break;case 125:case 59:if(1<(t=(f=(0<r?f.replace(N,""):f).trim()).length))switch(0===u&&(q=f.charCodeAt(0),45===q||96<q&&123>q)&&(t=(f=f.replace(" ",":")).length),0<A&&void 0!==(C=H(1,f,c,d,D,z,p.length,h,a,h))&&0===(t=(f=C.trim()).length)&&(f="\0\0"),q=f.charCodeAt(0),g=f.charCodeAt(1),q){case 0:break;case 64:if(105===g||99===g){G+=f+e.charAt(l);break}default:58!==f.charCodeAt(t-1)&&(p+=P(f,q,g,f.charCodeAt(2)))}I=r=u=q=0,f="",g=e.charCodeAt(++l)}}switch(g){case 13:case 10:47===b?b=0:0===1+q&&107!==h&&0<f.length&&(r=1,f+="\0"),0<A*Y&&H(0,f,c,d,D,z,p.length,h,a,h),z=1,D++;break;case 59:case 125:if(0===b+n+v+m){z++;break}default:switch(z++,y=e.charAt(l),g){case 9:case 32:if(0===n+m+b)switch(x){case 44:case 58:case 9:case 32:y="";break;default:32!==g&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===n+b+m&&(r=I=1,y="\f"+y);break;case 108:if(0===n+b+m+E&&0<u)switch(l-u){case 2:112===x&&58===e.charCodeAt(l-3)&&(E=x);case 8:111===K&&(E=K)}break;case 58:0===n+b+m&&(u=l);break;case 44:0===b+v+n+m&&(r=1,y+="\r");break;case 34:case 39:0===b&&(n=n===g?0:0===n?g:n);break;case 91:0===n+b+v&&m++;break;case 93:0===n+b+v&&m--;break;case 41:0===n+b+m&&v--;break;case 40:if(0===n+b+m){if(0===q)if(2*x+3*K==533);else q=1;v++}break;case 64:0===b+v+n+m+u+k&&(k=1);break;case 42:case 47:if(!(0<n+m+v))switch(b){case 0:switch(2*g+3*e.charCodeAt(l+1)){case 235:b=47;break;case 220:t=l,b=42}break;case 42:47===g&&42===x&&t+2!==l&&(33===e.charCodeAt(t+2)&&(p+=e.substring(t,l+1)),y="",b=0)}}0===b&&(f+=y)}K=x,x=g,l++}if(0<(t=p.length)){if(r=c,0<A&&(void 0!==(C=H(2,p,r,d,D,z,t,h,a,h))&&0===(p=C).length))return G+p+F;if(p=r.join(",")+"{"+p+"}",0!=w*E){switch(2!==w||L(p,2)||(E=0),E){case 111:p=p.replace(ha,":-moz-$1")+p;break;case 112:p=p.replace(Q,"::-webkit-input-$1")+p.replace(Q,"::-moz-$1")+p.replace(Q,":-ms-input-$1")+p}E=0}}return G+p+F}function X(d,c,e){var h=c.trim().split(ia);c=h;var a=h.length,m=d.length;switch(m){case 0:case 1:var b=0;for(d=0===m?"":d[0]+" ";b<a;++b)c[b]=Z(d,c[b],e).trim();break;default:var v=b=0;for(c=[];b<a;++b)for(var n=0;n<m;++n)c[v++]=Z(d[n]+" ",h[b],e).trim()}return c}function Z(d,c,e){var h=c.charCodeAt(0);switch(33>h&&(h=(c=c.trim()).charCodeAt(0)),h){case 38:return c.replace(F,"$1"+d.trim());case 58:return d.trim()+c.replace(F,"$1"+d.trim());default:if(0<1*e&&0<c.indexOf("\f"))return c.replace(F,(58===d.charCodeAt(0)?"":"$1")+d.trim())}return d+c}function P(d,c,e,h){var a=d+";",m=2*c+3*e+4*h;if(944===m){d=a.indexOf(":",9)+1;var b=a.substring(d,a.length-1).trim();return b=a.substring(0,d).trim()+b+";",1===w||2===w&&L(b,1)?"-webkit-"+b+b:b}if(0===w||2===w&&!L(a,1))return a;switch(m){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(ja,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(b=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+b+a;case 1005:return ka.test(a)?a.replace(aa,":-webkit-")+a.replace(aa,":-moz-")+a:a;case 1e3:switch(c=(b=a.substring(13).trim()).indexOf("-")+1,b.charCodeAt(0)+b.charCodeAt(c)){case 226:b=a.replace(G,"tb");break;case 232:b=a.replace(G,"tb-rl");break;case 220:b=a.replace(G,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+b+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(c=(a=d).length-10,m=(b=(33===a.charCodeAt(c)?a.substring(0,c):a).substring(d.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|b.charCodeAt(7))){case 203:if(111>b.charCodeAt(8))break;case 115:a=a.replace(b,"-webkit-"+b)+";"+a;break;case 207:case 102:a=a.replace(b,"-webkit-"+(102<m?"inline-":"")+"box")+";"+a.replace(b,"-webkit-"+b)+";"+a.replace(b,"-ms-"+b+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return b=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+b+"-ms-flex-"+b+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(ba,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(ba,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===la.test(d))return 115===(b=d.substring(d.indexOf(":")+1)).charCodeAt(0)?P(d.replace("stretch","fill-available"),c,e,h).replace(":fill-available",":stretch"):a.replace(b,"-webkit-"+b)+a.replace(b,"-moz-"+b.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===e+h&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(ma,"$1-webkit-$2")+a}return a}function L(d,c){var e=d.indexOf(1===c?":":"{"),h=d.substring(0,3!==c?e:10);return e=d.substring(e+1,d.length-1),R(2!==c?h:h.replace(na,"$1"),e,c)}function ea(d,c){var e=P(c,c.charCodeAt(0),c.charCodeAt(1),c.charCodeAt(2));return e!==c+";"?e.replace(oa," or ($1)").substring(4):"("+c+")"}function H(d,c,e,h,a,m,b,v,n,q){for(var w,g=0,x=c;g<A;++g)switch(w=S[g].call(B,d,x,e,h,a,m,b,v,n,q)){case void 0:case!1:case!0:case null:break;default:x=w}if(x!==c)return x}function U(d){return void 0!==(d=d.prefix)&&(R=null,d?"function"!=typeof d?w=1:(w=2,R=d):w=0),U}function B(d,c){var e=d;if(33>e.charCodeAt(0)&&(e=e.trim()),e=[e],0<A){var h=H(-1,c,e,e,D,z,0,0,0,0);void 0!==h&&"string"==typeof h&&(c=h)}var a=M(O,e,c,0,0);return 0<A&&(void 0!==(h=H(-2,a,e,e,D,z,a.length,0,0,0))&&(a=h)),"",E=0,z=D=1,a}var ca=/^\0+/g,N=/[\0\r\f]/g,aa=/: */g,ka=/zoo|gra/,ma=/([,: ])(transform)/g,ia=/,\r+?/g,F=/([\t\r\n ])*\f?&/g,fa=/@(k\w+)\s*(\S*)\s*/,Q=/::(place)/g,ha=/:(read-only)/g,G=/[svh]\w+-[tblr]{2}/,da=/\(\s*(.*)\s*\)/g,oa=/([\s\S]*?);/g,ba=/-self|flex-/g,na=/[^]*?(:[rp][el]a[\w-]+)[^]*/,la=/stretch|:\s*\w+\-(?:conte|avail)/,ja=/([^-])(image-set\()/,z=1,D=1,E=0,w=1,O=[],S=[],A=0,R=null,Y=0;return B.use=function T(d){switch(d){case void 0:case null:A=S.length=0;break;default:if("function"==typeof d)S[A++]=d;else if("object"==typeof d)for(var c=0,e=d.length;c<e;++c)T(d[c]);else Y=0|!!d}return T},B.set=U,void 0!==W&&U(W),B};function toSheet(block){block&&Sheet.current.insert(block+"}")}var Sheet={current:null},ruleSheet=function ruleSheet(context,content,selectors,parents,line,column,length,ns,depth,at){switch(context){case 1:switch(content.charCodeAt(0)){case 64:return Sheet.current.insert(content+";"),"";case 108:if(98===content.charCodeAt(2))return""}break;case 2:if(0===ns)return content+"/*|*/";break;case 3:switch(ns){case 102:case 112:return Sheet.current.insert(selectors[0]+content),"";default:return content+(0===at?"/*|*/":"")}case-2:content.split("/*|*/}").forEach(toSheet)}};const cache_browser_esm=function createCache(options){void 0===options&&(options={});var stylisOptions,key=options.key||"css";void 0!==options.prefix&&(stylisOptions={prefix:options.prefix});var stylis=new stylis_browser_esm(stylisOptions);var container,inserted={};container=options.container||document.head;var _insert,nodes=document.querySelectorAll("style[data-emotion-"+key+"]");Array.prototype.forEach.call(nodes,(function(node){node.getAttribute("data-emotion-"+key).split(" ").forEach((function(id){inserted[id]=!0})),node.parentNode!==container&&container.appendChild(node)})),stylis.use(options.stylisPlugins)(ruleSheet),_insert=function insert(selector,serialized,sheet,shouldCache){var name=serialized.name;Sheet.current=sheet,stylis(selector,serialized.styles),shouldCache&&(cache.inserted[name]=!0)};var cache={key,sheet:new StyleSheet({key,container,nonce:options.nonce,speedy:options.speedy}),nonce:options.nonce,inserted,registered:{},insert:_insert};return cache};var serialize_browser_esm=__webpack_require__("./node_modules/@emotion/serialize/dist/serialize.browser.esm.js"),EmotionCacheContext=(Object.prototype.hasOwnProperty,(0,react.createContext)("undefined"!=typeof HTMLElement?cache_browser_esm():null)),ThemeContext=(0,react.createContext)({}),withEmotionCache=(EmotionCacheContext.Provider,function withEmotionCache(func){var render=function render(props,ref){return(0,react.createElement)(EmotionCacheContext.Consumer,null,(function(cache){return func(props,cache,ref)}))};return(0,react.forwardRef)(render)});var utils_browser_esm=__webpack_require__("./node_modules/@emotion/utils/dist/utils.browser.esm.js");const css_browser_esm=function css(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(0,serialize_browser_esm.O)(args)};var Global=withEmotionCache((function(props,cache){var styles=props.styles;if("function"==typeof styles)return(0,react.createElement)(ThemeContext.Consumer,null,(function(theme){var serialized=(0,serialize_browser_esm.O)([styles(theme)]);return(0,react.createElement)(InnerGlobal,{serialized,cache})}));var serialized=(0,serialize_browser_esm.O)([styles]);return(0,react.createElement)(InnerGlobal,{serialized,cache})})),InnerGlobal=function(_React$Component){function InnerGlobal(props,context,updater){return _React$Component.call(this,props,context,updater)||this}(0,inheritsLoose.Z)(InnerGlobal,_React$Component);var _proto=InnerGlobal.prototype;return _proto.componentDidMount=function componentDidMount(){this.sheet=new StyleSheet({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var node=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==node&&this.sheet.tags.push(node),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},_proto.componentDidUpdate=function componentDidUpdate(prevProps){prevProps.serialized.name!==this.props.serialized.name&&this.insertStyles()},_proto.insertStyles=function insertStyles$1(){if(void 0!==this.props.serialized.next&&(0,utils_browser_esm.M)(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var element=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=element,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},_proto.componentWillUnmount=function componentWillUnmount(){this.sheet.flush()},_proto.render=function render(){return null},InnerGlobal}(react.Component),keyframes=function keyframes(){var insertable=css_browser_esm.apply(void 0,arguments),name="animation-"+insertable.name;return{name,styles:"@keyframes "+name+"{"+insertable.styles+"}",anim:1,toString:function toString(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},classnames=function classnames(args){for(var len=args.length,i=0,cls="";i<len;i++){var arg=args[i];if(null!=arg){var toAdd=void 0;switch(typeof arg){case"boolean":break;case"object":if(Array.isArray(arg))toAdd=classnames(arg);else for(var k in toAdd="",arg)arg[k]&&k&&(toAdd&&(toAdd+=" "),toAdd+=k);break;default:toAdd=arg}toAdd&&(cls&&(cls+=" "),cls+=toAdd)}}return cls};function merge(registered,css,className){var registeredStyles=[],rawClassName=(0,utils_browser_esm.f)(registered,registeredStyles,className);return registeredStyles.length<2?className:rawClassName+css(registeredStyles)}var core_browser_esm_Noop=function Noop(){return null};withEmotionCache((function(props,context){return(0,react.createElement)(ThemeContext.Consumer,null,(function(theme){var css=function css(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var serialized=(0,serialize_browser_esm.O)(args,context.registered);return(0,utils_browser_esm.M)(context,serialized,!1),context.key+"-"+serialized.name},content={css,cx:function cx(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return merge(context.registered,css,classnames(args))},theme},ele=props.children(content);var possiblyStyleElement=(0,react.createElement)(core_browser_esm_Noop,null);return(0,react.createElement)(react.Fragment,null,possiblyStyleElement,ele)}))}))},"./node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@emotion/memoize/dist/memoize.browser.esm.js"),reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const __WEBPACK_DEFAULT_EXPORT__=(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__.Z)((function(prop){return reactPropsRegex.test(prop)||111===prop.charCodeAt(0)&&110===prop.charCodeAt(1)&&prop.charCodeAt(2)<91}))},"./node_modules/@emotion/memoize/dist/memoize.browser.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function memoize(fn){var cache={};return function(arg){return void 0===cache[arg]&&(cache[arg]=fn(arg)),cache[arg]}}},"./node_modules/@emotion/serialize/dist/serialize.browser.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>serializeStyles});const hash_browser_esm=function murmur2(str){for(var k,h=0,i=0,len=str.length;len>=4;++i,len-=4)k=1540483477*(65535&(k=255&str.charCodeAt(i)|(255&str.charCodeAt(++i))<<8|(255&str.charCodeAt(++i))<<16|(255&str.charCodeAt(++i))<<24))+(59797*(k>>>16)<<16),h=1540483477*(65535&(k^=k>>>24))+(59797*(k>>>16)<<16)^1540483477*(65535&h)+(59797*(h>>>16)<<16);switch(len){case 3:h^=(255&str.charCodeAt(i+2))<<16;case 2:h^=(255&str.charCodeAt(i+1))<<8;case 1:h=1540483477*(65535&(h^=255&str.charCodeAt(i)))+(59797*(h>>>16)<<16)}return(((h=1540483477*(65535&(h^=h>>>13))+(59797*(h>>>16)<<16))^h>>>15)>>>0).toString(36)};const unitless_browser_esm={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var memoize_browser_esm=__webpack_require__("./node_modules/@emotion/memoize/dist/memoize.browser.esm.js"),hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function isCustomProperty(property){return 45===property.charCodeAt(1)},isProcessableValue=function isProcessableValue(value){return null!=value&&"boolean"!=typeof value},processStyleName=(0,memoize_browser_esm.Z)((function(styleName){return isCustomProperty(styleName)?styleName:styleName.replace(hyphenateRegex,"-$&").toLowerCase()})),processStyleValue=function processStyleValue(key,value){switch(key){case"animation":case"animationName":if("string"==typeof value)return value.replace(animationRegex,(function(match,p1,p2){return cursor={name:p1,styles:p2,next:cursor},p1}))}return 1===unitless_browser_esm[key]||isCustomProperty(key)||"number"!=typeof value||0===value?value:value+"px"};function handleInterpolation(mergedProps,registered,interpolation,couldBeSelectorInterpolation){if(null==interpolation)return"";if(void 0!==interpolation.__emotion_styles)return interpolation;switch(typeof interpolation){case"boolean":return"";case"object":if(1===interpolation.anim)return cursor={name:interpolation.name,styles:interpolation.styles,next:cursor},interpolation.name;if(void 0!==interpolation.styles){var next=interpolation.next;if(void 0!==next)for(;void 0!==next;)cursor={name:next.name,styles:next.styles,next:cursor},next=next.next;return interpolation.styles+";"}return function createStringFromObject(mergedProps,registered,obj){var string="";if(Array.isArray(obj))for(var i=0;i<obj.length;i++)string+=handleInterpolation(mergedProps,registered,obj[i],!1);else for(var _key in obj){var value=obj[_key];if("object"!=typeof value)null!=registered&&void 0!==registered[value]?string+=_key+"{"+registered[value]+"}":isProcessableValue(value)&&(string+=processStyleName(_key)+":"+processStyleValue(_key,value)+";");else if(!Array.isArray(value)||"string"!=typeof value[0]||null!=registered&&void 0!==registered[value[0]]){var interpolated=handleInterpolation(mergedProps,registered,value,!1);switch(_key){case"animation":case"animationName":string+=processStyleName(_key)+":"+interpolated+";";break;default:string+=_key+"{"+interpolated+"}"}}else for(var _i=0;_i<value.length;_i++)isProcessableValue(value[_i])&&(string+=processStyleName(_key)+":"+processStyleValue(_key,value[_i])+";")}return string}(mergedProps,registered,interpolation);case"function":if(void 0!==mergedProps){var previousCursor=cursor,result=interpolation(mergedProps);return cursor=previousCursor,handleInterpolation(mergedProps,registered,result,couldBeSelectorInterpolation)}}if(null==registered)return interpolation;var cached=registered[interpolation];return void 0===cached||couldBeSelectorInterpolation?interpolation:cached}var cursor,labelPattern=/label:\s*([^\s;\n{]+)\s*;/g;var serializeStyles=function serializeStyles(args,registered,mergedProps){if(1===args.length&&"object"==typeof args[0]&&null!==args[0]&&void 0!==args[0].styles)return args[0];var stringMode=!0,styles="";cursor=void 0;var strings=args[0];null==strings||void 0===strings.raw?(stringMode=!1,styles+=handleInterpolation(mergedProps,registered,strings,!1)):styles+=strings[0];for(var i=1;i<args.length;i++)styles+=handleInterpolation(mergedProps,registered,args[i],46===styles.charCodeAt(styles.length-1)),stringMode&&(styles+=strings[i]);labelPattern.lastIndex=0;for(var match,identifierName="";null!==(match=labelPattern.exec(styles));)identifierName+="-"+match[1];return{name:hash_browser_esm(styles)+identifierName,styles,next:cursor}}},"./node_modules/@emotion/utils/dist/utils.browser.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>insertStyles,f:()=>getRegisteredStyles});function getRegisteredStyles(registered,registeredStyles,classNames){var rawClassName="";return classNames.split(" ").forEach((function(className){void 0!==registered[className]?registeredStyles.push(registered[className]):rawClassName+=className+" "})),rawClassName}var insertStyles=function insertStyles(cache,serialized,isStringTag){var className=cache.key+"-"+serialized.name;if(!1===isStringTag&&void 0===cache.registered[className]&&(cache.registered[className]=serialized.styles),void 0===cache.inserted[serialized.name]){var current=serialized;do{cache.insert("."+className,current,cache.sheet,!0);current=current.next}while(void 0!==current)}}},"./node_modules/@mdx-js/react/dist/esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Zo:()=>MDXProvider,kt:()=>createElement});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({}),useMDXComponents=function useMDXComponents(components){var contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext),allComponents=contextComponents;return components&&(allComponents=function isFunction(obj){return"function"==typeof obj}(components)?components(contextComponents):_objectSpread2(_objectSpread2({},contextComponents),components)),allComponents},MDXProvider=function MDXProvider(props){var allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},props.children)},DEFAULTS={inlineCode:"code",wrapper:function wrapper(_ref){var children=_ref.children;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{},children)}},MDXCreateElement=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(props,ref){var propComponents=props.components,mdxType=props.mdxType,originalType=props.originalType,parentName=props.parentName,etc=_objectWithoutProperties(props,["components","mdxType","originalType","parentName"]),components=useMDXComponents(propComponents),type=mdxType,Component=components["".concat(parentName,".").concat(type)]||components[type]||DEFAULTS[type]||originalType;return propComponents?react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,_objectSpread2(_objectSpread2({ref},etc),{},{components:propComponents})):react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,_objectSpread2({ref},etc))}));function createElement(type,props){var args=arguments,mdxType=props&&props.mdxType;if("string"==typeof type||mdxType){var argsLength=args.length,createElementArgArray=new Array(argsLength);createElementArgArray[0]=MDXCreateElement;var newProps={};for(var key in props)hasOwnProperty.call(props,key)&&(newProps[key]=props[key]);newProps.originalType=type,newProps.mdxType="string"==typeof type?type:mdxType,createElementArgArray[1]=newProps;for(var i=2;i<argsLength;i++)createElementArgArray[i]=args[i];return react__WEBPACK_IMPORTED_MODULE_0__.createElement.apply(null,createElementArgArray)}return react__WEBPACK_IMPORTED_MODULE_0__.createElement.apply(null,args)}MDXCreateElement.displayName="MDXCreateElement"},"./node_modules/@popperjs/core/lib/enums.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{BL:()=>start,Ct:()=>placements,F2:()=>right,I:()=>bottom,Pj:()=>viewport,YP:()=>reference,bw:()=>variationPlacements,d7:()=>auto,k5:()=>popper,mv:()=>basePlacements,t$:()=>left,ut:()=>end,we:()=>top,xs:()=>modifierPhases,zV:()=>clippingParents});var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-"+start,placement+"-"+end])}),[]),placements=[].concat(basePlacements,[auto]).reduce((function(acc,placement){return acc.concat([placement,placement+"-"+start,placement+"-"+end])}),[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},"./node_modules/@storybook/addon-a11y/dist/esm/a11yHighlight.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var _home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),_home_runner_work_owncast_owncast_web_node_modules_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),_home_runner_work_owncast_owncast_web_node_modules_storybook_addon_a11y_dist_esm_a11yHighlight_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/addon-a11y/dist/esm/a11yHighlight.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(_home_runner_work_owncast_owncast_web_node_modules_storybook_addon_a11y_dist_esm_a11yHighlight_js__WEBPACK_IMPORTED_MODULE_0__).forEach((function(key){var value=_home_runner_work_owncast_owncast_web_node_modules_storybook_addon_a11y_dist_esm_a11yHighlight_js__WEBPACK_IMPORTED_MODULE_0__[key];switch(key){case"args":case"argTypes":return _home_runner_work_owncast_owncast_web_node_modules_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.HZ)(loader,!1)}));case"parameters":return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__._C)(enhancer)}));case"render":return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-a11y/dist/esm/a11yHighlight.js":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js");var global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),esm=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js"),dist_esm=__webpack_require__("./node_modules/@storybook/core-events/dist/esm/index.js"),constants=__webpack_require__("./node_modules/@storybook/addon-a11y/dist/esm/constants.js");module=__webpack_require__.hmd(module);var a11yHighlight_document=window_default().document;module&&module.hot;var channel=esm.KP.getChannel(),resetHighlight=function resetHighlight(){var id=constants.w_,sheetToBeRemoved=a11yHighlight_document.getElementById(id);sheetToBeRemoved&&sheetToBeRemoved.parentNode.removeChild(sheetToBeRemoved)};channel.on(dist_esm.STORY_CHANGED,resetHighlight),channel.on(constants.FP.HIGHLIGHT,(function highlight(infos){var id=constants.w_;resetHighlight();var elements=Array.from(new Set(infos.elements)),sheet=a11yHighlight_document.createElement("style");sheet.setAttribute("id",id),sheet.innerHTML=elements.map((function(target){return"".concat(target,"{\n ").concat(function highlightStyle(color){return"\n outline: 2px dashed ".concat(color,";\n outline-offset: 2px;\n box-shadow: 0 0 0 6px rgba(255,255,255,0.6);\n")}(infos.color),"\n }")})).join(" "),a11yHighlight_document.head.appendChild(sheet)}))},"./node_modules/@storybook/addon-a11y/dist/esm/a11yRunner.js":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/regenerator-runtime/runtime.js");var global__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/global/window.js"),global__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_3__),_storybook_addons__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js"),_constants__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/addon-a11y/dist/esm/constants.js");function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}module=__webpack_require__.hmd(module);var document=global__WEBPACK_IMPORTED_MODULE_3___default().document,globalWindow=global__WEBPACK_IMPORTED_MODULE_3___default().window;module&&module.hot;var activeStoryId,channel=_storybook_addons__WEBPACK_IMPORTED_MODULE_5__.KP.getChannel(),active=!1,getElement=function getElement(){var storyRoot=document.getElementById("story-root");return storyRoot?storyRoot.childNodes:document.getElementById("root")},handleRequest=function(){var _ref=_asyncToGenerator(regeneratorRuntime.mark((function _callee(storyId){var _yield$getParams;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,getParams(storyId);case 2:if(_yield$getParams=_context.sent,_yield$getParams.manual){_context.next=7;break}return _context.next=7,run(storyId);case 7:case"end":return _context.stop()}}),_callee)})));return function handleRequest(_x){return _ref.apply(this,arguments)}}(),run=function(){var _ref2=_asyncToGenerator(regeneratorRuntime.mark((function _callee2(storyId){var input,axe,_input$element,element,config,_input$options,options,result;return regeneratorRuntime.wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return activeStoryId=storyId,_context2.prev=1,_context2.next=4,getParams(storyId);case 4:if(input=_context2.sent,active){_context2.next=18;break}return active=!0,channel.emit(_constants__WEBPACK_IMPORTED_MODULE_4__.FP.RUNNING),_context2.next=10,__webpack_require__.e(115).then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/axe-core/axe.js",23));case 10:return axe=_context2.sent,_input$element=input.element,element=void 0===_input$element?getElement():_input$element,config=input.config,_input$options=input.options,options=void 0===_input$options?{}:_input$options,axe.reset(),config&&axe.configure(config),_context2.next=16,axe.run(element,options);case 16:result=_context2.sent,activeStoryId===storyId?channel.emit(_constants__WEBPACK_IMPORTED_MODULE_4__.FP.RESULT,result):(active=!1,run(activeStoryId));case 18:_context2.next=23;break;case 20:_context2.prev=20,_context2.t0=_context2.catch(1),channel.emit(_constants__WEBPACK_IMPORTED_MODULE_4__.FP.ERROR,_context2.t0);case 23:return _context2.prev=23,active=!1,_context2.finish(23);case 26:case"end":return _context2.stop()}}),_callee2,null,[[1,20,23,26]])})));return function run(_x2){return _ref2.apply(this,arguments)}}(),getParams=function(){var _ref3=_asyncToGenerator(regeneratorRuntime.mark((function _callee3(storyId){var _ref4,parameters;return regeneratorRuntime.wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:return _context3.next=2,globalWindow.__STORYBOOK_STORY_STORE__.loadStory({storyId});case 2:if(_context3.t0=_context3.sent,_context3.t0){_context3.next=5;break}_context3.t0={};case 5:return _ref4=_context3.t0,parameters=_ref4.parameters,_context3.abrupt("return",parameters.a11y||{config:{},options:{restoreScroll:!0}});case 8:case"end":return _context3.stop()}}),_callee3)})));return function getParams(_x3){return _ref3.apply(this,arguments)}}();channel.on(_constants__WEBPACK_IMPORTED_MODULE_4__.FP.REQUEST,handleRequest),channel.on(_constants__WEBPACK_IMPORTED_MODULE_4__.FP.MANUAL,run)},"./node_modules/@storybook/addon-a11y/dist/esm/a11yRunner.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var _home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),_home_runner_work_owncast_owncast_web_node_modules_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),_home_runner_work_owncast_owncast_web_node_modules_storybook_addon_a11y_dist_esm_a11yRunner_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/addon-a11y/dist/esm/a11yRunner.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(_home_runner_work_owncast_owncast_web_node_modules_storybook_addon_a11y_dist_esm_a11yRunner_js__WEBPACK_IMPORTED_MODULE_0__).forEach((function(key){var value=_home_runner_work_owncast_owncast_web_node_modules_storybook_addon_a11y_dist_esm_a11yRunner_js__WEBPACK_IMPORTED_MODULE_0__[key];switch(key){case"args":case"argTypes":return _home_runner_work_owncast_owncast_web_node_modules_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.HZ)(loader,!1)}));case"parameters":return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__._C)(enhancer)}));case"render":return(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,_home_runner_work_owncast_owncast_web_node_modules_storybook_client_api__WEBPACK_IMPORTED_MODULE_2__.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-a11y/dist/esm/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FP:()=>EVENTS,w_:()=>HIGHLIGHT_STYLE_ID});var ADDON_ID="storybook/a11y",HIGHLIGHT_STYLE_ID=("".concat(ADDON_ID,"/panel"),"a11yHighlight"),EVENTS={RESULT:"".concat(ADDON_ID,"/result"),REQUEST:"".concat(ADDON_ID,"/request"),RUNNING:"".concat(ADDON_ID,"/running"),ERROR:"".concat(ADDON_ID,"/error"),MANUAL:"".concat(ADDON_ID,"/manual"),HIGHLIGHT:"".concat(ADDON_ID,"/highlight")}},"./node_modules/@storybook/addon-actions/dist/esm/index.js":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{action:()=>action,withActions:()=>withActions});"".concat("storybook/actions","/panel");var EVENT_ID="".concat("storybook/actions","/action-event"),v4=(__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/index.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptors.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/uuid-browser/v4.js")),v4_default=__webpack_require__.n(v4),esm=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js"),config={depth:10,clearOnStoryChange:!0,limit:50};function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var findProto=function findProto(obj,callback){var proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},isReactSyntheticEvent=function isReactSyntheticEvent(e){return Boolean("object"===_typeof(e)&&e&&findProto(e,(function(proto){return/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)}))&&"function"==typeof e.persist)},serializeArg=function serializeArg(a){if(isReactSyntheticEvent(a)){var e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();var viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=null==viewDescriptor?void 0:viewDescriptor.value;return"object"===_typeof(view)&&"Window"===(null==view?void 0:view.constructor.name)&&Object.defineProperty(e,"view",Object.assign({},viewDescriptor,{value:Object.create(view.constructor.prototype)})),e}return a};function action(name){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},actionOptions=Object.assign({},config,options),handler=function actionHandler(){for(var channel=esm.KP.getChannel(),id=v4_default()(),minDepth=5,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id,count:0,data:{name,args:normalizedArgs},options:Object.assign({},actionOptions,{maxDepth:minDepth+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1})};channel.emit(EVENT_ID,actionDisplayToEmit)};return handler}__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var actions=function actions(){for(var options=config,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var names=args;if(1===names.length&&Array.isArray(names[0])){var _names=names,_names2=_slicedToArray(_names,1);names=_names2[0]}1!==names.length&&"string"!=typeof names[names.length-1]&&(options=Object.assign({},config,names.pop()));var namesObject=names[0];1===names.length&&"string"!=typeof namesObject||(namesObject={},names.forEach((function(name){namesObject[name]=name})));var actionsObject={};return Object.keys(namesObject).forEach((function(name){actionsObject[name]=action(namesObject[name],options)})),actionsObject},browser=(__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/util-deprecate/browser.js")),browser_default=__webpack_require__.n(browser);browser_default()((function(){}),"decorate.* is no longer supported as of Storybook 6.0."),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js");var withActions_templateObject,global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),hooks=__webpack_require__("./node_modules/@storybook/addons/dist/esm/hooks.js"),make_decorator=__webpack_require__("./node_modules/@storybook/addons/dist/esm/make-decorator.js"),ts_dedent_esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js");function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return withActions_arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||withActions_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function withActions_slicedToArray(arr,i){return function withActions_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function withActions_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||withActions_unsupportedIterableToArray(arr,i)||function withActions_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function withActions_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return withActions_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?withActions_arrayLikeToArray(o,minLen):void 0}}function withActions_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var withActions_document=window_default().document,Element=window_default().Element,delegateEventSplitter=/^(\S+)\s*(.*)$/,matchesMethod=null!=Element&&!Element.prototype.matches?"msMatchesSelector":"matches",root=withActions_document&&withActions_document.getElementById("root"),hasMatchInAncestry=function hasMatchInAncestry(element,selector){if(element[matchesMethod](selector))return!0;var parent=element.parentElement;return!!parent&&hasMatchInAncestry(parent,selector)},createHandlers=function createHandlers(actionsFn){for(var _len=arguments.length,handles=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)handles[_key-1]=arguments[_key];var actionsObject=actionsFn.apply(void 0,handles);return Object.entries(actionsObject).map((function(_ref){var _ref2=withActions_slicedToArray(_ref,2),key=_ref2[0],action=_ref2[1],_key$match2=withActions_slicedToArray(key.match(delegateEventSplitter),3),eventName=(_key$match2[0],_key$match2[1]),selector=_key$match2[2];return{eventName,handler:function handler(e){selector&&!hasMatchInAncestry(e.target,selector)||action(e)}}}))},applyEventHandlers=browser_default()((function(actionsFn){for(var _len2=arguments.length,handles=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)handles[_key2-1]=arguments[_key2];(0,hooks.d4)((function(){if(null!=root){var handlers=createHandlers.apply(void 0,[actionsFn].concat(handles));return handlers.forEach((function(_ref3){var eventName=_ref3.eventName,handler=_ref3.handler;return root.addEventListener(eventName,handler)})),function(){return handlers.forEach((function(_ref4){var eventName=_ref4.eventName,handler=_ref4.handler;return root.removeEventListener(eventName,handler)}))}}}),[root,actionsFn,handles])}),(0,ts_dedent_esm.C)(withActions_templateObject||(withActions_templateObject=function withActions_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n withActions(options) is deprecated, please configure addon-actions using the addParameter api:\n\n addParameters({\n actions: {\n handles: options\n },\n });\n "])))),withActions=(0,make_decorator.h)({name:"withActions",parameterName:"actions",skipIfNoParametersOrOptions:!0,wrapper:function wrapper(getStory,context,_ref5){var parameters=_ref5.parameters,options=_ref5.options;return function applyDeprecatedOptions(actionsFn,options){options&&applyEventHandlers(actionsFn,options)}(actions,options),parameters&¶meters.handles&&applyEventHandlers.apply(void 0,[actions].concat(_toConsumableArray(parameters.handles))),getStory(context)}});(module=__webpack_require__.hmd(module))&&module.hot},"./node_modules/@storybook/addon-actions/dist/esm/models/ActionDisplay.js":()=>{},"./node_modules/@storybook/addon-actions/dist/esm/models/ActionOptions.js":()=>{},"./node_modules/@storybook/addon-actions/dist/esm/models/ActionsFunction.js":()=>{},"./node_modules/@storybook/addon-actions/dist/esm/models/ActionsMap.js":()=>{},"./node_modules/@storybook/addon-actions/dist/esm/models/DecoratorFunction.js":()=>{},"./node_modules/@storybook/addon-actions/dist/esm/models/HandlerFunction.js":()=>{},"./node_modules/@storybook/addon-actions/dist/esm/models/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";var _ActionDisplay__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/ActionDisplay.js");__webpack_require__.o(_ActionDisplay__WEBPACK_IMPORTED_MODULE_0__,"action")&&__webpack_require__.d(__webpack_exports__,{action:function(){return _ActionDisplay__WEBPACK_IMPORTED_MODULE_0__.action}}),__webpack_require__.o(_ActionDisplay__WEBPACK_IMPORTED_MODULE_0__,"withActions")&&__webpack_require__.d(__webpack_exports__,{withActions:function(){return _ActionDisplay__WEBPACK_IMPORTED_MODULE_0__.withActions}});var _ActionsFunction__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/ActionsFunction.js");__webpack_require__.o(_ActionsFunction__WEBPACK_IMPORTED_MODULE_1__,"action")&&__webpack_require__.d(__webpack_exports__,{action:function(){return _ActionsFunction__WEBPACK_IMPORTED_MODULE_1__.action}}),__webpack_require__.o(_ActionsFunction__WEBPACK_IMPORTED_MODULE_1__,"withActions")&&__webpack_require__.d(__webpack_exports__,{withActions:function(){return _ActionsFunction__WEBPACK_IMPORTED_MODULE_1__.withActions}});var _ActionOptions__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/ActionOptions.js");__webpack_require__.o(_ActionOptions__WEBPACK_IMPORTED_MODULE_2__,"action")&&__webpack_require__.d(__webpack_exports__,{action:function(){return _ActionOptions__WEBPACK_IMPORTED_MODULE_2__.action}}),__webpack_require__.o(_ActionOptions__WEBPACK_IMPORTED_MODULE_2__,"withActions")&&__webpack_require__.d(__webpack_exports__,{withActions:function(){return _ActionOptions__WEBPACK_IMPORTED_MODULE_2__.withActions}});var _ActionsMap__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/ActionsMap.js");__webpack_require__.o(_ActionsMap__WEBPACK_IMPORTED_MODULE_3__,"action")&&__webpack_require__.d(__webpack_exports__,{action:function(){return _ActionsMap__WEBPACK_IMPORTED_MODULE_3__.action}}),__webpack_require__.o(_ActionsMap__WEBPACK_IMPORTED_MODULE_3__,"withActions")&&__webpack_require__.d(__webpack_exports__,{withActions:function(){return _ActionsMap__WEBPACK_IMPORTED_MODULE_3__.withActions}});var _DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/DecoratorFunction.js");__webpack_require__.o(_DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__,"action")&&__webpack_require__.d(__webpack_exports__,{action:function(){return _DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__.action}}),__webpack_require__.o(_DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__,"withActions")&&__webpack_require__.d(__webpack_exports__,{withActions:function(){return _DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__.withActions}});var _HandlerFunction__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/HandlerFunction.js");__webpack_require__.o(_HandlerFunction__WEBPACK_IMPORTED_MODULE_5__,"action")&&__webpack_require__.d(__webpack_exports__,{action:function(){return _HandlerFunction__WEBPACK_IMPORTED_MODULE_5__.action}}),__webpack_require__.o(_HandlerFunction__WEBPACK_IMPORTED_MODULE_5__,"withActions")&&__webpack_require__.d(__webpack_exports__,{withActions:function(){return _HandlerFunction__WEBPACK_IMPORTED_MODULE_5__.withActions}})},"./node_modules/@storybook/addon-actions/dist/esm/preset/addArgs.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var addArgs_namespaceObject={};__webpack_require__.r(addArgs_namespaceObject),__webpack_require__.d(addArgs_namespaceObject,{argsEnhancers:()=>argsEnhancers});var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),dist_esm=(__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/index.js"));function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var argsEnhancers=[function addActionsFromArgTypes(context){var initialArgs=context.initialArgs,argTypes=context.argTypes,actions=context.parameters.actions;return null!=actions&&actions.disable||!argTypes?{}:Object.entries(argTypes).filter((function(_ref5){var _ref6=_slicedToArray(_ref5,2);_ref6[0];return!!_ref6[1].action})).reduce((function(acc,_ref7){var _ref8=_slicedToArray(_ref7,2),name=_ref8[0],argType=_ref8[1];return void 0===initialArgs[name]&&(acc[name]=(0,dist_esm.action)("string"==typeof argType.action?argType.action:name)),acc}),{})},function inferActionsFromArgTypesRegex(context){var initialArgs=context.initialArgs,argTypes=context.argTypes,actions=context.parameters.actions;if(!actions||actions.disable||!actions.argTypesRegex||!argTypes)return{};var argTypesRegex=new RegExp(actions.argTypesRegex);return Object.entries(argTypes).filter((function(_ref){var name=_slicedToArray(_ref,1)[0];return!!argTypesRegex.test(name)})).reduce((function(acc,_ref3){var _ref4=_slicedToArray(_ref3,2),name=_ref4[0];_ref4[1];return void 0===initialArgs[name]&&(acc[name]=(0,dist_esm.action)(name)),acc}),{})}];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addArgs_namespaceObject).forEach((function(key){var value=addArgs_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-actions/dist/esm/preset/addDecorator.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var addDecorator_namespaceObject={};__webpack_require__.r(addDecorator_namespaceObject),__webpack_require__.d(addDecorator_namespaceObject,{decorators:()=>decorators});var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),decorators=[__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/index.js").withActions];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addDecorator_namespaceObject).forEach((function(key){var value=addDecorator_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-backgrounds/dist/esm/preset/addDecorator.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var addDecorator_namespaceObject={};__webpack_require__.r(addDecorator_namespaceObject),__webpack_require__.d(addDecorator_namespaceObject,{decorators:()=>decorators});var _templateObject,ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),hooks=(__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/@storybook/addons/dist/esm/hooks.js")),global_window=("".concat("storybook/background","/update"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/global/window.js")),window_default=__webpack_require__.n(global_window),ts_dedent_esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js");function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var withGrid_templateObject,helpers_document=window_default().document,helpers_window=window_default().window,clearStyles=function clearStyles(selector){(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=function clearStyle(selector){var element=helpers_document.getElementById(selector);element&&element.parentElement.removeChild(element)},browser=__webpack_require__("./node_modules/util-deprecate/browser.js");var deprecatedCellSizeWarning=__webpack_require__.n(browser)()((function(){}),(0,ts_dedent_esm.C)(withGrid_templateObject||(withGrid_templateObject=function withGrid_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Backgrounds Addon: The cell size parameter has been changed.\n\n - parameters.grid.cellSize should now be parameters.backgrounds.grid.cellSize\n See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-grid-parameter\n "])))),decorators=[function withGrid(StoryFn,context){var _globals$BACKGROUNDS_,_parameters$grid,_gridParameters$offse,_gridParameters$offse2,gridSize,globals=context.globals,parameters=context.parameters,gridParameters=parameters.backgrounds.grid,isActive=!0===(null===(_globals$BACKGROUNDS_=globals.backgrounds)||void 0===_globals$BACKGROUNDS_?void 0:_globals$BACKGROUNDS_.grid)&&!0!==gridParameters.disable,cellAmount=gridParameters.cellAmount,cellSize=gridParameters.cellSize,opacity=gridParameters.opacity,isInDocs="docs"===context.viewMode;null!==(_parameters$grid=parameters.grid)&&void 0!==_parameters$grid&&_parameters$grid.cellSize?(gridSize=parameters.grid.cellSize,deprecatedCellSizeWarning()):gridSize=cellSize;var defaultOffset=void 0===parameters.layout||"padded"===parameters.layout?16:0,offsetX=null!==(_gridParameters$offse=gridParameters.offsetX)&&void 0!==_gridParameters$offse?_gridParameters$offse:isInDocs?20:defaultOffset,offsetY=null!==(_gridParameters$offse2=gridParameters.offsetY)&&void 0!==_gridParameters$offse2?_gridParameters$offse2:isInDocs?20:defaultOffset,gridStyles=(0,hooks.Ye)((function(){var selector="docs"===context.viewMode?"#anchor--".concat(context.id," .docs-story"):".sb-show-main",backgroundSize=["".concat(gridSize*cellAmount,"px ").concat(gridSize*cellAmount,"px"),"".concat(gridSize*cellAmount,"px ").concat(gridSize*cellAmount,"px"),"".concat(gridSize,"px ").concat(gridSize,"px"),"".concat(gridSize,"px ").concat(gridSize,"px")].join(", ");return"\n ".concat(selector," {\n background-size: ").concat(backgroundSize," !important;\n background-position: ").concat(offsetX,"px ").concat(offsetY,"px, ").concat(offsetX,"px ").concat(offsetY,"px, ").concat(offsetX,"px ").concat(offsetY,"px, ").concat(offsetX,"px ").concat(offsetY,"px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ").concat(opacity,") 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ").concat(opacity,") 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ").concat(opacity/2,") 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ").concat(opacity/2,") 1px, transparent 1px) !important;\n }\n ")}),[gridSize]);return(0,hooks.d4)((function(){var selectorId="docs"===context.viewMode?"addon-backgrounds-grid-docs-".concat(context.id):"addon-backgrounds-grid";isActive?function addGridStyle(selector,css){var existingStyle=helpers_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{var style=helpers_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,helpers_document.head.appendChild(style)}}(selectorId,gridStyles):clearStyles(selectorId)}),[isActive,gridStyles,context]),StoryFn()},function withBackground(StoryFn,context){var _globals$BACKGROUNDS_,globals=context.globals,parameters=context.parameters,globalsBackgroundColor=null===(_globals$BACKGROUNDS_=globals.backgrounds)||void 0===_globals$BACKGROUNDS_?void 0:_globals$BACKGROUNDS_.value,backgroundsConfig=parameters.backgrounds,selectedBackgroundColor=(0,hooks.Ye)((function(){return backgroundsConfig.disable?"transparent":function getBackgroundColorByName(currentSelectedValue){var backgrounds=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],defaultName=arguments.length>2?arguments[2]:void 0;if("transparent"===currentSelectedValue)return"transparent";if(backgrounds.find((function(background){return background.value===currentSelectedValue})))return currentSelectedValue;var defaultBackground=backgrounds.find((function(background){return background.name===defaultName}));if(defaultBackground)return defaultBackground.value;if(defaultName){var availableColors=backgrounds.map((function(background){return background.name})).join(", ");esm.kg.warn((0,ts_dedent_esm.C)(_templateObject||(_templateObject=_taggedTemplateLiteral(['\n Backgrounds Addon: could not find the default color "','".\n These are the available colors for your story based on your configuration:\n ',".\n "])),defaultName,availableColors))}return"transparent"}(globalsBackgroundColor,backgroundsConfig.values,backgroundsConfig.default)}),[backgroundsConfig,globalsBackgroundColor]),isActive=(0,hooks.Ye)((function(){return selectedBackgroundColor&&"transparent"!==selectedBackgroundColor}),[selectedBackgroundColor]),selector="docs"===context.viewMode?"#anchor--".concat(context.id," .docs-story"):".sb-show-main",backgroundStyles=(0,hooks.Ye)((function(){return"\n ".concat(selector," {\n background: ").concat(selectedBackgroundColor," !important;\n ").concat(function isReduceMotionEnabled(){return helpers_window.matchMedia("(prefers-reduced-motion: reduce)").matches}()?"":"transition: background-color 0.3s;","\n }\n ")}),[selectedBackgroundColor,selector]);return(0,hooks.d4)((function(){var selectorId="docs"===context.viewMode?"addon-backgrounds-docs-".concat(context.id):"addon-backgrounds-color";isActive?function addBackgroundStyle(selector,css,storyId){var existingStyle=helpers_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{var style=helpers_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css;var gridStyleSelector="addon-backgrounds-grid".concat(storyId?"-docs-".concat(storyId):""),existingGridStyle=helpers_document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement.insertBefore(style,existingGridStyle):helpers_document.head.appendChild(style)}}(selectorId,backgroundStyles,"docs"===context.viewMode?context.id:null):clearStyles(selectorId)}),[isActive,backgroundStyles,context]),StoryFn()}];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addDecorator_namespaceObject).forEach((function(key){var value=addDecorator_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-backgrounds/dist/esm/preset/addParameter.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var addParameter_namespaceObject={};__webpack_require__.r(addParameter_namespaceObject),__webpack_require__.d(addParameter_namespaceObject,{parameters:()=>parameters});var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),parameters={backgrounds:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:"light",value:"#F8F8F8"},{name:"dark",value:"#333333"}]}};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addParameter_namespaceObject).forEach((function(key){var value=addParameter_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-docs/dist/esm/blocks/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AddContext:()=>AddContext,Anchor:()=>Anchor,AnchorMdx:()=>AnchorMdx,ArgsTable:()=>ArgsTable,CURRENT_SELECTION:()=>CURRENT_SELECTION,Canvas:()=>Canvas,CodeOrSourceMdx:()=>CodeOrSourceMdx,ColorItem:()=>ColorItem,ColorPalette:()=>ColorPalette,ComponentsTable:()=>ComponentsTable,Description:()=>DescriptionContainer,DescriptionType:()=>DescriptionType,DocsContainer:()=>DocsContainer,DocsContext:()=>DocsContext,DocsPage:()=>DocsPage,DocsStory:()=>DocsStory,HeaderMdx:()=>HeaderMdx,HeadersMdx:()=>HeadersMdx,Heading:()=>Heading,IconGallery:()=>IconGallery,IconItem:()=>IconItem,Meta:()=>Meta,PRIMARY_STORY:()=>PRIMARY_STORY,Preview:()=>Preview_Preview,Primary:()=>Primary,Props:()=>Props,Source:()=>Source,SourceContainer:()=>SourceContainer,SourceContext:()=>SourceContext,SourceState:()=>SourceState,Stories:()=>Stories,Story:()=>Story,StoryTable:()=>StoryTable,Subheading:()=>Subheading,Subtitle:()=>Subtitle,Title:()=>Title,Typeset:()=>Typeset,Wrapper:()=>Wrapper_Wrapper,anchorBlockIdFromId:()=>anchorBlockIdFromId,assertIsFn:()=>assertIsFn,extractComponentArgTypes:()=>extractComponentArgTypes,extractTitle:()=>extractTitle,getComponent:()=>getComponent,getDescriptionProps:()=>getDescriptionProps,getSourceProps:()=>getSourceProps,getStoryId:()=>getStoryId,getStoryProps:()=>getStoryProps,lookupStoryId:()=>lookupStoryId,storyBlockIdFromId:()=>storyBlockIdFromId});__webpack_require__("./node_modules/core-js/modules/es.string.bold.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),polished_esm=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),getBlockBackgroundStyle=function getBlockBackgroundStyle(theme){return{borderRadius:theme.appBorderRadius,background:theme.background.content,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:"1px solid ".concat(theme.appBorderColor)}},DocumentFormatting=__webpack_require__("./node_modules/@storybook/components/dist/esm/typography/DocumentFormatting.js");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var ItemTitle=esm.styled.div((function(_ref){var theme=_ref.theme;return{fontWeight:theme.typography.weight.bold,color:theme.color.defaultText}})),ItemSubtitle=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{color:"light"===theme.base?(0,polished_esm.DZ)(.2,theme.color.defaultText):(0,polished_esm.DZ)(.6,theme.color.defaultText)}})),ItemDescription=esm.styled.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),SwatchLabel=esm.styled.div((function(_ref3){var theme=_ref3.theme;return{flex:1,textAlign:"center",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,lineHeight:1,overflow:"hidden",color:"light"===theme.base?(0,polished_esm.DZ)(.4,theme.color.defaultText):(0,polished_esm.DZ)(.6,theme.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}})),SwatchLabels=esm.styled.div({display:"flex",flexDirection:"row"}),Swatch=esm.styled.div((function(_ref4){return{position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:_ref4.background,content:'""'}}})),SwatchColors=esm.styled.div((function(_ref5){var theme=_ref5.theme;return Object.assign({},getBlockBackgroundStyle(theme),{display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})})),SwatchSpecimen=esm.styled.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),Swatches=esm.styled.div({flex:1,display:"flex",flexDirection:"row"}),Item=esm.styled.div({display:"flex",alignItems:"flex-start"}),ListName=esm.styled.div({flex:"0 0 30%"}),ListSwatches=esm.styled.div({flex:1}),ListHeading=esm.styled.div((function(_ref6){var theme=_ref6.theme;return{display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:theme.typography.weight.bold,color:"light"===theme.base?(0,polished_esm.DZ)(.4,theme.color.defaultText):(0,polished_esm.DZ)(.6,theme.color.defaultText)}})),List=esm.styled.div((function(_ref7){return{fontSize:_ref7.theme.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}}));function renderSwatch(color,index){return react.createElement(Swatch,{key:"".concat(color,"-").concat(index),title:color,background:color})}function renderSwatchLabel(color,index,colorDescription){return react.createElement(SwatchLabel,{key:"".concat(color,"-").concat(index),title:color},react.createElement("div",null,color,colorDescription&&react.createElement("span",null,colorDescription)))}function renderSwatchSpecimen(colors){return Array.isArray(colors)?react.createElement(SwatchSpecimen,null,react.createElement(SwatchColors,null,colors.map((function(color,index){return renderSwatch(color,index)}))),react.createElement(SwatchLabels,null,colors.map((function(color,index){return renderSwatchLabel(color,index)})))):react.createElement(SwatchSpecimen,null,react.createElement(SwatchColors,null,Object.values(colors).map((function(color,index){return renderSwatch(color,index)}))),react.createElement(SwatchLabels,null,Object.keys(colors).map((function(color,index){return renderSwatchLabel(color,index,colors[color])}))))}renderSwatch.displayName="renderSwatch",renderSwatchLabel.displayName="renderSwatchLabel",renderSwatchSpecimen.displayName="renderSwatchSpecimen";var ColorItem=function ColorItem(_ref8){var title=_ref8.title,subtitle=_ref8.subtitle,colors=_ref8.colors;return react.createElement(Item,null,react.createElement(ItemDescription,null,react.createElement(ItemTitle,null,title),react.createElement(ItemSubtitle,null,subtitle)),react.createElement(Swatches,null,renderSwatchSpecimen(colors)))};ColorItem.displayName="ColorItem";var ColorPalette=function ColorPalette(_ref9){var children=_ref9.children,props=_objectWithoutProperties(_ref9,["children"]);return react.createElement(DocumentFormatting.i9,null,react.createElement(List,_extends({},props,{className:"docblock-colorpalette"}),react.createElement(ListHeading,null,react.createElement(ListName,null,"Name"),react.createElement(ListSwatches,null,"Swatches")),children))};ColorPalette.displayName="ColorPalette";__webpack_require__("./node_modules/core-js/modules/es.function.name.js");function IconGallery_extends(){return IconGallery_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},IconGallery_extends.apply(this,arguments)}function IconGallery_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function IconGallery_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var ItemLabel=esm.styled.div((function(_ref){var theme=_ref.theme;return{fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s2,color:theme.color.defaultText,marginLeft:10,lineHeight:1.2}})),ItemSpecimen=esm.styled.div((function(_ref2){var theme=_ref2.theme;return Object.assign({},getBlockBackgroundStyle(theme),{overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})})),IconGallery_Item=esm.styled.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),IconGallery_List=esm.styled.div({display:"flex",flexFlow:"row wrap"}),IconItem=function IconItem(_ref3){var name=_ref3.name,children=_ref3.children;return react.createElement(IconGallery_Item,null,react.createElement(ItemSpecimen,null,children),react.createElement(ItemLabel,null,name))};IconItem.displayName="IconItem";var IconGallery=function IconGallery(_ref4){var children=_ref4.children,props=IconGallery_objectWithoutProperties(_ref4,["children"]);return react.createElement(DocumentFormatting.i9,null,react.createElement(IconGallery_List,IconGallery_extends({},props,{className:"docblock-icongallery"}),children))};IconGallery.displayName="IconGallery";var shared=__webpack_require__("./node_modules/@storybook/components/dist/esm/typography/shared.js");function Typeset_extends(){return Typeset_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},Typeset_extends.apply(this,arguments)}function Typeset_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Typeset_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Label=esm.styled.div((function(_ref){var theme=_ref.theme;return{marginRight:30,fontSize:"".concat(theme.typography.size.s1,"px"),color:"light"===theme.base?(0,polished_esm.DZ)(.4,theme.color.defaultText):(0,polished_esm.DZ)(.6,theme.color.defaultText)}})),Sample=esm.styled.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),TypeSpecimen=esm.styled.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),Wrapper=esm.styled.div(shared.YX,(function(_ref2){var theme=_ref2.theme;return Object.assign({},getBlockBackgroundStyle(theme),{margin:"25px 0 40px",padding:"30px 20px"})})),Typeset=function Typeset(_ref3){var fontFamily=_ref3.fontFamily,fontSizes=_ref3.fontSizes,fontWeight=_ref3.fontWeight,sampleText=_ref3.sampleText,props=Typeset_objectWithoutProperties(_ref3,["fontFamily","fontSizes","fontWeight","sampleText"]);return react.createElement(Wrapper,Typeset_extends({},props,{className:"docblock-typeset"}),fontSizes.map((function(size){return react.createElement(TypeSpecimen,{key:size},react.createElement(Label,null,size),react.createElement(Sample,{style:{fontFamily,fontSize:size,fontWeight,lineHeight:1.2}},sampleText||"Was he a beast if music could move him so?"))})))};Typeset.displayName="Typeset";var anchorBlockIdFromId=function anchorBlockIdFromId(storyId){return"anchor--".concat(storyId)},Anchor=function Anchor(_ref){var storyId=_ref.storyId,children=_ref.children;return react.createElement("div",{id:anchorBlockIdFromId(storyId)},children)},mapValues=(__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/lodash/mapValues.js")),mapValues_default=__webpack_require__.n(mapValues),dist_esm=__webpack_require__("./node_modules/@storybook/components/dist/esm/index.js"),addons_dist_esm=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js"),filterArgTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/filterArgTypes.js"),core_events_dist_esm=__webpack_require__("./node_modules/@storybook/core-events/dist/esm/index.js"),global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window);void 0===global_window.window.__DOCS_CONTEXT__&&(global_window.window.__DOCS_CONTEXT__=(0,react.createContext)({}),global_window.window.__DOCS_CONTEXT__.displayName="DocsContext");var DocsContext=global_window.window.__DOCS_CONTEXT__,CURRENT_SELECTION=".",PRIMARY_STORY="^",getComponentName=(__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),function getComponentName(component){if(component)return"string"==typeof component?component.includes("-")?function titleCase(str){return str.split("-").map((function(part){return part.charAt(0).toUpperCase()+part.slice(1)})).join("")}(component):component:component.__docgenInfo&&component.__docgenInfo.displayName?component.__docgenInfo.displayName:component.name});function scrollToElement(element){var block=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";element.scrollIntoView({behavior:"smooth",block,inline:"nearest"})}__webpack_require__("./node_modules/core-js/modules/es.promise.js");var react_dist_esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js");__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js");function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function IFrame_extends(){return IFrame_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},IFrame_extends.apply(this,arguments)}function IFrame_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function IFrame_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}var globalWindow=window_default().window,IFrame=function(_Component){!function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(IFrame,_Component);var _super=_createSuper(IFrame);function IFrame(){var _this;_classCallCheck(this,IFrame);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).iframe=null,_this}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(IFrame,[{key:"componentDidMount",value:function componentDidMount(){var id=this.props.id;this.iframe=globalWindow.document.getElementById(id)}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps){var scale=nextProps.scale;return scale!==this.props.scale&&this.setIframeBodyStyle({width:"".concat(100*scale,"%"),height:"".concat(100*scale,"%"),transform:"scale(".concat(1/scale,")"),transformOrigin:"top left"}),!1}},{key:"setIframeBodyStyle",value:function setIframeBodyStyle(style){return Object.assign(this.iframe.contentDocument.body.style,style)}},{key:"render",value:function render(){var _this$props=this.props,id=_this$props.id,title=_this$props.title,src=_this$props.src,allowFullScreen=_this$props.allowFullScreen,rest=(_this$props.scale,IFrame_objectWithoutProperties(_this$props,["id","title","src","allowFullScreen","scale"]));return react.createElement("iframe",IFrame_extends({id,title,src,allowFullScreen,loading:"lazy"},rest))}}]),IFrame}(react.Component);IFrame.displayName="IFrame";var _templateObject,EmptyBlock=__webpack_require__("./node_modules/@storybook/components/dist/esm/blocks/EmptyBlock.js"),ZoomContext=(0,react.createContext)({scale:1}),core_browser_esm=(__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/@emotion/core/dist/core.browser.esm.js")),icon=__webpack_require__("./node_modules/@storybook/components/dist/esm/icon/icon.js");var Loader_templateObject,rotate360=(0,core_browser_esm.F4)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n\tfrom {\n\t\ttransform: rotate(0deg);\n\t}\n\tto {\n\t\ttransform: rotate(360deg);\n\t}\n"])));function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function Loader_extends(){return Loader_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},Loader_extends.apply(this,arguments)}function Loader_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Loader_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var EventSource=window_default().EventSource,CONFIG_TYPE=window_default().CONFIG_TYPE,LoaderWrapper=esm.styled.div((function(_ref){var _ref$size=_ref.size,size=void 0===_ref$size?32:_ref$size;return{borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-size/2,marginLeft:-size/2,height:size,width:size,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:"".concat(rotate360," 0.7s linear infinite"),mixBlendMode:"difference"}})),ProgressWrapper=esm.styled.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),ProgressTrack=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:(0,polished_esm.DZ)(.8,theme.color.secondary),overflow:"hidden",cursor:"progress"}})),ProgressBar=esm.styled.div((function(_ref3){return{position:"absolute",top:0,left:0,height:"100%",background:_ref3.theme.color.secondary}})),ProgressMessage=esm.styled.div((function(_ref4){var theme=_ref4.theme;return{minHeight:"2em",fontSize:"".concat(theme.typography.size.s1,"px"),color:theme.barTextColor}})),ErrorIcon=(0,esm.styled)(icon.P)((function(_ref5){return{width:20,height:20,marginBottom:"0.5rem",color:_ref5.theme.color.mediumdark}})),ellipsis=(0,core_browser_esm.F4)(Loader_templateObject||(Loader_templateObject=function Loader_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(['\n from { content: "..." }\n 33% { content: "." }\n 66% { content: ".." }\n to { content: "..." }\n']))),Ellipsis=esm.styled.span({"&::after":{content:"'...'",animation:"".concat(ellipsis," 1s linear infinite"),animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),PureLoader=function PureLoader(_ref6){var progress=_ref6.progress,error=_ref6.error,size=_ref6.size,props=Loader_objectWithoutProperties(_ref6,["progress","error","size"]);if(error)return react.createElement(ProgressWrapper,Loader_extends({"aria-label":error.toString(),"aria-live":"polite",role:"status"},props),react.createElement(ErrorIcon,{icon:"lightningoff"}),react.createElement(ProgressMessage,null,error.message));if(progress){var value=progress.value,modules=progress.modules,message=progress.message;return modules&&(message+=" ".concat(modules.complete," / ").concat(modules.total," modules")),react.createElement(ProgressWrapper,Loader_extends({"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":100*value,"aria-valuetext":message,role:"progressbar"},props),react.createElement(ProgressTrack,null,react.createElement(ProgressBar,{style:{width:"".concat(100*value,"%")}})),react.createElement(ProgressMessage,null,message,value<1&&react.createElement(Ellipsis,{key:message})))}return react.createElement(LoaderWrapper,Loader_extends({"aria-label":"Content is loading...","aria-live":"polite",role:"status",size},props))};PureLoader.displayName="PureLoader";var Loader=function Loader(props){var _useState2=_slicedToArray((0,react.useState)(void 0),2),progress=_useState2[0],setProgress=_useState2[1],_useState4=_slicedToArray((0,react.useState)(void 0),2),error=_useState4[0],setError=_useState4[1];return(0,react.useEffect)((function(){if("DEVELOPMENT"===CONFIG_TYPE&&EventSource){var lastProgress,eventSource=new EventSource("/progress");return eventSource.onmessage=function(event){try{lastProgress=JSON.parse(event.data),setProgress(lastProgress)}catch(e){setError(e),eventSource.close()}},eventSource.onerror=function(){lastProgress&&1!==lastProgress.value&&setError(new Error("Connection closed")),eventSource.close()},function(){return eventSource.close()}}}),[]),react.createElement(PureLoader,Loader_extends({progress,error},props))};function Story_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Story_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}Loader.displayName="Loader";var StoryError;!function(StoryError){StoryError.NO_STORY="No component or story to display"}(StoryError||(StoryError={}));var InlineStory=function InlineStory(_ref){var storyFn=_ref.storyFn,height=_ref.height,id=_ref.id;return react.createElement(react.Fragment,null,height?react.createElement("style",null,"#story--".concat(id," { min-height: ").concat(height,"; transform: translateZ(0); overflow: auto }")):null,react.createElement(react.Fragment,null,storyFn?(0,react.createElement)(storyFn):react.createElement(EmptyBlock.V,null,function MISSING_STORY(id){return id?'Story "'.concat(id,"\" doesn't exist."):StoryError.NO_STORY}(id))))};InlineStory.displayName="InlineStory";var IFrameStory=function IFrameStory(_ref2){var id=_ref2.id,title=_ref2.title,_ref2$height=_ref2.height,height=void 0===_ref2$height?"500px":_ref2$height;return react.createElement("div",{style:{width:"100%",height}},react.createElement(ZoomContext.Consumer,null,(function(_ref3){var scale=_ref3.scale;return react.createElement(IFrame,{key:"iframe",id:"iframe--".concat(id),title,src:"".concat("iframe.html","?id=").concat(id,"&viewMode=story"),allowFullScreen:!0,scale,style:{width:"100%",height:"100%",border:"0 none"}})})))};IFrameStory.displayName="IFrameStory";var Story_Story=function Story(_ref4){_ref4.children;var error=_ref4.error,inline=_ref4.inline,props=Story_objectWithoutProperties(_ref4,["children","error","inline"]),id=props.id,title=props.title,height=props.height;return error?react.createElement(EmptyBlock.V,null,error):inline?react.createElement(InlineStory,props):react.createElement(IFrameStory,{id,title,height})},StorySkeleton=function StorySkeleton(){return react.createElement(Loader,null)};StorySkeleton.displayName="StorySkeleton";var dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.js");__webpack_require__("./node_modules/regenerator-runtime/runtime.js");function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function useStory_slicedToArray(arr,i){return function useStory_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function useStory_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function useStory_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return useStory_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return useStory_arrayLikeToArray(o,minLen)}(arr,i)||function useStory_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function useStory_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function useStory(storyId,context){var stories=useStories([storyId],context);return stories&&stories[0]}function useStories(storyIds,context){var initialStoriesById=context.componentStories().reduce((function(acc,story){return acc[story.id]=story,acc}),{}),_useState2=useStory_slicedToArray((0,react.useState)(initialStoriesById),2),storiesById=_useState2[0],setStories=_useState2[1];return(0,react.useEffect)((function(){Promise.all(storyIds.map(function(){var _ref=function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(regeneratorRuntime.mark((function _callee(storyId){var story;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,context.loadStory(storyId);case 2:story=_context.sent,setStories((function(current){return current[storyId]===story?current:Object.assign({},current,(value=story,(key=storyId)in(obj={})?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj));var obj,key,value}));case 4:case"end":return _context.stop()}}),_callee)})));return function(_x){return _ref.apply(this,arguments)}}()))})),storyIds.map((function(storyId){return storiesById[storyId]}))}function Story_slicedToArray(arr,i){return function Story_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function Story_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function Story_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return Story_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Story_arrayLikeToArray(o,minLen)}(arr,i)||function Story_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Story_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var storyBlockIdFromId=function storyBlockIdFromId(storyId){return"story--".concat(storyId)},lookupStoryId=function lookupStoryId(storyName,_ref){var mdxStoryNameToKey=_ref.mdxStoryNameToKey,mdxComponentAnnotations=_ref.mdxComponentAnnotations;return(0,dist.toId)(mdxComponentAnnotations.id||mdxComponentAnnotations.title,(0,dist.storyNameFromExport)(mdxStoryNameToKey[storyName]))},getStoryId=function getStoryId(props,context){var id=props.id,name=props.name;return(id===CURRENT_SELECTION?context.id:id)||lookupStoryId(name,context)},getStoryProps=function getStoryProps(_ref4,story,context,onStoryFnCalled){var height=_ref4.height,inline=_ref4.inline,storyName=story.name,parameters=story.parameters,_parameters$docs=parameters.docs,docs=void 0===_parameters$docs?{}:_parameters$docs;if(docs.disable)return null;var _docs$inlineStories=docs.inlineStories,inlineStories=void 0!==_docs$inlineStories&&_docs$inlineStories,_docs$iframeHeight=docs.iframeHeight,iframeHeight=void 0===_docs$iframeHeight?100:_docs$iframeHeight,prepareForInline=docs.prepareForInline,storyIsInline="boolean"==typeof inline?inline:inlineStories;if(storyIsInline&&!prepareForInline)throw new Error("Story '".concat(storyName,"' is set to render inline, but no 'prepareForInline' function is implemented in your docs configuration!"));var boundStoryFn=function boundStoryFn(){var storyResult=story.unboundStoryFn(Object.assign({},context.getStoryContext(story),{loaded:{},abortSignal:void 0,canvasElement:void 0}));return onStoryFnCalled(),storyResult};return Object.assign({inline:storyIsInline,id:story.id,height:height||(storyIsInline?void 0:iframeHeight),title:storyName},storyIsInline&&{parameters,storyFn:function storyFn(){return prepareForInline(boundStoryFn,context.getStoryContext(story))}})};function makeGate(){var open;return[new Promise((function(r){open=r})),open]}var Story=function Story(props){var context=(0,react.useContext)(DocsContext),channel=addons_dist_esm.KP.getChannel(),storyRef=(0,react.useRef)(),storyId=getStoryId(props,context),story=useStory(storyId,context),_useState2=Story_slicedToArray((0,react.useState)(!0),2),showLoader=_useState2[0],setShowLoader=_useState2[1];(0,react.useEffect)((function(){var cleanup;if(story&&storyRef.current){var componentId=story.componentId,id=story.id,title=story.title,name=story.name,renderContext={componentId,title,kind:title,id,name,story:name,showMain:function showMain(){},showError:function showError(){},showException:function showException(){}};cleanup=context.renderStoryToElement({story,renderContext,element:storyRef.current,viewMode:"docs"}),setShowLoader(!1)}return function(){return cleanup&&cleanup()}}),[story]);var _makeGate2=Story_slicedToArray(makeGate(),2),storyFnRan=_makeGate2[0],onStoryFnRan=_makeGate2[1],_makeGate4=Story_slicedToArray(makeGate(),2),rendered=_makeGate4[0],onRendered=_makeGate4[1];if((0,react.useEffect)(onRendered),!story)return react.createElement(StorySkeleton,null);var storyProps=getStoryProps(props,story,context,onStoryFnRan);if(!storyProps)return null;if(storyProps.inline){var _global$FEATURES;if(null!==window_default()&&void 0!==window_default()&&null!==(_global$FEATURES=window_default().FEATURES)&&void 0!==_global$FEATURES&&_global$FEATURES.modernInlineRender){var height=storyProps.height;return react.createElement("div",{id:storyBlockIdFromId(story.id)},react.createElement(react_dist_esm.Zo,{components:dist_esm.resetComponents},height?react.createElement("style",null,"#story--".concat(story.id," { min-height: ").concat(height,"; transform: translateZ(0); overflow: auto }")):null,showLoader&&react.createElement(StorySkeleton,null),react.createElement("div",{ref:storyRef,"data-name":story.name,dangerouslySetInnerHTML:{__html:"<span></span>"}})))}Promise.all([storyFnRan,rendered]).then((function(){channel.emit(core_events_dist_esm.default.STORY_RENDERED,storyId)}))}return react.createElement("div",{id:storyBlockIdFromId(story.id)},react.createElement(react_dist_esm.Zo,{components:dist_esm.resetComponents},react.createElement(Story_Story,storyProps)))};function ArgsTable_extends(){return ArgsTable_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},ArgsTable_extends.apply(this,arguments)}function ArgsTable_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function ArgsTable_slicedToArray(arr,i){return function ArgsTable_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function ArgsTable_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function ArgsTable_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return ArgsTable_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ArgsTable_arrayLikeToArray(o,minLen)}(arr,i)||function ArgsTable_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ArgsTable_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}Story.defaultProps={children:null,name:null};var extractComponentArgTypes=function extractComponentArgTypes(component,_ref,include,exclude){var id=_ref.id,extractArgTypes=((0,_ref.storyById)(id).parameters.docs||{}).extractArgTypes;if(!extractArgTypes)throw new Error(dist_esm.ArgsTableError.ARGS_UNSUPPORTED);var argTypes=extractArgTypes(component);return argTypes=(0,filterArgTypes.h)(argTypes,include,exclude)},isShortcut=function isShortcut(value){return value&&[CURRENT_SELECTION,PRIMARY_STORY].includes(value)},getComponent=function getComponent(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref3=arguments.length>1?arguments[1]:void 0,id=_ref3.id,storyById=_ref3.storyById,_ref4=props,of=_ref4.of,_ref5=props,story=_ref5.story,_storyById2=storyById(id),component=_storyById2.component;if(isShortcut(of)||isShortcut(story))return component||null;if(!of)throw new Error(dist_esm.ArgsTableError.NO_COMPONENT);return of},addComponentTabs=function addComponentTabs(tabs,components,context,include,exclude,sort){return Object.assign({},tabs,mapValues_default()(components,(function(comp){return{rows:extractComponentArgTypes(comp,context,include,exclude),sort}})))},StoryTable=function StoryTable(props){var context=(0,react.useContext)(DocsContext),currentId=context.id,componentStories=context.componentStories,storyName=props.story,component=props.component,subcomponents=props.subcomponents,showComponent=props.showComponent,include=props.include,exclude=props.exclude,sort=props.sort;try{var storyId;switch(storyName){case CURRENT_SELECTION:storyId=currentId;break;case PRIMARY_STORY:storyId=componentStories()[0].id;break;default:storyId=lookupStoryId(storyName,context)}var story=useStory(storyId,context),_useArgs=function useArgs(storyId,context){var channel=addons_dist_esm.KP.getChannel(),story=context.storyById(storyId);if(!story)throw new Error("Unknown story: ".concat(storyId));var storyContext=context.getStoryContext(story),_useState2=ArgsTable_slicedToArray((0,react.useState)(storyContext.args),2),args=_useState2[0],setArgs=_useState2[1];return(0,react.useEffect)((function(){var cb=function cb(changed){changed.storyId===storyId&&setArgs(changed.args)};return channel.on(core_events_dist_esm.default.STORY_ARGS_UPDATED,cb),function(){return channel.off(core_events_dist_esm.default.STORY_ARGS_UPDATED,cb)}}),[storyId]),[args,(0,react.useCallback)((function(updatedArgs){return channel.emit(core_events_dist_esm.default.UPDATE_STORY_ARGS,{storyId,updatedArgs})}),[storyId]),(0,react.useCallback)((function(argNames){return channel.emit(core_events_dist_esm.default.RESET_STORY_ARGS,{storyId,argNames})}),[storyId])]}(storyId,context),_useArgs2=ArgsTable_slicedToArray(_useArgs,3),args=_useArgs2[0],updateArgs=_useArgs2[1],resetArgs=_useArgs2[2];if(!story)return react.createElement(dist_esm.ArgsTable,{isLoading:!0,updateArgs,resetArgs});var argTypes=(0,filterArgTypes.h)(story.argTypes,include,exclude),mainLabel=getComponentName(component)||"Story",tabs=ArgsTable_defineProperty({},mainLabel,{rows:argTypes,args,updateArgs,resetArgs}),storyHasArgsWithControls=argTypes&&Object.values(argTypes).find((function(v){return!(null==v||!v.control)}));if(storyHasArgsWithControls||(updateArgs=null,resetArgs=null,tabs={}),!component||storyHasArgsWithControls&&!showComponent||(tabs=addComponentTabs(tabs,ArgsTable_defineProperty({},mainLabel,component),context,include,exclude)),subcomponents){if(Array.isArray(subcomponents))throw new Error("Unexpected subcomponents array. Expected an object whose keys are tab labels and whose values are components.");tabs=addComponentTabs(tabs,subcomponents,context,include,exclude)}return react.createElement(dist_esm.TabbedArgsTable,{tabs,sort})}catch(err){return react.createElement(dist_esm.ArgsTable,{error:err.message})}},ComponentsTable=function ComponentsTable(props){var context=(0,react.useContext)(DocsContext),components=props.components,include=props.include,exclude=props.exclude,sort=props.sort,tabs=addComponentTabs({},components,context,include,exclude);return react.createElement(dist_esm.TabbedArgsTable,{tabs,sort})},ArgsTable=function ArgsTable(props){var context=(0,react.useContext)(DocsContext),id=context.id,_storyById3=(0,context.storyById)(id),controls=_storyById3.parameters.controls,subcomponents=_storyById3.subcomponents,_ref6=props,include=_ref6.include,exclude=_ref6.exclude,components=_ref6.components,sortProp=_ref6.sort,storyName=props.story,sort=sortProp||(null==controls?void 0:controls.sort),main=getComponent(props,context);if(storyName)return react.createElement(StoryTable,ArgsTable_extends({},props,{component:main,subcomponents,sort}));if(!components&&!subcomponents){var mainProps;try{mainProps={rows:extractComponentArgTypes(main,context,include,exclude)}}catch(err){mainProps={error:err.message}}return react.createElement(dist_esm.ArgsTable,ArgsTable_extends({},mainProps,{sort}))}if(components)return react.createElement(ComponentsTable,ArgsTable_extends({},props,{components,sort}));var mainLabel=getComponentName(main);return react.createElement(ComponentsTable,ArgsTable_extends({},props,{components:Object.assign(ArgsTable_defineProperty({},mainLabel,main),subcomponents),sort}))};ArgsTable.defaultProps={of:CURRENT_SELECTION};__webpack_require__("./node_modules/core-js/modules/es.array.filter.js");var blocks_Source=__webpack_require__("./node_modules/@storybook/components/dist/esm/blocks/Source.js"),ActionBar=__webpack_require__("./node_modules/@storybook/components/dist/esm/ActionBar/ActionBar.js"),bar=__webpack_require__("./node_modules/@storybook/components/dist/esm/bar/bar.js"),bar_button=__webpack_require__("./node_modules/@storybook/components/dist/esm/bar/button.js");function Toolbar_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Toolbar_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Zoom=function Zoom(_ref){var zoom=_ref.zoom,resetZoom=_ref.resetZoom;return react.createElement(react.Fragment,null,react.createElement(bar_button.hU,{key:"zoomin",onClick:function onClick(e){e.preventDefault(),zoom(.8)},title:"Zoom in"},react.createElement(icon.P,{icon:"zoom"})),react.createElement(bar_button.hU,{key:"zoomout",onClick:function onClick(e){e.preventDefault(),zoom(1.25)},title:"Zoom out"},react.createElement(icon.P,{icon:"zoomout"})),react.createElement(bar_button.hU,{key:"zoomreset",onClick:function onClick(e){e.preventDefault(),resetZoom()},title:"Reset zoom"},react.createElement(icon.P,{icon:"zoomreset"})))},Eject=function Eject(_ref2){var baseUrl=_ref2.baseUrl,storyId=_ref2.storyId;return react.createElement(bar_button.hU,{key:"opener",href:"".concat(baseUrl,"?id=").concat(storyId),target:"_blank",title:"Open canvas in new tab"},react.createElement(icon.P,{icon:"share"}))};Eject.displayName="Eject";var Bar=(0,esm.styled)(bar.j)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Toolbar=function Toolbar(_ref3){var isLoading=_ref3.isLoading,storyId=_ref3.storyId,baseUrl=_ref3.baseUrl,zoom=_ref3.zoom,resetZoom=_ref3.resetZoom,rest=Toolbar_objectWithoutProperties(_ref3,["isLoading","storyId","baseUrl","zoom","resetZoom"]);return react.createElement(Bar,rest,react.createElement(react.Fragment,{key:"left"},isLoading?[1,2,3].map((function(key){return react.createElement(bar_button.Z$,{key})})):react.createElement(Zoom,{zoom,resetZoom})),react.createElement(react.Fragment,{key:"right"},storyId&&(isLoading?react.createElement(bar_button.Z$,null):react.createElement(Eject,{storyId,baseUrl}))))};Toolbar.displayName="Toolbar";var browserSupportsCssZoom_globalWindow=window_default().window;function browserSupportsCssZoom(){try{return void 0!==browserSupportsCssZoom_globalWindow.document.implementation.createHTMLDocument("").body.style.zoom}catch(error){return!1}}function ZoomElement_slicedToArray(arr,i){return function ZoomElement_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function ZoomElement_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function ZoomElement_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return ZoomElement_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ZoomElement_arrayLikeToArray(o,minLen)}(arr,i)||function ZoomElement_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ZoomElement_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var ZoomElementWrapper=esm.styled.div((function(_ref){var _ref$scale=_ref.scale,scale=void 0===_ref$scale?1:_ref$scale,height=_ref.height;return browserSupportsCssZoom()?{"> *":{zoom:1/scale}}:{height:height+50,transformOrigin:"top left",transform:"scale(".concat(1/scale,")")}}));function ZoomElement(_ref2){var scale=_ref2.scale,children=_ref2.children,componentWrapperRef=react.useRef(null),_useState2=ZoomElement_slicedToArray((0,react.useState)(0),2),height=_useState2[0],setHeight=_useState2[1];return(0,react.useEffect)((function(){componentWrapperRef.current&&setHeight(componentWrapperRef.current.getBoundingClientRect().height)}),[scale,componentWrapperRef.current]),react.createElement(ZoomElementWrapper,{scale,height},react.createElement("div",{ref:componentWrapperRef,className:"innerZoomElementWrapper"},children))}function ZoomIFrame_typeof(obj){return ZoomIFrame_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},ZoomIFrame_typeof(obj)}function ZoomIFrame_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function ZoomIFrame_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function ZoomIFrame_setPrototypeOf(o,p){return ZoomIFrame_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},ZoomIFrame_setPrototypeOf(o,p)}function ZoomIFrame_createSuper(Derived){var hasNativeReflectConstruct=function ZoomIFrame_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=ZoomIFrame_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=ZoomIFrame_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return ZoomIFrame_possibleConstructorReturn(this,result)}}function ZoomIFrame_possibleConstructorReturn(self,call){return!call||"object"!==ZoomIFrame_typeof(call)&&"function"!=typeof call?function ZoomIFrame_assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function ZoomIFrame_getPrototypeOf(o){return ZoomIFrame_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},ZoomIFrame_getPrototypeOf(o)}ZoomElement.displayName="ZoomElement";var ZoomIFrame=function(_Component){!function ZoomIFrame_inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&ZoomIFrame_setPrototypeOf(subClass,superClass)}(ZoomIFrame,_Component);var _super=ZoomIFrame_createSuper(ZoomIFrame);function ZoomIFrame(){var _this;ZoomIFrame_classCallCheck(this,ZoomIFrame);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).iframe=null,_this}return function ZoomIFrame_createClass(Constructor,protoProps,staticProps){return protoProps&&ZoomIFrame_defineProperties(Constructor.prototype,protoProps),staticProps&&ZoomIFrame_defineProperties(Constructor,staticProps),Constructor}(ZoomIFrame,[{key:"componentDidMount",value:function componentDidMount(){var iFrameRef=this.props.iFrameRef;this.iframe=iFrameRef.current}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps){var _this$props=this.props,scale=_this$props.scale,active=_this$props.active;return scale!==nextProps.scale&&this.setIframeInnerZoom(nextProps.scale),active!==nextProps.active&&this.iframe.setAttribute("data-is-storybook",nextProps.active?"true":"false"),!1}},{key:"setIframeInnerZoom",value:function setIframeInnerZoom(scale){try{browserSupportsCssZoom()?Object.assign(this.iframe.contentDocument.body.style,{zoom:1/scale}):Object.assign(this.iframe.contentDocument.body.style,{width:"".concat(100*scale,"%"),height:"".concat(100*scale,"%"),transform:"scale(".concat(1/scale,")"),transformOrigin:"top left"})}catch(e){this.setIframeZoom(scale)}}},{key:"setIframeZoom",value:function setIframeZoom(scale){Object.assign(this.iframe.style,{width:"".concat(100*scale,"%"),height:"".concat(100*scale,"%"),transform:"scale(".concat(1/scale,")"),transformOrigin:"top left"})}},{key:"render",value:function render(){return this.props.children}}]),ZoomIFrame}(react.Component);ZoomIFrame.displayName="ZoomIFrame";window_default().window;var Zoom_Zoom_Element=ZoomElement;function Preview_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return Preview_arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||Preview_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Preview_slicedToArray(arr,i){return function Preview_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function Preview_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||Preview_unsupportedIterableToArray(arr,i)||function Preview_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Preview_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return Preview_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Preview_arrayLikeToArray(o,minLen):void 0}}function Preview_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function Preview_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Preview_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function Preview_extends(){return Preview_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},Preview_extends.apply(this,arguments)}var ChildrenContainer=esm.styled.div((function(_ref){var isColumn=_ref.isColumn,columns=_ref.columns,layout=_ref.layout;return{display:isColumn||!columns?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:isColumn?"column":"row","& .innerZoomElementWrapper > *":isColumn?{width:"fullscreen"!==layout?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:"fullscreen"!==layout?"calc(100% - 20px)":"100%",display:"inline-block"}}}),(function(_ref2){var _ref2$layout=_ref2.layout,layout=void 0===_ref2$layout?"padded":_ref2$layout;return"centered"===layout||"padded"===layout?{padding:"30px 20px",margin:-10,"& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{}}),(function(_ref3){var _ref3$layout=_ref3.layout;return"centered"===(void 0===_ref3$layout?"padded":_ref3$layout)?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{}}),(function(_ref4){var columns=_ref4.columns;return columns&&columns>1?{".innerZoomElementWrapper > *":{minWidth:"calc(100% / ".concat(columns," - 20px)")}}:{}})),StyledSource=(0,esm.styled)(blocks_Source.Hw)((function(_ref5){var theme=_ref5.theme;return{margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:theme.appBorderRadius,borderBottomRightRadius:theme.appBorderRadius,border:"none",background:"light"===theme.base?"rgba(0, 0, 0, 0.85)":(0,polished_esm._j)(.05,theme.background.content),color:theme.color.lightest,button:{background:"light"===theme.base?"rgba(0, 0, 0, 0.85)":(0,polished_esm._j)(.05,theme.background.content)}}})),PreviewContainer=esm.styled.div((function(_ref6){var theme=_ref6.theme,withSource=_ref6.withSource,isExpanded=_ref6.isExpanded;return Object.assign({position:"relative",overflow:"hidden",margin:"25px 0 40px"},getBlockBackgroundStyle(theme),{borderBottomLeftRadius:withSource&&isExpanded&&0,borderBottomRightRadius:withSource&&isExpanded&&0,borderBottomWidth:isExpanded&&0})}),(function(_ref7){return _ref7.withToolbar&&{paddingTop:40}}));function Preview_getStoryId(children){if(1===react.Children.count(children)){var elt=children;if(elt.props)return elt.props.id}return null}var PositionedToolbar=(0,esm.styled)(Toolbar)({position:"absolute",top:0,left:0,right:0,height:40}),Relative=esm.styled.div({overflow:"hidden",position:"relative"}),Preview=function Preview(_ref8){var isLoading=_ref8.isLoading,isColumn=_ref8.isColumn,columns=_ref8.columns,children=_ref8.children,withSource=_ref8.withSource,_ref8$withToolbar=_ref8.withToolbar,withToolbar=void 0!==_ref8$withToolbar&&_ref8$withToolbar,_ref8$isExpanded=_ref8.isExpanded,isExpanded=void 0!==_ref8$isExpanded&&_ref8$isExpanded,additionalActions=_ref8.additionalActions,className=_ref8.className,props=Preview_objectWithoutProperties(_ref8,["isLoading","isColumn","columns","children","withSource","withToolbar","isExpanded","additionalActions","className"]),_useState2=Preview_slicedToArray((0,react.useState)(isExpanded),2),expanded=_useState2[0],_getSource=function getSource(withSource,expanded,setExpanded){switch(!0){case!(!withSource||!withSource.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:function onClick(){return setExpanded(!1)}}};case expanded:return{source:react.createElement(StyledSource,Preview_extends({},withSource,{dark:!0})),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:function onClick(){return setExpanded(!1)}}};default:return{source:react.createElement(StyledSource,Preview_extends({},withSource,{dark:!0})),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:function onClick(){return setExpanded(!0)}}}}}(withSource,expanded,_useState2[1]),source=_getSource.source,actionItem=_getSource.actionItem,_useState4=Preview_slicedToArray((0,react.useState)(1),2),scale=_useState4[0],setScale=_useState4[1],previewClasses=[className].concat(["sbdocs","sbdocs-preview"]),defaultActionItems=withSource?[actionItem]:[],_useState6=Preview_slicedToArray((0,react.useState)(additionalActions?_toConsumableArray(additionalActions):[]),2),additionalActionItems=_useState6[0],setAdditionalActionItems=_useState6[1],actionItems=[].concat(defaultActionItems,_toConsumableArray(additionalActionItems)),layout=function getLayout(children){return children.reduce((function(result,c){return result||("string"==typeof c||"number"==typeof c?"padded":c.props&&c.props.parameters&&c.props.parameters.layout||"padded")}),void 0)}(1===react.Children.count(children)?[children]:children),globalWindow=window_default().window,copyToClipboard=(0,react.useCallback)(function(){var _ref9=function Preview_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){Preview_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){Preview_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(regeneratorRuntime.mark((function _callee(text){var _yield$import;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,__webpack_require__.e(861).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/components/dist/esm/syntaxhighlighter/syntaxhighlighter.js"));case 2:_yield$import=_context.sent,(0,_yield$import.createCopyToClipboardFunction)();case 5:case"end":return _context.stop()}}),_callee)})));return function(_x){return _ref9.apply(this,arguments)}}(),[]);return react.createElement(PreviewContainer,Preview_extends({withSource,withToolbar},props,{className:previewClasses.join(" ")}),withToolbar&&react.createElement(PositionedToolbar,{isLoading,border:!0,zoom:function zoom(z){return setScale(scale*z)},resetZoom:function resetZoom(){return setScale(1)},storyId:Preview_getStoryId(children),baseUrl:"./iframe.html"}),react.createElement(ZoomContext.Provider,{value:{scale}},react.createElement(Relative,{className:"docs-story",onCopyCapture:withSource&&function onCopyCapture(e){e.preventDefault(),0===additionalActionItems.filter((function(item){return"Copied"===item.title})).length&©ToClipboard(source.props.code).then((function(){setAdditionalActionItems([].concat(_toConsumableArray(additionalActionItems),[{title:"Copied",onClick:function onClick(){}}])),globalWindow.setTimeout((function(){return setAdditionalActionItems(additionalActionItems.filter((function(item){return"Copied"!==item.title})))}),1500)}))}},react.createElement(ChildrenContainer,{isColumn:isColumn||!Array.isArray(children),columns,layout},react.createElement(Zoom_Zoom_Element,{scale},Array.isArray(children)?children.map((function(child,i){return react.createElement("div",{key:i},child)})):react.createElement("div",null,children))),react.createElement(ActionBar.o,{actionItems}))),withSource&&expanded&&source)};Preview.displayName="Preview";var StyledPreview=(0,esm.styled)(Preview)((function(){return{".docs-story":{paddingTop:32,paddingBottom:40}}})),PreviewSkeleton=function PreviewSkeleton(){return react.createElement(StyledPreview,{isLoading:!0,withToolbar:!0},react.createElement(StorySkeleton,null))};PreviewSkeleton.displayName="PreviewSkeleton";var fast_deep_equal=__webpack_require__("./node_modules/fast-deep-equal/index.js"),fast_deep_equal_default=__webpack_require__.n(fast_deep_equal),esm_shared=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/shared.js");function SourceContainer_slicedToArray(arr,i){return function SourceContainer_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function SourceContainer_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function SourceContainer_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return SourceContainer_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return SourceContainer_arrayLikeToArray(o,minLen)}(arr,i)||function SourceContainer_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function SourceContainer_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var SourceContext=(0,react.createContext)({sources:{}}),SourceContainer=function SourceContainer(_ref){var children=_ref.children,_useState2=SourceContainer_slicedToArray((0,react.useState)({}),2),sources=_useState2[0],setSources=_useState2[1],channel=addons_dist_esm.KP.getChannel();return(0,react.useEffect)((function(){var handleSnippetRendered=function handleSnippetRendered(id,newItem){newItem!==sources[id]&&setSources((function(current){var newSources=Object.assign({},current,function SourceContainer_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},id,newItem));return fast_deep_equal_default()(current,newSources)?current:newSources}))};return channel.on(esm_shared.g,handleSnippetRendered),function(){return channel.off(esm_shared.g,handleSnippetRendered)}})),react.createElement(SourceContext.Provider,{value:{sources}},children)},esm_parameters=(__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js"));function enhanceSource_toConsumableArray(arr){return function enhanceSource_arrayWithoutHoles(arr){if(Array.isArray(arr))return enhanceSource_arrayLikeToArray(arr)}(arr)||function enhanceSource_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function enhanceSource_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return enhanceSource_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return enhanceSource_arrayLikeToArray(o,minLen)}(arr)||function enhanceSource_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function enhanceSource_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var SourceState,extract=function extract(targetId,_ref){var source=_ref.source,locationsMap=_ref.locationsMap;if(!locationsMap)return source;var location=locationsMap[function storyIdToSanitizedStoryName(id){return id.replace(/^.*?--/,"")}(targetId)];return location?function extractSource(location,lines){var start=location.startBody,end=location.endBody;if(start.line===end.line&&void 0!==lines[start.line-1])return lines[start.line-1].substring(start.col,end.col);var startLine=lines[start.line-1],endLine=lines[end.line-1];return void 0===startLine||void 0===endLine?null:[startLine.substring(start.col)].concat(enhanceSource_toConsumableArray(lines.slice(start.line,end.line-1)),[endLine.substring(0,end.col)]).join("\n")}(location,source.split("\n")):source};!function(SourceState){SourceState.OPEN="open",SourceState.CLOSED="closed",SourceState.NONE="none"}(SourceState||(SourceState={}));var getSnippet=function getSnippet(snippet,story){var _parameters$docs,_parameters$docs$sour,_parameters$docs2,_parameters$docs2$sou,_enhanced$docs,_enhanced$docs$source;if(!story)return snippet;var _parameters$docs3,_parameters$docs3$tra,_parameters$docs4,_parameters$docs4$tra,parameters=story.parameters,isArgsStory=parameters.__isArgsStory,type=(null===(_parameters$docs=parameters.docs)||void 0===_parameters$docs||null===(_parameters$docs$sour=_parameters$docs.source)||void 0===_parameters$docs$sour?void 0:_parameters$docs$sour.type)||esm_shared.PO.AUTO,userCode=null===(_parameters$docs2=parameters.docs)||void 0===_parameters$docs2||null===(_parameters$docs2$sou=_parameters$docs2.source)||void 0===_parameters$docs2$sou?void 0:_parameters$docs2$sou.code;if(void 0!==userCode)return userCode;if(type===esm_shared.PO.DYNAMIC)return(null===(_parameters$docs3=parameters.docs)||void 0===_parameters$docs3||null===(_parameters$docs3$tra=_parameters$docs3.transformSource)||void 0===_parameters$docs3$tra?void 0:_parameters$docs3$tra.call(_parameters$docs3,snippet,story))||snippet;if(type===esm_shared.PO.AUTO&&snippet&&isArgsStory)return(null===(_parameters$docs4=parameters.docs)||void 0===_parameters$docs4||null===(_parameters$docs4$tra=_parameters$docs4.transformSource)||void 0===_parameters$docs4$tra?void 0:_parameters$docs4$tra.call(_parameters$docs4,snippet,story))||snippet;var enhanced=function enhanceSource(story){var _docs$source,id=story.id,parameters=story.parameters,storySource=parameters.storySource,_parameters$docs=parameters.docs,docs=void 0===_parameters$docs?{}:_parameters$docs,transformSource=docs.transformSource;if(null==storySource||!storySource.source||null!==(_docs$source=docs.source)&&void 0!==_docs$source&&_docs$source.code)return null;var input=extract(id,storySource),code=transformSource?transformSource(input,story):input;return{docs:(0,esm_parameters.f)(docs,{source:{code}})}}(story)||parameters;return(null==enhanced||null===(_enhanced$docs=enhanced.docs)||void 0===_enhanced$docs||null===(_enhanced$docs$source=_enhanced$docs.source)||void 0===_enhanced$docs$source?void 0:_enhanced$docs$source.code)||""},getSourceProps=function getSourceProps(props,docsContext,sourceContext){var currentId=docsContext.id,parameters=(0,docsContext.storyById)(currentId).parameters,singleProps=props,multiProps=props,source=props.code,storyIds=(multiProps.ids||[singleProps.id||currentId]).map((function(targetId){return targetId===CURRENT_SELECTION?currentId:targetId})),stories=useStories(storyIds,docsContext);if(!stories.every(Boolean))return{error:blocks_Source.ui.SOURCE_UNAVAILABLE,state:SourceState.NONE};source||(source=storyIds.map((function(storyId,idx){var storySource=function getStorySource(storyId,sourceContext){var sources=sourceContext.sources;return(null==sources?void 0:sources[storyId])||""}(storyId,sourceContext),storyObj=stories[idx];return getSnippet(storySource,storyObj)})).join("\n\n"));var state=function getSourceState(stories){var states=stories.map((function(story){var _story$parameters$doc,_story$parameters$doc2;return null===(_story$parameters$doc=story.parameters.docs)||void 0===_story$parameters$doc||null===(_story$parameters$doc2=_story$parameters$doc.source)||void 0===_story$parameters$doc2?void 0:_story$parameters$doc2.state})).filter(Boolean);return 0===states.length?SourceState.CLOSED:states[0]}(stories),_parameters$docs5=parameters.docs,_docsParameters$sourc=(void 0===_parameters$docs5?{}:_parameters$docs5).source,_sourceParameters$lan=(void 0===_docsParameters$sourc?{}:_docsParameters$sourc).language,docsLanguage=void 0===_sourceParameters$lan?null:_sourceParameters$lan;return source?{code:source,state,language:props.language||docsLanguage||"jsx",dark:props.dark||!1}:{error:blocks_Source.ui.SOURCE_UNAVAILABLE,state}},Source=function Source(props){var sourceContext=(0,react.useContext)(SourceContext),docsContext=(0,react.useContext)(DocsContext),sourceProps=getSourceProps(props,docsContext,sourceContext);return react.createElement(blocks_Source.Hw,sourceProps)};function Canvas_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Canvas_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Canvas=function Canvas(props){var _getPreviewProps=function getPreviewProps(_ref,docsContext,sourceContext){var withSource=_ref.withSource,mdxSource=_ref.mdxSource,children=_ref.children,props=Canvas_objectWithoutProperties(_ref,["withSource","mdxSource","children"]),mdxComponentAnnotations=docsContext.mdxComponentAnnotations,mdxStoryNameToKey=docsContext.mdxStoryNameToKey,sourceState=withSource,isLoading=!1;if(sourceState===SourceState.NONE)return{isLoading,previewProps:props};if(mdxSource)return{isLoading,previewProps:Object.assign({},props,{withSource:getSourceProps({code:decodeURI(mdxSource)},docsContext,sourceContext)})};var targetIds=(Array.isArray(children)?children:[children]).filter((function(c){return c.props&&(c.props.id||c.props.name)})).map((function(s){return s.props.id||(0,dist.toId)(mdxComponentAnnotations.id||mdxComponentAnnotations.title,(0,dist.storyNameFromExport)(mdxStoryNameToKey[s.props.name]))})),sourceProps=getSourceProps({ids:targetIds},docsContext,sourceContext);return sourceState||(sourceState=sourceProps.state),{isLoading:isLoading=useStories(targetIds,docsContext).some((function(s){return!s})),previewProps:Object.assign({},props,{withSource:sourceProps,isExpanded:sourceState===SourceState.OPEN})}}(props,(0,react.useContext)(DocsContext),(0,react.useContext)(SourceContext)),isLoading=_getPreviewProps.isLoading,previewProps=_getPreviewProps.previewProps,children=props.children;return isLoading?react.createElement(PreviewSkeleton,null):react.createElement(react_dist_esm.Zo,{components:dist_esm.resetComponents},react.createElement(Preview,previewProps,children))},index_modern=(__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/markdown-to-jsx/dist/index.modern.js")),Description=function Description(_ref){var markdown=_ref.markdown;return react.createElement(DocumentFormatting.i9,null,react.createElement(index_modern.Z,{options:{forceBlock:!0,overrides:DocumentFormatting.wx}},markdown))};Description.displayName="Description";var DescriptionType,docgen=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/lib/docgen/index.js");!function(DescriptionType){DescriptionType.INFO="info",DescriptionType.NOTES="notes",DescriptionType.DOCGEN="docgen",DescriptionType.LEGACY_5_2="legacy-5.2",DescriptionType.AUTO="auto"}(DescriptionType||(DescriptionType={}));var getNotes=function getNotes(notes){return notes&&("string"==typeof notes?notes:(0,docgen.Bd)(notes.markdown)||(0,docgen.Bd)(notes.text))},getInfo=function getInfo(info){return info&&("string"==typeof info?info:(0,docgen.Bd)(info.text))},noDescription=function noDescription(component){return null},getDescriptionProps=function getDescriptionProps(_ref,_ref2){var of=_ref.of,type=_ref.type,markdown=_ref.markdown,children=_ref.children,id=_ref2.id,_storyById=(0,_ref2.storyById)(id),component=_storyById.component,parameters=_storyById.parameters;if(children||markdown)return{markdown:children||markdown};var notes=parameters.notes,info=parameters.info,_ref3=parameters.docs||{},_ref3$extractComponen=_ref3.extractComponentDescription,extractComponentDescription=void 0===_ref3$extractComponen?noDescription:_ref3$extractComponen,description=_ref3.description,target=of===CURRENT_SELECTION?component:of,componentDescriptionParameter=null==description?void 0:description.component;if(componentDescriptionParameter)return{markdown:componentDescriptionParameter};switch(type){case DescriptionType.INFO:return{markdown:getInfo(info)};case DescriptionType.NOTES:return{markdown:getNotes(notes)};case DescriptionType.LEGACY_5_2:return{markdown:"\n".concat(getNotes(notes)||getInfo(info)||"","\n\n").concat(extractComponentDescription(target)||"","\n").trim()};case DescriptionType.DOCGEN:case DescriptionType.AUTO:default:return{markdown:extractComponentDescription(target,Object.assign({component},parameters))}}},DescriptionContainer=function DescriptionContainer(props){var context=(0,react.useContext)(DocsContext),markdown=getDescriptionProps(props,context).markdown;return markdown?react.createElement(Description,{markdown}):null};function DocsPage_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}DescriptionContainer.defaultProps={of:"."};var DocsPage_Title=esm.styled.h1(shared.YX,(function(_ref){var theme=_ref.theme;return DocsPage_defineProperty({color:theme.color.defaultText,fontSize:theme.typography.size.m3,fontWeight:theme.typography.weight.black,lineHeight:"32px"},"@media (min-width: ".concat(600,"px)"),{fontSize:theme.typography.size.l1,lineHeight:"36px",marginBottom:".5rem"})})),DocsPage_Subtitle=esm.styled.h2(shared.YX,(function(_ref3){var _ref4,theme=_ref3.theme;return DocsPage_defineProperty(_ref4={fontWeight:theme.typography.weight.regular,fontSize:theme.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15},"@media (min-width: ".concat(600,"px)"),{fontSize:theme.typography.size.m1,lineHeight:"28px",marginBottom:24}),DocsPage_defineProperty(_ref4,"color",(0,polished_esm.DZ)(.25,theme.color.defaultText)),_ref4})),DocsContent=esm.styled.div({maxWidth:1e3,width:"100%"}),DocsWrapper=esm.styled.div((function(_ref5){return DocsPage_defineProperty({background:_ref5.theme.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box"},"@media (min-width: ".concat(600,"px)"),{})})),STORY_KIND_PATH_SEPARATOR=/\s*\/\s*/,extractTitle=function extractTitle(_ref){var title=_ref.title,groups=title.trim().split(STORY_KIND_PATH_SEPARATOR);return groups&&groups[groups.length-1]||title},Title=function Title(_ref2){var children=_ref2.children,context=(0,react.useContext)(DocsContext),text=children;return text||(text=extractTitle(context)),text?react.createElement(DocsPage_Title,{className:"sbdocs-title"},text):null},Subtitle=function Subtitle(_ref){var children=_ref.children,_useContext=(0,react.useContext)(DocsContext),id=_useContext.id,parameters=(0,_useContext.storyById)(id).parameters,text=children;return text||(text=null==parameters?void 0:parameters.componentSubtitle),text?react.createElement(DocsPage_Subtitle,{className:"sbdocs-subtitle"},text):null},browser=__webpack_require__("./node_modules/util-deprecate/browser.js"),browser_default=__webpack_require__.n(browser),ts_dedent_esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js");__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js");function mdx_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function mdx_extends(){return mdx_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},mdx_extends.apply(this,arguments)}function mdx_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function mdx_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var mdx_document=window_default().document,assertIsFn=function assertIsFn(val){if("function"!=typeof val)throw new Error("Expected story function, got: ".concat(val));return val},AddContext=function AddContext(props){var children=props.children,rest=mdx_objectWithoutProperties(props,["children"]),parentContext=react.useContext(DocsContext);return react.createElement(DocsContext.Provider,{value:Object.assign({},parentContext,rest)},children)},CodeOrSourceMdx=function CodeOrSourceMdx(_ref){var className=_ref.className,children=_ref.children,rest=mdx_objectWithoutProperties(_ref,["className","children"]);if("string"!=typeof className&&("string"!=typeof children||!children.match(/[\n\r]/g)))return react.createElement(DocumentFormatting.EK,null,children);var language=className&&className.split("-");return react.createElement(blocks_Source.Hw,mdx_extends({language:language&&language[1]||"plaintext",format:!1,code:children},rest))};function mdx_navigate(url){addons_dist_esm.KP.getChannel().emit(core_events_dist_esm.NAVIGATE_URL,url)}var DocsStory_templateObject,A=DocumentFormatting.wx.a,AnchorInPage=function AnchorInPage(_ref2){var hash=_ref2.hash,children=_ref2.children;return react.createElement(A,{href:hash,target:"_self",onClick:function onClick(event){var id=hash.substring(1);mdx_document.getElementById(id)&&mdx_navigate(hash)}},children)},AnchorMdx=function AnchorMdx(props){var href=props.href,target=props.target,children=props.children,rest=mdx_objectWithoutProperties(props,["href","target","children"]);if(href){if(href.startsWith("#"))return react.createElement(AnchorInPage,{hash:href},children);if("_blank"!==target)return react.createElement(A,mdx_extends({href,onClick:function onClick(event){event.preventDefault(),mdx_navigate(event.currentTarget.getAttribute("href"))},target},rest),children)}return react.createElement(A,props)},SUPPORTED_MDX_HEADERS=["h1","h2","h3","h4","h5","h6"],OcticonHeaders=SUPPORTED_MDX_HEADERS.reduce((function(acc,headerType){return Object.assign({},acc,mdx_defineProperty({},headerType,(0,esm.styled)(DocumentFormatting.wx[headerType])({"& svg":{visibility:"hidden"},"&:hover svg":{visibility:"visible"}})))}),{}),OcticonAnchor=esm.styled.a((function(){return{float:"left",paddingRight:"4px",marginLeft:"-20px",color:"inherit"}})),HeaderWithOcticonAnchor=function HeaderWithOcticonAnchor(_ref3){var as=_ref3.as,id=_ref3.id,children=_ref3.children,rest=mdx_objectWithoutProperties(_ref3,["as","id","children"]),OcticonHeader=OcticonHeaders[as],hash="#".concat(id);return react.createElement(OcticonHeader,mdx_extends({id},rest),react.createElement(OcticonAnchor,{"aria-hidden":"true",href:hash,tabIndex:-1,target:"_self",onClick:function onClick(event){mdx_document.getElementById(id)&&mdx_navigate(hash)}},react.createElement("svg",{viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16","aria-hidden":"true",fill:"currentColor"},react.createElement("path",{fillRule:"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}))),children)},HeaderMdx=function HeaderMdx(props){var as=props.as,id=props.id,children=props.children,rest=mdx_objectWithoutProperties(props,["as","id","children"]);if(id)return react.createElement(HeaderWithOcticonAnchor,mdx_extends({as,id},rest),children);var Header=DocumentFormatting.wx[as];return react.createElement(Header,props)},HeadersMdx=SUPPORTED_MDX_HEADERS.reduce((function(acc,headerType){return Object.assign({},acc,mdx_defineProperty({},headerType,(function(props){return react.createElement(HeaderMdx,mdx_extends({as:headerType},props))})))}),{}),Subheading=function Subheading(_ref){var children=_ref.children;if(_ref.disableAnchor||"string"!=typeof children)return react.createElement(DocumentFormatting.H3,null,children);var tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,"-");return react.createElement(HeaderMdx,{as:"h3",id:tagID},children)};var warnStoryDescription=browser_default()((function(){}),(0,ts_dedent_esm.C)(DocsStory_templateObject||(DocsStory_templateObject=function DocsStory_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Deprecated parameter: docs.storyDescription => docs.description.story\n \n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#docs-description-parameter\n "])))),DocsStory=function DocsStory(_ref){var description,_docs$description,id=_ref.id,name=_ref.name,_ref$expanded=_ref.expanded,expanded=void 0===_ref$expanded||_ref$expanded,_ref$withToolbar=_ref.withToolbar,withToolbar=void 0!==_ref$withToolbar&&_ref$withToolbar,_ref$parameters=_ref.parameters,parameters=void 0===_ref$parameters?{}:_ref$parameters,docs=parameters.docs;expanded&&docs&&((description=null===(_docs$description=docs.description)||void 0===_docs$description?void 0:_docs$description.story)||(description=docs.storyDescription)&&warnStoryDescription());var subheading=expanded&&name;return react.createElement(Anchor,{storyId:id},subheading&&react.createElement(Subheading,null,subheading),description&&react.createElement(DescriptionContainer,{markdown:description}),react.createElement(Canvas,{withToolbar},react.createElement(Story,{id,parameters})))};function Primary_extends(){return Primary_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},Primary_extends.apply(this,arguments)}var Primary=function Primary(_ref){var story,name=_ref.name,componentStories=(0,(0,react.useContext)(DocsContext).componentStories)();return componentStories&&(story=name?componentStories.find((function(s){return s.name===name})):componentStories[0]),story?react.createElement(DocsStory,Primary_extends({},story,{expanded:!1,withToolbar:!0})):null},Heading=function Heading(_ref){var children=_ref.children;if(_ref.disableAnchor||"string"!=typeof children)return react.createElement(DocumentFormatting.H2,null,children);var tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,"-");return react.createElement(HeaderMdx,{as:"h2",id:tagID},children)};function Stories_extends(){return Stories_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},Stories_extends.apply(this,arguments)}var Stories=function Stories(_ref){var title=_ref.title,_ref$includePrimary=_ref.includePrimary,includePrimary=void 0!==_ref$includePrimary&&_ref$includePrimary,stories=(0,(0,react.useContext)(DocsContext).componentStories)();return stories=stories.filter((function(story){var _story$parameters,_story$parameters$doc;return!(null!==(_story$parameters=story.parameters)&&void 0!==_story$parameters&&null!==(_story$parameters$doc=_story$parameters.docs)&&void 0!==_story$parameters$doc&&_story$parameters$doc.disable)})),includePrimary||(stories=stories.slice(1)),stories&&0!==stories.length?react.createElement(react.Fragment,null,react.createElement(Heading,null,title),stories.map((function(story){return story&&react.createElement(DocsStory,Stories_extends({key:story.id},story,{expanded:!0}))}))):null};Stories.defaultProps={title:"Stories"};var DocsPage=function DocsPage(){return react.createElement(react.Fragment,null,react.createElement(Title,null),react.createElement(Subtitle,null),react.createElement(DescriptionContainer,null),react.createElement(Primary,null),react.createElement(ArgsTable,{story:PRIMARY_STORY}),react.createElement(Stories,null))},client_logger_dist_esm=(__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"));const isEmpty=o=>0===Object.keys(o).length,isObject=o=>null!=o&&"object"==typeof o,deletedDiff=(lhs,rhs)=>{if(lhs===rhs||!isObject(lhs)||!isObject(rhs))return{};const l=lhs,r=rhs;return Object.keys(l).reduce(((acc,key)=>{if(((o,...args)=>Object.prototype.hasOwnProperty.call(o,...args))(r,key)){const difference=deletedDiff(l[key],r[key]);return isObject(difference)&&isEmpty(difference)||(acc[key]=difference),acc}return acc[key]=void 0,acc}),{})},deleted=deletedDiff;var ensure_templateObject,light=__webpack_require__("./node_modules/@storybook/theming/dist/esm/themes/light.js"),convert=__webpack_require__("./node_modules/@storybook/theming/dist/esm/convert.js");var DocsContainer_templateObject,ensure=function ensure(input){if(!input)return(0,convert.O)(light.Z);var missing=deleted(light.Z,input);return Object.keys(missing).length&&client_logger_dist_esm.kg.warn((0,ts_dedent_esm.C)(ensure_templateObject||(ensure_templateObject=function ensure_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Your theme is missing properties, you should update your theme!\n\n theme-data missing:\n "]))),missing),(0,convert.O)(input)},emotion_theming_browser_esm=__webpack_require__("./node_modules/emotion-theming/dist/emotion-theming.browser.esm.js");var DocsContainer_document=window_default().document,DocsContainer_globalWindow=window_default().window,defaultComponents=Object.assign({},DocumentFormatting.wx,{code:CodeOrSourceMdx,a:AnchorMdx},HeadersMdx),warnOptionsTheme=browser_default()((function(){}),(0,ts_dedent_esm.C)(DocsContainer_templateObject||(DocsContainer_templateObject=function DocsContainer_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Deprecated parameter: options.theme => docs.theme\n\n https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/theming.md#storybook-theming\n"])))),DocsContainer=function DocsContainer(_ref){var context=_ref.context,children=_ref.children,storyId=context.id,_storyById$parameters=(0,context.storyById)(storyId).parameters,_storyById$parameters2=_storyById$parameters.options,options=void 0===_storyById$parameters2?{}:_storyById$parameters2,_storyById$parameters3=_storyById$parameters.docs,docs=void 0===_storyById$parameters3?{}:_storyById$parameters3,themeVars=docs.theme;!themeVars&&options.theme&&(warnOptionsTheme(),themeVars=options.theme);var theme=ensure(themeVars),allComponents=Object.assign({},defaultComponents,docs.components);return(0,react.useEffect)((function(){var url;try{url=new URL(DocsContainer_globalWindow.parent.location)}catch(err){return}if(url.hash){var element=DocsContainer_document.getElementById(url.hash.substring(1));element&&setTimeout((function(){scrollToElement(element)}),200)}else{var _element=DocsContainer_document.getElementById(anchorBlockIdFromId(storyId))||DocsContainer_document.getElementById(storyBlockIdFromId(storyId));if(_element){var allStories=_element.parentElement.querySelectorAll('[id|="anchor-"]'),scrollTarget=_element;allStories&&allStories[0]===_element&&(scrollTarget=DocsContainer_document.getElementById("docs-root")),setTimeout((function(){scrollToElement(scrollTarget,"start")}),200)}}}),[storyId]),react.createElement(DocsContext.Provider,{value:context},react.createElement(SourceContainer,null,react.createElement(emotion_theming_browser_esm.f6,{theme},react.createElement(react_dist_esm.Zo,{components:allComponents},react.createElement(DocsWrapper,{className:"sbdocs sbdocs-wrapper"},react.createElement(DocsContent,{className:"sbdocs sbdocs-content"},children))))))},Meta_document=window_default().document;var Preview_templateObject,Meta=function Meta(){return"docs"===new URL(Meta_document.location).searchParams.get("viewMode")?function renderAnchor(){var context=(0,react.useContext)(DocsContext),anchorId=function getFirstStoryId(docsContext){var stories=docsContext.componentStories();return stories.length>0?stories[0].id:null}(context)||context.id;return react.createElement(Anchor,{storyId:anchorId})}():null};var Props_templateObject,Preview_Preview=browser_default()((function(props){return react.createElement(Canvas,props)}),(0,ts_dedent_esm.C)(Preview_templateObject||(Preview_templateObject=function Preview_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Preview doc block has been renamed to Canvas.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewprops-renamed\n "]))));var Props=browser_default()((function(props){return react.createElement(ArgsTable,props)}),(0,ts_dedent_esm.C)(Props_templateObject||(Props_templateObject=function Props_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Props doc block has been renamed to ArgsTable.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewprops-renamed\n "]))));Props.defaultProps={of:CURRENT_SELECTION};var Wrapper_Wrapper=function Wrapper(_ref){var children=_ref.children;return react.createElement("div",{style:{fontFamily:"sans-serif"}},children)}},"./node_modules/@storybook/addon-docs/dist/esm/frameworks/common/config.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var config_namespaceObject={};__webpack_require__.r(config_namespaceObject),__webpack_require__.d(config_namespaceObject,{argTypesEnhancers:()=>argTypesEnhancers,parameters:()=>config_parameters});var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),parameters=(__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js"));function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}var _getPage,_getContainer,config_parameters={docs:{inlineStories:!1,getContainer:(_getContainer=_asyncToGenerator(regeneratorRuntime.mark((function _callee(){return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,Promise.resolve().then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/addon-docs/dist/esm/blocks/index.js"));case 2:return _context.abrupt("return",_context.sent.DocsContainer);case 3:case"end":return _context.stop()}}),_callee)}))),function getContainer(){return _getContainer.apply(this,arguments)}),getPage:(_getPage=_asyncToGenerator(regeneratorRuntime.mark((function _callee2(){return regeneratorRuntime.wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.next=2,Promise.resolve().then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/addon-docs/dist/esm/blocks/index.js"));case 2:return _context2.abrupt("return",_context2.sent.DocsPage);case 3:case"end":return _context2.stop()}}),_callee2)}))),function getPage(){return _getPage.apply(this,arguments)}),iframeHeight:100}},argTypesEnhancers=[function enhanceArgTypes(context){var component=context.component,userArgTypes=context.argTypes,_context$parameters$d=context.parameters.docs,extractArgTypes=(void 0===_context$parameters$d?{}:_context$parameters$d).extractArgTypes,extractedArgTypes=extractArgTypes&&component?extractArgTypes(component):{};return extractedArgTypes?(0,parameters.f)(extractedArgTypes,userArgTypes):userArgTypes}];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(config_namespaceObject).forEach((function(key){var value=config_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-docs/dist/esm/frameworks/react/config.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var config_namespaceObject={};__webpack_require__.r(config_namespaceObject),__webpack_require__.d(config_namespaceObject,{decorators:()=>decorators,parameters:()=>parameters});var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types),docgen=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/lib/docgen/index.js"),utils=(__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/lib/utils.js"));function generateFuncSignature(params,returns){var hasParams=null!=params,hasReturns=null!=returns;if(!hasParams&&!hasReturns)return"";var funcParts=[];if(hasParams){var funcParams=params.map((function(x){var prettyName=x.getPrettyName(),typeName=x.getTypeName();return null!=typeName?"".concat(prettyName,": ").concat(typeName):prettyName}));funcParts.push("(".concat(funcParams.join(", "),")"))}else funcParts.push("()");return hasReturns&&funcParts.push("=> ".concat(returns.getTypeName())),funcParts.join(" ")}function generateShortFuncSignature(params,returns){var hasParams=null!=params,hasReturns=null!=returns;if(!hasParams&&!hasReturns)return"";var funcParts=[];return hasParams?funcParts.push("( ... )"):funcParts.push("()"),hasReturns&&funcParts.push("=> ".concat(returns.getTypeName())),funcParts.join(" ")}__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js");var html_tags=__webpack_require__("./node_modules/html-tags/index.js");function isHtmlTag(tagName){return html_tags.includes(tagName.toLowerCase())}__webpack_require__("./node_modules/core-js/modules/es.string.ends-with.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js");var escodegen=__webpack_require__("./node_modules/escodegen/escodegen.js"),ts_dedent_esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),BASIC_OPTIONS={format:{indent:{style:" "},semicolons:!1}},COMPACT_OPTIONS=Object.assign({},BASIC_OPTIONS,{format:{newline:""}}),PRETTY_OPTIONS=Object.assign({},BASIC_OPTIONS);function generateCode(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,escodegen.R_)(ast,compact?COMPACT_OPTIONS:PRETTY_OPTIONS)}function generateObjectCode(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return compact?generateCompactObjectCode(ast):generateCode(ast)}function generateCompactObjectCode(ast){var result=generateCode(ast,!0);return result.endsWith(" }")||(result="".concat(result.slice(0,-1)," }")),result}function generateArrayCode(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return compact?generateCompactArrayCode(ast):generateMultilineArrayCode(ast)}function generateMultilineArrayCode(ast){var result=generateCode(ast);return result.endsWith(" }]")&&(result=(0,ts_dedent_esm.C)(result)),result}function generateCompactArrayCode(ast){var result=generateCode(ast,!0);return result.startsWith("[ ")&&(result=result.replace("[ ","[")),result}var InspectionType,isMemo=function isMemo(component){return component.$$typeof===Symbol.for("react.memo")};!function(InspectionType){InspectionType.IDENTIFIER="Identifier",InspectionType.LITERAL="Literal",InspectionType.OBJECT="Object",InspectionType.ARRAY="Array",InspectionType.FUNCTION="Function",InspectionType.CLASS="Class",InspectionType.ELEMENT="Element",InspectionType.UNKNOWN="Unknown"}(InspectionType||(InspectionType={}));__webpack_require__("./node_modules/core-js/modules/es.array.filter.js");var reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",keywords={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",nonASCIIidentifierChars="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");nonASCIIidentifierStartChars=nonASCIIidentifierChars=null;var astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(code,set){for(var pos=65536,i=0;i<set.length;i+=2){if((pos+=set[i])>code)return!1;if((pos+=set[i+1])>=code)return!0}}function isIdentifierStart(code,astral){return code<65?36===code:code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifierStart.test(String.fromCharCode(code)):!1!==astral&&isInAstralSet(code,astralIdentifierStartCodes)))}function isIdentifierChar(code,astral){return code<48?36===code:code<58||!(code<65)&&(code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifier.test(String.fromCharCode(code)):!1!==astral&&(isInAstralSet(code,astralIdentifierStartCodes)||isInAstralSet(code,astralIdentifierCodes)))))}var TokenType=function TokenType(label,conf){void 0===conf&&(conf={}),this.label=label,this.keyword=conf.keyword,this.beforeExpr=!!conf.beforeExpr,this.startsExpr=!!conf.startsExpr,this.isLoop=!!conf.isLoop,this.isAssign=!!conf.isAssign,this.prefix=!!conf.prefix,this.postfix=!!conf.postfix,this.binop=conf.binop||null,this.updateContext=null};function binop(name,prec){return new TokenType(name,{beforeExpr:!0,binop:prec})}var beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords$1={};function kw(name,options){return void 0===options&&(options={}),options.keyword=name,keywords$1[name]=new TokenType(name,options)}var types={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(code,ecma2019String){return 10===code||13===code||!ecma2019String&&(8232===code||8233===code)}var nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ref=Object.prototype,acorn_hasOwnProperty=ref.hasOwnProperty,acorn_toString=ref.toString;function has(obj,propName){return acorn_hasOwnProperty.call(obj,propName)}var isArray=Array.isArray||function(obj){return"[object Array]"===acorn_toString.call(obj)};function wordsRegexp(words){return new RegExp("^(?:"+words.replace(/ /g,"|")+")$")}var Position=function Position(line,col){this.line=line,this.column=col};Position.prototype.offset=function offset(n){return new Position(this.line,this.column+n)};var SourceLocation=function SourceLocation(p,start,end){this.start=start,this.end=end,null!==p.sourceFile&&(this.source=p.sourceFile)};function getLineInfo(input,offset){for(var line=1,cur=0;;){lineBreakG.lastIndex=cur;var match=lineBreakG.exec(input);if(!(match&&match.index<offset))return new Position(line,offset-cur);++line,cur=match.index+match[0].length}}var defaultOptions={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function getOptions(opts){var options={};for(var opt in defaultOptions)options[opt]=opts&&has(opts,opt)?opts[opt]:defaultOptions[opt];if(options.ecmaVersion>=2015&&(options.ecmaVersion-=2009),null==options.allowReserved&&(options.allowReserved=options.ecmaVersion<5),isArray(options.onToken)){var tokens=options.onToken;options.onToken=function(token){return tokens.push(token)}}return isArray(options.onComment)&&(options.onComment=function pushComment(options,array){return function(block,text,start,end,startLoc,endLoc){var comment={type:block?"Block":"Line",value:text,start,end};options.locations&&(comment.loc=new SourceLocation(this,startLoc,endLoc)),options.ranges&&(comment.range=[start,end]),array.push(comment)}}(options,options.onComment)),options}function functionFlags(async,generator){return 2|(async?4:0)|(generator?8:0)}var Parser=function Parser(options,input,startPos){this.options=options=getOptions(options),this.sourceFile=options.sourceFile,this.keywords=wordsRegexp(keywords[options.ecmaVersion>=6?6:"module"===options.sourceType?"5module":5]);var reserved="";if(!0!==options.allowReserved){for(var v=options.ecmaVersion;!(reserved=reservedWords[v]);v--);"module"===options.sourceType&&(reserved+=" await")}this.reservedWords=wordsRegexp(reserved);var reservedStrict=(reserved?reserved+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(reservedStrict),this.reservedWordsStrictBind=wordsRegexp(reservedStrict+" "+reservedWords.strictBind),this.input=String(input),this.containsEsc=!1,startPos?(this.pos=startPos,this.lineStart=this.input.lastIndexOf("\n",startPos-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=types.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===options.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&options.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},prototypeAccessors={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Parser.prototype.parse=function parse(){var node=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(node)},prototypeAccessors.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},prototypeAccessors.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},prototypeAccessors.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},prototypeAccessors.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},prototypeAccessors.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Parser.prototype.inNonArrowFunction=function inNonArrowFunction(){return(2&this.currentThisScope().flags)>0},Parser.extend=function extend(){for(var plugins=[],len=arguments.length;len--;)plugins[len]=arguments[len];for(var cls=this,i=0;i<plugins.length;i++)cls=plugins[i](cls);return cls},Parser.parse=function parse(input,options){return new this(options,input).parse()},Parser.parseExpressionAt=function parseExpressionAt(input,pos,options){var parser=new this(options,input,pos);return parser.nextToken(),parser.parseExpression()},Parser.tokenizer=function tokenizer(input,options){return new this(options,input)},Object.defineProperties(Parser.prototype,prototypeAccessors);var pp=Parser.prototype,literal=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}pp.strictDirective=function(start){for(;;){skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length;var match=literal.exec(this.input.slice(start));if(!match)return!1;if("use strict"===(match[1]||match[2])){skipWhiteSpace.lastIndex=start+match[0].length;var spaceAfter=skipWhiteSpace.exec(this.input),end=spaceAfter.index+spaceAfter[0].length,next=this.input.charAt(end);return";"===next||"}"===next||lineBreak.test(spaceAfter[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(next)||"!"===next&&"="===this.input.charAt(end+1))}start+=match[0].length,skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length,";"===this.input[start]&&start++}},pp.eat=function(type){return this.type===type&&(this.next(),!0)},pp.isContextual=function(name){return this.type===types.name&&this.value===name&&!this.containsEsc},pp.eatContextual=function(name){return!!this.isContextual(name)&&(this.next(),!0)},pp.expectContextual=function(name){this.eatContextual(name)||this.unexpected()},pp.canInsertSemicolon=function(){return this.type===types.eof||this.type===types.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},pp.semicolon=function(){this.eat(types.semi)||this.insertSemicolon()||this.unexpected()},pp.afterTrailingComma=function(tokType,notNext){if(this.type===tokType)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),notNext||this.next(),!0},pp.expect=function(type){this.eat(type)||this.unexpected()},pp.unexpected=function(pos){this.raise(null!=pos?pos:this.start,"Unexpected token")},pp.checkPatternErrors=function(refDestructuringErrors,isAssign){if(refDestructuringErrors){refDestructuringErrors.trailingComma>-1&&this.raiseRecoverable(refDestructuringErrors.trailingComma,"Comma is not permitted after the rest element");var parens=isAssign?refDestructuringErrors.parenthesizedAssign:refDestructuringErrors.parenthesizedBind;parens>-1&&this.raiseRecoverable(parens,"Parenthesized pattern")}},pp.checkExpressionErrors=function(refDestructuringErrors,andThrow){if(!refDestructuringErrors)return!1;var shorthandAssign=refDestructuringErrors.shorthandAssign,doubleProto=refDestructuringErrors.doubleProto;if(!andThrow)return shorthandAssign>=0||doubleProto>=0;shorthandAssign>=0&&this.raise(shorthandAssign,"Shorthand property assignments are valid only in destructuring patterns"),doubleProto>=0&&this.raiseRecoverable(doubleProto,"Redefinition of __proto__ property")},pp.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},pp.isSimpleAssignTarget=function(expr){return"ParenthesizedExpression"===expr.type?this.isSimpleAssignTarget(expr.expression):"Identifier"===expr.type||"MemberExpression"===expr.type};var pp$1=Parser.prototype;pp$1.parseTopLevel=function(node){var exports={};for(node.body||(node.body=[]);this.type!==types.eof;){var stmt=this.parseStatement(null,!0,exports);node.body.push(stmt)}if(this.inModule)for(var i=0,list=Object.keys(this.undefinedExports);i<list.length;i+=1){var name=list[i];this.raiseRecoverable(this.undefinedExports[name].start,"Export '"+name+"' is not defined")}return this.adaptDirectivePrologue(node.body),this.next(),node.sourceType=this.options.sourceType,this.finishNode(node,"Program")};var loopLabel={kind:"loop"},switchLabel={kind:"switch"};pp$1.isLet=function(context){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(91===nextCh)return!0;if(context)return!1;if(123===nextCh)return!0;if(isIdentifierStart(nextCh,!0)){for(var pos=next+1;isIdentifierChar(this.input.charCodeAt(pos),!0);)++pos;var ident=this.input.slice(next,pos);if(!keywordRelationalOperator.test(ident))return!0}return!1},pp$1.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length;return!(lineBreak.test(this.input.slice(this.pos,next))||"function"!==this.input.slice(next,next+8)||next+8!==this.input.length&&isIdentifierChar(this.input.charAt(next+8)))},pp$1.parseStatement=function(context,topLevel,exports){var kind,starttype=this.type,node=this.startNode();switch(this.isLet(context)&&(starttype=types._var,kind="let"),starttype){case types._break:case types._continue:return this.parseBreakContinueStatement(node,starttype.keyword);case types._debugger:return this.parseDebuggerStatement(node);case types._do:return this.parseDoStatement(node);case types._for:return this.parseForStatement(node);case types._function:return context&&(this.strict||"if"!==context&&"label"!==context)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(node,!1,!context);case types._class:return context&&this.unexpected(),this.parseClass(node,!0);case types._if:return this.parseIfStatement(node);case types._return:return this.parseReturnStatement(node);case types._switch:return this.parseSwitchStatement(node);case types._throw:return this.parseThrowStatement(node);case types._try:return this.parseTryStatement(node);case types._const:case types._var:return kind=kind||this.value,context&&"var"!==kind&&this.unexpected(),this.parseVarStatement(node,kind);case types._while:return this.parseWhileStatement(node);case types._with:return this.parseWithStatement(node);case types.braceL:return this.parseBlock(!0,node);case types.semi:return this.parseEmptyStatement(node);case types._export:case types._import:if(this.options.ecmaVersion>10&&starttype===types._import){skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(40===nextCh||46===nextCh)return this.parseExpressionStatement(node,this.parseExpression())}return this.options.allowImportExportEverywhere||(topLevel||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),starttype===types._import?this.parseImport(node):this.parseExport(node,exports);default:if(this.isAsyncFunction())return context&&this.unexpected(),this.next(),this.parseFunctionStatement(node,!0,!context);var maybeName=this.value,expr=this.parseExpression();return starttype===types.name&&"Identifier"===expr.type&&this.eat(types.colon)?this.parseLabeledStatement(node,maybeName,expr,context):this.parseExpressionStatement(node,expr)}},pp$1.parseBreakContinueStatement=function(node,keyword){var isBreak="break"===keyword;this.next(),this.eat(types.semi)||this.insertSemicolon()?node.label=null:this.type!==types.name?this.unexpected():(node.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var lab=this.labels[i];if(null==node.label||lab.name===node.label.name){if(null!=lab.kind&&(isBreak||"loop"===lab.kind))break;if(node.label&&isBreak)break}}return i===this.labels.length&&this.raise(node.start,"Unsyntactic "+keyword),this.finishNode(node,isBreak?"BreakStatement":"ContinueStatement")},pp$1.parseDebuggerStatement=function(node){return this.next(),this.semicolon(),this.finishNode(node,"DebuggerStatement")},pp$1.parseDoStatement=function(node){return this.next(),this.labels.push(loopLabel),node.body=this.parseStatement("do"),this.labels.pop(),this.expect(types._while),node.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(types.semi):this.semicolon(),this.finishNode(node,"DoWhileStatement")},pp$1.parseForStatement=function(node){this.next();var awaitAt=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(loopLabel),this.enterScope(0),this.expect(types.parenL),this.type===types.semi)return awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,null);var isLet=this.isLet();if(this.type===types._var||this.type===types._const||isLet){var init$1=this.startNode(),kind=isLet?"let":this.value;return this.next(),this.parseVar(init$1,!0,kind),this.finishNode(init$1,"VariableDeclaration"),(this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===init$1.declarations.length?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.parseForIn(node,init$1)):(awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init$1))}var refDestructuringErrors=new DestructuringErrors,init=this.parseExpression(!0,refDestructuringErrors);return this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.toAssignable(init,!1,refDestructuringErrors),this.checkLVal(init),this.parseForIn(node,init)):(this.checkExpressionErrors(refDestructuringErrors,!0),awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init))},pp$1.parseFunctionStatement=function(node,isAsync,declarationPosition){return this.next(),this.parseFunction(node,FUNC_STATEMENT|(declarationPosition?0:FUNC_HANGING_STATEMENT),!1,isAsync)},pp$1.parseIfStatement=function(node){return this.next(),node.test=this.parseParenExpression(),node.consequent=this.parseStatement("if"),node.alternate=this.eat(types._else)?this.parseStatement("if"):null,this.finishNode(node,"IfStatement")},pp$1.parseReturnStatement=function(node){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(types.semi)||this.insertSemicolon()?node.argument=null:(node.argument=this.parseExpression(),this.semicolon()),this.finishNode(node,"ReturnStatement")},pp$1.parseSwitchStatement=function(node){var cur;this.next(),node.discriminant=this.parseParenExpression(),node.cases=[],this.expect(types.braceL),this.labels.push(switchLabel),this.enterScope(0);for(var sawDefault=!1;this.type!==types.braceR;)if(this.type===types._case||this.type===types._default){var isCase=this.type===types._case;cur&&this.finishNode(cur,"SwitchCase"),node.cases.push(cur=this.startNode()),cur.consequent=[],this.next(),isCase?cur.test=this.parseExpression():(sawDefault&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),sawDefault=!0,cur.test=null),this.expect(types.colon)}else cur||this.unexpected(),cur.consequent.push(this.parseStatement(null));return this.exitScope(),cur&&this.finishNode(cur,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(node,"SwitchStatement")},pp$1.parseThrowStatement=function(node){return this.next(),lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),node.argument=this.parseExpression(),this.semicolon(),this.finishNode(node,"ThrowStatement")};var empty=[];pp$1.parseTryStatement=function(node){if(this.next(),node.block=this.parseBlock(),node.handler=null,this.type===types._catch){var clause=this.startNode();if(this.next(),this.eat(types.parenL)){clause.param=this.parseBindingAtom();var simple="Identifier"===clause.param.type;this.enterScope(simple?32:0),this.checkLVal(clause.param,simple?4:2),this.expect(types.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),clause.param=null,this.enterScope(0);clause.body=this.parseBlock(!1),this.exitScope(),node.handler=this.finishNode(clause,"CatchClause")}return node.finalizer=this.eat(types._finally)?this.parseBlock():null,node.handler||node.finalizer||this.raise(node.start,"Missing catch or finally clause"),this.finishNode(node,"TryStatement")},pp$1.parseVarStatement=function(node,kind){return this.next(),this.parseVar(node,!1,kind),this.semicolon(),this.finishNode(node,"VariableDeclaration")},pp$1.parseWhileStatement=function(node){return this.next(),node.test=this.parseParenExpression(),this.labels.push(loopLabel),node.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(node,"WhileStatement")},pp$1.parseWithStatement=function(node){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),node.object=this.parseParenExpression(),node.body=this.parseStatement("with"),this.finishNode(node,"WithStatement")},pp$1.parseEmptyStatement=function(node){return this.next(),this.finishNode(node,"EmptyStatement")},pp$1.parseLabeledStatement=function(node,maybeName,expr,context){for(var i$1=0,list=this.labels;i$1<list.length;i$1+=1){list[i$1].name===maybeName&&this.raise(expr.start,"Label '"+maybeName+"' is already declared")}for(var kind=this.type.isLoop?"loop":this.type===types._switch?"switch":null,i=this.labels.length-1;i>=0;i--){var label$1=this.labels[i];if(label$1.statementStart!==node.start)break;label$1.statementStart=this.start,label$1.kind=kind}return this.labels.push({name:maybeName,kind,statementStart:this.start}),node.body=this.parseStatement(context?-1===context.indexOf("label")?context+"label":context:"label"),this.labels.pop(),node.label=expr,this.finishNode(node,"LabeledStatement")},pp$1.parseExpressionStatement=function(node,expr){return node.expression=expr,this.semicolon(),this.finishNode(node,"ExpressionStatement")},pp$1.parseBlock=function(createNewLexicalScope,node,exitStrict){for(void 0===createNewLexicalScope&&(createNewLexicalScope=!0),void 0===node&&(node=this.startNode()),node.body=[],this.expect(types.braceL),createNewLexicalScope&&this.enterScope(0);this.type!==types.braceR;){var stmt=this.parseStatement(null);node.body.push(stmt)}return exitStrict&&(this.strict=!1),this.next(),createNewLexicalScope&&this.exitScope(),this.finishNode(node,"BlockStatement")},pp$1.parseFor=function(node,init){return node.init=init,this.expect(types.semi),node.test=this.type===types.semi?null:this.parseExpression(),this.expect(types.semi),node.update=this.type===types.parenR?null:this.parseExpression(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,"ForStatement")},pp$1.parseForIn=function(node,init){var isForIn=this.type===types._in;return this.next(),"VariableDeclaration"===init.type&&null!=init.declarations[0].init&&(!isForIn||this.options.ecmaVersion<8||this.strict||"var"!==init.kind||"Identifier"!==init.declarations[0].id.type)?this.raise(init.start,(isForIn?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===init.type&&this.raise(init.start,"Invalid left-hand side in for-loop"),node.left=init,node.right=isForIn?this.parseExpression():this.parseMaybeAssign(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,isForIn?"ForInStatement":"ForOfStatement")},pp$1.parseVar=function(node,isFor,kind){for(node.declarations=[],node.kind=kind;;){var decl=this.startNode();if(this.parseVarId(decl,kind),this.eat(types.eq)?decl.init=this.parseMaybeAssign(isFor):"const"!==kind||this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===decl.id.type||isFor&&(this.type===types._in||this.isContextual("of"))?decl.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),node.declarations.push(this.finishNode(decl,"VariableDeclarator")),!this.eat(types.comma))break}return node},pp$1.parseVarId=function(decl,kind){decl.id=this.parseBindingAtom(),this.checkLVal(decl.id,"var"===kind?1:2,!1)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2;pp$1.parseFunction=function(node,statement,allowExpressionBody,isAsync){this.initFunction(node),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!isAsync)&&(this.type===types.star&&statement&FUNC_HANGING_STATEMENT&&this.unexpected(),node.generator=this.eat(types.star)),this.options.ecmaVersion>=8&&(node.async=!!isAsync),statement&FUNC_STATEMENT&&(node.id=4&statement&&this.type!==types.name?null:this.parseIdent(),!node.id||statement&FUNC_HANGING_STATEMENT||this.checkLVal(node.id,this.strict||node.generator||node.async?this.treatFunctionsAsVar?1:2:3));var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(node.async,node.generator)),statement&FUNC_STATEMENT||(node.id=this.type===types.name?this.parseIdent():null),this.parseFunctionParams(node),this.parseFunctionBody(node,allowExpressionBody,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,statement&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")},pp$1.parseFunctionParams=function(node){this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},pp$1.parseClass=function(node,isStatement){this.next();var oldStrict=this.strict;this.strict=!0,this.parseClassId(node,isStatement),this.parseClassSuper(node);var classBody=this.startNode(),hadConstructor=!1;for(classBody.body=[],this.expect(types.braceL);this.type!==types.braceR;){var element=this.parseClassElement(null!==node.superClass);element&&(classBody.body.push(element),"MethodDefinition"===element.type&&"constructor"===element.kind&&(hadConstructor&&this.raise(element.start,"Duplicate constructor in the same class"),hadConstructor=!0))}return this.strict=oldStrict,this.next(),node.body=this.finishNode(classBody,"ClassBody"),this.finishNode(node,isStatement?"ClassDeclaration":"ClassExpression")},pp$1.parseClassElement=function(constructorAllowsSuper){var this$1=this;if(this.eat(types.semi))return null;var method=this.startNode(),tryContextual=function(k,noLineBreak){void 0===noLineBreak&&(noLineBreak=!1);var start=this$1.start,startLoc=this$1.startLoc;return!!this$1.eatContextual(k)&&(!(this$1.type===types.parenL||noLineBreak&&this$1.canInsertSemicolon())||(method.key&&this$1.unexpected(),method.computed=!1,method.key=this$1.startNodeAt(start,startLoc),method.key.name=k,this$1.finishNode(method.key,"Identifier"),!1))};method.kind="method",method.static=tryContextual("static");var isGenerator=this.eat(types.star),isAsync=!1;isGenerator||(this.options.ecmaVersion>=8&&tryContextual("async",!0)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star)):tryContextual("get")?method.kind="get":tryContextual("set")&&(method.kind="set")),method.key||this.parsePropertyName(method);var key=method.key,allowsDirectSuper=!1;return method.computed||method.static||!("Identifier"===key.type&&"constructor"===key.name||"Literal"===key.type&&"constructor"===key.value)?method.static&&"Identifier"===key.type&&"prototype"===key.name&&this.raise(key.start,"Classes may not have a static property named prototype"):("method"!==method.kind&&this.raise(key.start,"Constructor can't have get/set modifier"),isGenerator&&this.raise(key.start,"Constructor can't be a generator"),isAsync&&this.raise(key.start,"Constructor can't be an async method"),method.kind="constructor",allowsDirectSuper=constructorAllowsSuper),this.parseClassMethod(method,isGenerator,isAsync,allowsDirectSuper),"get"===method.kind&&0!==method.value.params.length&&this.raiseRecoverable(method.value.start,"getter should have no params"),"set"===method.kind&&1!==method.value.params.length&&this.raiseRecoverable(method.value.start,"setter should have exactly one param"),"set"===method.kind&&"RestElement"===method.value.params[0].type&&this.raiseRecoverable(method.value.params[0].start,"Setter cannot use rest params"),method},pp$1.parseClassMethod=function(method,isGenerator,isAsync,allowsDirectSuper){return method.value=this.parseMethod(isGenerator,isAsync,allowsDirectSuper),this.finishNode(method,"MethodDefinition")},pp$1.parseClassId=function(node,isStatement){this.type===types.name?(node.id=this.parseIdent(),isStatement&&this.checkLVal(node.id,2,!1)):(!0===isStatement&&this.unexpected(),node.id=null)},pp$1.parseClassSuper=function(node){node.superClass=this.eat(types._extends)?this.parseExprSubscripts():null},pp$1.parseExport=function(node,exports){if(this.next(),this.eat(types.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(node.exported=this.parseIdent(!0),this.checkExport(exports,node.exported.name,this.lastTokStart)):node.exported=null),this.expectContextual("from"),this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom(),this.semicolon(),this.finishNode(node,"ExportAllDeclaration");if(this.eat(types._default)){var isAsync;if(this.checkExport(exports,"default",this.lastTokStart),this.type===types._function||(isAsync=this.isAsyncFunction())){var fNode=this.startNode();this.next(),isAsync&&this.next(),node.declaration=this.parseFunction(fNode,4|FUNC_STATEMENT,!1,isAsync)}else if(this.type===types._class){var cNode=this.startNode();node.declaration=this.parseClass(cNode,"nullableID")}else node.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(node,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())node.declaration=this.parseStatement(null),"VariableDeclaration"===node.declaration.type?this.checkVariableExport(exports,node.declaration.declarations):this.checkExport(exports,node.declaration.id.name,node.declaration.id.start),node.specifiers=[],node.source=null;else{if(node.declaration=null,node.specifiers=this.parseExportSpecifiers(exports),this.eatContextual("from"))this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom();else{for(var i=0,list=node.specifiers;i<list.length;i+=1){var spec=list[i];this.checkUnreserved(spec.local),this.checkLocalExport(spec.local)}node.source=null}this.semicolon()}return this.finishNode(node,"ExportNamedDeclaration")},pp$1.checkExport=function(exports,name,pos){exports&&(has(exports,name)&&this.raiseRecoverable(pos,"Duplicate export '"+name+"'"),exports[name]=!0)},pp$1.checkPatternExport=function(exports,pat){var type=pat.type;if("Identifier"===type)this.checkExport(exports,pat.name,pat.start);else if("ObjectPattern"===type)for(var i=0,list=pat.properties;i<list.length;i+=1){var prop=list[i];this.checkPatternExport(exports,prop)}else if("ArrayPattern"===type)for(var i$1=0,list$1=pat.elements;i$1<list$1.length;i$1+=1){var elt=list$1[i$1];elt&&this.checkPatternExport(exports,elt)}else"Property"===type?this.checkPatternExport(exports,pat.value):"AssignmentPattern"===type?this.checkPatternExport(exports,pat.left):"RestElement"===type?this.checkPatternExport(exports,pat.argument):"ParenthesizedExpression"===type&&this.checkPatternExport(exports,pat.expression)},pp$1.checkVariableExport=function(exports,decls){if(exports)for(var i=0,list=decls;i<list.length;i+=1){var decl=list[i];this.checkPatternExport(exports,decl.id)}},pp$1.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},pp$1.parseExportSpecifiers=function(exports){var nodes=[],first=!0;for(this.expect(types.braceL);!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.afterTrailingComma(types.braceR))break;var node=this.startNode();node.local=this.parseIdent(!0),node.exported=this.eatContextual("as")?this.parseIdent(!0):node.local,this.checkExport(exports,node.exported.name,node.exported.start),nodes.push(this.finishNode(node,"ExportSpecifier"))}return nodes},pp$1.parseImport=function(node){return this.next(),this.type===types.string?(node.specifiers=empty,node.source=this.parseExprAtom()):(node.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),node.source=this.type===types.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(node,"ImportDeclaration")},pp$1.parseImportSpecifiers=function(){var nodes=[],first=!0;if(this.type===types.name){var node=this.startNode();if(node.local=this.parseIdent(),this.checkLVal(node.local,2),nodes.push(this.finishNode(node,"ImportDefaultSpecifier")),!this.eat(types.comma))return nodes}if(this.type===types.star){var node$1=this.startNode();return this.next(),this.expectContextual("as"),node$1.local=this.parseIdent(),this.checkLVal(node$1.local,2),nodes.push(this.finishNode(node$1,"ImportNamespaceSpecifier")),nodes}for(this.expect(types.braceL);!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.afterTrailingComma(types.braceR))break;var node$2=this.startNode();node$2.imported=this.parseIdent(!0),this.eatContextual("as")?node$2.local=this.parseIdent():(this.checkUnreserved(node$2.imported),node$2.local=node$2.imported),this.checkLVal(node$2.local,2),nodes.push(this.finishNode(node$2,"ImportSpecifier"))}return nodes},pp$1.adaptDirectivePrologue=function(statements){for(var i=0;i<statements.length&&this.isDirectiveCandidate(statements[i]);++i)statements[i].directive=statements[i].expression.raw.slice(1,-1)},pp$1.isDirectiveCandidate=function(statement){return"ExpressionStatement"===statement.type&&"Literal"===statement.expression.type&&"string"==typeof statement.expression.value&&('"'===this.input[statement.start]||"'"===this.input[statement.start])};var pp$2=Parser.prototype;pp$2.toAssignable=function(node,isBinding,refDestructuringErrors){if(this.options.ecmaVersion>=6&&node)switch(node.type){case"Identifier":this.inAsync&&"await"===node.name&&this.raise(node.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":node.type="ObjectPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);for(var i=0,list=node.properties;i<list.length;i+=1){var prop=list[i];this.toAssignable(prop,isBinding),"RestElement"!==prop.type||"ArrayPattern"!==prop.argument.type&&"ObjectPattern"!==prop.argument.type||this.raise(prop.argument.start,"Unexpected token")}break;case"Property":"init"!==node.kind&&this.raise(node.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(node.value,isBinding);break;case"ArrayExpression":node.type="ArrayPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0),this.toAssignableList(node.elements,isBinding);break;case"SpreadElement":node.type="RestElement",this.toAssignable(node.argument,isBinding),"AssignmentPattern"===node.argument.type&&this.raise(node.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==node.operator&&this.raise(node.left.end,"Only '=' operator can be used for specifying default value."),node.type="AssignmentPattern",delete node.operator,this.toAssignable(node.left,isBinding);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(node.expression,isBinding,refDestructuringErrors);break;case"ChainExpression":this.raiseRecoverable(node.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!isBinding)break;default:this.raise(node.start,"Assigning to rvalue")}else refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);return node},pp$2.toAssignableList=function(exprList,isBinding){for(var end=exprList.length,i=0;i<end;i++){var elt=exprList[i];elt&&this.toAssignable(elt,isBinding)}if(end){var last=exprList[end-1];6===this.options.ecmaVersion&&isBinding&&last&&"RestElement"===last.type&&"Identifier"!==last.argument.type&&this.unexpected(last.argument.start)}return exprList},pp$2.parseSpread=function(refDestructuringErrors){var node=this.startNode();return this.next(),node.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.finishNode(node,"SpreadElement")},pp$2.parseRestBinding=function(){var node=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==types.name&&this.unexpected(),node.argument=this.parseBindingAtom(),this.finishNode(node,"RestElement")},pp$2.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case types.bracketL:var node=this.startNode();return this.next(),node.elements=this.parseBindingList(types.bracketR,!0,!0),this.finishNode(node,"ArrayPattern");case types.braceL:return this.parseObj(!0)}return this.parseIdent()},pp$2.parseBindingList=function(close,allowEmpty,allowTrailingComma){for(var elts=[],first=!0;!this.eat(close);)if(first?first=!1:this.expect(types.comma),allowEmpty&&this.type===types.comma)elts.push(null);else{if(allowTrailingComma&&this.afterTrailingComma(close))break;if(this.type===types.ellipsis){var rest=this.parseRestBinding();this.parseBindingListItem(rest),elts.push(rest),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(close);break}var elem=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(elem),elts.push(elem)}return elts},pp$2.parseBindingListItem=function(param){return param},pp$2.parseMaybeDefault=function(startPos,startLoc,left){if(left=left||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(types.eq))return left;var node=this.startNodeAt(startPos,startLoc);return node.left=left,node.right=this.parseMaybeAssign(),this.finishNode(node,"AssignmentPattern")},pp$2.checkLVal=function(expr,bindingType,checkClashes){switch(void 0===bindingType&&(bindingType=0),expr.type){case"Identifier":2===bindingType&&"let"===expr.name&&this.raiseRecoverable(expr.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(expr.name)&&this.raiseRecoverable(expr.start,(bindingType?"Binding ":"Assigning to ")+expr.name+" in strict mode"),checkClashes&&(has(checkClashes,expr.name)&&this.raiseRecoverable(expr.start,"Argument name clash"),checkClashes[expr.name]=!0),0!==bindingType&&5!==bindingType&&this.declareName(expr.name,bindingType,expr.start);break;case"ChainExpression":this.raiseRecoverable(expr.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":bindingType&&this.raiseRecoverable(expr.start,"Binding member expression");break;case"ObjectPattern":for(var i=0,list=expr.properties;i<list.length;i+=1){var prop=list[i];this.checkLVal(prop,bindingType,checkClashes)}break;case"Property":this.checkLVal(expr.value,bindingType,checkClashes);break;case"ArrayPattern":for(var i$1=0,list$1=expr.elements;i$1<list$1.length;i$1+=1){var elem=list$1[i$1];elem&&this.checkLVal(elem,bindingType,checkClashes)}break;case"AssignmentPattern":this.checkLVal(expr.left,bindingType,checkClashes);break;case"RestElement":this.checkLVal(expr.argument,bindingType,checkClashes);break;case"ParenthesizedExpression":this.checkLVal(expr.expression,bindingType,checkClashes);break;default:this.raise(expr.start,(bindingType?"Binding":"Assigning to")+" rvalue")}};var pp$3=Parser.prototype;pp$3.checkPropClash=function(prop,propHash,refDestructuringErrors){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===prop.type||this.options.ecmaVersion>=6&&(prop.computed||prop.method||prop.shorthand))){var name,key=prop.key;switch(key.type){case"Identifier":name=key.name;break;case"Literal":name=String(key.value);break;default:return}var kind=prop.kind;if(this.options.ecmaVersion>=6)"__proto__"===name&&"init"===kind&&(propHash.proto&&(refDestructuringErrors?refDestructuringErrors.doubleProto<0&&(refDestructuringErrors.doubleProto=key.start):this.raiseRecoverable(key.start,"Redefinition of __proto__ property")),propHash.proto=!0);else{var other=propHash[name="$"+name];if(other)("init"===kind?this.strict&&other.init||other.get||other.set:other.init||other[kind])&&this.raiseRecoverable(key.start,"Redefinition of property");else other=propHash[name]={init:!1,get:!1,set:!1};other[kind]=!0}}},pp$3.parseExpression=function(noIn,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseMaybeAssign(noIn,refDestructuringErrors);if(this.type===types.comma){var node=this.startNodeAt(startPos,startLoc);for(node.expressions=[expr];this.eat(types.comma);)node.expressions.push(this.parseMaybeAssign(noIn,refDestructuringErrors));return this.finishNode(node,"SequenceExpression")}return expr},pp$3.parseMaybeAssign=function(noIn,refDestructuringErrors,afterLeftParse){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(noIn);this.exprAllowed=!1}var ownDestructuringErrors=!1,oldParenAssign=-1,oldTrailingComma=-1;refDestructuringErrors?(oldParenAssign=refDestructuringErrors.parenthesizedAssign,oldTrailingComma=refDestructuringErrors.trailingComma,refDestructuringErrors.parenthesizedAssign=refDestructuringErrors.trailingComma=-1):(refDestructuringErrors=new DestructuringErrors,ownDestructuringErrors=!0);var startPos=this.start,startLoc=this.startLoc;this.type!==types.parenL&&this.type!==types.name||(this.potentialArrowAt=this.start);var left=this.parseMaybeConditional(noIn,refDestructuringErrors);if(afterLeftParse&&(left=afterLeftParse.call(this,left,startPos,startLoc)),this.type.isAssign){var node=this.startNodeAt(startPos,startLoc);return node.operator=this.value,node.left=this.type===types.eq?this.toAssignable(left,!1,refDestructuringErrors):left,ownDestructuringErrors||(refDestructuringErrors.parenthesizedAssign=refDestructuringErrors.trailingComma=refDestructuringErrors.doubleProto=-1),refDestructuringErrors.shorthandAssign>=node.left.start&&(refDestructuringErrors.shorthandAssign=-1),this.checkLVal(left),this.next(),node.right=this.parseMaybeAssign(noIn),this.finishNode(node,"AssignmentExpression")}return ownDestructuringErrors&&this.checkExpressionErrors(refDestructuringErrors,!0),oldParenAssign>-1&&(refDestructuringErrors.parenthesizedAssign=oldParenAssign),oldTrailingComma>-1&&(refDestructuringErrors.trailingComma=oldTrailingComma),left},pp$3.parseMaybeConditional=function(noIn,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseExprOps(noIn,refDestructuringErrors);if(this.checkExpressionErrors(refDestructuringErrors))return expr;if(this.eat(types.question)){var node=this.startNodeAt(startPos,startLoc);return node.test=expr,node.consequent=this.parseMaybeAssign(),this.expect(types.colon),node.alternate=this.parseMaybeAssign(noIn),this.finishNode(node,"ConditionalExpression")}return expr},pp$3.parseExprOps=function(noIn,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseMaybeUnary(refDestructuringErrors,!1);return this.checkExpressionErrors(refDestructuringErrors)||expr.start===startPos&&"ArrowFunctionExpression"===expr.type?expr:this.parseExprOp(expr,startPos,startLoc,-1,noIn)},pp$3.parseExprOp=function(left,leftStartPos,leftStartLoc,minPrec,noIn){var prec=this.type.binop;if(null!=prec&&(!noIn||this.type!==types._in)&&prec>minPrec){var logical=this.type===types.logicalOR||this.type===types.logicalAND,coalesce=this.type===types.coalesce;coalesce&&(prec=types.logicalAND.binop);var op=this.value;this.next();var startPos=this.start,startLoc=this.startLoc,right=this.parseExprOp(this.parseMaybeUnary(null,!1),startPos,startLoc,prec,noIn),node=this.buildBinary(leftStartPos,leftStartLoc,left,right,op,logical||coalesce);return(logical&&this.type===types.coalesce||coalesce&&(this.type===types.logicalOR||this.type===types.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(node,leftStartPos,leftStartLoc,minPrec,noIn)}return left},pp$3.buildBinary=function(startPos,startLoc,left,right,op,logical){var node=this.startNodeAt(startPos,startLoc);return node.left=left,node.operator=op,node.right=right,this.finishNode(node,logical?"LogicalExpression":"BinaryExpression")},pp$3.parseMaybeUnary=function(refDestructuringErrors,sawUnary){var expr,startPos=this.start,startLoc=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))expr=this.parseAwait(),sawUnary=!0;else if(this.type.prefix){var node=this.startNode(),update=this.type===types.incDec;node.operator=this.value,node.prefix=!0,this.next(),node.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(refDestructuringErrors,!0),update?this.checkLVal(node.argument):this.strict&&"delete"===node.operator&&"Identifier"===node.argument.type?this.raiseRecoverable(node.start,"Deleting local variable in strict mode"):sawUnary=!0,expr=this.finishNode(node,update?"UpdateExpression":"UnaryExpression")}else{if(expr=this.parseExprSubscripts(refDestructuringErrors),this.checkExpressionErrors(refDestructuringErrors))return expr;for(;this.type.postfix&&!this.canInsertSemicolon();){var node$1=this.startNodeAt(startPos,startLoc);node$1.operator=this.value,node$1.prefix=!1,node$1.argument=expr,this.checkLVal(expr),this.next(),expr=this.finishNode(node$1,"UpdateExpression")}}return!sawUnary&&this.eat(types.starstar)?this.buildBinary(startPos,startLoc,expr,this.parseMaybeUnary(null,!1),"**",!1):expr},pp$3.parseExprSubscripts=function(refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseExprAtom(refDestructuringErrors);if("ArrowFunctionExpression"===expr.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return expr;var result=this.parseSubscripts(expr,startPos,startLoc);return refDestructuringErrors&&"MemberExpression"===result.type&&(refDestructuringErrors.parenthesizedAssign>=result.start&&(refDestructuringErrors.parenthesizedAssign=-1),refDestructuringErrors.parenthesizedBind>=result.start&&(refDestructuringErrors.parenthesizedBind=-1)),result},pp$3.parseSubscripts=function(base,startPos,startLoc,noCalls){for(var maybeAsyncArrow=this.options.ecmaVersion>=8&&"Identifier"===base.type&&"async"===base.name&&this.lastTokEnd===base.end&&!this.canInsertSemicolon()&&base.end-base.start==5&&this.potentialArrowAt===base.start,optionalChained=!1;;){var element=this.parseSubscript(base,startPos,startLoc,noCalls,maybeAsyncArrow,optionalChained);if(element.optional&&(optionalChained=!0),element===base||"ArrowFunctionExpression"===element.type){if(optionalChained){var chainNode=this.startNodeAt(startPos,startLoc);chainNode.expression=element,element=this.finishNode(chainNode,"ChainExpression")}return element}base=element}},pp$3.parseSubscript=function(base,startPos,startLoc,noCalls,maybeAsyncArrow,optionalChained){var optionalSupported=this.options.ecmaVersion>=11,optional=optionalSupported&&this.eat(types.questionDot);noCalls&&optional&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var computed=this.eat(types.bracketL);if(computed||optional&&this.type!==types.parenL&&this.type!==types.backQuote||this.eat(types.dot)){var node=this.startNodeAt(startPos,startLoc);node.object=base,node.property=computed?this.parseExpression():this.parseIdent("never"!==this.options.allowReserved),node.computed=!!computed,computed&&this.expect(types.bracketR),optionalSupported&&(node.optional=optional),base=this.finishNode(node,"MemberExpression")}else if(!noCalls&&this.eat(types.parenL)){var refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var exprList=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,!1,refDestructuringErrors);if(maybeAsyncArrow&&!optional&&!this.canInsertSemicolon()&&this.eat(types.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList,!0);this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,this.awaitIdentPos=oldAwaitIdentPos||this.awaitIdentPos;var node$1=this.startNodeAt(startPos,startLoc);node$1.callee=base,node$1.arguments=exprList,optionalSupported&&(node$1.optional=optional),base=this.finishNode(node$1,"CallExpression")}else if(this.type===types.backQuote){(optional||optionalChained)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var node$2=this.startNodeAt(startPos,startLoc);node$2.tag=base,node$2.quasi=this.parseTemplate({isTagged:!0}),base=this.finishNode(node$2,"TaggedTemplateExpression")}return base},pp$3.parseExprAtom=function(refDestructuringErrors){this.type===types.slash&&this.readRegexp();var node,canBeArrow=this.potentialArrowAt===this.start;switch(this.type){case types._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),node=this.startNode(),this.next(),this.type!==types.parenL||this.allowDirectSuper||this.raise(node.start,"super() call outside constructor of a subclass"),this.type!==types.dot&&this.type!==types.bracketL&&this.type!==types.parenL&&this.unexpected(),this.finishNode(node,"Super");case types._this:return node=this.startNode(),this.next(),this.finishNode(node,"ThisExpression");case types.name:var startPos=this.start,startLoc=this.startLoc,containsEsc=this.containsEsc,id=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!containsEsc&&"async"===id.name&&!this.canInsertSemicolon()&&this.eat(types._function))return this.parseFunction(this.startNodeAt(startPos,startLoc),0,!1,!0);if(canBeArrow&&!this.canInsertSemicolon()){if(this.eat(types.arrow))return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!1);if(this.options.ecmaVersion>=8&&"async"===id.name&&this.type===types.name&&!containsEsc)return id=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(types.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!0)}return id;case types.regexp:var value=this.value;return(node=this.parseLiteral(value.value)).regex={pattern:value.pattern,flags:value.flags},node;case types.num:case types.string:return this.parseLiteral(this.value);case types._null:case types._true:case types._false:return(node=this.startNode()).value=this.type===types._null?null:this.type===types._true,node.raw=this.type.keyword,this.next(),this.finishNode(node,"Literal");case types.parenL:var start=this.start,expr=this.parseParenAndDistinguishExpression(canBeArrow);return refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&!this.isSimpleAssignTarget(expr)&&(refDestructuringErrors.parenthesizedAssign=start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=start)),expr;case types.bracketL:return node=this.startNode(),this.next(),node.elements=this.parseExprList(types.bracketR,!0,!0,refDestructuringErrors),this.finishNode(node,"ArrayExpression");case types.braceL:return this.parseObj(!1,refDestructuringErrors);case types._function:return node=this.startNode(),this.next(),this.parseFunction(node,0);case types._class:return this.parseClass(this.startNode(),!1);case types._new:return this.parseNew();case types.backQuote:return this.parseTemplate();case types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},pp$3.parseExprImport=function(){var node=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var meta=this.parseIdent(!0);switch(this.type){case types.parenL:return this.parseDynamicImport(node);case types.dot:return node.meta=meta,this.parseImportMeta(node);default:this.unexpected()}},pp$3.parseDynamicImport=function(node){if(this.next(),node.source=this.parseMaybeAssign(),!this.eat(types.parenR)){var errorPos=this.start;this.eat(types.comma)&&this.eat(types.parenR)?this.raiseRecoverable(errorPos,"Trailing comma is not allowed in import()"):this.unexpected(errorPos)}return this.finishNode(node,"ImportExpression")},pp$3.parseImportMeta=function(node){this.next();var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"meta"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for import is 'import.meta'"),containsEsc&&this.raiseRecoverable(node.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(node.start,"Cannot use 'import.meta' outside a module"),this.finishNode(node,"MetaProperty")},pp$3.parseLiteral=function(value){var node=this.startNode();return node.value=value,node.raw=this.input.slice(this.start,this.end),110===node.raw.charCodeAt(node.raw.length-1)&&(node.bigint=node.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(node,"Literal")},pp$3.parseParenExpression=function(){this.expect(types.parenL);var val=this.parseExpression();return this.expect(types.parenR),val},pp$3.parseParenAndDistinguishExpression=function(canBeArrow){var val,startPos=this.start,startLoc=this.startLoc,allowTrailingComma=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var spreadStart,innerStartPos=this.start,innerStartLoc=this.startLoc,exprList=[],first=!0,lastIsComma=!1,refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==types.parenR;){if(first?first=!1:this.expect(types.comma),allowTrailingComma&&this.afterTrailingComma(types.parenR,!0)){lastIsComma=!0;break}if(this.type===types.ellipsis){spreadStart=this.start,exprList.push(this.parseParenItem(this.parseRestBinding())),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}exprList.push(this.parseMaybeAssign(!1,refDestructuringErrors,this.parseParenItem))}var innerEndPos=this.start,innerEndLoc=this.startLoc;if(this.expect(types.parenR),canBeArrow&&!this.canInsertSemicolon()&&this.eat(types.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.parseParenArrowList(startPos,startLoc,exprList);exprList.length&&!lastIsComma||this.unexpected(this.lastTokStart),spreadStart&&this.unexpected(spreadStart),this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,exprList.length>1?((val=this.startNodeAt(innerStartPos,innerStartLoc)).expressions=exprList,this.finishNodeAt(val,"SequenceExpression",innerEndPos,innerEndLoc)):val=exprList[0]}else val=this.parseParenExpression();if(this.options.preserveParens){var par=this.startNodeAt(startPos,startLoc);return par.expression=val,this.finishNode(par,"ParenthesizedExpression")}return val},pp$3.parseParenItem=function(item){return item},pp$3.parseParenArrowList=function(startPos,startLoc,exprList){return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList)};var empty$1=[];pp$3.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var node=this.startNode(),meta=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(types.dot)){node.meta=meta;var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"target"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for new is 'new.target'"),containsEsc&&this.raiseRecoverable(node.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(node.start,"'new.target' can only be used in functions"),this.finishNode(node,"MetaProperty")}var startPos=this.start,startLoc=this.startLoc,isImport=this.type===types._import;return node.callee=this.parseSubscripts(this.parseExprAtom(),startPos,startLoc,!0),isImport&&"ImportExpression"===node.callee.type&&this.raise(startPos,"Cannot use new with import()"),this.eat(types.parenL)?node.arguments=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,!1):node.arguments=empty$1,this.finishNode(node,"NewExpression")},pp$3.parseTemplateElement=function(ref){var isTagged=ref.isTagged,elem=this.startNode();return this.type===types.invalidTemplate?(isTagged||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),elem.value={raw:this.value,cooked:null}):elem.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),elem.tail=this.type===types.backQuote,this.finishNode(elem,"TemplateElement")},pp$3.parseTemplate=function(ref){void 0===ref&&(ref={});var isTagged=ref.isTagged;void 0===isTagged&&(isTagged=!1);var node=this.startNode();this.next(),node.expressions=[];var curElt=this.parseTemplateElement({isTagged});for(node.quasis=[curElt];!curElt.tail;)this.type===types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(types.dollarBraceL),node.expressions.push(this.parseExpression()),this.expect(types.braceR),node.quasis.push(curElt=this.parseTemplateElement({isTagged}));return this.next(),this.finishNode(node,"TemplateLiteral")},pp$3.isAsyncProp=function(prop){return!prop.computed&&"Identifier"===prop.key.type&&"async"===prop.key.name&&(this.type===types.name||this.type===types.num||this.type===types.string||this.type===types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp$3.parseObj=function(isPattern,refDestructuringErrors){var node=this.startNode(),first=!0,propHash={};for(node.properties=[],this.next();!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(types.braceR))break;var prop=this.parseProperty(isPattern,refDestructuringErrors);isPattern||this.checkPropClash(prop,propHash,refDestructuringErrors),node.properties.push(prop)}return this.finishNode(node,isPattern?"ObjectPattern":"ObjectExpression")},pp$3.parseProperty=function(isPattern,refDestructuringErrors){var isGenerator,isAsync,startPos,startLoc,prop=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(types.ellipsis))return isPattern?(prop.argument=this.parseIdent(!1),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(prop,"RestElement")):(this.type===types.parenL&&refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&(refDestructuringErrors.parenthesizedAssign=this.start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=this.start)),prop.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.type===types.comma&&refDestructuringErrors&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start),this.finishNode(prop,"SpreadElement"));this.options.ecmaVersion>=6&&(prop.method=!1,prop.shorthand=!1,(isPattern||refDestructuringErrors)&&(startPos=this.start,startLoc=this.startLoc),isPattern||(isGenerator=this.eat(types.star)));var containsEsc=this.containsEsc;return this.parsePropertyName(prop),!isPattern&&!containsEsc&&this.options.ecmaVersion>=8&&!isGenerator&&this.isAsyncProp(prop)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star),this.parsePropertyName(prop,refDestructuringErrors)):isAsync=!1,this.parsePropertyValue(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc),this.finishNode(prop,"Property")},pp$3.parsePropertyValue=function(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc){if((isGenerator||isAsync)&&this.type===types.colon&&this.unexpected(),this.eat(types.colon))prop.value=isPattern?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,refDestructuringErrors),prop.kind="init";else if(this.options.ecmaVersion>=6&&this.type===types.parenL)isPattern&&this.unexpected(),prop.kind="init",prop.method=!0,prop.value=this.parseMethod(isGenerator,isAsync);else if(isPattern||containsEsc||!(this.options.ecmaVersion>=5)||prop.computed||"Identifier"!==prop.key.type||"get"!==prop.key.name&&"set"!==prop.key.name||this.type===types.comma||this.type===types.braceR||this.type===types.eq)this.options.ecmaVersion>=6&&!prop.computed&&"Identifier"===prop.key.type?((isGenerator||isAsync)&&this.unexpected(),this.checkUnreserved(prop.key),"await"!==prop.key.name||this.awaitIdentPos||(this.awaitIdentPos=startPos),prop.kind="init",isPattern?prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key):this.type===types.eq&&refDestructuringErrors?(refDestructuringErrors.shorthandAssign<0&&(refDestructuringErrors.shorthandAssign=this.start),prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key)):prop.value=prop.key,prop.shorthand=!0):this.unexpected();else{(isGenerator||isAsync)&&this.unexpected(),prop.kind=prop.key.name,this.parsePropertyName(prop),prop.value=this.parseMethod(!1);var paramCount="get"===prop.kind?0:1;if(prop.value.params.length!==paramCount){var start=prop.value.start;"get"===prop.kind?this.raiseRecoverable(start,"getter should have no params"):this.raiseRecoverable(start,"setter should have exactly one param")}else"set"===prop.kind&&"RestElement"===prop.value.params[0].type&&this.raiseRecoverable(prop.value.params[0].start,"Setter cannot use rest params")}},pp$3.parsePropertyName=function(prop){if(this.options.ecmaVersion>=6){if(this.eat(types.bracketL))return prop.computed=!0,prop.key=this.parseMaybeAssign(),this.expect(types.bracketR),prop.key;prop.computed=!1}return prop.key=this.type===types.num||this.type===types.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},pp$3.initFunction=function(node){node.id=null,this.options.ecmaVersion>=6&&(node.generator=node.expression=!1),this.options.ecmaVersion>=8&&(node.async=!1)},pp$3.parseMethod=function(isGenerator,isAsync,allowDirectSuper){var node=this.startNode(),oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.initFunction(node),this.options.ecmaVersion>=6&&(node.generator=isGenerator),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|functionFlags(isAsync,node.generator)|(allowDirectSuper?128:0)),this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(node,!1,!0),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"FunctionExpression")},pp$3.parseArrowExpression=function(node,params,isAsync){var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.enterScope(16|functionFlags(isAsync,!1)),this.initFunction(node),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,node.params=this.toAssignableList(params,!0),this.parseFunctionBody(node,!0,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"ArrowFunctionExpression")},pp$3.parseFunctionBody=function(node,isArrowFunction,isMethod){var isExpression=isArrowFunction&&this.type!==types.braceL,oldStrict=this.strict,useStrict=!1;if(isExpression)node.body=this.parseMaybeAssign(),node.expression=!0,this.checkParams(node,!1);else{var nonSimple=this.options.ecmaVersion>=7&&!this.isSimpleParamList(node.params);oldStrict&&!nonSimple||(useStrict=this.strictDirective(this.end))&&nonSimple&&this.raiseRecoverable(node.start,"Illegal 'use strict' directive in function with non-simple parameter list");var oldLabels=this.labels;this.labels=[],useStrict&&(this.strict=!0),this.checkParams(node,!oldStrict&&!useStrict&&!isArrowFunction&&!isMethod&&this.isSimpleParamList(node.params)),this.strict&&node.id&&this.checkLVal(node.id,5),node.body=this.parseBlock(!1,void 0,useStrict&&!oldStrict),node.expression=!1,this.adaptDirectivePrologue(node.body.body),this.labels=oldLabels}this.exitScope()},pp$3.isSimpleParamList=function(params){for(var i=0,list=params;i<list.length;i+=1){if("Identifier"!==list[i].type)return!1}return!0},pp$3.checkParams=function(node,allowDuplicates){for(var nameHash={},i=0,list=node.params;i<list.length;i+=1){var param=list[i];this.checkLVal(param,1,allowDuplicates?null:nameHash)}},pp$3.parseExprList=function(close,allowTrailingComma,allowEmpty,refDestructuringErrors){for(var elts=[],first=!0;!this.eat(close);){if(first)first=!1;else if(this.expect(types.comma),allowTrailingComma&&this.afterTrailingComma(close))break;var elt=void 0;allowEmpty&&this.type===types.comma?elt=null:this.type===types.ellipsis?(elt=this.parseSpread(refDestructuringErrors),refDestructuringErrors&&this.type===types.comma&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start)):elt=this.parseMaybeAssign(!1,refDestructuringErrors),elts.push(elt)}return elts},pp$3.checkUnreserved=function(ref){var start=ref.start,end=ref.end,name=ref.name;(this.inGenerator&&"yield"===name&&this.raiseRecoverable(start,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===name&&this.raiseRecoverable(start,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(name)&&this.raise(start,"Unexpected keyword '"+name+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(start,end).indexOf("\\"))||(this.strict?this.reservedWordsStrict:this.reservedWords).test(name)&&(this.inAsync||"await"!==name||this.raiseRecoverable(start,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(start,"The keyword '"+name+"' is reserved"))},pp$3.parseIdent=function(liberal,isBinding){var node=this.startNode();return this.type===types.name?node.name=this.value:this.type.keyword?(node.name=this.type.keyword,"class"!==node.name&&"function"!==node.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(!!liberal),this.finishNode(node,"Identifier"),liberal||(this.checkUnreserved(node),"await"!==node.name||this.awaitIdentPos||(this.awaitIdentPos=node.start)),node},pp$3.parseYield=function(noIn){this.yieldPos||(this.yieldPos=this.start);var node=this.startNode();return this.next(),this.type===types.semi||this.canInsertSemicolon()||this.type!==types.star&&!this.type.startsExpr?(node.delegate=!1,node.argument=null):(node.delegate=this.eat(types.star),node.argument=this.parseMaybeAssign(noIn)),this.finishNode(node,"YieldExpression")},pp$3.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var node=this.startNode();return this.next(),node.argument=this.parseMaybeUnary(null,!1),this.finishNode(node,"AwaitExpression")};var pp$4=Parser.prototype;pp$4.raise=function(pos,message){var loc=getLineInfo(this.input,pos);message+=" ("+loc.line+":"+loc.column+")";var err=new SyntaxError(message);throw err.pos=pos,err.loc=loc,err.raisedAt=this.pos,err},pp$4.raiseRecoverable=pp$4.raise,pp$4.curPosition=function(){if(this.options.locations)return new Position(this.curLine,this.pos-this.lineStart)};var pp$5=Parser.prototype,Scope=function Scope(flags){this.flags=flags,this.var=[],this.lexical=[],this.functions=[]};pp$5.enterScope=function(flags){this.scopeStack.push(new Scope(flags))},pp$5.exitScope=function(){this.scopeStack.pop()},pp$5.treatFunctionsAsVarInScope=function(scope){return 2&scope.flags||!this.inModule&&1&scope.flags},pp$5.declareName=function(name,bindingType,pos){var redeclared=!1;if(2===bindingType){var scope=this.currentScope();redeclared=scope.lexical.indexOf(name)>-1||scope.functions.indexOf(name)>-1||scope.var.indexOf(name)>-1,scope.lexical.push(name),this.inModule&&1&scope.flags&&delete this.undefinedExports[name]}else if(4===bindingType){this.currentScope().lexical.push(name)}else if(3===bindingType){var scope$2=this.currentScope();redeclared=this.treatFunctionsAsVar?scope$2.lexical.indexOf(name)>-1:scope$2.lexical.indexOf(name)>-1||scope$2.var.indexOf(name)>-1,scope$2.functions.push(name)}else for(var i=this.scopeStack.length-1;i>=0;--i){var scope$3=this.scopeStack[i];if(scope$3.lexical.indexOf(name)>-1&&!(32&scope$3.flags&&scope$3.lexical[0]===name)||!this.treatFunctionsAsVarInScope(scope$3)&&scope$3.functions.indexOf(name)>-1){redeclared=!0;break}if(scope$3.var.push(name),this.inModule&&1&scope$3.flags&&delete this.undefinedExports[name],3&scope$3.flags)break}redeclared&&this.raiseRecoverable(pos,"Identifier '"+name+"' has already been declared")},pp$5.checkLocalExport=function(id){-1===this.scopeStack[0].lexical.indexOf(id.name)&&-1===this.scopeStack[0].var.indexOf(id.name)&&(this.undefinedExports[id.name]=id)},pp$5.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pp$5.currentVarScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(3&scope.flags)return scope}},pp$5.currentThisScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(3&scope.flags&&!(16&scope.flags))return scope}};var Node=function Node(parser,pos,loc){this.type="",this.start=pos,this.end=0,parser.options.locations&&(this.loc=new SourceLocation(parser,loc)),parser.options.directSourceFile&&(this.sourceFile=parser.options.directSourceFile),parser.options.ranges&&(this.range=[pos,0])},pp$6=Parser.prototype;function finishNodeAt(node,type,pos,loc){return node.type=type,node.end=pos,this.options.locations&&(node.loc.end=loc),this.options.ranges&&(node.range[1]=pos),node}pp$6.startNode=function(){return new Node(this,this.start,this.startLoc)},pp$6.startNodeAt=function(pos,loc){return new Node(this,pos,loc)},pp$6.finishNode=function(node,type){return finishNodeAt.call(this,node,type,this.lastTokEnd,this.lastTokEndLoc)},pp$6.finishNodeAt=function(node,type,pos,loc){return finishNodeAt.call(this,node,type,pos,loc)};var TokContext=function TokContext(token,isExpr,preserveSpace,override,generator){this.token=token,this.isExpr=!!isExpr,this.preserveSpace=!!preserveSpace,this.override=override,this.generator=!!generator},types$1={b_stat:new TokContext("{",!1),b_expr:new TokContext("{",!0),b_tmpl:new TokContext("${",!1),p_stat:new TokContext("(",!1),p_expr:new TokContext("(",!0),q_tmpl:new TokContext("`",!0,!0,(function(p){return p.tryReadTemplateToken()})),f_stat:new TokContext("function",!1),f_expr:new TokContext("function",!0),f_expr_gen:new TokContext("function",!0,!1,null,!0),f_gen:new TokContext("function",!1,!1,null,!0)},pp$7=Parser.prototype;pp$7.initialContext=function(){return[types$1.b_stat]},pp$7.braceIsBlock=function(prevType){var parent=this.curContext();return parent===types$1.f_expr||parent===types$1.f_stat||(prevType!==types.colon||parent!==types$1.b_stat&&parent!==types$1.b_expr?prevType===types._return||prevType===types.name&&this.exprAllowed?lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):prevType===types._else||prevType===types.semi||prevType===types.eof||prevType===types.parenR||prevType===types.arrow||(prevType===types.braceL?parent===types$1.b_stat:prevType!==types._var&&prevType!==types._const&&prevType!==types.name&&!this.exprAllowed):!parent.isExpr)},pp$7.inGeneratorContext=function(){for(var i=this.context.length-1;i>=1;i--){var context=this.context[i];if("function"===context.token)return context.generator}return!1},pp$7.updateContext=function(prevType){var update,type=this.type;type.keyword&&prevType===types.dot?this.exprAllowed=!1:(update=type.updateContext)?update.call(this,prevType):this.exprAllowed=type.beforeExpr},types.parenR.updateContext=types.braceR.updateContext=function(){if(1!==this.context.length){var out=this.context.pop();out===types$1.b_stat&&"function"===this.curContext().token&&(out=this.context.pop()),this.exprAllowed=!out.isExpr}else this.exprAllowed=!0},types.braceL.updateContext=function(prevType){this.context.push(this.braceIsBlock(prevType)?types$1.b_stat:types$1.b_expr),this.exprAllowed=!0},types.dollarBraceL.updateContext=function(){this.context.push(types$1.b_tmpl),this.exprAllowed=!0},types.parenL.updateContext=function(prevType){var statementParens=prevType===types._if||prevType===types._for||prevType===types._with||prevType===types._while;this.context.push(statementParens?types$1.p_stat:types$1.p_expr),this.exprAllowed=!0},types.incDec.updateContext=function(){},types._function.updateContext=types._class.updateContext=function(prevType){!prevType.beforeExpr||prevType===types.semi||prevType===types._else||prevType===types._return&&lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(prevType===types.colon||prevType===types.braceL)&&this.curContext()===types$1.b_stat?this.context.push(types$1.f_stat):this.context.push(types$1.f_expr),this.exprAllowed=!1},types.backQuote.updateContext=function(){this.curContext()===types$1.q_tmpl?this.context.pop():this.context.push(types$1.q_tmpl),this.exprAllowed=!1},types.star.updateContext=function(prevType){if(prevType===types._function){var index=this.context.length-1;this.context[index]===types$1.f_expr?this.context[index]=types$1.f_expr_gen:this.context[index]=types$1.f_gen}this.exprAllowed=!0},types.name.updateContext=function(prevType){var allowed=!1;this.options.ecmaVersion>=6&&prevType!==types.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(allowed=!0),this.exprAllowed=allowed};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic",unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic"},unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ecma9ScriptValues="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},data={};function buildUnicodeData(ecmaVersion){var d=data[ecmaVersion]={binary:wordsRegexp(unicodeBinaryProperties[ecmaVersion]+" "+unicodeGeneralCategoryValues),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[ecmaVersion])}};d.nonBinary.Script_Extensions=d.nonBinary.Script,d.nonBinary.gc=d.nonBinary.General_Category,d.nonBinary.sc=d.nonBinary.Script,d.nonBinary.scx=d.nonBinary.Script_Extensions}buildUnicodeData(9),buildUnicodeData(10),buildUnicodeData(11);var pp$8=Parser.prototype,RegExpValidationState=function RegExpValidationState(parser){this.parser=parser,this.validFlags="gim"+(parser.options.ecmaVersion>=6?"uy":"")+(parser.options.ecmaVersion>=9?"s":""),this.unicodeProperties=data[parser.options.ecmaVersion>=11?11:parser.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString(ch){return ch<=65535?String.fromCharCode(ch):(ch-=65536,String.fromCharCode(55296+(ch>>10),56320+(1023&ch)))}function isSyntaxCharacter(ch){return 36===ch||ch>=40&&ch<=43||46===ch||63===ch||ch>=91&&ch<=94||ch>=123&&ch<=125}function isControlLetter(ch){return ch>=65&&ch<=90||ch>=97&&ch<=122}function isUnicodePropertyNameCharacter(ch){return isControlLetter(ch)||95===ch}function isUnicodePropertyValueCharacter(ch){return isUnicodePropertyNameCharacter(ch)||isDecimalDigit(ch)}function isDecimalDigit(ch){return ch>=48&&ch<=57}function isHexDigit(ch){return ch>=48&&ch<=57||ch>=65&&ch<=70||ch>=97&&ch<=102}function hexToInt(ch){return ch>=65&&ch<=70?ch-65+10:ch>=97&&ch<=102?ch-97+10:ch-48}function isOctalDigit(ch){return ch>=48&&ch<=55}RegExpValidationState.prototype.reset=function reset(start,pattern,flags){var unicode=-1!==flags.indexOf("u");this.start=0|start,this.source=pattern+"",this.flags=flags,this.switchU=unicode&&this.parser.options.ecmaVersion>=6,this.switchN=unicode&&this.parser.options.ecmaVersion>=9},RegExpValidationState.prototype.raise=function raise(message){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+message)},RegExpValidationState.prototype.at=function at(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return-1;var c=s.charCodeAt(i);if(!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l)return c;var next=s.charCodeAt(i+1);return next>=56320&&next<=57343?(c<<10)+next-56613888:c},RegExpValidationState.prototype.nextIndex=function nextIndex(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return l;var next,c=s.charCodeAt(i);return!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l||(next=s.charCodeAt(i+1))<56320||next>57343?i+1:i+2},RegExpValidationState.prototype.current=function current(forceU){return void 0===forceU&&(forceU=!1),this.at(this.pos,forceU)},RegExpValidationState.prototype.lookahead=function lookahead(forceU){return void 0===forceU&&(forceU=!1),this.at(this.nextIndex(this.pos,forceU),forceU)},RegExpValidationState.prototype.advance=function advance(forceU){void 0===forceU&&(forceU=!1),this.pos=this.nextIndex(this.pos,forceU)},RegExpValidationState.prototype.eat=function eat(ch,forceU){return void 0===forceU&&(forceU=!1),this.current(forceU)===ch&&(this.advance(forceU),!0)},pp$8.validateRegExpFlags=function(state){for(var validFlags=state.validFlags,flags=state.flags,i=0;i<flags.length;i++){var flag=flags.charAt(i);-1===validFlags.indexOf(flag)&&this.raise(state.start,"Invalid regular expression flag"),flags.indexOf(flag,i+1)>-1&&this.raise(state.start,"Duplicate regular expression flag")}},pp$8.validateRegExpPattern=function(state){this.regexp_pattern(state),!state.switchN&&this.options.ecmaVersion>=9&&state.groupNames.length>0&&(state.switchN=!0,this.regexp_pattern(state))},pp$8.regexp_pattern=function(state){state.pos=0,state.lastIntValue=0,state.lastStringValue="",state.lastAssertionIsQuantifiable=!1,state.numCapturingParens=0,state.maxBackReference=0,state.groupNames.length=0,state.backReferenceNames.length=0,this.regexp_disjunction(state),state.pos!==state.source.length&&(state.eat(41)&&state.raise("Unmatched ')'"),(state.eat(93)||state.eat(125))&&state.raise("Lone quantifier brackets")),state.maxBackReference>state.numCapturingParens&&state.raise("Invalid escape");for(var i=0,list=state.backReferenceNames;i<list.length;i+=1){var name=list[i];-1===state.groupNames.indexOf(name)&&state.raise("Invalid named capture referenced")}},pp$8.regexp_disjunction=function(state){for(this.regexp_alternative(state);state.eat(124);)this.regexp_alternative(state);this.regexp_eatQuantifier(state,!0)&&state.raise("Nothing to repeat"),state.eat(123)&&state.raise("Lone quantifier brackets")},pp$8.regexp_alternative=function(state){for(;state.pos<state.source.length&&this.regexp_eatTerm(state););},pp$8.regexp_eatTerm=function(state){return this.regexp_eatAssertion(state)?(state.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(state)&&state.switchU&&state.raise("Invalid quantifier"),!0):!!(state.switchU?this.regexp_eatAtom(state):this.regexp_eatExtendedAtom(state))&&(this.regexp_eatQuantifier(state),!0)},pp$8.regexp_eatAssertion=function(state){var start=state.pos;if(state.lastAssertionIsQuantifiable=!1,state.eat(94)||state.eat(36))return!0;if(state.eat(92)){if(state.eat(66)||state.eat(98))return!0;state.pos=start}if(state.eat(40)&&state.eat(63)){var lookbehind=!1;if(this.options.ecmaVersion>=9&&(lookbehind=state.eat(60)),state.eat(61)||state.eat(33))return this.regexp_disjunction(state),state.eat(41)||state.raise("Unterminated group"),state.lastAssertionIsQuantifiable=!lookbehind,!0}return state.pos=start,!1},pp$8.regexp_eatQuantifier=function(state,noError){return void 0===noError&&(noError=!1),!!this.regexp_eatQuantifierPrefix(state,noError)&&(state.eat(63),!0)},pp$8.regexp_eatQuantifierPrefix=function(state,noError){return state.eat(42)||state.eat(43)||state.eat(63)||this.regexp_eatBracedQuantifier(state,noError)},pp$8.regexp_eatBracedQuantifier=function(state,noError){var start=state.pos;if(state.eat(123)){var min=0,max=-1;if(this.regexp_eatDecimalDigits(state)&&(min=state.lastIntValue,state.eat(44)&&this.regexp_eatDecimalDigits(state)&&(max=state.lastIntValue),state.eat(125)))return-1!==max&&max<min&&!noError&&state.raise("numbers out of order in {} quantifier"),!0;state.switchU&&!noError&&state.raise("Incomplete quantifier"),state.pos=start}return!1},pp$8.regexp_eatAtom=function(state){return this.regexp_eatPatternCharacters(state)||state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)},pp$8.regexp_eatReverseSolidusAtomEscape=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatAtomEscape(state))return!0;state.pos=start}return!1},pp$8.regexp_eatUncapturingGroup=function(state){var start=state.pos;if(state.eat(40)){if(state.eat(63)&&state.eat(58)){if(this.regexp_disjunction(state),state.eat(41))return!0;state.raise("Unterminated group")}state.pos=start}return!1},pp$8.regexp_eatCapturingGroup=function(state){if(state.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(state):63===state.current()&&state.raise("Invalid group"),this.regexp_disjunction(state),state.eat(41))return state.numCapturingParens+=1,!0;state.raise("Unterminated group")}return!1},pp$8.regexp_eatExtendedAtom=function(state){return state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)||this.regexp_eatInvalidBracedQuantifier(state)||this.regexp_eatExtendedPatternCharacter(state)},pp$8.regexp_eatInvalidBracedQuantifier=function(state){return this.regexp_eatBracedQuantifier(state,!0)&&state.raise("Nothing to repeat"),!1},pp$8.regexp_eatSyntaxCharacter=function(state){var ch=state.current();return!!isSyntaxCharacter(ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatPatternCharacters=function(state){for(var start=state.pos,ch=0;-1!==(ch=state.current())&&!isSyntaxCharacter(ch);)state.advance();return state.pos!==start},pp$8.regexp_eatExtendedPatternCharacter=function(state){var ch=state.current();return!(-1===ch||36===ch||ch>=40&&ch<=43||46===ch||63===ch||91===ch||94===ch||124===ch)&&(state.advance(),!0)},pp$8.regexp_groupSpecifier=function(state){if(state.eat(63)){if(this.regexp_eatGroupName(state))return-1!==state.groupNames.indexOf(state.lastStringValue)&&state.raise("Duplicate capture group name"),void state.groupNames.push(state.lastStringValue);state.raise("Invalid group")}},pp$8.regexp_eatGroupName=function(state){if(state.lastStringValue="",state.eat(60)){if(this.regexp_eatRegExpIdentifierName(state)&&state.eat(62))return!0;state.raise("Invalid capture group name")}return!1},pp$8.regexp_eatRegExpIdentifierName=function(state){if(state.lastStringValue="",this.regexp_eatRegExpIdentifierStart(state)){for(state.lastStringValue+=codePointToString(state.lastIntValue);this.regexp_eatRegExpIdentifierPart(state);)state.lastStringValue+=codePointToString(state.lastIntValue);return!0}return!1},pp$8.regexp_eatRegExpIdentifierStart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),function isRegExpIdentifierStart(ch){return isIdentifierStart(ch,!0)||36===ch||95===ch}(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatRegExpIdentifierPart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),function isRegExpIdentifierPart(ch){return isIdentifierChar(ch,!0)||36===ch||95===ch||8204===ch||8205===ch}(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatAtomEscape=function(state){return!!(this.regexp_eatBackReference(state)||this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)||state.switchN&&this.regexp_eatKGroupName(state))||(state.switchU&&(99===state.current()&&state.raise("Invalid unicode escape"),state.raise("Invalid escape")),!1)},pp$8.regexp_eatBackReference=function(state){var start=state.pos;if(this.regexp_eatDecimalEscape(state)){var n=state.lastIntValue;if(state.switchU)return n>state.maxBackReference&&(state.maxBackReference=n),!0;if(n<=state.numCapturingParens)return!0;state.pos=start}return!1},pp$8.regexp_eatKGroupName=function(state){if(state.eat(107)){if(this.regexp_eatGroupName(state))return state.backReferenceNames.push(state.lastStringValue),!0;state.raise("Invalid named reference")}return!1},pp$8.regexp_eatCharacterEscape=function(state){return this.regexp_eatControlEscape(state)||this.regexp_eatCControlLetter(state)||this.regexp_eatZero(state)||this.regexp_eatHexEscapeSequence(state)||this.regexp_eatRegExpUnicodeEscapeSequence(state,!1)||!state.switchU&&this.regexp_eatLegacyOctalEscapeSequence(state)||this.regexp_eatIdentityEscape(state)},pp$8.regexp_eatCControlLetter=function(state){var start=state.pos;if(state.eat(99)){if(this.regexp_eatControlLetter(state))return!0;state.pos=start}return!1},pp$8.regexp_eatZero=function(state){return 48===state.current()&&!isDecimalDigit(state.lookahead())&&(state.lastIntValue=0,state.advance(),!0)},pp$8.regexp_eatControlEscape=function(state){var ch=state.current();return 116===ch?(state.lastIntValue=9,state.advance(),!0):110===ch?(state.lastIntValue=10,state.advance(),!0):118===ch?(state.lastIntValue=11,state.advance(),!0):102===ch?(state.lastIntValue=12,state.advance(),!0):114===ch&&(state.lastIntValue=13,state.advance(),!0)},pp$8.regexp_eatControlLetter=function(state){var ch=state.current();return!!isControlLetter(ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatRegExpUnicodeEscapeSequence=function(state,forceU){void 0===forceU&&(forceU=!1);var start=state.pos,switchU=forceU||state.switchU;if(state.eat(117)){if(this.regexp_eatFixedHexDigits(state,4)){var lead=state.lastIntValue;if(switchU&&lead>=55296&&lead<=56319){var leadSurrogateEnd=state.pos;if(state.eat(92)&&state.eat(117)&&this.regexp_eatFixedHexDigits(state,4)){var trail=state.lastIntValue;if(trail>=56320&&trail<=57343)return state.lastIntValue=1024*(lead-55296)+(trail-56320)+65536,!0}state.pos=leadSurrogateEnd,state.lastIntValue=lead}return!0}if(switchU&&state.eat(123)&&this.regexp_eatHexDigits(state)&&state.eat(125)&&function isValidUnicode(ch){return ch>=0&&ch<=1114111}(state.lastIntValue))return!0;switchU&&state.raise("Invalid unicode escape"),state.pos=start}return!1},pp$8.regexp_eatIdentityEscape=function(state){if(state.switchU)return!!this.regexp_eatSyntaxCharacter(state)||!!state.eat(47)&&(state.lastIntValue=47,!0);var ch=state.current();return!(99===ch||state.switchN&&107===ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatDecimalEscape=function(state){state.lastIntValue=0;var ch=state.current();if(ch>=49&&ch<=57){do{state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance()}while((ch=state.current())>=48&&ch<=57);return!0}return!1},pp$8.regexp_eatCharacterClassEscape=function(state){var ch=state.current();if(function isCharacterClassEscape(ch){return 100===ch||68===ch||115===ch||83===ch||119===ch||87===ch}(ch))return state.lastIntValue=-1,state.advance(),!0;if(state.switchU&&this.options.ecmaVersion>=9&&(80===ch||112===ch)){if(state.lastIntValue=-1,state.advance(),state.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(state)&&state.eat(125))return!0;state.raise("Invalid property name")}return!1},pp$8.regexp_eatUnicodePropertyValueExpression=function(state){var start=state.pos;if(this.regexp_eatUnicodePropertyName(state)&&state.eat(61)){var name=state.lastStringValue;if(this.regexp_eatUnicodePropertyValue(state)){var value=state.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(state,name,value),!0}}if(state.pos=start,this.regexp_eatLoneUnicodePropertyNameOrValue(state)){var nameOrValue=state.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(state,nameOrValue),!0}return!1},pp$8.regexp_validateUnicodePropertyNameAndValue=function(state,name,value){has(state.unicodeProperties.nonBinary,name)||state.raise("Invalid property name"),state.unicodeProperties.nonBinary[name].test(value)||state.raise("Invalid property value")},pp$8.regexp_validateUnicodePropertyNameOrValue=function(state,nameOrValue){state.unicodeProperties.binary.test(nameOrValue)||state.raise("Invalid property name")},pp$8.regexp_eatUnicodePropertyName=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyNameCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatUnicodePropertyValue=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyValueCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatLoneUnicodePropertyNameOrValue=function(state){return this.regexp_eatUnicodePropertyValue(state)},pp$8.regexp_eatCharacterClass=function(state){if(state.eat(91)){if(state.eat(94),this.regexp_classRanges(state),state.eat(93))return!0;state.raise("Unterminated character class")}return!1},pp$8.regexp_classRanges=function(state){for(;this.regexp_eatClassAtom(state);){var left=state.lastIntValue;if(state.eat(45)&&this.regexp_eatClassAtom(state)){var right=state.lastIntValue;!state.switchU||-1!==left&&-1!==right||state.raise("Invalid character class"),-1!==left&&-1!==right&&left>right&&state.raise("Range out of order in character class")}}},pp$8.regexp_eatClassAtom=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatClassEscape(state))return!0;if(state.switchU){var ch$1=state.current();(99===ch$1||isOctalDigit(ch$1))&&state.raise("Invalid class escape"),state.raise("Invalid escape")}state.pos=start}var ch=state.current();return 93!==ch&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatClassEscape=function(state){var start=state.pos;if(state.eat(98))return state.lastIntValue=8,!0;if(state.switchU&&state.eat(45))return state.lastIntValue=45,!0;if(!state.switchU&&state.eat(99)){if(this.regexp_eatClassControlLetter(state))return!0;state.pos=start}return this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)},pp$8.regexp_eatClassControlLetter=function(state){var ch=state.current();return!(!isDecimalDigit(ch)&&95!==ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatHexEscapeSequence=function(state){var start=state.pos;if(state.eat(120)){if(this.regexp_eatFixedHexDigits(state,2))return!0;state.switchU&&state.raise("Invalid escape"),state.pos=start}return!1},pp$8.regexp_eatDecimalDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isDecimalDigit(ch=state.current());)state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance();return state.pos!==start},pp$8.regexp_eatHexDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isHexDigit(ch=state.current());)state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance();return state.pos!==start},pp$8.regexp_eatLegacyOctalEscapeSequence=function(state){if(this.regexp_eatOctalDigit(state)){var n1=state.lastIntValue;if(this.regexp_eatOctalDigit(state)){var n2=state.lastIntValue;n1<=3&&this.regexp_eatOctalDigit(state)?state.lastIntValue=64*n1+8*n2+state.lastIntValue:state.lastIntValue=8*n1+n2}else state.lastIntValue=n1;return!0}return!1},pp$8.regexp_eatOctalDigit=function(state){var ch=state.current();return isOctalDigit(ch)?(state.lastIntValue=ch-48,state.advance(),!0):(state.lastIntValue=0,!1)},pp$8.regexp_eatFixedHexDigits=function(state,length){var start=state.pos;state.lastIntValue=0;for(var i=0;i<length;++i){var ch=state.current();if(!isHexDigit(ch))return state.pos=start,!1;state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance()}return!0};var Token=function Token(p){this.type=p.type,this.value=p.value,this.start=p.start,this.end=p.end,p.options.locations&&(this.loc=new SourceLocation(p,p.startLoc,p.endLoc)),p.options.ranges&&(this.range=[p.start,p.end])},pp$9=Parser.prototype;function stringToBigInt(str){return"function"!=typeof BigInt?null:BigInt(str.replace(/_/g,""))}function codePointToString$1(code){return code<=65535?String.fromCharCode(code):(code-=65536,String.fromCharCode(55296+(code>>10),56320+(1023&code)))}pp$9.next=function(ignoreEscapeSequenceInKeyword){!ignoreEscapeSequenceInKeyword&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Token(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},pp$9.getToken=function(){return this.next(),new Token(this)},"undefined"!=typeof Symbol&&(pp$9[Symbol.iterator]=function(){var this$1=this;return{next:function(){var token=this$1.getToken();return{done:token.type===types.eof,value:token}}}}),pp$9.curContext=function(){return this.context[this.context.length-1]},pp$9.nextToken=function(){var curContext=this.curContext();return curContext&&curContext.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(types.eof):curContext.override?curContext.override(this):void this.readToken(this.fullCharCodeAtPos())},pp$9.readToken=function(code){return isIdentifierStart(code,this.options.ecmaVersion>=6)||92===code?this.readWord():this.getTokenFromCode(code)},pp$9.fullCharCodeAtPos=function(){var code=this.input.charCodeAt(this.pos);return code<=55295||code>=57344?code:(code<<10)+this.input.charCodeAt(this.pos+1)-56613888},pp$9.skipBlockComment=function(){var match,startLoc=this.options.onComment&&this.curPosition(),start=this.pos,end=this.input.indexOf("*/",this.pos+=2);if(-1===end&&this.raise(this.pos-2,"Unterminated comment"),this.pos=end+2,this.options.locations)for(lineBreakG.lastIndex=start;(match=lineBreakG.exec(this.input))&&match.index<this.pos;)++this.curLine,this.lineStart=match.index+match[0].length;this.options.onComment&&this.options.onComment(!0,this.input.slice(start+2,end),start,this.pos,startLoc,this.curPosition())},pp$9.skipLineComment=function(startSkip){for(var start=this.pos,startLoc=this.options.onComment&&this.curPosition(),ch=this.input.charCodeAt(this.pos+=startSkip);this.pos<this.input.length&&!isNewLine(ch);)ch=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(start+startSkip,this.pos),start,this.pos,startLoc,this.curPosition())},pp$9.skipSpace=function(){loop:for(;this.pos<this.input.length;){var ch=this.input.charCodeAt(this.pos);switch(ch){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break loop}break;default:if(!(ch>8&&ch<14||ch>=5760&&nonASCIIwhitespace.test(String.fromCharCode(ch))))break loop;++this.pos}}},pp$9.finishToken=function(type,val){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var prevType=this.type;this.type=type,this.value=val,this.updateContext(prevType)},pp$9.readToken_dot=function(){var next=this.input.charCodeAt(this.pos+1);if(next>=48&&next<=57)return this.readNumber(!0);var next2=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===next&&46===next2?(this.pos+=3,this.finishToken(types.ellipsis)):(++this.pos,this.finishToken(types.dot))},pp$9.readToken_slash=function(){var next=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===next?this.finishOp(types.assign,2):this.finishOp(types.slash,1)},pp$9.readToken_mult_modulo_exp=function(code){var next=this.input.charCodeAt(this.pos+1),size=1,tokentype=42===code?types.star:types.modulo;return this.options.ecmaVersion>=7&&42===code&&42===next&&(++size,tokentype=types.starstar,next=this.input.charCodeAt(this.pos+2)),61===next?this.finishOp(types.assign,size+1):this.finishOp(tokentype,size)},pp$9.readToken_pipe_amp=function(code){var next=this.input.charCodeAt(this.pos+1);if(next===code){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(types.assign,3);return this.finishOp(124===code?types.logicalOR:types.logicalAND,2)}return 61===next?this.finishOp(types.assign,2):this.finishOp(124===code?types.bitwiseOR:types.bitwiseAND,1)},pp$9.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(types.assign,2):this.finishOp(types.bitwiseXOR,1)},pp$9.readToken_plus_min=function(code){var next=this.input.charCodeAt(this.pos+1);return next===code?45!==next||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(types.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===next?this.finishOp(types.assign,2):this.finishOp(types.plusMin,1)},pp$9.readToken_lt_gt=function(code){var next=this.input.charCodeAt(this.pos+1),size=1;return next===code?(size=62===code&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+size)?this.finishOp(types.assign,size+1):this.finishOp(types.bitShift,size)):33!==next||60!==code||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===next&&(size=2),this.finishOp(types.relational,size)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},pp$9.readToken_eq_excl=function(code){var next=this.input.charCodeAt(this.pos+1);return 61===next?this.finishOp(types.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===code&&62===next&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(types.arrow)):this.finishOp(61===code?types.eq:types.prefix,1)},pp$9.readToken_question=function(){var ecmaVersion=this.options.ecmaVersion;if(ecmaVersion>=11){var next=this.input.charCodeAt(this.pos+1);if(46===next){var next2=this.input.charCodeAt(this.pos+2);if(next2<48||next2>57)return this.finishOp(types.questionDot,2)}if(63===next){if(ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(types.assign,3);return this.finishOp(types.coalesce,2)}}return this.finishOp(types.question,1)},pp$9.getTokenFromCode=function(code){switch(code){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(types.parenL);case 41:return++this.pos,this.finishToken(types.parenR);case 59:return++this.pos,this.finishToken(types.semi);case 44:return++this.pos,this.finishToken(types.comma);case 91:return++this.pos,this.finishToken(types.bracketL);case 93:return++this.pos,this.finishToken(types.bracketR);case 123:return++this.pos,this.finishToken(types.braceL);case 125:return++this.pos,this.finishToken(types.braceR);case 58:return++this.pos,this.finishToken(types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(types.backQuote);case 48:var next=this.input.charCodeAt(this.pos+1);if(120===next||88===next)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===next||79===next)return this.readRadixNumber(8);if(98===next||66===next)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(code);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(code);case 124:case 38:return this.readToken_pipe_amp(code);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(code);case 60:case 62:return this.readToken_lt_gt(code);case 61:case 33:return this.readToken_eq_excl(code);case 63:return this.readToken_question();case 126:return this.finishOp(types.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(code)+"'")},pp$9.finishOp=function(type,size){var str=this.input.slice(this.pos,this.pos+size);return this.pos+=size,this.finishToken(type,str)},pp$9.readRegexp=function(){for(var escaped,inClass,start=this.pos;;){this.pos>=this.input.length&&this.raise(start,"Unterminated regular expression");var ch=this.input.charAt(this.pos);if(lineBreak.test(ch)&&this.raise(start,"Unterminated regular expression"),escaped)escaped=!1;else{if("["===ch)inClass=!0;else if("]"===ch&&inClass)inClass=!1;else if("/"===ch&&!inClass)break;escaped="\\"===ch}++this.pos}var pattern=this.input.slice(start,this.pos);++this.pos;var flagsStart=this.pos,flags=this.readWord1();this.containsEsc&&this.unexpected(flagsStart);var state=this.regexpState||(this.regexpState=new RegExpValidationState(this));state.reset(start,pattern,flags),this.validateRegExpFlags(state),this.validateRegExpPattern(state);var value=null;try{value=new RegExp(pattern,flags)}catch(e){}return this.finishToken(types.regexp,{pattern,flags,value})},pp$9.readInt=function(radix,len,maybeLegacyOctalNumericLiteral){for(var allowSeparators=this.options.ecmaVersion>=12&&void 0===len,isLegacyOctalNumericLiteral=maybeLegacyOctalNumericLiteral&&48===this.input.charCodeAt(this.pos),start=this.pos,total=0,lastCode=0,i=0,e=null==len?1/0:len;i<e;++i,++this.pos){var code=this.input.charCodeAt(this.pos),val=void 0;if(allowSeparators&&95===code)isLegacyOctalNumericLiteral&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===lastCode&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),lastCode=code;else{if((val=code>=97?code-97+10:code>=65?code-65+10:code>=48&&code<=57?code-48:1/0)>=radix)break;lastCode=code,total=total*radix+val}}return allowSeparators&&95===lastCode&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===start||null!=len&&this.pos-start!==len?null:total},pp$9.readRadixNumber=function(radix){var start=this.pos;this.pos+=2;var val=this.readInt(radix);return null==val&&this.raise(this.start+2,"Expected number in radix "+radix),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(val=stringToBigInt(this.input.slice(start,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val)},pp$9.readNumber=function(startsWithDot){var start=this.pos;startsWithDot||null!==this.readInt(10,void 0,!0)||this.raise(start,"Invalid number");var octal=this.pos-start>=2&&48===this.input.charCodeAt(start);octal&&this.strict&&this.raise(start,"Invalid number");var next=this.input.charCodeAt(this.pos);if(!octal&&!startsWithDot&&this.options.ecmaVersion>=11&&110===next){var val$1=stringToBigInt(this.input.slice(start,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val$1)}octal&&/[89]/.test(this.input.slice(start,this.pos))&&(octal=!1),46!==next||octal||(++this.pos,this.readInt(10),next=this.input.charCodeAt(this.pos)),69!==next&&101!==next||octal||(43!==(next=this.input.charCodeAt(++this.pos))&&45!==next||++this.pos,null===this.readInt(10)&&this.raise(start,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var val=function stringToNumber(str,isLegacyOctalNumericLiteral){return isLegacyOctalNumericLiteral?parseInt(str,8):parseFloat(str.replace(/_/g,""))}(this.input.slice(start,this.pos),octal);return this.finishToken(types.num,val)},pp$9.readCodePoint=function(){var code;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var codePos=++this.pos;code=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,code>1114111&&this.invalidStringToken(codePos,"Code point out of bounds")}else code=this.readHexChar(4);return code},pp$9.readString=function(quote){for(var out="",chunkStart=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ch=this.input.charCodeAt(this.pos);if(ch===quote)break;92===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!1),chunkStart=this.pos):(isNewLine(ch,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(types.string,out)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp$9.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(err){if(err!==INVALID_TEMPLATE_ESCAPE_ERROR)throw err;this.readInvalidTemplateToken()}this.inTemplateElement=!1},pp$9.invalidStringToken=function(position,message){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw INVALID_TEMPLATE_ESCAPE_ERROR;this.raise(position,message)},pp$9.readTmplToken=function(){for(var out="",chunkStart=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var ch=this.input.charCodeAt(this.pos);if(96===ch||36===ch&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==types.template&&this.type!==types.invalidTemplate?(out+=this.input.slice(chunkStart,this.pos),this.finishToken(types.template,out)):36===ch?(this.pos+=2,this.finishToken(types.dollarBraceL)):(++this.pos,this.finishToken(types.backQuote));if(92===ch)out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!0),chunkStart=this.pos;else if(isNewLine(ch)){switch(out+=this.input.slice(chunkStart,this.pos),++this.pos,ch){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:out+="\n";break;default:out+=String.fromCharCode(ch)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),chunkStart=this.pos}else++this.pos}},pp$9.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(types.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},pp$9.readEscapedChar=function(inTemplate){var ch=this.input.charCodeAt(++this.pos);switch(++this.pos,ch){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString$1(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(inTemplate){var codePos=this.pos-1;return this.invalidStringToken(codePos,"Invalid escape sequence in template string"),null}default:if(ch>=48&&ch<=55){var octalStr=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],octal=parseInt(octalStr,8);return octal>255&&(octalStr=octalStr.slice(0,-1),octal=parseInt(octalStr,8)),this.pos+=octalStr.length-1,ch=this.input.charCodeAt(this.pos),"0"===octalStr&&56!==ch&&57!==ch||!this.strict&&!inTemplate||this.invalidStringToken(this.pos-1-octalStr.length,inTemplate?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(octal)}return isNewLine(ch)?"":String.fromCharCode(ch)}},pp$9.readHexChar=function(len){var codePos=this.pos,n=this.readInt(16,len);return null===n&&this.invalidStringToken(codePos,"Bad character escape sequence"),n},pp$9.readWord1=function(){this.containsEsc=!1;for(var word="",first=!0,chunkStart=this.pos,astral=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ch=this.fullCharCodeAtPos();if(isIdentifierChar(ch,astral))this.pos+=ch<=65535?1:2;else{if(92!==ch)break;this.containsEsc=!0,word+=this.input.slice(chunkStart,this.pos);var escStart=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var esc=this.readCodePoint();(first?isIdentifierStart:isIdentifierChar)(esc,astral)||this.invalidStringToken(escStart,"Invalid Unicode escape"),word+=codePointToString$1(esc),chunkStart=this.pos}first=!1}return word+this.input.slice(chunkStart,this.pos)},pp$9.readWord=function(){var word=this.readWord1(),type=types.name;return this.keywords.test(word)&&(type=keywords$1[word]),this.finishToken(type,word)};Parser.acorn={Parser,version:"7.4.1",defaultOptions,Position,SourceLocation,getLineInfo,Node,TokenType,tokTypes:types,keywordTypes:keywords$1,TokContext,tokContexts:types$1,isIdentifierChar,isIdentifierStart,Token,isNewLine,lineBreak,lineBreakG,nonASCIIwhitespace};var acorn_jsx=__webpack_require__("./node_modules/acorn-jsx/index.js"),acorn_jsx_default=__webpack_require__.n(acorn_jsx);function simple(node,visitors,baseVisitor,state,override){baseVisitor||(baseVisitor=base),function c(node,st,override){var type=override||node.type,found=visitors[type];baseVisitor[type](node,st,c),found&&found(node,st)}(node,state,override)}Object.create;function skipThrough(node,st,c){c(node,st)}function ignore(_node,_st,_c){}var base={};base.Program=base.BlockStatement=function(node,st,c){for(var i=0,list=node.body;i<list.length;i+=1){c(list[i],st,"Statement")}},base.Statement=skipThrough,base.EmptyStatement=ignore,base.ExpressionStatement=base.ParenthesizedExpression=base.ChainExpression=function(node,st,c){return c(node.expression,st,"Expression")},base.IfStatement=function(node,st,c){c(node.test,st,"Expression"),c(node.consequent,st,"Statement"),node.alternate&&c(node.alternate,st,"Statement")},base.LabeledStatement=function(node,st,c){return c(node.body,st,"Statement")},base.BreakStatement=base.ContinueStatement=ignore,base.WithStatement=function(node,st,c){c(node.object,st,"Expression"),c(node.body,st,"Statement")},base.SwitchStatement=function(node,st,c){c(node.discriminant,st,"Expression");for(var i$1=0,list$1=node.cases;i$1<list$1.length;i$1+=1){var cs=list$1[i$1];cs.test&&c(cs.test,st,"Expression");for(var i=0,list=cs.consequent;i<list.length;i+=1){c(list[i],st,"Statement")}}},base.SwitchCase=function(node,st,c){node.test&&c(node.test,st,"Expression");for(var i=0,list=node.consequent;i<list.length;i+=1){c(list[i],st,"Statement")}},base.ReturnStatement=base.YieldExpression=base.AwaitExpression=function(node,st,c){node.argument&&c(node.argument,st,"Expression")},base.ThrowStatement=base.SpreadElement=function(node,st,c){return c(node.argument,st,"Expression")},base.TryStatement=function(node,st,c){c(node.block,st,"Statement"),node.handler&&c(node.handler,st),node.finalizer&&c(node.finalizer,st,"Statement")},base.CatchClause=function(node,st,c){node.param&&c(node.param,st,"Pattern"),c(node.body,st,"Statement")},base.WhileStatement=base.DoWhileStatement=function(node,st,c){c(node.test,st,"Expression"),c(node.body,st,"Statement")},base.ForStatement=function(node,st,c){node.init&&c(node.init,st,"ForInit"),node.test&&c(node.test,st,"Expression"),node.update&&c(node.update,st,"Expression"),c(node.body,st,"Statement")},base.ForInStatement=base.ForOfStatement=function(node,st,c){c(node.left,st,"ForInit"),c(node.right,st,"Expression"),c(node.body,st,"Statement")},base.ForInit=function(node,st,c){"VariableDeclaration"===node.type?c(node,st):c(node,st,"Expression")},base.DebuggerStatement=ignore,base.FunctionDeclaration=function(node,st,c){return c(node,st,"Function")},base.VariableDeclaration=function(node,st,c){for(var i=0,list=node.declarations;i<list.length;i+=1){c(list[i],st)}},base.VariableDeclarator=function(node,st,c){c(node.id,st,"Pattern"),node.init&&c(node.init,st,"Expression")},base.Function=function(node,st,c){node.id&&c(node.id,st,"Pattern");for(var i=0,list=node.params;i<list.length;i+=1){c(list[i],st,"Pattern")}c(node.body,st,node.expression?"Expression":"Statement")},base.Pattern=function(node,st,c){"Identifier"===node.type?c(node,st,"VariablePattern"):"MemberExpression"===node.type?c(node,st,"MemberPattern"):c(node,st)},base.VariablePattern=ignore,base.MemberPattern=skipThrough,base.RestElement=function(node,st,c){return c(node.argument,st,"Pattern")},base.ArrayPattern=function(node,st,c){for(var i=0,list=node.elements;i<list.length;i+=1){var elt=list[i];elt&&c(elt,st,"Pattern")}},base.ObjectPattern=function(node,st,c){for(var i=0,list=node.properties;i<list.length;i+=1){var prop=list[i];"Property"===prop.type?(prop.computed&&c(prop.key,st,"Expression"),c(prop.value,st,"Pattern")):"RestElement"===prop.type&&c(prop.argument,st,"Pattern")}},base.Expression=skipThrough,base.ThisExpression=base.Super=base.MetaProperty=ignore,base.ArrayExpression=function(node,st,c){for(var i=0,list=node.elements;i<list.length;i+=1){var elt=list[i];elt&&c(elt,st,"Expression")}},base.ObjectExpression=function(node,st,c){for(var i=0,list=node.properties;i<list.length;i+=1){c(list[i],st)}},base.FunctionExpression=base.ArrowFunctionExpression=base.FunctionDeclaration,base.SequenceExpression=function(node,st,c){for(var i=0,list=node.expressions;i<list.length;i+=1){c(list[i],st,"Expression")}},base.TemplateLiteral=function(node,st,c){for(var i=0,list=node.quasis;i<list.length;i+=1){c(list[i],st)}for(var i$1=0,list$1=node.expressions;i$1<list$1.length;i$1+=1){c(list$1[i$1],st,"Expression")}},base.TemplateElement=ignore,base.UnaryExpression=base.UpdateExpression=function(node,st,c){c(node.argument,st,"Expression")},base.BinaryExpression=base.LogicalExpression=function(node,st,c){c(node.left,st,"Expression"),c(node.right,st,"Expression")},base.AssignmentExpression=base.AssignmentPattern=function(node,st,c){c(node.left,st,"Pattern"),c(node.right,st,"Expression")},base.ConditionalExpression=function(node,st,c){c(node.test,st,"Expression"),c(node.consequent,st,"Expression"),c(node.alternate,st,"Expression")},base.NewExpression=base.CallExpression=function(node,st,c){if(c(node.callee,st,"Expression"),node.arguments)for(var i=0,list=node.arguments;i<list.length;i+=1){c(list[i],st,"Expression")}},base.MemberExpression=function(node,st,c){c(node.object,st,"Expression"),node.computed&&c(node.property,st,"Expression")},base.ExportNamedDeclaration=base.ExportDefaultDeclaration=function(node,st,c){node.declaration&&c(node.declaration,st,"ExportNamedDeclaration"===node.type||node.declaration.id?"Statement":"Expression"),node.source&&c(node.source,st,"Expression")},base.ExportAllDeclaration=function(node,st,c){node.exported&&c(node.exported,st),c(node.source,st,"Expression")},base.ImportDeclaration=function(node,st,c){for(var i=0,list=node.specifiers;i<list.length;i+=1){c(list[i],st)}c(node.source,st,"Expression")},base.ImportExpression=function(node,st,c){c(node.source,st,"Expression")},base.ImportSpecifier=base.ImportDefaultSpecifier=base.ImportNamespaceSpecifier=base.Identifier=base.Literal=ignore,base.TaggedTemplateExpression=function(node,st,c){c(node.tag,st,"Expression"),c(node.quasi,st,"Expression")},base.ClassDeclaration=base.ClassExpression=function(node,st,c){return c(node,st,"Class")},base.Class=function(node,st,c){node.id&&c(node.id,st,"Pattern"),node.superClass&&c(node.superClass,st,"Expression"),c(node.body,st)},base.ClassBody=function(node,st,c){for(var i=0,list=node.body;i<list.length;i+=1){c(list[i],st)}},base.MethodDefinition=base.Property=function(node,st,c){node.computed&&c(node.key,st,"Expression"),c(node.value,st,"Expression")};var ACORN_WALK_VISITORS=Object.assign({},base,{JSXElement:function JSXElement(){}}),acornParser=Parser.extend(acorn_jsx_default()());function extractIdentifierName(identifierNode){return null!=identifierNode?identifierNode.name:null}function filterAncestors(ancestors){return ancestors.filter((function(x){return"ObjectExpression"===x.type||"ArrayExpression"===x.type}))}function calculateNodeDepth(node){var depths=[];return function ancestor(node,visitors,baseVisitor,state,override){var ancestors=[];baseVisitor||(baseVisitor=base),function c(node,st,override){var type=override||node.type,found=visitors[type],isNew=node!==ancestors[ancestors.length-1];isNew&&ancestors.push(node),baseVisitor[type](node,st,c),found&&found(node,st||ancestors,ancestors),isNew&&ancestors.pop()}(node,state,override)}(node,{ObjectExpression:function ObjectExpression(_,ancestors){depths.push(filterAncestors(ancestors).length)},ArrayExpression:function ArrayExpression(_,ancestors){depths.push(filterAncestors(ancestors).length)}},ACORN_WALK_VISITORS),Math.max.apply(Math,depths)}function parseObject(objectNode){return{inferredType:{type:InspectionType.OBJECT,depth:calculateNodeDepth(objectNode)},ast:objectNode}}function parseExpression(expression){switch(expression.type){case"Identifier":return function parseIdentifier(identifierNode){return{inferredType:{type:InspectionType.IDENTIFIER,identifier:extractIdentifierName(identifierNode)},ast:identifierNode}}(expression);case"Literal":return function parseLiteral(literalNode){return{inferredType:{type:InspectionType.LITERAL},ast:literalNode}}(expression);case"FunctionExpression":case"ArrowFunctionExpression":return function parseFunction(funcNode){var innerJsxElementNode;simple(funcNode.body,{JSXElement:function JSXElement(node){innerJsxElementNode=node}},ACORN_WALK_VISITORS);var inferredType={type:null!=innerJsxElementNode?InspectionType.ELEMENT:InspectionType.FUNCTION,params:funcNode.params,hasParams:0!==funcNode.params.length},identifierName=extractIdentifierName(funcNode.id);return null!=identifierName&&(inferredType.identifier=identifierName),{inferredType,ast:funcNode}}(expression);case"ClassExpression":return function parseClass(classNode){var innerJsxElementNode;return simple(classNode.body,{JSXElement:function JSXElement(node){innerJsxElementNode=node}},ACORN_WALK_VISITORS),{inferredType:{type:null!=innerJsxElementNode?InspectionType.ELEMENT:InspectionType.CLASS,identifier:extractIdentifierName(classNode.id)},ast:classNode}}(expression);case"JSXElement":return function parseJsxElement(jsxElementNode){var inferredType={type:InspectionType.ELEMENT},identifierName=extractIdentifierName(jsxElementNode.openingElement.name);return null!=identifierName&&(inferredType.identifier=identifierName),{inferredType,ast:jsxElementNode}}(expression);case"CallExpression":return function parseCall(callNode){return"shape"===extractIdentifierName("MemberExpression"===callNode.callee.type?callNode.callee.property:callNode.callee)?parseObject(callNode.arguments[0]):null}(expression);case"ObjectExpression":return parseObject(expression);case"ArrayExpression":return function parseArray(arrayNode){return{inferredType:{type:InspectionType.ARRAY,depth:calculateNodeDepth(arrayNode)},ast:arrayNode}}(expression);default:return null}}function inspectValue(value){try{var parsingResult=function acornParser_parse(value){var ast=acornParser.parse("(".concat(value,")")),parsingResult={inferredType:{type:InspectionType.UNKNOWN},ast};if(null!=ast.body[0]){var rootNode=ast.body[0];if("ExpressionStatement"===rootNode.type){var expressionResult=parseExpression(rootNode.expression);null!=expressionResult&&(parsingResult=expressionResult)}}return parsingResult}(value);return Object.assign({},parsingResult)}catch(e){}return{inferredType:{type:InspectionType.UNKNOWN}}}var PropTypesType;function createTypeDef(_ref){var name=_ref.name,short=_ref.short,compact=_ref.compact,full=_ref.full;return{name,short,compact,full:null!=full?full:short,inferredType:_ref.inferredType}}function cleanPropTypes(value){return value.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function splitIntoLines(value){return value.split(/\r?\n/)}function prettyObject(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return cleanPropTypes(generateObjectCode(ast,compact))}function prettyArray(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return cleanPropTypes(generateCode(ast,compact))}function generateTypeFromString(value,originalTypeName){var short,compact,full,_inspectValue=inspectValue(value),inferredType=_inspectValue.inferredType,ast=_inspectValue.ast,type=inferredType.type;switch(type){case InspectionType.IDENTIFIER:case InspectionType.LITERAL:short=value,compact=value;break;case InspectionType.OBJECT:short="object",compact=1===inferredType.depth?prettyObject(ast,!0):null,full=prettyObject(ast);break;case InspectionType.ELEMENT:var identifier=inferredType.identifier;short=null==identifier||isHtmlTag(identifier)?"element":identifier,compact=1===splitIntoLines(value).length?value:null,full=value;break;case InspectionType.ARRAY:short="array",compact=inferredType.depth<=2?prettyArray(ast,!0):null,full=prettyArray(ast);break;default:short=function getCaptionForInspectionType(type){switch(type){case InspectionType.OBJECT:return"object";case InspectionType.ARRAY:return"array";case InspectionType.CLASS:return"class";case InspectionType.FUNCTION:return"func";case InspectionType.ELEMENT:return"element";default:return"custom"}}(type),compact=1===splitIntoLines(value).length?value:null,full=value}return createTypeDef({name:originalTypeName,short,compact,full,inferredType:type})}function objectOf(of){return"objectOf(".concat(of,")")}function generateEnum(type){if(Array.isArray(type.value)){var values=type.value.reduce((function(acc,v){var _generateEnumValue=function generateEnumValue(_ref7){var value=_ref7.value;return _ref7.computed?generateTypeFromString(value,"enumvalue"):createTypeDef({name:"enumvalue",short:value,compact:value})}(v),short=_generateEnumValue.short,compact=_generateEnumValue.compact,full=_generateEnumValue.full;return acc.short.push(short),acc.compact.push(compact),acc.full.push(full),acc}),{short:[],compact:[],full:[]});return createTypeDef({name:PropTypesType.ENUM,short:values.short.join(" | "),compact:values.compact.every((function(x){return null!=x}))?values.compact.join(" | "):null,full:values.full.join(" | ")})}return createTypeDef({name:PropTypesType.ENUM,short:type.value,compact:type.value})}function braceAfter(of){return"".concat(of,"[]")}function braceAround(of){return"[".concat(of,"]")}function createArrayOfObjectTypeDef(short,compact,full){return createTypeDef({name:PropTypesType.ARRAYOF,short:braceAfter(short),compact:null!=compact?braceAround(compact):null,full:braceAround(full)})}function generateType(type,extractedProp){try{switch(type.name){case PropTypesType.CUSTOM:return function generateCustom(_ref5){var raw=_ref5.raw;return null!=raw?generateTypeFromString(raw,PropTypesType.CUSTOM):createTypeDef({name:PropTypesType.CUSTOM,short:"custom",compact:"custom"})}(type);case PropTypesType.FUNC:return function generateFunc(extractedProp){var jsDocTags=extractedProp.jsDocTags;return null==jsDocTags||null==jsDocTags.params&&null==jsDocTags.returns?createTypeDef({name:PropTypesType.FUNC,short:"func",compact:"func"}):createTypeDef({name:PropTypesType.FUNC,short:generateShortFuncSignature(jsDocTags.params,jsDocTags.returns),compact:null,full:generateFuncSignature(jsDocTags.params,jsDocTags.returns)})}(extractedProp);case PropTypesType.SHAPE:return function generateShape(type,extractedProp){var fields=Object.keys(type.value).map((function(key){return"".concat(key,": ").concat(generateType(type.value[key],extractedProp).full)})).join(", "),_inspectValue2=inspectValue("{ ".concat(fields," }")),inferredType=_inspectValue2.inferredType,ast=_inspectValue2.ast,depth=inferredType.depth;return createTypeDef({name:PropTypesType.SHAPE,short:"object",compact:1===depth&&ast?prettyObject(ast,!0):null,full:ast?prettyObject(ast):null})}(type,extractedProp);case PropTypesType.INSTANCEOF:return createTypeDef({name:PropTypesType.INSTANCEOF,short:type.value,compact:type.value});case PropTypesType.OBJECTOF:return function generateObjectOf(type,extractedProp){var _generateType=generateType(type.value,extractedProp),short=_generateType.short,compact=_generateType.compact,full=_generateType.full;return createTypeDef({name:PropTypesType.OBJECTOF,short:objectOf(short),compact:null!=compact?objectOf(compact):null,full:objectOf(full)})}(type,extractedProp);case PropTypesType.UNION:return function generateUnion(type,extractedProp){if(Array.isArray(type.value)){var values=type.value.reduce((function(acc,v){var _generateType2=generateType(v,extractedProp),short=_generateType2.short,compact=_generateType2.compact,full=_generateType2.full;return acc.short.push(short),acc.compact.push(compact),acc.full.push(full),acc}),{short:[],compact:[],full:[]});return createTypeDef({name:PropTypesType.UNION,short:values.short.join(" | "),compact:values.compact.every((function(x){return null!=x}))?values.compact.join(" | "):null,full:values.full.join(" | ")})}return createTypeDef({name:PropTypesType.UNION,short:type.value,compact:null})}(type,extractedProp);case PropTypesType.ENUM:return generateEnum(type);case PropTypesType.ARRAYOF:return function generateArray(type,extractedProp){var _generateType3=generateType(type.value,extractedProp),name=_generateType3.name,short=_generateType3.short,compact=_generateType3.compact,full=_generateType3.full,inferredType=_generateType3.inferredType;if(name===PropTypesType.CUSTOM){if(inferredType===InspectionType.OBJECT)return createArrayOfObjectTypeDef(short,compact,full)}else if(name===PropTypesType.SHAPE)return createArrayOfObjectTypeDef(short,compact,full);return createTypeDef({name:PropTypesType.ARRAYOF,short:braceAfter(short),compact:braceAfter(short)})}(type,extractedProp);default:return createTypeDef({name:type.name,short:type.name,compact:type.name})}}catch(e){console.error(e)}return createTypeDef({name:"unknown",short:"unknown",compact:"unknown"})}function generateObject(_ref){var inferredType=_ref.inferredType,ast=_ref.ast;if(1===inferredType.depth){var compactObject=generateObjectCode(ast,!0);if(!(0,utils.fW)(compactObject))return(0,utils.Ir)(compactObject)}return(0,utils.Ir)("object",generateObjectCode(ast))}function generateArray_generateArray(_ref){var inferredType=_ref.inferredType,ast=_ref.ast;if(inferredType.depth<=2){var compactArray=generateArrayCode(ast,!0);if(!(0,utils.fW)(compactArray))return(0,utils.Ir)(compactArray)}return(0,utils.Ir)("array",generateArrayCode(ast))}function getPrettyIdentifier(inferredType){var type=inferredType.type,identifier=inferredType.identifier;switch(type){case InspectionType.FUNCTION:return getPrettyFuncIdentifier(identifier,inferredType.hasParams);case InspectionType.ELEMENT:return getPrettyElementIdentifier(identifier);default:return identifier}}function getPrettyFuncIdentifier(identifier,hasArguments){return"".concat(identifier,hasArguments?"( ... )":"()")}function getPrettyElementIdentifier(identifier){return"<".concat(identifier," />")}function createDefaultValue(defaultValue){try{var inspectionResult=inspectValue(defaultValue);switch(inspectionResult.inferredType.type){case InspectionType.OBJECT:return generateObject(inspectionResult);case InspectionType.FUNCTION:return function createDefaultValue_generateFunc(_ref){var inferredType=_ref.inferredType,ast=_ref.ast;if(null!=inferredType.identifier)return(0,utils.Ir)(getPrettyIdentifier(inferredType),generateCode(ast));var prettyCaption=generateCode(ast,!0);return(0,utils.fW)(prettyCaption)?(0,utils.Ir)("func",generateCode(ast)):(0,utils.Ir)(prettyCaption)}(inspectionResult);case InspectionType.ELEMENT:return function generateElement(defaultValue,inspectionResult){var inferredType=inspectionResult.inferredType,identifier=inferredType.identifier;if(null!=identifier&&!isHtmlTag(identifier)){var prettyIdentifier=getPrettyIdentifier(inferredType);return(0,utils.Ir)(prettyIdentifier,defaultValue)}return(0,utils.fW)(defaultValue)?(0,utils.Ir)("element",defaultValue):(0,utils.Ir)(defaultValue)}(defaultValue,inspectionResult);case InspectionType.ARRAY:return generateArray_generateArray(inspectionResult);default:return null}}catch(e){console.error(e)}return null}!function(PropTypesType){PropTypesType.CUSTOM="custom",PropTypesType.ANY="any",PropTypesType.FUNC="func",PropTypesType.SHAPE="shape",PropTypesType.OBJECT="object",PropTypesType.INSTANCEOF="instanceOf",PropTypesType.OBJECTOF="objectOf",PropTypesType.UNION="union",PropTypesType.ENUM="enum",PropTypesType.ARRAYOF="arrayOf",PropTypesType.ELEMENT="element",PropTypesType.ELEMENTTYPE="elementType",PropTypesType.NODE="node"}(PropTypesType||(PropTypesType={}));__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js");var isPlainObject=__webpack_require__("./node_modules/lodash/isPlainObject.js"),isPlainObject_default=__webpack_require__.n(isPlainObject),isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isFunction_default=__webpack_require__.n(isFunction),isString=__webpack_require__("./node_modules/lodash/isString.js"),isString_default=__webpack_require__.n(isString),cjs=__webpack_require__("./node_modules/react-element-to-jsx-string/dist/cjs/index.js");function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function isReactElement(element){return null!=element.$$typeof}function extractFunctionName(func,propName){var name=func.name;return""!==name&&"anonymous"!==name&&name!==propName?name:null}var DEFAULT_TYPE_RESOLVERS={string:function stringResolver(rawDefaultProp){return(0,utils.Ir)(JSON.stringify(rawDefaultProp))},object:function objectResolver(rawDefaultProp){return isReactElement(rawDefaultProp)&&null!=rawDefaultProp.type?function generateReactObject(rawDefaultProp){var type=rawDefaultProp.type,displayName=type.displayName,jsx=(0,cjs.ZP)(rawDefaultProp,{});if(null!=displayName){var prettyIdentifier=getPrettyElementIdentifier(displayName);return(0,utils.Ir)(prettyIdentifier,jsx)}if(isString_default()(type)&&isHtmlTag(type)){var jsxSummary=(0,cjs.ZP)(rawDefaultProp,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!(0,utils.fW)(jsxSummary))return(0,utils.Ir)(jsxSummary)}return(0,utils.Ir)("element",jsx)}(rawDefaultProp):isPlainObject_default()(rawDefaultProp)?generateObject(inspectValue(JSON.stringify(rawDefaultProp))):Array.isArray(rawDefaultProp)?generateArray_generateArray(inspectValue(JSON.stringify(rawDefaultProp))):(0,utils.Ir)("object")},function:function functionResolver(rawDefaultProp,propDef){var inspectionResult,isElement=!1;if(isFunction_default()(rawDefaultProp.render))isElement=!0;else if(null!=rawDefaultProp.prototype&&isFunction_default()(rawDefaultProp.prototype.render))isElement=!0;else{var innerElement;try{var _ref=(inspectionResult=inspectValue(rawDefaultProp.toString())).inferredType,hasParams=_ref.hasParams,params=_ref.params;hasParams?1===params.length&&"ObjectPattern"===params[0].type&&(innerElement=rawDefaultProp({})):innerElement=rawDefaultProp(),null!=innerElement&&isReactElement(innerElement)&&(isElement=!0)}catch(e){}}var funcName=extractFunctionName(rawDefaultProp,propDef.name);if(null!=funcName){if(isElement)return(0,utils.Ir)(getPrettyElementIdentifier(funcName));null!=inspectionResult&&(inspectionResult=inspectValue(rawDefaultProp.toString()));var _hasParams=inspectionResult.inferredType.hasParams;return(0,utils.Ir)(getPrettyFuncIdentifier(funcName,_hasParams))}return(0,utils.Ir)(isElement?"element":"func")},default:function defaultResolver(rawDefaultProp){return(0,utils.Ir)(rawDefaultProp.toString())}};function createDefaultValueFromRawDefaultProp(rawDefaultProp,propDef){var typeResolvers=arguments.length>2&&void 0!==arguments[2]?arguments[2]:DEFAULT_TYPE_RESOLVERS;try{switch(_typeof(rawDefaultProp)){case"string":return typeResolvers.string(rawDefaultProp,propDef);case"object":return typeResolvers.object(rawDefaultProp,propDef);case"function":return typeResolvers.function(rawDefaultProp,propDef);default:return typeResolvers.default(rawDefaultProp,propDef)}}catch(e){console.error(e)}return null}__webpack_require__("./node_modules/core-js/modules/es.array.find.js");var rawDefaultPropTypeResolvers=function createTypeResolvers(){var customResolvers=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},DEFAULT_TYPE_RESOLVERS,customResolvers)}({function:function funcResolver(rawDefaultProp,_ref){var name=_ref.name,type=_ref.type,isElement="element"===type.summary||"elementType"===type.summary,funcName=extractFunctionName(rawDefaultProp,name);if(null!=funcName){if(isElement)return(0,utils.Ir)(getPrettyElementIdentifier(funcName));var hasParams=inspectValue(rawDefaultProp.toString()).inferredType.hasParams;return(0,utils.Ir)(getPrettyFuncIdentifier(funcName,hasParams))}return(0,utils.Ir)(isElement?"element":"func")}});function enhancePropTypesProp(extractedProp,rawDefaultProp){var propDef=extractedProp.propDef,newtype=function createType(extractedProp){var type=extractedProp.docgenInfo.type;if(null==type)return null;try{switch(type.name){case PropTypesType.CUSTOM:case PropTypesType.SHAPE:case PropTypesType.INSTANCEOF:case PropTypesType.OBJECTOF:case PropTypesType.UNION:case PropTypesType.ENUM:case PropTypesType.ARRAYOF:var _generateType4=generateType(type,extractedProp),short=_generateType4.short,compact=_generateType4.compact,full=_generateType4.full;return null==compact||(0,utils._A)(compact)?(0,utils.Ir)(short,full):(0,utils.Ir)(compact);case PropTypesType.FUNC:var detail,_generateType5=generateType(type,extractedProp),_short=_generateType5.short,_full=_generateType5.full,summary=_short;return _full.length<150?summary=_full:detail=function toMultilineSignature(signature){return signature.replace(/,/g,",\r\n")}(_full),(0,utils.Ir)(summary,detail);default:return null}}catch(e){console.error(e)}return null}(extractedProp);null!=newtype&&(propDef.type=newtype);var defaultValue=extractedProp.docgenInfo.defaultValue;if(null!=defaultValue&&null!=defaultValue.value){var newDefaultValue=createDefaultValue(defaultValue.value);null!=newDefaultValue&&(propDef.defaultValue=newDefaultValue)}else if(null!=rawDefaultProp){var _newDefaultValue=createDefaultValueFromRawDefaultProp(rawDefaultProp,propDef,rawDefaultPropTypeResolvers);null!=_newDefaultValue&&(propDef.defaultValue=_newDefaultValue)}return propDef}function enhancePropTypesProps(extractedProps,component){var rawDefaultProps=null!=component.defaultProps?component.defaultProps:{};return function keepOriginalDefinitionOrder(extractedProps,component){var propTypes=component.propTypes;return null!=propTypes?Object.keys(propTypes).map((function(x){return extractedProps.find((function(y){return y.name===x}))})).filter((function(x){return x})):extractedProps}(extractedProps.map((function(x){return enhancePropTypesProp(x,rawDefaultProps[x.propDef.name])})),component)}function enhanceTypeScriptProps(extractedProps){return extractedProps.map((function(prop){return function enhanceTypeScriptProp(extractedProp,rawDefaultProp){var propDef=extractedProp.propDef,defaultValue=extractedProp.docgenInfo.defaultValue;if(null!=defaultValue&&null!=defaultValue.value){var newDefaultValue=createDefaultValue(defaultValue.value);null!=newDefaultValue&&(propDef.defaultValue=newDefaultValue)}else if(null!=rawDefaultProp){var _newDefaultValue=createDefaultValueFromRawDefaultProp(rawDefaultProp,propDef);null!=_newDefaultValue&&(propDef.defaultValue=_newDefaultValue)}return propDef}(prop)}))}var propTypesMap=new Map;function getPropDefs(component,section){var processedComponent=component;(0,docgen.Px)(component)||component.propTypes||!isMemo(component)||(processedComponent=component.type);var extractedProps=(0,docgen.Je)(processedComponent,section);if(0===extractedProps.length)return[];switch(extractedProps[0].typeSystem){case docgen.p5.JAVASCRIPT:return enhancePropTypesProps(extractedProps,component);case docgen.p5.TYPESCRIPT:return enhanceTypeScriptProps(extractedProps);default:return extractedProps.map((function(x){return x.propDef}))}}Object.keys(prop_types_default()).forEach((function(typeName){var type=prop_types_default()[typeName];propTypesMap.set(type,typeName),propTypesMap.set(type.isRequired,typeName)}));__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js");var _templateObject,react=__webpack_require__("./node_modules/react/index.js"),browser=__webpack_require__("./node_modules/util-deprecate/browser.js"),browser_default=__webpack_require__.n(browser),dist_esm=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js"),hooks=__webpack_require__("./node_modules/@storybook/addons/dist/esm/hooks.js"),shared=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/shared.js");function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var applyBeforeRender=function applyBeforeRender(domString,options){return"function"!=typeof options.onBeforeRender?domString:browser_default()(options.onBeforeRender,(0,ts_dedent_esm.C)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n StoryFn.parameters.jsx.onBeforeRender was deprecated.\n Prefer StoryFn.parameters.jsx.transformSource instead.\n See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-onbeforerender for details.\n "]))))(domString)},renderJsx=function renderJsx(code,options){if(void 0===code)return esm.kg.warn("Too many skip or undefined component"),null;for(var renderedJSX=code,Type=renderedJSX.type,i=0;i<options.skip;i+=1){if(void 0===renderedJSX)return esm.kg.warn("Cannot skip undefined element"),null;if(react.Children.count(renderedJSX)>1)return esm.kg.warn("Trying to skip an array of elements"),null;void 0===renderedJSX.props.children?(esm.kg.warn("Not enough children to skip elements."),"function"==typeof renderedJSX.type&&""===renderedJSX.type.name&&(renderedJSX=react.createElement(Type,renderedJSX.props))):renderedJSX="function"==typeof renderedJSX.props.children?renderedJSX.props.children():renderedJSX.props.children}var displayNameDefaults="string"==typeof options.displayName?{showFunctions:!0,displayName:function displayName(){return options.displayName}}:{displayName:function displayName(el){return el.type.displayName||(0,docgen.jq)(el.type,"displayName")||("_default"!==el.type.name?el.type.name:null)||("function"==typeof el.type?"No Display Name":null)||(function isForwardRef(component){return component.$$typeof===Symbol.for("react.forward_ref")}(el.type)?el.type.render.name:null)||(isMemo(el.type)?el.type.type.name:null)||el.type}},filterDefaults={filterProps:function filterProps(value,key){return void 0!==value}},opts=Object.assign({},displayNameDefaults,filterDefaults,options);return react.Children.map(code,(function(c){var child="number"==typeof c?c.toString():c,string=applyBeforeRender((0,cjs.ZP)(child,opts),options);if(string.indexOf(""")>-1){var matches=string.match(/\S+=\\"([^"]*)\\"/g);matches&&matches.forEach((function(match){string=string.replace(match,match.replace(/"/g,"'"))}))}return string})).join("\n").replace(/function\s+noRefCheck\(\)\s+\{\}/,"() => {}")},defaultOpts={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},mdxToJsx=function mdxToJsx(node){if(!function isMdx(node){var _node$type,_node$props;return"MDXCreateElement"===(null===(_node$type=node.type)||void 0===_node$type?void 0:_node$type.displayName)&&!(null===(_node$props=node.props)||void 0===_node$props||!_node$props.mdxType)}(node))return node;var _node$props2=node.props,originalType=(_node$props2.mdxType,_node$props2.originalType),children=_node$props2.children,rest=_objectWithoutProperties(_node$props2,["mdxType","originalType","children"]),jsxChildren=[];children&&(jsxChildren=(Array.isArray(children)?children:[children]).map(mdxToJsx));return react.createElement.apply(void 0,[originalType,rest].concat(_toConsumableArray(jsxChildren)))},parameters={docs:{inlineStories:!0,prepareForInline:function prepareForInline(storyFn){return storyFn()},extractArgTypes:function extractArgTypes(component){if(component){var _extractProps=function extractProps(component){return{rows:getPropDefs(component,"props")}}(component),rows=_extractProps.rows;if(rows)return rows.reduce((function(acc,row){var name=row.name,description=row.description,type=row.type,sbType=row.sbType,defaultSummary=row.defaultValue,jsDocTags=row.jsDocTags,required=row.required;return acc[name]={name,description,type:Object.assign({required},sbType),table:{type,jsDocTags,defaultValue:defaultSummary}},acc}),{})}return null},extractComponentDescription:docgen.VF}},decorators=[function jsxDecorator(storyFn,context){var _context$parameters$d2,_context$parameters$d3,channel=dist_esm.KP.getChannel(),skip=function skipJsxRender(context){var _context$parameters$d,sourceParams=null==context||null===(_context$parameters$d=context.parameters.docs)||void 0===_context$parameters$d?void 0:_context$parameters$d.source,isArgsStory=null==context?void 0:context.parameters.__isArgsStory;return(null==sourceParams?void 0:sourceParams.type)!==shared.PO.DYNAMIC&&(!isArgsStory||(null==sourceParams?void 0:sourceParams.code)||(null==sourceParams?void 0:sourceParams.type)===shared.PO.CODE)}(context),story=storyFn(),jsx="";if((0,hooks.d4)((function(){skip||channel.emit(shared.g,(context||{}).id,jsx)})),skip)return story;var options=Object.assign({},defaultOpts,(null==context?void 0:context.parameters.jsx)||{}),storyJsx=null!=context&&null!==(_context$parameters$d2=context.parameters.docs)&&void 0!==_context$parameters$d2&&null!==(_context$parameters$d3=_context$parameters$d2.source)&&void 0!==_context$parameters$d3&&_context$parameters$d3.excludeDecorators?context.originalStoryFn(context.args,context):story,sourceJsx=mdxToJsx(storyJsx),rendered=renderJsx(sourceJsx,options);return rendered&&(jsx=function applyTransformSource(domString,options,context){return"function"!=typeof options.transformSource?domString:options.transformSource(domString,context)}(rendered,options,context)),story}];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(config_namespaceObject).forEach((function(key){var value=config_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-docs/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Xz:()=>_blocks__WEBPACK_IMPORTED_MODULE_0__.Canvas,aT:()=>_blocks__WEBPACK_IMPORTED_MODULE_0__.AddContext,h_:()=>_blocks__WEBPACK_IMPORTED_MODULE_0__.Meta,oG:()=>_blocks__WEBPACK_IMPORTED_MODULE_0__.Story});var _blocks__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/blocks/index.js")},"./node_modules/@storybook/addon-docs/dist/esm/lib/docgen/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";var TypeSystem;__webpack_require__.d(__webpack_exports__,{p5:()=>TypeSystem,VF:()=>extractComponentDescription,Je:()=>extractComponentProps,jq:()=>getDocgenSection,Px:()=>hasDocgen,Bd:()=>str}),function(TypeSystem){TypeSystem.JAVASCRIPT="JavaScript",TypeSystem.FLOW="Flow",TypeSystem.TYPESCRIPT="TypeScript",TypeSystem.UNKNOWN="Unknown"}(TypeSystem||(TypeSystem={}));var str=function str(obj){if(!obj)return"";if("string"==typeof obj)return obj;throw new Error("Description: expected string, got: ".concat(JSON.stringify(obj)))};__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js");function hasDocgen(component){return!!component.__docgenInfo}function getDocgenSection(component,section){return hasDocgen(component)?component.__docgenInfo[section]:null}__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js");var doctrine=__webpack_require__("./node_modules/doctrine/lib/doctrine.js");function containsJsDoc(value){return null!=value&&value.includes("@")}function parse(content,tags){var ast;try{ast=doctrine.parse(content,{tags,sloppy:!0})}catch(e){throw console.error(e),new Error("Cannot parse JSDoc tags.")}return ast}var DEFAULT_OPTIONS={tags:["param","arg","argument","returns","ignore"]};function extractJsDocTags(ast){for(var extractedTags={params:null,returns:null,ignore:!1},i=0;i<ast.tags.length;i+=1){var tag=ast.tags[i];if("ignore"===tag.title){extractedTags.ignore=!0;break}switch(tag.title){case"param":case"arg":case"argument":var paramTag=extractParam(tag);null!=paramTag&&(null==extractedTags.params&&(extractedTags.params=[]),extractedTags.params.push(paramTag));break;case"returns":var returnsTag=extractReturns(tag);null!=returnsTag&&(extractedTags.returns=returnsTag)}}return extractedTags}function extractParam(tag){var paramName=tag.name;return null!=paramName&&"null-null"!==paramName?{name:tag.name,type:tag.type,description:tag.description,getPrettyName:function getPrettyName(){return paramName.includes("null")?paramName.replace("-null","").replace(".null",""):tag.name},getTypeName:function getTypeName(){return null!=tag.type?extractTypeName(tag.type):null}}:null}function extractReturns(tag){return null!=tag.type?{type:tag.type,description:tag.description,getTypeName:function getTypeName(){return extractTypeName(tag.type)}}:null}function extractTypeName(type){if("NameExpression"===type.type)return type.name;if("RecordType"===type.type){var recordFields=type.fields.map((function(field){if(null!=field.value){var valueTypeName=extractTypeName(field.value);return"".concat(field.key,": ").concat(valueTypeName)}return field.key}));return"({".concat(recordFields.join(", "),"})")}if("UnionType"===type.type){var unionElements=type.elements.map(extractTypeName);return"(".concat(unionElements.join("|"),")")}if("ArrayType"===type.type)return"[]";if("TypeApplication"===type.type&&null!=type.expression&&"Array"===type.expression.name){var arrayType=extractTypeName(type.applications[0]);return"".concat(arrayType,"[]")}return"NullableType"===type.type||"NonNullableType"===type.type||"OptionalType"===type.type?extractTypeName(type.expression):"AllLiteral"===type.type?"any":null}var FlowTypesType,utils=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/lib/utils.js");function generateUnionElement(_ref){var name=_ref.name,value=_ref.value,elements=_ref.elements,raw=_ref.raw;return null!=value?value:null!=elements?elements.map(generateUnionElement).join(" | "):null!=raw?raw:name}function generateSignature(flowType){return"object"===flowType.type?function generateObjectSignature(_ref4){var type=_ref4.type,raw=_ref4.raw;return null!=raw?(0,utils._A)(raw)?(0,utils.Ir)(type,raw):(0,utils.Ir)(raw):(0,utils.Ir)(type)}(flowType):function generateFuncSignature(_ref3){var type=_ref3.type,raw=_ref3.raw;return null!=raw?(0,utils.Ir)(raw):(0,utils.Ir)(type)}(flowType)}function createType(type){if(null==type)return null;switch(type.name){case FlowTypesType.UNION:return function generateUnion(_ref2){var name=_ref2.name,raw=_ref2.raw,elements=_ref2.elements;return null!=elements?(0,utils.Ir)(elements.map(generateUnionElement).join(" | ")):null!=raw?(0,utils.Ir)(raw.replace(/^\|\s*/,"")):(0,utils.Ir)(name)}(type);case FlowTypesType.SIGNATURE:return generateSignature(type);default:return function generateDefault(_ref5){var name=_ref5.name,raw=_ref5.raw;return null!=raw?(0,utils._A)(raw)?(0,utils.Ir)(name,raw):(0,utils.Ir)(raw):(0,utils.Ir)(name)}(type)}}!function(FlowTypesType){FlowTypesType.UNION="union",FlowTypesType.SIGNATURE="signature"}(FlowTypesType||(FlowTypesType={}));var BLACKLIST=["null","undefined"];function isDefaultValueBlacklisted(value){return BLACKLIST.some((function(x){return x===value}))}function createDefaultValue(defaultValue,type){if(null!=defaultValue){var value=defaultValue.value;if(!isDefaultValueBlacklisted(value))return(0,utils.fW)(value)?(0,utils.Ir)(type.name,value):(0,utils.Ir)(value)}return null}function createType_createType(_ref){var tsType=_ref.tsType,required=_ref.required;return null==tsType?null:required?(0,utils.Ir)(tsType.name):(0,utils.Ir)(tsType.name.replace(" | undefined",""))}function createDefaultValue_createDefaultValue(_ref){var defaultValue=_ref.defaultValue;if(null!=defaultValue){var value=defaultValue.value;if(!isDefaultValueBlacklisted(value))return(0,utils.Ir)(value)}return null}__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js");var convert_convert=function convert(type){var name=type.name,raw=type.raw,base={};switch(void 0!==raw&&(base.raw=raw),type.name){case"string":case"number":case"symbol":case"boolean":return Object.assign({},base,{name});case"Array":return Object.assign({},base,{name:"array",value:type.elements.map(convert)});case"signature":return Object.assign({},base,function convertSig(type){switch(type.type){case"function":return{name:"function"};case"object":var values={};return type.signature.properties.forEach((function(prop){values[prop.key]=convert_convert(prop.value)})),{name:"object",value:values};default:throw new Error("Unknown: ".concat(type))}}(type));case"union":case"intersection":return Object.assign({},base,{name,value:type.elements.map(convert)});default:return Object.assign({},base,{name:"other",value:name})}},isLiteral=function isLiteral(type){return"literal"===type.name},toEnumOption=function toEnumOption(element){return element.value.replace(/['|"]/g,"")},flow_convert_convert=function convert(type){var name=type.name,raw=type.raw,base={};switch(void 0!==raw&&(base.raw=raw),type.name){case"literal":return Object.assign({},base,{name:"other",value:type.value});case"string":case"number":case"symbol":case"boolean":return Object.assign({},base,{name});case"Array":return Object.assign({},base,{name:"array",value:type.elements.map(convert)});case"signature":return Object.assign({},base,function convertSig(type){switch(type.type){case"function":return{name:"function"};case"object":var values={};return type.signature.properties.forEach((function(prop){values[prop.key]=flow_convert_convert(prop.value)})),{name:"object",value:values};default:throw new Error("Unknown: ".concat(type))}}(type));case"union":return type.elements.every(isLiteral)?Object.assign({},base,{name:"enum",value:type.elements.map(toEnumOption)}):Object.assign({},base,{name,value:type.elements.map(convert)});case"intersection":return Object.assign({},base,{name,value:type.elements.map(convert)});default:return Object.assign({},base,{name:"other",value:name})}},mapValues=(__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/lodash/mapValues.js")),mapValues_default=__webpack_require__.n(mapValues),QUOTE_REGEX=/^['"]|['"]$/g,SIGNATURE_REGEXP=/^\(.*\) => /,proptypes_convert_convert=function convert(type){var name=type.name,raw=type.raw,computed=type.computed,value=type.value,base={};switch(void 0!==raw&&(base.raw=raw),name){case"enum":var _values=computed?value:value.map((function(v){return function trimQuotes(str){return str.replace(QUOTE_REGEX,"")}(v.value)}));return Object.assign({},base,{name,value:_values});case"string":case"number":case"symbol":case"object":return Object.assign({},base,{name});case"func":return Object.assign({},base,{name:"function"});case"bool":case"boolean":return Object.assign({},base,{name:"boolean"});case"arrayOf":case"array":return Object.assign({},base,{name:"array",value:value&&convert(value)});case"objectOf":return Object.assign({},base,{name,value:convert(value)});case"shape":case"exact":var values=mapValues_default()(value,(function(field){return convert(field)}));return Object.assign({},base,{name:"object",value:values});case"union":return Object.assign({},base,{name:"union",value:value.map((function(v){return convert(v)}))});default:if((null==name?void 0:name.indexOf("|"))>0)try{var literalValues=name.split("|").map((function(v){return JSON.parse(v)}));return Object.assign({},base,{name:"enum",value:literalValues})}catch(err){}var otherVal=value?"".concat(name,"(").concat(value,")"):name,otherName=SIGNATURE_REGEXP.test(name)?"function":"other";return Object.assign({},base,{name:otherName,value:otherVal})}},convert=function convert(docgenInfo){var type=docgenInfo.type,tsType=docgenInfo.tsType,flowType=docgenInfo.flowType;return null!=type?proptypes_convert_convert(type):null!=tsType?convert_convert(tsType):null!=flowType?flow_convert_convert(flowType):null};function createPropDef_createType(type){return null!=type?(0,utils.Ir)(type.name):null}function createPropDef_createDefaultValue(defaultValue,type){if(null!=defaultValue){var value=defaultValue.value;if(!isDefaultValueBlacklisted(value))return function isReactDocgenTypescript(defaultValue){var computed=defaultValue.computed,func=defaultValue.func;return void 0===computed&&void 0===func}(defaultValue)&&function isStringValued(type){return!!type&&("string"===type.name||"enum"===type.name&&Array.isArray(type.value)&&type.value.every((function(_ref){var tv=_ref.value;return"string"==typeof tv&&'"'===tv[0]&&'"'===tv[tv.length-1]})))}(type)?(0,utils.Ir)(JSON.stringify(value)):(0,utils.Ir)(value)}return null}function createBasicPropDef(name,type,docgenInfo){var description=docgenInfo.description,required=docgenInfo.required,defaultValue=docgenInfo.defaultValue;return{name,type:createPropDef_createType(type),required,description,defaultValue:createPropDef_createDefaultValue(defaultValue,type)}}function applyJsDocResult(propDef,jsDocParsingResult){if(jsDocParsingResult.includesJsDoc){var description=jsDocParsingResult.description,extractedTags=jsDocParsingResult.extractedTags;null!=description&&(propDef.description=jsDocParsingResult.description);var hasParams=null!=extractedTags.params,hasReturns=null!=extractedTags.returns&&null!=extractedTags.returns.type;(hasParams||hasReturns)&&(propDef.jsDocTags={params:hasParams&&extractedTags.params.map((function(x){return{name:x.getPrettyName(),description:x.description}})),returns:hasReturns&&{description:extractedTags.returns.description}})}return propDef}var javaScriptFactory=function javaScriptFactory(propName,docgenInfo,jsDocParsingResult){var propDef=createBasicPropDef(propName,docgenInfo.type,docgenInfo);return propDef.sbType=convert(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},tsFactory=function tsFactory(propName,docgenInfo,jsDocParsingResult){var propDef=function createTsPropDef(propName,docgenInfo){var description=docgenInfo.description,required=docgenInfo.required;return{name:propName,type:createType_createType(docgenInfo),required,description,defaultValue:createDefaultValue_createDefaultValue(docgenInfo)}}(propName,docgenInfo);return propDef.sbType=convert(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},flowFactory=function flowFactory(propName,docgenInfo,jsDocParsingResult){var propDef=function createFlowPropDef(propName,docgenInfo){var flowType=docgenInfo.flowType,description=docgenInfo.description,required=docgenInfo.required,defaultValue=docgenInfo.defaultValue;return{name:propName,type:createType(flowType),required,description,defaultValue:createDefaultValue(defaultValue,flowType)}}(propName,docgenInfo);return propDef.sbType=convert(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},unknownFactory=function unknownFactory(propName,docgenInfo,jsDocParsingResult){return applyJsDocResult(createBasicPropDef(propName,{name:"unknown"},docgenInfo),jsDocParsingResult)},getPropDefFactory=function getPropDefFactory(typeSystem){switch(typeSystem){case TypeSystem.JAVASCRIPT:return javaScriptFactory;case TypeSystem.TYPESCRIPT:return tsFactory;case TypeSystem.FLOW:return flowFactory;default:return unknownFactory}},getTypeSystem=function getTypeSystem(docgenInfo){return null!=docgenInfo.type?TypeSystem.JAVASCRIPT:null!=docgenInfo.flowType?TypeSystem.FLOW:null!=docgenInfo.tsType?TypeSystem.TYPESCRIPT:TypeSystem.UNKNOWN},extractComponentProps=function extractComponentProps(component,section){var docgenSection=getDocgenSection(component,section);return function isValidDocgenSection(docgenSection){return null!=docgenSection&&Object.keys(docgenSection).length>0}(docgenSection)?Array.isArray(docgenSection)?function extractComponentSectionArray(docgenSection){var typeSystem=getTypeSystem(docgenSection[0]),createPropDef=getPropDefFactory(typeSystem);return docgenSection.map((function(item){var _item$type,sanitizedItem=item;return null!==(_item$type=item.type)&&void 0!==_item$type&&_item$type.elements&&(sanitizedItem=Object.assign({},item,{type:Object.assign({},item.type,{value:item.type.elements})})),extractProp(sanitizedItem.name,sanitizedItem,typeSystem,createPropDef)}))}(docgenSection):function extractComponentSectionObject(docgenSection){var docgenPropsKeys=Object.keys(docgenSection),typeSystem=getTypeSystem(docgenSection[docgenPropsKeys[0]]),createPropDef=getPropDefFactory(typeSystem);return docgenPropsKeys.map((function(propName){var docgenInfo=docgenSection[propName];return null!=docgenInfo?extractProp(propName,docgenInfo,typeSystem,createPropDef):null})).filter(Boolean)}(docgenSection):[]};function extractProp(propName,docgenInfo,typeSystem,createPropDef){var jsDocParsingResult=function parseJsDoc(value){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:DEFAULT_OPTIONS;if(!containsJsDoc(value))return{includesJsDoc:!1,ignore:!1};var jsDocAst=parse(value,options.tags),extractedTags=extractJsDocTags(jsDocAst);return extractedTags.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:jsDocAst.description,extractedTags}}(docgenInfo.description);return jsDocParsingResult.includesJsDoc&&jsDocParsingResult.ignore?null:{propDef:createPropDef(propName,docgenInfo,jsDocParsingResult),jsDocTags:jsDocParsingResult.extractedTags,docgenInfo,typeSystem}}function extractComponentDescription(component){return null!=component&&function getDocgenDescription(component){return hasDocgen(component)&&str(component.__docgenInfo.description)}(component)}},"./node_modules/@storybook/addon-docs/dist/esm/lib/utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ir:()=>createSummaryValue,_A:()=>isTooLongForTypeSummary,fW:()=>isTooLongForDefaultValueSummary});__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js");function isTooLongForTypeSummary(value){return value.length>90}function isTooLongForDefaultValueSummary(value){return value.length>50}function createSummaryValue(summary,detail){return summary===detail?{summary}:{summary,detail}}},"./node_modules/@storybook/addon-docs/dist/esm/shared.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{PO:()=>SourceType,g:()=>SNIPPET_RENDERED});"".concat("storybook/docs","/panel");var SourceType,SNIPPET_RENDERED="".concat("storybook/docs","/snippet-rendered");!function(SourceType){SourceType.AUTO="auto",SourceType.CODE="code",SourceType.DYNAMIC="dynamic"}(SourceType||(SourceType={}))},"./node_modules/@storybook/addon-interactions/dist/esm/preset/argsEnhancers.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var argsEnhancers_namespaceObject={};__webpack_require__.r(argsEnhancers_namespaceObject),__webpack_require__.d(argsEnhancers_namespaceObject,{argsEnhancers:()=>argsEnhancers});var CallStates,_global$FEATURES,ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),dist_esm=(__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js")),core_events_dist_esm=__webpack_require__("./node_modules/@storybook/core-events/dist/esm/index.js"),global_window=(__webpack_require__("./node_modules/core-js/modules/es.symbol.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.map.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find-index.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/global/window.js")),window_default=__webpack_require__.n(global_window);function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _toPropertyKey(arg){var key=function _toPrimitive(input,hint){if("object"!==_typeof(input)||null===input)return input;var prim=input[Symbol.toPrimitive];if(void 0!==prim){var res=prim.call(input,hint||"default");if("object"!==_typeof(res))return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}(arg,"string");return"symbol"===_typeof(key)?key:String(key)}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}!function(CallStates){CallStates.DONE="done",CallStates.ERROR="error",CallStates.ACTIVE="active",CallStates.WAITING="waiting"}(CallStates||(CallStates={}));var EVENTS_CALL="instrumenter/call",EVENTS_SYNC="instrumenter/sync",EVENTS_START="instrumenter/start",EVENTS_BACK="instrumenter/back",EVENTS_GOTO="instrumenter/goto",EVENTS_NEXT="instrumenter/next",EVENTS_END="instrumenter/end",debuggerDisabled=!0!==(null===(_global$FEATURES=window_default().FEATURES)||void 0===_global$FEATURES?void 0:_global$FEATURES.interactionsDebugger),controlsDisabled={debugger:!debuggerDisabled,start:!1,back:!1,goto:!1,next:!1,end:!1},alreadyCompletedException=new Error("This function ran after the play function completed. Did you forget to `await` it?"),isObject=function isObject(o){return"[object Object]"===Object.prototype.toString.call(o)},isInstrumentable=function isInstrumentable(o){if(!isObject(o)&&!function isModule(o){return"[object Module]"===Object.prototype.toString.call(o)}(o))return!1;if(void 0===o.constructor)return!0;var proto=o.constructor.prototype;return!!isObject(proto)&&!1!==Object.prototype.hasOwnProperty.call(proto,"isPrototypeOf")},getInitialState=function getInitialState(){return{renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,parentId:void 0,playUntil:void 0,resolvers:{},syncTimeout:void 0,forwardedException:void 0}},getRetainedState=function getRetainedState(state){var isDebugging=arguments.length>1&&void 0!==arguments[1]&&arguments[1],calls=(isDebugging?state.shadowCalls:state.calls).filter((function(call){return call.retain}));if(calls.length){var callRefsByResult=new Map(Array.from(state.callRefsByResult.entries()).filter((function(_ref){return _slicedToArray(_ref,2)[1].retain})));return{cursor:calls.length,calls,callRefsByResult}}},Instrumenter=function(){function Instrumenter(){var _this=this;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Instrumenter),this.channel=void 0,this.initialized=!1,this.state=void 0,this.channel=dist_esm.KP.getChannel(),this.state=window_default().window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};var resetState=function resetState(_ref3){var storyId=_ref3.storyId,_ref3$isPlaying=_ref3.isPlaying,isPlaying=void 0===_ref3$isPlaying||_ref3$isPlaying,_ref3$isDebugging=_ref3.isDebugging,isDebugging=void 0!==_ref3$isDebugging&&_ref3$isDebugging,state=_this.getState(storyId);_this.setState(storyId,Object.assign({},getInitialState(),getRetainedState(state,isDebugging),{shadowCalls:isDebugging?state.shadowCalls:[],chainedCallIds:isDebugging?state.chainedCallIds:new Set,playUntil:isDebugging?state.playUntil:void 0,isPlaying,isDebugging})),isDebugging||_this.sync(storyId)};this.channel.on(core_events_dist_esm.FORCE_REMOUNT,resetState),this.channel.on(core_events_dist_esm.STORY_RENDER_PHASE_CHANGED,(function(_ref4){var storyId=_ref4.storyId,newPhase=_ref4.newPhase,_this$getState=_this.getState(storyId),isDebugging=_this$getState.isDebugging,forwardedException=_this$getState.forwardedException;if(_this.setState(storyId,{renderPhase:newPhase}),"playing"===newPhase&&resetState({storyId,isDebugging}),"played"===newPhase&&(_this.setState(storyId,{isLocked:!1,isPlaying:!1,isDebugging:!1,forwardedException:void 0}),forwardedException))throw forwardedException})),this.channel.on(core_events_dist_esm.SET_CURRENT_STORY,(function(){_this.initialized?_this.cleanup():_this.initialized=!0}));var start=function start(_ref5){var storyId=_ref5.storyId,playUntil=_ref5.playUntil;_this.getState(storyId).isDebugging||_this.setState(storyId,(function(_ref6){return{calls:[],shadowCalls:_ref6.calls.map((function(call){return Object.assign({},call,{status:CallStates.WAITING})})),isDebugging:!0}}));var log=_this.getLog(storyId);_this.setState(storyId,(function(_ref7){var _shadowCalls$slice$fi,shadowCalls=_ref7.shadowCalls,firstRowIndex=shadowCalls.findIndex((function(call){return call.id===log[0].callId}));return{playUntil:playUntil||(null===(_shadowCalls$slice$fi=shadowCalls.slice(0,firstRowIndex).filter((function(call){return call.interceptable})).slice(-1)[0])||void 0===_shadowCalls$slice$fi?void 0:_shadowCalls$slice$fi.id)}})),_this.channel.emit(core_events_dist_esm.FORCE_REMOUNT,{storyId,isDebugging:!0})},end=function end(_ref14){var storyId=_ref14.storyId;_this.setState(storyId,{playUntil:void 0,isDebugging:!1}),Object.values(_this.getState(storyId).resolvers).forEach((function(resolve){return resolve()}))};this.channel.on(EVENTS_START,start),this.channel.on(EVENTS_BACK,(function back(_ref8){var _log,storyId=_ref8.storyId,isDebugging=_this.getState(storyId).isDebugging,log=_this.getLog(storyId),next=isDebugging?log.findIndex((function(_ref9){return _ref9.status===CallStates.WAITING})):log.length;start({storyId,playUntil:null===(_log=log[next-2])||void 0===_log?void 0:_log.callId})})),this.channel.on(EVENTS_GOTO,(function goto(_ref10){var storyId=_ref10.storyId,callId=_ref10.callId,_this$getState3=_this.getState(storyId),calls=_this$getState3.calls,shadowCalls=_this$getState3.shadowCalls,resolvers=_this$getState3.resolvers,call=calls.find((function(_ref11){return _ref11.id===callId})),shadowCall=shadowCalls.find((function(_ref12){return _ref12.id===callId}));if(!call&&shadowCall&&Object.values(resolvers).length>0){var _this$getLog$find,nextId=null===(_this$getLog$find=_this.getLog(storyId).find((function(c){return c.status===CallStates.WAITING})))||void 0===_this$getLog$find?void 0:_this$getLog$find.callId;shadowCall.id!==nextId&&_this.setState(storyId,{playUntil:shadowCall.id}),Object.values(resolvers).forEach((function(resolve){return resolve()}))}else start({storyId,playUntil:callId})})),this.channel.on(EVENTS_NEXT,(function next(_ref13){var storyId=_ref13.storyId,resolvers=_this.getState(storyId).resolvers;if(Object.values(resolvers).length>0)Object.values(resolvers).forEach((function(resolve){return resolve()}));else{var _this$getLog$find2,nextId=null===(_this$getLog$find2=_this.getLog(storyId).find((function(c){return c.status===CallStates.WAITING})))||void 0===_this$getLog$find2?void 0:_this$getLog$find2.callId;nextId?start({storyId,playUntil:nextId}):end({storyId})}})),this.channel.on(EVENTS_END,end)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(Instrumenter,[{key:"getState",value:function getState(storyId){return this.state[storyId]||getInitialState()}},{key:"setState",value:function setState(storyId,update){var state=this.getState(storyId),patch="function"==typeof update?update(state):update;this.state=Object.assign({},this.state,_defineProperty({},storyId,Object.assign({},state,patch))),window_default().window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}},{key:"cleanup",value:function cleanup(){this.state=Object.entries(this.state).reduce((function(acc,_ref15){var _ref16=_slicedToArray(_ref15,2),storyId=_ref16[0],state=_ref16[1],retainedState=getRetainedState(state);return retainedState?(acc[storyId]=Object.assign(getInitialState(),retainedState),acc):acc}),{}),this.channel.emit(EVENTS_SYNC,{controlStates:controlsDisabled,logItems:[]}),window_default().window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}},{key:"getLog",value:function getLog(storyId){var _this$getState5=this.getState(storyId),calls=_this$getState5.calls,merged=_toConsumableArray(_this$getState5.shadowCalls);calls.forEach((function(call,index){merged[index]=call}));var seen=new Set;return merged.reduceRight((function(acc,call){return call.args.forEach((function(arg){null!=arg&&arg.__callId__&&seen.add(arg.__callId__)})),call.path.forEach((function(node){node.__callId__&&seen.add(node.__callId__)})),call.interceptable&&!seen.has(call.id)&&(acc.unshift({callId:call.id,status:call.status}),seen.add(call.id)),acc}),[])}},{key:"instrument",value:function instrument(obj,options){var _this2=this;if(!isInstrumentable(obj))return obj;var _options$mutate=options.mutate,mutate=void 0!==_options$mutate&&_options$mutate,_options$path=options.path,path=void 0===_options$path?[]:_options$path;return Object.keys(obj).reduce((function(acc,key){var value=obj[key];return"function"!=typeof value?(acc[key]=_this2.instrument(value,Object.assign({},options,{path:path.concat(key)})),acc):"function"==typeof value.__originalFn__?(acc[key]=value,acc):(acc[key]=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _this2.track(key,value,args,options)},acc[key].__originalFn__=value,Object.defineProperty(acc[key],"name",{value:key,writable:!1}),Object.keys(value).length>0&&Object.assign(acc[key],_this2.instrument(Object.assign({},value),Object.assign({},options,{path:path.concat(key)}))),acc)}),mutate?obj:function construct(obj){try{return new obj.constructor}catch(e){return{}}}(obj))}},{key:"track",value:function track(method,fn,args,options){var _args$,_global$window$__STOR,_global$window$__STOR2,_global$window$__STOR3,storyId=(null==args||null===(_args$=args[0])||void 0===_args$?void 0:_args$.__storyId__)||(null===(_global$window$__STOR=window_default().window.__STORYBOOK_PREVIEW__)||void 0===_global$window$__STOR||null===(_global$window$__STOR2=_global$window$__STOR.urlStore)||void 0===_global$window$__STOR2||null===(_global$window$__STOR3=_global$window$__STOR2.selection)||void 0===_global$window$__STOR3?void 0:_global$window$__STOR3.storyId),_this$getState6=this.getState(storyId),cursor=_this$getState6.cursor,parentId=_this$getState6.parentId;this.setState(storyId,{cursor:cursor+1});var id="".concat(parentId||storyId," [").concat(cursor,"] ").concat(method),_options$path2=options.path,path=void 0===_options$path2?[]:_options$path2,_options$intercept=options.intercept,intercept=void 0!==_options$intercept&&_options$intercept,_options$retain=options.retain,retain=void 0!==_options$retain&&_options$retain,interceptable="function"==typeof intercept?intercept(method,path):intercept,call={id,parentId,storyId,cursor,path,method,args,interceptable,retain},result=(interceptable?this.intercept:this.invoke).call(this,fn,call,options);return this.instrument(result,Object.assign({},options,{mutate:!0,path:[{__callId__:call.id}]}))}},{key:"intercept",value:function intercept(fn,call,options){var _this3=this,_this$getState7=this.getState(call.storyId),chainedCallIds=_this$getState7.chainedCallIds,isDebugging=_this$getState7.isDebugging,playUntil=_this$getState7.playUntil,isChainedUpon=chainedCallIds.has(call.id);return!isDebugging||isChainedUpon||playUntil?(playUntil===call.id&&this.setState(call.storyId,{playUntil:void 0}),this.invoke(fn,call,options)):new Promise((function(resolve){_this3.setState(call.storyId,(function(_ref17){var resolvers=_ref17.resolvers;return{isLocked:!1,resolvers:Object.assign({},resolvers,_defineProperty({},call.id,resolve))}}))})).then((function(){return _this3.setState(call.storyId,(function(state){var _state$resolvers=state.resolvers,_call$id=call.id;_state$resolvers[_call$id];return{isLocked:!0,resolvers:_objectWithoutProperties(_state$resolvers,[_call$id].map(_toPropertyKey))}})),_this3.invoke(fn,call,options)}))}},{key:"invoke",value:function invoke(fn,call,options){var _this4=this,_this$getState8=this.getState(call.storyId),callRefsByResult=_this$getState8.callRefsByResult,forwardedException=_this$getState8.forwardedException,renderPhase=_this$getState8.renderPhase,info=Object.assign({},call,{args:call.args.map((function(arg){if(callRefsByResult.has(arg))return callRefsByResult.get(arg);if(arg instanceof window_default().window.HTMLElement){var prefix=arg.prefix,localName=arg.localName,id=arg.id,classList=arg.classList,innerText=arg.innerText;return{__element__:{prefix,localName,id,classNames:Array.from(classList),innerText}}}return arg}))});call.path.forEach((function(ref){null!=ref&&ref.__callId__&&_this4.setState(call.storyId,(function(_ref18){var chainedCallIds=_ref18.chainedCallIds;return{chainedCallIds:new Set(Array.from(chainedCallIds).concat(ref.__callId__))}}))}));var handleException=function handleException(e){if(e instanceof Error){var exception={name:e.name,message:e.message,stack:e.stack};if(_this4.update(Object.assign({},info,{status:CallStates.ERROR,exception})),_this4.setState(call.storyId,(function(state){return{callRefsByResult:new Map([].concat(_toConsumableArray(Array.from(state.callRefsByResult.entries())),[[e,{__callId__:call.id,retain:call.retain}]]))}})),call.interceptable&&e!==alreadyCompletedException)throw core_events_dist_esm.IGNORED_EXCEPTION;return _this4.setState(call.storyId,{forwardedException:e}),e}throw e};try{if(forwardedException)throw this.setState(call.storyId,{forwardedException:void 0}),forwardedException;if("played"===renderPhase&&!call.retain)throw alreadyCompletedException;var finalArgs=options.getArgs?options.getArgs(call,this.getState(call.storyId)):call.args,result=fn.apply(void 0,_toConsumableArray(finalArgs.map((function(arg){return"function"!=typeof arg||Object.keys(arg).length?arg:function(){var _this4$getState=_this4.getState(call.storyId),cursor=_this4$getState.cursor,parentId=_this4$getState.parentId;_this4.setState(call.storyId,{cursor:0,parentId:call.id});var restore=function restore(){return _this4.setState(call.storyId,{cursor,parentId})},res=arg.apply(void 0,arguments);return res instanceof Promise?res.then(restore,restore):restore(),res}}))));return result&&["object","function","symbol"].includes(_typeof(result))&&this.setState(call.storyId,(function(state){return{callRefsByResult:new Map([].concat(_toConsumableArray(Array.from(state.callRefsByResult.entries())),[[result,{__callId__:call.id,retain:call.retain}]]))}})),this.update(Object.assign({},info,{status:result instanceof Promise?CallStates.ACTIVE:CallStates.DONE})),result instanceof Promise?result.then((function(value){return _this4.update(Object.assign({},info,{status:CallStates.DONE})),value}),handleException):result}catch(e){return handleException(e)}}},{key:"update",value:function update(call){var _this5=this;clearTimeout(this.getState(call.storyId).syncTimeout),this.channel.emit(EVENTS_CALL,call),this.setState(call.storyId,(function(_ref19){var callsById=_ref19.calls.concat(call).reduce((function(a,c){return Object.assign(a,_defineProperty({},c.id,c))}),{});return{calls:Object.values(callsById).sort((function(a,b){return a.id.localeCompare(b.id,void 0,{numeric:!0})})),syncTimeout:setTimeout((function(){return _this5.sync(call.storyId)}),0)}}))}},{key:"sync",value:function sync(storyId){var _this$getState9=this.getState(storyId),isLocked=_this$getState9.isLocked,isPlaying=_this$getState9.isPlaying,logItems=this.getLog(storyId),hasActive=logItems.some((function(item){return item.status===CallStates.ACTIVE}));if(debuggerDisabled||isLocked||hasActive||0===logItems.length)this.channel.emit(EVENTS_SYNC,{controlStates:controlsDisabled,logItems});else{var hasPrevious=logItems.some((function(item){return[CallStates.DONE,CallStates.ERROR].includes(item.status)})),controlStates={debugger:!0,start:hasPrevious,back:hasPrevious,goto:!0,next:isPlaying,end:isPlaying};this.channel.emit(EVENTS_SYNC,{controlStates,logItems})}}}]),Instrumenter}();function argsEnhancers_slicedToArray(arr,i){return function argsEnhancers_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function argsEnhancers_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function argsEnhancers_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return argsEnhancers_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return argsEnhancers_arrayLikeToArray(o,minLen)}(arr,i)||function argsEnhancers_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function argsEnhancers_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var action=function instrument(obj){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{if(window_default().window.parent===window_default().window)return obj;window_default().window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__||(window_default().window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Instrumenter);var instrumenter=window_default().window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__;return instrumenter.instrument(obj,options)}catch(e){return esm.IH.warn(e),obj}}({action:__webpack_require__("./node_modules/jest-mock/build/index.js").fn},{retain:!0}).action,channel=dist_esm.KP.getChannel(),spies=[];channel.on(core_events_dist_esm.FORCE_REMOUNT,(function(){return spies.forEach((function(mock){var _mock$mockClear;return null==mock||null===(_mock$mockClear=mock.mockClear)||void 0===_mock$mockClear?void 0:_mock$mockClear.call(mock)}))})),channel.on(core_events_dist_esm.STORY_RENDER_PHASE_CHANGED,(function(_ref){"loading"===_ref.newPhase&&spies.forEach((function(mock){var _mock$mockClear2;return null==mock||null===(_mock$mockClear2=mock.mockClear)||void 0===_mock$mockClear2?void 0:_mock$mockClear2.call(mock)}))}));var argsEnhancers=[function addActionsFromArgTypes(_ref2){var id=_ref2.id,initialArgs=_ref2.initialArgs;return Object.entries(initialArgs).reduce((function(acc,_ref3){var _ref4=argsEnhancers_slicedToArray(_ref3,2),key=_ref4[0],val=_ref4[1];return"function"==typeof val&&"actionHandler"===val.name?(Object.defineProperty(val,"name",{value:key,writable:!1}),Object.defineProperty(val,"__storyId__",{value:id,writable:!1}),acc[key]=action(val),spies.push(acc[key]),acc):(acc[key]=val,acc)}),{})}];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function argsEnhancers_js_generated_config_entry_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(argsEnhancers_namespaceObject).forEach((function(key){var value=argsEnhancers_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){argsEnhancers_js_generated_config_entry_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-links/dist/esm/index.js":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{OX:()=>withLinks});__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.search.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js");var global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),esm=(__webpack_require__("./node_modules/qs/lib/index.js"),__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js")),make_decorator=__webpack_require__("./node_modules/@storybook/addons/dist/esm/make-decorator.js"),dist_esm=__webpack_require__("./node_modules/@storybook/core-events/dist/esm/index.js");__webpack_require__("./node_modules/@storybook/csf/dist/index.js");"".concat("storybook/links","/navigate"),"".concat("storybook/links","/request"),"".concat("storybook/links","/receive");var preview_document=window_default().document,HTMLElement=window_default().HTMLElement,preview_navigate=function navigate(params){return esm.KP.getChannel().emit(dist_esm.SELECT_STORY,params)},linksListener=function linksListener(e){var target=e.target;if(target instanceof HTMLElement){var _element$dataset=target.dataset,kind=_element$dataset.sbKind,story=_element$dataset.sbStory;(kind||story)&&(e.preventDefault(),preview_navigate({kind,story}))}},hasListener=!1,off=function off(){hasListener&&(hasListener=!1,preview_document.removeEventListener("click",linksListener))},withLinks=(0,make_decorator.h)({name:"withLinks",parameterName:"links",wrapper:function wrapper(getStory,context){return function on(){hasListener||(hasListener=!0,preview_document.addEventListener("click",linksListener))}(),esm.KP.getChannel().once(dist_esm.STORY_CHANGED,off),getStory(context)}});module=__webpack_require__.hmd(module);module&&module.hot},"./node_modules/@storybook/addon-links/dist/esm/preset/addDecorator.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var addDecorator_namespaceObject={};__webpack_require__.r(addDecorator_namespaceObject),__webpack_require__.d(addDecorator_namespaceObject,{decorators:()=>decorators});var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),decorators=[__webpack_require__("./node_modules/@storybook/addon-links/dist/esm/index.js").OX];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addDecorator_namespaceObject).forEach((function(key){var value=addDecorator_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-measure/dist/esm/preset/addDecorator.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var addDecorator_namespaceObject={};__webpack_require__.r(addDecorator_namespaceObject),__webpack_require__.d(addDecorator_namespaceObject,{decorators:()=>decorators,globals:()=>globals});var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),hooks=__webpack_require__("./node_modules/@storybook/addons/dist/esm/hooks.js"),global_window=(__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.number.is-integer.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/global/window.js")),window_default=__webpack_require__.n(global_window);function getDocumentWidthAndHeight(){var container=window_default().document.documentElement,height=Math.max(container.scrollHeight,container.offsetHeight);return{width:Math.max(container.scrollWidth,container.offsetWidth),height}}function setCanvasWidthAndHeight(canvas,context,_ref){var width=_ref.width,height=_ref.height;canvas.style.width="".concat(width,"px"),canvas.style.height="".concat(height,"px");var scale=window_default().window.devicePixelRatio;canvas.width=Math.floor(width*scale),canvas.height=Math.floor(height*scale),context.scale(scale,scale)}var state={};function init(){state.canvas||(state=function createCanvas(){var canvas=window_default().document.createElement("canvas");canvas.id="storybook-addon-measure";var context=canvas.getContext("2d"),_getDocumentWidthAndH=getDocumentWidthAndHeight(),width=_getDocumentWidthAndH.width,height=_getDocumentWidthAndH.height;return setCanvasWidthAndHeight(canvas,context,{width,height}),canvas.style.position="absolute",canvas.style.left="0",canvas.style.top="0",canvas.style.zIndex="100000",canvas.style.pointerEvents="none",window_default().document.body.appendChild(canvas),{canvas,context,width,height}}())}function clear(){state.context&&state.context.clearRect(0,0,state.width,state.height)}__webpack_require__("./node_modules/core-js/modules/es.array.fill.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js");var colors={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"};function roundedRect(context,_ref){var x=_ref.x,y=_ref.y,w=_ref.w,h=_ref.h,r=_ref.r;x-=w/2,y-=h/2,w<2*r&&(r=w/2),h<2*r&&(r=h/2),context.beginPath(),context.moveTo(x+r,y),context.arcTo(x+w,y,x+w,y+h,r),context.arcTo(x+w,y+h,x,y+h,r),context.arcTo(x,y+h,x,y,r),context.arcTo(x,y,x+w,y,r),context.closePath()}function positionCoordinate(position,_ref2){var padding=_ref2.padding,border=_ref2.border,width=_ref2.width,height=_ref2.height,top=_ref2.top,left=_ref2.left,contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom,x=left+border.left+padding.left,y=top+border.top+padding.top;return"top"===position?x+=contentWidth/2:"right"===position?(x+=contentWidth,y+=contentHeight/2):"bottom"===position?(x+=contentWidth/2,y+=contentHeight):"left"===position?y+=contentHeight/2:"center"===position&&(x+=contentWidth/2,y+=contentHeight/2),{x,y}}function offset(type,position,_ref3,labelPaddingSize,external){var margin=_ref3.margin,border=_ref3.border,padding=_ref3.padding,shift=function shift(dir){return 0},offsetX=0,offsetY=0,locationMultiplier=external?1:.5,labelPaddingShift=external?2*labelPaddingSize:0;return"padding"===type?shift=function shift(dir){return padding[dir]*locationMultiplier+labelPaddingShift}:"border"===type?shift=function shift(dir){return padding[dir]+border[dir]*locationMultiplier+labelPaddingShift}:"margin"===type&&(shift=function shift(dir){return padding[dir]+border[dir]+margin[dir]*locationMultiplier+labelPaddingShift}),"top"===position?offsetY=-shift("top"):"right"===position?offsetX=shift("right"):"bottom"===position?offsetY=shift("bottom"):"left"===position&&(offsetX=-shift("left")),{offsetX,offsetY}}function collide(a,b){return Math.abs(a.x-b.x)<Math.abs(a.w+b.w)/2&&Math.abs(a.y-b.y)<Math.abs(a.h+b.h)/2}function overlapAdjustment(position,currentRect,prevRect){return"top"===position?currentRect.y=prevRect.y-prevRect.h-6:"right"===position?currentRect.x=prevRect.x+prevRect.w/2+6+currentRect.w/2:"bottom"===position?currentRect.y=prevRect.y+prevRect.h+6:"left"===position&&(currentRect.x=prevRect.x-prevRect.w/2-6-currentRect.w/2),{x:currentRect.x,y:currentRect.y}}function textWithRect(context,type,_ref4,text){var x=_ref4.x,y=_ref4.y,w=_ref4.w,h=_ref4.h;return roundedRect(context,{x,y,w,h,r:3}),context.fillStyle="".concat(colors[type],"dd"),context.fill(),context.strokeStyle=colors[type],context.stroke(),context.fillStyle=colors.text,context.fillText(text,x,y),roundedRect(context,{x,y,w,h,r:3}),context.fillStyle="".concat(colors[type],"dd"),context.fill(),context.strokeStyle=colors[type],context.stroke(),context.fillStyle=colors.text,context.fillText(text,x,y),{x,y,w,h}}function configureText(context,text){context.font="600 12px monospace",context.textBaseline="middle",context.textAlign="center";var metrics=context.measureText(text),actualHeight=metrics.actualBoundingBoxAscent+metrics.actualBoundingBoxDescent;return{w:metrics.width+12,h:actualHeight+12}}function drawStack(context,measurements,stack,external){var rects=[];stack.forEach((function(l,idx){var rect=external&&"center"===l.position?function drawFloatingLabel(context,measurements,_ref7){var type=_ref7.type,text=_ref7.text,floatingAlignment=measurements.floatingAlignment,extremities=measurements.extremities,x=extremities[floatingAlignment.x],y=extremities[floatingAlignment.y],_configureText2=configureText(context,text),w=_configureText2.w,h=_configureText2.h,_floatingOffset=function floatingOffset(alignment,_ref6){var deltaW=.5*_ref6.w+6,deltaH=.5*_ref6.h+6;return{offsetX:("left"===alignment.x?-1:1)*deltaW,offsetY:("top"===alignment.y?-1:1)*deltaH}}(floatingAlignment,{w,h});return textWithRect(context,type,{x:x+=_floatingOffset.offsetX,y:y+=_floatingOffset.offsetY,w,h},text)}(context,measurements,l):function drawLabel(context,measurements,_ref5,prevRect){var type=_ref5.type,_ref5$position=_ref5.position,position=void 0===_ref5$position?"center":_ref5$position,text=_ref5.text,external=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_positionCoordinate=positionCoordinate(position,measurements),x=_positionCoordinate.x,y=_positionCoordinate.y,_offset=offset(type,position,measurements,7,external),offsetX=_offset.offsetX,offsetY=_offset.offsetY;x+=offsetX,y+=offsetY;var _configureText=configureText(context,text),w=_configureText.w,h=_configureText.h;if(prevRect&&collide({x,y,w,h},prevRect)){var adjusted=overlapAdjustment(position,{x,y,w,h},prevRect);x=adjusted.x,y=adjusted.y}return textWithRect(context,type,{x,y,w,h},text)}(context,measurements,l,rects[idx-1],external);rects[idx]=rect}))}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var visualizer_colors_margin="#f6b26ba8",visualizer_colors_border="#ffe599a8",visualizer_colors_padding="#93c47d8c",visualizer_colors_content="#6fa8dca8";function pxToNumber(px){return parseInt(px.replace("px",""),10)}function round(value){return Number.isInteger(value)?value:value.toFixed(2)}function filterZeroValues(labels){return labels.filter((function(l){return 0!==l.text&&"0"!==l.text}))}function floatingAlignment(extremities){var windowExtremities_top=window_default().window.scrollY,windowExtremities_bottom=window_default().window.scrollY+window_default().window.innerHeight,windowExtremities_left=window_default().window.scrollX,windowExtremities_right=window_default().window.scrollX+window_default().window.innerWidth,distances_top=Math.abs(windowExtremities_top-extremities.top),distances_bottom=Math.abs(windowExtremities_bottom-extremities.bottom);return{x:Math.abs(windowExtremities_left-extremities.left)>Math.abs(windowExtremities_right-extremities.right)?"left":"right",y:distances_top>distances_bottom?"top":"bottom"}}function drawBoxModel(element){return function(context){if(element&&context){var measurements=function measureElement(element){var style=window_default().getComputedStyle(element),_element$getBoundingC=element.getBoundingClientRect(),top=_element$getBoundingC.top,left=_element$getBoundingC.left,right=_element$getBoundingC.right,bottom=_element$getBoundingC.bottom,width=_element$getBoundingC.width,height=_element$getBoundingC.height,marginTop=style.marginTop,marginBottom=style.marginBottom,marginLeft=style.marginLeft,marginRight=style.marginRight,paddingTop=style.paddingTop,paddingBottom=style.paddingBottom,paddingLeft=style.paddingLeft,paddingRight=style.paddingRight,borderBottomWidth=style.borderBottomWidth,borderTopWidth=style.borderTopWidth,borderLeftWidth=style.borderLeftWidth,borderRightWidth=style.borderRightWidth;top+=window_default().window.scrollY,left+=window_default().window.scrollX,bottom+=window_default().window.scrollY,right+=window_default().window.scrollX;var margin={top:pxToNumber(marginTop),bottom:pxToNumber(marginBottom),left:pxToNumber(marginLeft),right:pxToNumber(marginRight)},padding={top:pxToNumber(paddingTop),bottom:pxToNumber(paddingBottom),left:pxToNumber(paddingLeft),right:pxToNumber(paddingRight)},border={top:pxToNumber(borderTopWidth),bottom:pxToNumber(borderBottomWidth),left:pxToNumber(borderLeftWidth),right:pxToNumber(borderRightWidth)},extremities={top:top-margin.top,bottom:bottom+margin.bottom,left:left-margin.left,right:right+margin.right};return{margin,padding,border,top,left,bottom,right,width,height,extremities,floatingAlignment:floatingAlignment(extremities)}}(element),marginLabels=function drawMargin(context,_ref){var margin=_ref.margin,width=_ref.width,height=_ref.height,top=_ref.top,left=_ref.left,bottom=_ref.bottom,right=_ref.right,marginHeight=height+margin.bottom+margin.top;return context.fillStyle=visualizer_colors_margin,context.fillRect(left,top-margin.top,width,margin.top),context.fillRect(right,top-margin.top,margin.right,marginHeight),context.fillRect(left,bottom,width,margin.bottom),context.fillRect(left-margin.left,top-margin.top,margin.left,marginHeight),filterZeroValues([{type:"margin",text:round(margin.top),position:"top"},{type:"margin",text:round(margin.right),position:"right"},{type:"margin",text:round(margin.bottom),position:"bottom"},{type:"margin",text:round(margin.left),position:"left"}])}(context,measurements),paddingLabels=function drawPadding(context,_ref2){var padding=_ref2.padding,border=_ref2.border,width=_ref2.width,height=_ref2.height,top=_ref2.top,left=_ref2.left,bottom=_ref2.bottom,right=_ref2.right,paddingWidth=width-border.left-border.right,paddingHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=visualizer_colors_padding,context.fillRect(left+border.left,top+border.top,paddingWidth,padding.top),context.fillRect(right-padding.right-border.right,top+padding.top+border.top,padding.right,paddingHeight),context.fillRect(left+border.left,bottom-padding.bottom-border.bottom,paddingWidth,padding.bottom),context.fillRect(left+border.left,top+padding.top+border.top,padding.left,paddingHeight),filterZeroValues([{type:"padding",text:padding.top,position:"top"},{type:"padding",text:padding.right,position:"right"},{type:"padding",text:padding.bottom,position:"bottom"},{type:"padding",text:padding.left,position:"left"}])}(context,measurements),borderLabels=function drawBorder(context,_ref3){var border=_ref3.border,width=_ref3.width,height=_ref3.height,top=_ref3.top,left=_ref3.left,bottom=_ref3.bottom,right=_ref3.right,borderHeight=height-border.top-border.bottom;return context.fillStyle=visualizer_colors_border,context.fillRect(left,top,width,border.top),context.fillRect(left,bottom-border.bottom,width,border.bottom),context.fillRect(left,top+border.top,border.left,borderHeight),context.fillRect(right-border.right,top+border.top,border.right,borderHeight),filterZeroValues([{type:"border",text:border.top,position:"top"},{type:"border",text:border.right,position:"right"},{type:"border",text:border.bottom,position:"bottom"},{type:"border",text:border.left,position:"left"}])}(context,measurements),contentLabels=function drawContent(context,_ref4){var padding=_ref4.padding,border=_ref4.border,width=_ref4.width,height=_ref4.height,top=_ref4.top,left=_ref4.left,contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=visualizer_colors_content,context.fillRect(left+border.left+padding.left,top+border.top+padding.top,contentWidth,contentHeight),[{type:"content",position:"center",text:"".concat(round(contentWidth)," x ").concat(round(contentHeight))}]}(context,measurements),externalLabels=measurements.width<=90||measurements.height<=30;!function labelStacks(context,measurements,labels,externalLabels){var stacks=labels.reduce((function(acc,l){return Object.prototype.hasOwnProperty.call(acc,l.position)||(acc[l.position]=[]),acc[l.position].push(l),acc}),{});stacks.top&&drawStack(context,measurements,stacks.top,externalLabels),stacks.right&&drawStack(context,measurements,stacks.right,externalLabels),stacks.bottom&&drawStack(context,measurements,stacks.bottom,externalLabels),stacks.left&&drawStack(context,measurements,stacks.left,externalLabels),stacks.center&&drawStack(context,measurements,stacks.center,externalLabels)}(context,measurements,[].concat(_toConsumableArray(contentLabels),_toConsumableArray(paddingLabels),_toConsumableArray(borderLabels),_toConsumableArray(marginLabels)),externalLabels)}}}function drawSelectedElement(element){!function draw(callback){clear(),callback(state.context)}(drawBoxModel(element))}var nodeAtPointerRef,pointer={x:0,y:0};function findAndDrawElement(x,y){nodeAtPointerRef=function deepElementFromPoint(x,y){var element=window_default().document.elementFromPoint(x,y);return function crawlShadows(node){if(node&&node.shadowRoot){var nestedElement=node.shadowRoot.elementFromPoint(x,y);return node.isEqualNode(nestedElement)?node:nestedElement.shadowRoot?crawlShadows(nestedElement):nestedElement}return node}(element)||element}(x,y),drawSelectedElement(nodeAtPointerRef)}var ADDON_ID="storybook/measure-addon";"".concat(ADDON_ID,"/tool"),"".concat(ADDON_ID,"/result"),"".concat(ADDON_ID,"/request"),"".concat(ADDON_ID,"/clear");var decorators=[function withMeasure(StoryFn,context){var measureEnabled=context.globals.measureEnabled;return(0,hooks.d4)((function(){var onMouseMove=function onMouseMove(event){window.requestAnimationFrame((function(){event.stopPropagation(),pointer.x=event.clientX,pointer.y=event.clientY}))};return document.addEventListener("mousemove",onMouseMove),function(){document.removeEventListener("mousemove",onMouseMove)}}),[]),(0,hooks.d4)((function(){var onResize=function onResize(){window.requestAnimationFrame((function(){!function rescale(){setCanvasWidthAndHeight(state.canvas,state.context,{width:0,height:0});var _getDocumentWidthAndH2=getDocumentWidthAndHeight(),width=_getDocumentWidthAndH2.width,height=_getDocumentWidthAndH2.height;setCanvasWidthAndHeight(state.canvas,state.context,{width,height}),state.width=width,state.height=height}()}))};return measureEnabled&&(document.addEventListener("mouseover",(function onMouseOver(event){window.requestAnimationFrame((function(){event.stopPropagation(),findAndDrawElement(event.clientX,event.clientY)}))})),init(),window.addEventListener("resize",onResize),findAndDrawElement(pointer.x,pointer.y)),function(){window.removeEventListener("resize",onResize),function destroy(){state.canvas&&(clear(),state.canvas.parentNode.removeChild(state.canvas),state={})}()}}),[measureEnabled]),StoryFn()}],globals=function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},"measureEnabled",!1);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function addDecorator_js_generated_config_entry_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addDecorator_namespaceObject).forEach((function(key){var value=addDecorator_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){addDecorator_js_generated_config_entry_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-outline/dist/esm/preset/addDecorator.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var addDecorator_namespaceObject={};__webpack_require__.r(addDecorator_namespaceObject),__webpack_require__.d(addDecorator_namespaceObject,{decorators:()=>decorators,globals:()=>globals});var _templateObject,ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),hooks=__webpack_require__("./node_modules/@storybook/addons/dist/esm/hooks.js"),global_window=(__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/global/window.js")),window_default=__webpack_require__.n(global_window),clearStyles=function clearStyles(selector){(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=function clearStyle(selector){var element=window_default().document.getElementById(selector);element&&element.parentElement&&element.parentElement.removeChild(element)},ts_dedent_esm=(__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/ts-dedent/esm/index.js"));function outlineCSS(selector){return(0,ts_dedent_esm.C)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n "," body {\n outline: 1px solid #2980b9 !important;\n }\n\n "," article {\n outline: 1px solid #3498db !important;\n }\n\n "," nav {\n outline: 1px solid #0088c3 !important;\n }\n\n "," aside {\n outline: 1px solid #33a0ce !important;\n }\n\n "," section {\n outline: 1px solid #66b8da !important;\n }\n\n "," header {\n outline: 1px solid #99cfe7 !important;\n }\n\n "," footer {\n outline: 1px solid #cce7f3 !important;\n }\n\n "," h1 {\n outline: 1px solid #162544 !important;\n }\n\n "," h2 {\n outline: 1px solid #314e6e !important;\n }\n\n "," h3 {\n outline: 1px solid #3e5e85 !important;\n }\n\n "," h4 {\n outline: 1px solid #449baf !important;\n }\n\n "," h5 {\n outline: 1px solid #c7d1cb !important;\n }\n\n "," h6 {\n outline: 1px solid #4371d0 !important;\n }\n\n "," main {\n outline: 1px solid #2f4f90 !important;\n }\n\n "," address {\n outline: 1px solid #1a2c51 !important;\n }\n\n "," div {\n outline: 1px solid #036cdb !important;\n }\n\n "," p {\n outline: 1px solid #ac050b !important;\n }\n\n "," hr {\n outline: 1px solid #ff063f !important;\n }\n\n "," pre {\n outline: 1px solid #850440 !important;\n }\n\n "," blockquote {\n outline: 1px solid #f1b8e7 !important;\n }\n\n "," ol {\n outline: 1px solid #ff050c !important;\n }\n\n "," ul {\n outline: 1px solid #d90416 !important;\n }\n\n "," li {\n outline: 1px solid #d90416 !important;\n }\n\n "," dl {\n outline: 1px solid #fd3427 !important;\n }\n\n "," dt {\n outline: 1px solid #ff0043 !important;\n }\n\n "," dd {\n outline: 1px solid #e80174 !important;\n }\n\n "," figure {\n outline: 1px solid #ff00bb !important;\n }\n\n "," figcaption {\n outline: 1px solid #bf0032 !important;\n }\n\n "," table {\n outline: 1px solid #00cc99 !important;\n }\n\n "," caption {\n outline: 1px solid #37ffc4 !important;\n }\n\n "," thead {\n outline: 1px solid #98daca !important;\n }\n\n "," tbody {\n outline: 1px solid #64a7a0 !important;\n }\n\n "," tfoot {\n outline: 1px solid #22746b !important;\n }\n\n "," tr {\n outline: 1px solid #86c0b2 !important;\n }\n\n "," th {\n outline: 1px solid #a1e7d6 !important;\n }\n\n "," td {\n outline: 1px solid #3f5a54 !important;\n }\n\n "," col {\n outline: 1px solid #6c9a8f !important;\n }\n\n "," colgroup {\n outline: 1px solid #6c9a9d !important;\n }\n\n "," button {\n outline: 1px solid #da8301 !important;\n }\n\n "," datalist {\n outline: 1px solid #c06000 !important;\n }\n\n "," fieldset {\n outline: 1px solid #d95100 !important;\n }\n\n "," form {\n outline: 1px solid #d23600 !important;\n }\n\n "," input {\n outline: 1px solid #fca600 !important;\n }\n\n "," keygen {\n outline: 1px solid #b31e00 !important;\n }\n\n "," label {\n outline: 1px solid #ee8900 !important;\n }\n\n "," legend {\n outline: 1px solid #de6d00 !important;\n }\n\n "," meter {\n outline: 1px solid #e8630c !important;\n }\n\n "," optgroup {\n outline: 1px solid #b33600 !important;\n }\n\n "," option {\n outline: 1px solid #ff8a00 !important;\n }\n\n "," output {\n outline: 1px solid #ff9619 !important;\n }\n\n "," progress {\n outline: 1px solid #e57c00 !important;\n }\n\n "," select {\n outline: 1px solid #e26e0f !important;\n }\n\n "," textarea {\n outline: 1px solid #cc5400 !important;\n }\n\n "," details {\n outline: 1px solid #33848f !important;\n }\n\n "," summary {\n outline: 1px solid #60a1a6 !important;\n }\n\n "," command {\n outline: 1px solid #438da1 !important;\n }\n\n "," menu {\n outline: 1px solid #449da6 !important;\n }\n\n "," del {\n outline: 1px solid #bf0000 !important;\n }\n\n "," ins {\n outline: 1px solid #400000 !important;\n }\n\n "," img {\n outline: 1px solid #22746b !important;\n }\n\n "," iframe {\n outline: 1px solid #64a7a0 !important;\n }\n\n "," embed {\n outline: 1px solid #98daca !important;\n }\n\n "," object {\n outline: 1px solid #00cc99 !important;\n }\n\n "," param {\n outline: 1px solid #37ffc4 !important;\n }\n\n "," video {\n outline: 1px solid #6ee866 !important;\n }\n\n "," audio {\n outline: 1px solid #027353 !important;\n }\n\n "," source {\n outline: 1px solid #012426 !important;\n }\n\n "," canvas {\n outline: 1px solid #a2f570 !important;\n }\n\n "," track {\n outline: 1px solid #59a600 !important;\n }\n\n "," map {\n outline: 1px solid #7be500 !important;\n }\n\n "," area {\n outline: 1px solid #305900 !important;\n }\n\n "," a {\n outline: 1px solid #ff62ab !important;\n }\n\n "," em {\n outline: 1px solid #800b41 !important;\n }\n\n "," strong {\n outline: 1px solid #ff1583 !important;\n }\n\n "," i {\n outline: 1px solid #803156 !important;\n }\n\n "," b {\n outline: 1px solid #cc1169 !important;\n }\n\n "," u {\n outline: 1px solid #ff0430 !important;\n }\n\n "," s {\n outline: 1px solid #f805e3 !important;\n }\n\n "," small {\n outline: 1px solid #d107b2 !important;\n }\n\n "," abbr {\n outline: 1px solid #4a0263 !important;\n }\n\n "," q {\n outline: 1px solid #240018 !important;\n }\n\n "," cite {\n outline: 1px solid #64003c !important;\n }\n\n "," dfn {\n outline: 1px solid #b4005a !important;\n }\n\n "," sub {\n outline: 1px solid #dba0c8 !important;\n }\n\n "," sup {\n outline: 1px solid #cc0256 !important;\n }\n\n "," time {\n outline: 1px solid #d6606d !important;\n }\n\n "," code {\n outline: 1px solid #e04251 !important;\n }\n\n "," kbd {\n outline: 1px solid #5e001f !important;\n }\n\n "," samp {\n outline: 1px solid #9c0033 !important;\n }\n\n "," var {\n outline: 1px solid #d90047 !important;\n }\n\n "," mark {\n outline: 1px solid #ff0053 !important;\n }\n\n "," bdi {\n outline: 1px solid #bf3668 !important;\n }\n\n "," bdo {\n outline: 1px solid #6f1400 !important;\n }\n\n "," ruby {\n outline: 1px solid #ff7b93 !important;\n }\n\n "," rt {\n outline: 1px solid #ff2f54 !important;\n }\n\n "," rp {\n outline: 1px solid #803e49 !important;\n }\n\n "," span {\n outline: 1px solid #cc2643 !important;\n }\n\n "," br {\n outline: 1px solid #db687d !important;\n }\n\n "," wbr {\n outline: 1px solid #db175b !important;\n }"])),selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector,selector)}var decorators=[function withOutline(StoryFn,context){var isActive=!0===context.globals.outline,isInDocs="docs"===context.viewMode,outlineStyles=(0,hooks.Ye)((function(){return outlineCSS(isInDocs?"#anchor--".concat(context.id," .docs-story"):".sb-show-main")}),[context]);return(0,hooks.d4)((function(){var selectorId=isInDocs?"addon-outline-docs-".concat(context.id):"addon-outline";return isActive?function addOutlineStyles(selector,css){var existingStyle=window_default().document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{var style=window_default().document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,window_default().document.head.appendChild(style)}}(selectorId,outlineStyles):clearStyles(selectorId),function(){clearStyles(selectorId)}}),[isActive,outlineStyles,context]),StoryFn()}],globals=function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},"outline",!1);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function addDecorator_js_generated_config_entry_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addDecorator_namespaceObject).forEach((function(key){var value=addDecorator_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){addDecorator_js_generated_config_entry_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/addon-postcss/node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/video.js/dist/video-js.css":(module,exports,__webpack_require__)=>{(exports=__webpack_require__("./node_modules/@storybook/addon-postcss/node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.id,'@charset "UTF-8";\n.vjs-modal-dialog .vjs-modal-dialog-content, .video-js .vjs-modal-dialog, .vjs-button > .vjs-icon-placeholder:before, .video-js .vjs-big-play-button .vjs-icon-placeholder:before {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.vjs-button > .vjs-icon-placeholder:before, .video-js .vjs-big-play-button .vjs-icon-placeholder:before {\n text-align: center;\n}\n\n@font-face {\n font-family: VideoJS;\n src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABDkAAsAAAAAG6gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFZRiV3hY21hcAAAAYQAAADaAAADPv749/pnbHlmAAACYAAAC3AAABHQZg6OcWhlYWQAAA3QAAAAKwAAADYZw251aGhlYQAADfwAAAAdAAAAJA+RCLFobXR4AAAOHAAAABMAAACM744AAGxvY2EAAA4wAAAASAAAAEhF6kqubWF4cAAADngAAAAfAAAAIAE0AIFuYW1lAAAOmAAAASUAAAIK1cf1oHBvc3QAAA/AAAABJAAAAdPExYuNeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS7wTiBgZWBgaWQ5RkDA8MvCM0cwxDOeI6BgYmBlZkBKwhIc01hcPjI+FGJHcRdyA4RZgQRADK3CxEAAHic7dFZbsMgAEXRS0ycyZnnOeG7y+qC8pU1dHusIOXxuoxaOlwZYWQB0Aea4quIEN4E9LzKbKjzDeM6H/mua6Lmc/p8yhg0lvdYx15ZG8uOLQOGjMp3EzqmzJizYMmKNRu27Nhz4MiJMxeu3Ljz4Ekqm7T8P52G8PP3lnTOVk++Z6iN6QZzNN1F7ptuN7eGOjDUoaGODHVsuvU8MdTO9Hd5aqgzQ50b6sJQl4a6MtS1oW4MdWuoO0PdG+rBUI+GejLUs6FeDPVqqDdDvRvqw1CfhpqM9At0iFLaAAB4nJ1YDXBTVRZ+5/22TUlJ8we0pHlJm7RJf5O8F2j6EymlSPkpxaL8U2xpa3DKj0CBhc2IW4eWKSokIoLsuMqssM64f+jA4HSdWXXXscBq67IOs3FXZ1ZYWVyRFdo899yXtIBQZ90k7717zz3v3HPPOfd854YCCj9cL9dL0RQFOqCbGJnrHb5EayiKIWN8iA/hWBblo6hUWm8TtCDwE80WMJus/irwyxOdxeB0MDb14VNJHnXYoLLSl6FfCUYO9nYPTA8Epg9090LprfbBbZ2hY0UlJUXHQp3/vtWkS6EBv8+rPMq5u9692f/dNxJNiqwC1xPE9TCUgCsSdQWgE3XQD25lkG4CN2xmTcOXWBOyser6RN6KnGbKSbmQ3+d0OI1m2W8QzLLkI2sykrWAgJJEtA8vGGW/2Q+CmT3n8zS9wZwu2DCvtuZKZN3xkrLh36yCZuUomQSqGpY8t/25VfHVhw8z4ebGBtfLb0ya9PCaDc+8dGTvk2dsh6z7WzvowlXKUSWo9MJ15a3KrEP2loOr2Ojhw6iW6hf2BDdEccQvZGpaAy7YovSwq8kr7HGllxpd71rkS6G0Sf11sl9OvMK1+jwPPODxjUwkOim9CU3ix1wNjXDfmJSEn618Bs6lpWwUpU+8PCqLMY650zjq8VhCIP17NEKTx3eaLL+s5Pi6yJWaWjTHLR1jYzPSV9VF/6Ojdb/1kO3Mk3uhHC0x6gc1BjlKQ+nQFxTYdaJkZ7ySVxLBbhR1dsboNXp1tCYKW2LRaEzpYcIx2BKNxaL0ZaUnSqfFoiNhHKR/GkX6PWUSAaJelQaqZL1EpoHNsajSEyPSoJ9IjhIxTdjHLmwZvhRDOiFTY/YeQnvrVZmiTQtGncECXtFTBZLOVwwMRgoXHAkXzMzPn1nAJJ8jYSbMDaqN2waGLzNhih/bZynUBMpIWSg7VYi7DRx2m8ALkIdRCJwI6ArJx2EI8kaDWeTQKeAFk9fjl/1AvwktjQ1P7NjyMGQyfd4vjipX6M/i52D7Cq80kqlcxEcGXRr/FEcgs0u5uGgB4VWuMFfpdn2Re6Hi3PqzmxWKsz6+ae2Pn9hXXw/fqM859UiGC0oKYYILJBqJrsn1Z1E5qOs9rQCiUQRREjm8yJcbHF5cUJufX1vAHlefw0XgUoboS3ETfQlTxBC4SOtuE8VPRJTBSCQSjZCpk7Gqzu+masaZ2y7Zjehho4F3g82BNDkAHpORG4+OCS+f6JTPmtRn/PH1kch6d04sp7AQb25aQ/pqUyXeQ8vrebG8OYQdXOQ+585u0sdW9rqalzRURiJ+9F4MweRFrKUjl1GUYhH1A27WOHw5cTFSFPMo9EeUIGnQTZHIaJ7AHLaOKsOODaNF9jkBjYG2QEsQ2xjMUAx2bBEbeTBWMHwskBjngq56S/yfgkBnWBa4K9sqKtq2t1UI8S9He5XuBRbawAdatrQEAi30Aks2+LM8WeCbalVZkWNylvJ+dqJnzVb+OHlSoKW8nPCP7Rd+CcZ2DdWAGqJ2CBFOphgywFFCFBNtfAbGtNPBCwxvygHeYMZMY9ZboBqwq/pVrsbgN5tkv152ODlbMfiqwGMBgxa4Exz3QhovRIUp6acqZmQzRq0ypDXS2TPLT02YIkQETnOE445oOGxOmXAqUJNNG7XgupMjPq2ua9asrj5yY/yuKteO1Kx0YNJTufrirLe1mZnat7OL6rnUdCWenpW6I8mAnbsY8KWs1PuSovCW9A/Z25PQ24a7cNOqgmTkLmBMgh4THgc4b9k2IVv1/g/F5nGljwPLfOgHAzJzh45V/4+WenTzmMtR5Z7us2Tys909UHqrPY7KbckoxRvRHhmVc3cJGE97uml0R1S0jdULVl7EvZtDFVBF35N9cEdjpgmAiOlFZ+Dtoh93+D3zzHr8RRNZQhnCNMNbcegOvpEwZoL+06cJQ07h+th3fZ/7PVbVC6ngTAV/KoLFuO6+2KFcU651gEb5ugPSIb1D+Xp8V4+k3sEIGnw5mYe4If4k1lFYr6SCzmM2EQ8iWtmwjnBI9kTwe1TlfAmXh7H02by9fW2gsjKwtv0aaURKil4OdV7rDL1MXIFNrhdxohcZXYTnq47WisrKitaObbf5+yvkLi5J6lCNZZ+B6GC38VNBZBDidSS/+mSvh6s+srgC8pyKMvDtt+de3c9fU76ZPfuM8ud4Kv0fyP/LqfepMT/3oZxSqpZaTa1DaQYLY8TFsHYbWYsPoRhRWfL5eSSQbhUGgGC3YLbVMk6PitTFNGpAsNrC6D1VNBKgBHMejaiuRWEWGgsSDBTJjqWIl8kJLlsaLJ2tXDr6xGfT85bM2Q06a46x2HTgvdnV8z5YDy/27J4zt6x2VtkzjoYpkq36kaBr4eQSg7tyiVweWubXZugtadl58ydapfbORfKsDTuZ0OBgx4cfdjCf5tbWNITnL120fdOi1RV1C3uKGzNdwYLcMvZ3BxoPyTOCD1XvXTp7U10gWCVmTV9b3r2z0SkGWovb2hp9I89O8a2smlyaO8muMU+dRmtzp60IzAoFpjLr1n388boLyf0dRvxhsHZ0qbWqDkwqvvpkj4l0fY6EIXRi5sQSrAvsVYwXRy4qJ2EVtD1AN7a0HWth9ymvL1xc3WTUKK/TAHA/bXDVtVWfOMfuGxGZv4Ln/jVr9jc3j1yMv0tndmyt9Vq88Y9gH1wtLX3KWjot5++jWHgAoZZkQ14wGQ20Fli71UmKJAy4xKMSTGbVdybW7FDDAut9XpD5AzWrYO7zQ8qffqF8+Ynd/clrHcdyxGy3a/3+mfNnzC/cBsveTjnTvXf1o6vzOlZw7WtqtdmPK/Errz/6NNtD72zmNOZfbmYdTGHfoofqI79Oc+R2n1lrnL6pOm0Up7kwxhTW12Amm7WYkXR2qYrF2AmgmbAsxZjwy1xpg/m1Je2vrp8v/nz2xpmlBg4E9hrMU341wVpTOh/OfmGvAnra8q6uctr60ZQHV3Q+WMQJykMj8ZsWn2QBOmmHMB+m5pDIpTFonYigiaKAhGEiAHF7EliVnQkjoLVIMPtJpBKHYd3A8GYH9jJzrWwmHx5Qjp7vDAX0suGRym1vtm/9W1/HyR8vczfMs6Sk8DSv855/5dlX9oQq52hT8syyp2rx5Id17IAyAM3wIjQPMOHzytEB64q6D5zT91yNbnx3V/nqnd017S9Y0605k3izoXLpsxde2n38yoOV9s1LcjwzNjbdX6asnBVaBj/6/DwKwPkpcqbDG7BnsXoSqWnUAmottYF6jMSdVyYZh3zVXCjwTiwwHH6sGuRiEHQGzuRX6whZkp123oy1BWE2mEfJ/tvIRtM4ZM5bDXiMsPMaAKOTyc5uL57rqyyc5y5JE5pm1i2S2iUX0CcaQ6lC6Zog7JqSqZmYlosl2K6pwNA84zRnQW6SaALYZQGW5lhCtU/W34N6o+bKfZ8cf3/Cl/+iTX3wBzpOY4mRkeNf3rptycGSshQWgGbYt5jFc2e0+DglIrwl6DVWQ7BuwaJ3Xk1J4VL5urnLl/Wf+gHU/hZoZdKNym6lG+I34FaNeZKcSpJIo2IeCVvpdsDGfKvzJnAwmeD37Ow65ZWwSowpgwX5T69s/rB55dP5BcpgDKFV8p7q2sn/1uc93bVzT/w6UrCqDTWvfCq/oCD/qZXNoUj8BL5Kp6GU017frfNXkAtiiyf/SOCEeLqnd8R/Ql9GlCRfctS6k5chvIBuQ1zCCjoCHL2DHNHIXxMJ3kQeO8lbsUXONeSfA5EjcG6/E+KdhN4bP04vBhdi883+BFBzQbxFbvZzQeY9LNBZc0FNfn5NwfDn6rCTnTw6R8o+gfpf5hCom33cRuiTlss3KHmZjD+BPN+5gXuA2ziS/Q73mLxUkpbKN/eqwz5uK0X9F3h2d1V4nGNgZGBgAOJd776+iue3+crAzc4AAje5Bfcg0xz9YHEOBiYQBQA8FQlFAHicY2BkYGBnAAGOPgaG//85+hkYGVCBMgBGGwNYAAAAeJxjYGBgYB8EmKOPgQEAQ04BfgAAAAAAAA4AaAB+AMwA4AECAUIBbAGYAcICGAJYArQC4AMwA7AD3gQwBJYE3AUkBWYFigYgBmYGtAbqB1gIEghYCG4IhAi2COh4nGNgZGBgUGYoZWBnAAEmIOYCQgaG/2A+AwAYCQG2AHicXZBNaoNAGIZfE5PQCKFQ2lUps2oXBfOzzAESyDKBQJdGR2NQR3QSSE/QE/QEPUUPUHqsvsrXjTMw83zPvPMNCuAWP3DQDAejdm1GjzwS7pMmwi75XngAD4/CQ/oX4TFe4Qt7uMMbOzjuDc0EmXCP/C7cJ38Iu+RP4QEe8CU8pP8WHmOPX2EPz87TPo202ey2OjlnQSXV/6arOjWFmvszMWtd6CqwOlKHq6ovycLaWMWVydXKFFZnmVFlZU46tP7R2nI5ncbi/dDkfDtFBA2DDXbYkhKc+V0Bqs5Zt9JM1HQGBRTm/EezTmZNKtpcAMs9Yu6AK9caF76zoLWIWcfMGOSkVduvSWechqZsz040Ib2PY3urxBJTzriT95lipz+TN1fmAAAAeJxtkMl2wjAMRfOAhABlKm2h80C3+ajgCKKDY6cegP59TYBzukAL+z1Zsq8ctaJTTKPrsUQLbXQQI0EXKXroY4AbDDHCGBNMcYsZ7nCPB8yxwCOe8IwXvOIN7/jAJ76wxHfUqWX+OzgumWAjJMV17i0Ndlr6irLKO+qftdT7i6y4uFSUvCknay+lFYZIZaQcmfH/xIFdYn98bqhra1aKTM/6lWMnyaYirx1rFUQZFBkb2zJUtoXeJCeg0WnLtHeSFc3OtrnozNwqi0TkSpBMDB1nSde5oJXW23hTS2/T0LilglXX7dmFVxLnq5U0vYATHFk3zX3BOisoQHNDFDeZnqKDy9hRNawN7Vh727hFzcJ5c8TILrKZfH7tIPxAFP0BpLeJPA==) format("woff");\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-play, .video-js .vjs-play-control .vjs-icon-placeholder, .video-js .vjs-big-play-button .vjs-icon-placeholder:before {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-play:before, .video-js .vjs-play-control .vjs-icon-placeholder:before, .video-js .vjs-big-play-button .vjs-icon-placeholder:before {\n content: "\\f101";\n}\n\n.vjs-icon-play-circle {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-play-circle:before {\n content: "\\f102";\n}\n\n.vjs-icon-pause, .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-pause:before, .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before {\n content: "\\f103";\n}\n\n.vjs-icon-volume-mute, .video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-volume-mute:before, .video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder:before {\n content: "\\f104";\n}\n\n.vjs-icon-volume-low, .video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-volume-low:before, .video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder:before {\n content: "\\f105";\n}\n\n.vjs-icon-volume-mid, .video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-volume-mid:before, .video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder:before {\n content: "\\f106";\n}\n\n.vjs-icon-volume-high, .video-js .vjs-mute-control .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-volume-high:before, .video-js .vjs-mute-control .vjs-icon-placeholder:before {\n content: "\\f107";\n}\n\n.vjs-icon-fullscreen-enter, .video-js .vjs-fullscreen-control .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-fullscreen-enter:before, .video-js .vjs-fullscreen-control .vjs-icon-placeholder:before {\n content: "\\f108";\n}\n\n.vjs-icon-fullscreen-exit, .video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-fullscreen-exit:before, .video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before {\n content: "\\f109";\n}\n\n.vjs-icon-square {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-square:before {\n content: "\\f10a";\n}\n\n.vjs-icon-spinner {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-spinner:before {\n content: "\\f10b";\n}\n\n.vjs-icon-subtitles, .video-js .vjs-subs-caps-button .vjs-icon-placeholder,\n.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder,\n.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder,\n.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder,\n.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder, .video-js .vjs-subtitles-button .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-subtitles:before, .video-js .vjs-subs-caps-button .vjs-icon-placeholder:before,\n.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder:before,\n.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder:before,\n.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder:before,\n.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder:before, .video-js .vjs-subtitles-button .vjs-icon-placeholder:before {\n content: "\\f10c";\n}\n\n.vjs-icon-captions, .video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder,\n.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder, .video-js .vjs-captions-button .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-captions:before, .video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder:before,\n.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder:before, .video-js .vjs-captions-button .vjs-icon-placeholder:before {\n content: "\\f10d";\n}\n\n.vjs-icon-chapters, .video-js .vjs-chapters-button .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-chapters:before, .video-js .vjs-chapters-button .vjs-icon-placeholder:before {\n content: "\\f10e";\n}\n\n.vjs-icon-share {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-share:before {\n content: "\\f10f";\n}\n\n.vjs-icon-cog {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-cog:before {\n content: "\\f110";\n}\n\n.vjs-icon-circle, .vjs-seek-to-live-control .vjs-icon-placeholder, .video-js .vjs-volume-level, .video-js .vjs-play-progress {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-circle:before, .vjs-seek-to-live-control .vjs-icon-placeholder:before, .video-js .vjs-volume-level:before, .video-js .vjs-play-progress:before {\n content: "\\f111";\n}\n\n.vjs-icon-circle-outline {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-circle-outline:before {\n content: "\\f112";\n}\n\n.vjs-icon-circle-inner-circle {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-circle-inner-circle:before {\n content: "\\f113";\n}\n\n.vjs-icon-hd {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-hd:before {\n content: "\\f114";\n}\n\n.vjs-icon-cancel, .video-js .vjs-control.vjs-close-button .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-cancel:before, .video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before {\n content: "\\f115";\n}\n\n.vjs-icon-replay, .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-replay:before, .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before {\n content: "\\f116";\n}\n\n.vjs-icon-facebook {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-facebook:before {\n content: "\\f117";\n}\n\n.vjs-icon-gplus {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-gplus:before {\n content: "\\f118";\n}\n\n.vjs-icon-linkedin {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-linkedin:before {\n content: "\\f119";\n}\n\n.vjs-icon-twitter {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-twitter:before {\n content: "\\f11a";\n}\n\n.vjs-icon-tumblr {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-tumblr:before {\n content: "\\f11b";\n}\n\n.vjs-icon-pinterest {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-pinterest:before {\n content: "\\f11c";\n}\n\n.vjs-icon-audio-description, .video-js .vjs-descriptions-button .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-audio-description:before, .video-js .vjs-descriptions-button .vjs-icon-placeholder:before {\n content: "\\f11d";\n}\n\n.vjs-icon-audio, .video-js .vjs-audio-button .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-audio:before, .video-js .vjs-audio-button .vjs-icon-placeholder:before {\n content: "\\f11e";\n}\n\n.vjs-icon-next-item {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-next-item:before {\n content: "\\f11f";\n}\n\n.vjs-icon-previous-item {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-previous-item:before {\n content: "\\f120";\n}\n\n.vjs-icon-picture-in-picture-enter, .video-js .vjs-picture-in-picture-control .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-picture-in-picture-enter:before, .video-js .vjs-picture-in-picture-control .vjs-icon-placeholder:before {\n content: "\\f121";\n}\n\n.vjs-icon-picture-in-picture-exit, .video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder {\n font-family: VideoJS;\n font-weight: normal;\n font-style: normal;\n}\n.vjs-icon-picture-in-picture-exit:before, .video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder:before {\n content: "\\f122";\n}\n\n.video-js {\n display: block;\n vertical-align: top;\n box-sizing: border-box;\n color: #fff;\n background-color: #000;\n position: relative;\n padding: 0;\n font-size: 10px;\n line-height: 1;\n font-weight: normal;\n font-style: normal;\n font-family: Arial, Helvetica, sans-serif;\n word-break: initial;\n}\n.video-js:-moz-full-screen {\n position: absolute;\n}\n.video-js:-webkit-full-screen {\n width: 100% !important;\n height: 100% !important;\n}\n\n.video-js[tabindex="-1"] {\n outline: none;\n}\n\n.video-js *,\n.video-js *:before,\n.video-js *:after {\n box-sizing: inherit;\n}\n\n.video-js ul {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n list-style-position: outside;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.video-js.vjs-fluid,\n.video-js.vjs-16-9,\n.video-js.vjs-4-3,\n.video-js.vjs-9-16,\n.video-js.vjs-1-1 {\n width: 100%;\n max-width: 100%;\n height: 0;\n}\n\n.video-js.vjs-16-9 {\n padding-top: 56.25%;\n}\n\n.video-js.vjs-4-3 {\n padding-top: 75%;\n}\n\n.video-js.vjs-9-16 {\n padding-top: 177.7777777778%;\n}\n\n.video-js.vjs-1-1 {\n padding-top: 100%;\n}\n\n.video-js.vjs-fill {\n width: 100%;\n height: 100%;\n}\n\n.video-js .vjs-tech {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\nbody.vjs-full-window {\n padding: 0;\n margin: 0;\n height: 100%;\n}\n\n.vjs-full-window .video-js.vjs-fullscreen {\n position: fixed;\n overflow: hidden;\n z-index: 1000;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n}\n\n.video-js.vjs-fullscreen:not(.vjs-ios-native-fs) {\n width: 100% !important;\n height: 100% !important;\n padding-top: 0 !important;\n}\n\n.video-js.vjs-fullscreen.vjs-user-inactive {\n cursor: none;\n}\n\n.vjs-hidden {\n display: none !important;\n}\n\n.vjs-disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.video-js .vjs-offscreen {\n height: 1px;\n left: -9999px;\n position: absolute;\n top: 0;\n width: 1px;\n}\n\n.vjs-lock-showing {\n display: block !important;\n opacity: 1 !important;\n visibility: visible !important;\n}\n\n.vjs-no-js {\n padding: 20px;\n color: #fff;\n background-color: #000;\n font-size: 18px;\n font-family: Arial, Helvetica, sans-serif;\n text-align: center;\n width: 300px;\n height: 150px;\n margin: 0px auto;\n}\n\n.vjs-no-js a,\n.vjs-no-js a:visited {\n color: #66A8CC;\n}\n\n.video-js .vjs-big-play-button {\n font-size: 3em;\n line-height: 1.5em;\n height: 1.63332em;\n width: 3em;\n display: block;\n position: absolute;\n top: 10px;\n left: 10px;\n padding: 0;\n cursor: pointer;\n opacity: 1;\n border: 0.06666em solid #fff;\n background-color: #2B333F;\n background-color: rgba(43, 51, 63, 0.7);\n border-radius: 0.3em;\n transition: all 0.4s;\n}\n.vjs-big-play-centered .vjs-big-play-button {\n top: 50%;\n left: 50%;\n margin-top: -0.81666em;\n margin-left: -1.5em;\n}\n\n.video-js:hover .vjs-big-play-button,\n.video-js .vjs-big-play-button:focus {\n border-color: #fff;\n background-color: #73859f;\n background-color: rgba(115, 133, 159, 0.5);\n transition: all 0s;\n}\n\n.vjs-controls-disabled .vjs-big-play-button,\n.vjs-has-started .vjs-big-play-button,\n.vjs-using-native-controls .vjs-big-play-button,\n.vjs-error .vjs-big-play-button {\n display: none;\n}\n\n.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause .vjs-big-play-button {\n display: block;\n}\n\n.video-js button {\n background: none;\n border: none;\n color: inherit;\n display: inline-block;\n font-size: inherit;\n line-height: inherit;\n text-transform: none;\n text-decoration: none;\n transition: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n.vjs-control .vjs-button {\n width: 100%;\n height: 100%;\n}\n\n.video-js .vjs-control.vjs-close-button {\n cursor: pointer;\n height: 3em;\n position: absolute;\n right: 0;\n top: 0.5em;\n z-index: 2;\n}\n.video-js .vjs-modal-dialog {\n background: rgba(0, 0, 0, 0.8);\n background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0));\n overflow: auto;\n}\n\n.video-js .vjs-modal-dialog > * {\n box-sizing: border-box;\n}\n\n.vjs-modal-dialog .vjs-modal-dialog-content {\n font-size: 1.2em;\n line-height: 1.5;\n padding: 20px 24px;\n z-index: 1;\n}\n\n.vjs-menu-button {\n cursor: pointer;\n}\n\n.vjs-menu-button.vjs-disabled {\n cursor: default;\n}\n\n.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu {\n display: none;\n}\n\n.vjs-menu .vjs-menu-content {\n display: block;\n padding: 0;\n margin: 0;\n font-family: Arial, Helvetica, sans-serif;\n overflow: auto;\n}\n\n.vjs-menu .vjs-menu-content > * {\n box-sizing: border-box;\n}\n\n.vjs-scrubbing .vjs-control.vjs-menu-button:hover .vjs-menu {\n display: none;\n}\n\n.vjs-menu li {\n list-style: none;\n margin: 0;\n padding: 0.2em 0;\n line-height: 1.4em;\n font-size: 1.2em;\n text-align: center;\n text-transform: lowercase;\n}\n\n.vjs-menu li.vjs-menu-item:focus,\n.vjs-menu li.vjs-menu-item:hover,\n.js-focus-visible .vjs-menu li.vjs-menu-item:hover {\n background-color: #73859f;\n background-color: rgba(115, 133, 159, 0.5);\n}\n\n.vjs-menu li.vjs-selected,\n.vjs-menu li.vjs-selected:focus,\n.vjs-menu li.vjs-selected:hover,\n.js-focus-visible .vjs-menu li.vjs-selected:hover {\n background-color: #fff;\n color: #2B333F;\n}\n\n.video-js .vjs-menu *:not(.vjs-selected):focus:not(:focus-visible),\n.js-focus-visible .vjs-menu *:not(.vjs-selected):focus:not(.focus-visible) {\n background: none;\n}\n\n.vjs-menu li.vjs-menu-title {\n text-align: center;\n text-transform: uppercase;\n font-size: 1em;\n line-height: 2em;\n padding: 0;\n margin: 0 0 0.3em 0;\n font-weight: bold;\n cursor: default;\n}\n\n.vjs-menu-button-popup .vjs-menu {\n display: none;\n position: absolute;\n bottom: 0;\n width: 10em;\n left: -3em;\n height: 0em;\n margin-bottom: 1.5em;\n border-top-color: rgba(43, 51, 63, 0.7);\n}\n\n.vjs-menu-button-popup .vjs-menu .vjs-menu-content {\n background-color: #2B333F;\n background-color: rgba(43, 51, 63, 0.7);\n position: absolute;\n width: 100%;\n bottom: 1.5em;\n max-height: 15em;\n}\n\n.vjs-layout-tiny .vjs-menu-button-popup .vjs-menu .vjs-menu-content,\n.vjs-layout-x-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content {\n max-height: 5em;\n}\n\n.vjs-layout-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content {\n max-height: 10em;\n}\n\n.vjs-layout-medium .vjs-menu-button-popup .vjs-menu .vjs-menu-content {\n max-height: 14em;\n}\n\n.vjs-layout-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,\n.vjs-layout-x-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,\n.vjs-layout-huge .vjs-menu-button-popup .vjs-menu .vjs-menu-content {\n max-height: 25em;\n}\n\n.vjs-workinghover .vjs-menu-button-popup.vjs-hover .vjs-menu,\n.vjs-menu-button-popup .vjs-menu.vjs-lock-showing {\n display: block;\n}\n\n.video-js .vjs-menu-button-inline {\n transition: all 0.4s;\n overflow: hidden;\n}\n\n.video-js .vjs-menu-button-inline:before {\n width: 2.222222222em;\n}\n\n.video-js .vjs-menu-button-inline:hover,\n.video-js .vjs-menu-button-inline:focus,\n.video-js .vjs-menu-button-inline.vjs-slider-active,\n.video-js.vjs-no-flex .vjs-menu-button-inline {\n width: 12em;\n}\n\n.vjs-menu-button-inline .vjs-menu {\n opacity: 0;\n height: 100%;\n width: auto;\n position: absolute;\n left: 4em;\n top: 0;\n padding: 0;\n margin: 0;\n transition: all 0.4s;\n}\n\n.vjs-menu-button-inline:hover .vjs-menu,\n.vjs-menu-button-inline:focus .vjs-menu,\n.vjs-menu-button-inline.vjs-slider-active .vjs-menu {\n display: block;\n opacity: 1;\n}\n\n.vjs-no-flex .vjs-menu-button-inline .vjs-menu {\n display: block;\n opacity: 1;\n position: relative;\n width: auto;\n}\n\n.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu,\n.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,\n.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu {\n width: auto;\n}\n\n.vjs-menu-button-inline .vjs-menu-content {\n width: auto;\n height: 100%;\n margin: 0;\n overflow: hidden;\n}\n\n.video-js .vjs-control-bar {\n display: none;\n width: 100%;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 3em;\n background-color: #2B333F;\n background-color: rgba(43, 51, 63, 0.7);\n}\n\n.vjs-has-started .vjs-control-bar {\n display: flex;\n visibility: visible;\n opacity: 1;\n transition: visibility 0.1s, opacity 0.1s;\n}\n\n.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {\n visibility: visible;\n opacity: 0;\n pointer-events: none;\n transition: visibility 1s, opacity 1s;\n}\n\n.vjs-controls-disabled .vjs-control-bar,\n.vjs-using-native-controls .vjs-control-bar,\n.vjs-error .vjs-control-bar {\n display: none !important;\n}\n\n.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {\n opacity: 1;\n visibility: visible;\n}\n\n.vjs-has-started.vjs-no-flex .vjs-control-bar {\n display: table;\n}\n\n.video-js .vjs-control {\n position: relative;\n text-align: center;\n margin: 0;\n padding: 0;\n height: 100%;\n width: 4em;\n flex: none;\n}\n\n.vjs-button > .vjs-icon-placeholder:before {\n font-size: 1.8em;\n line-height: 1.67;\n}\n\n.vjs-button > .vjs-icon-placeholder {\n display: block;\n}\n\n.video-js .vjs-control:focus:before,\n.video-js .vjs-control:hover:before,\n.video-js .vjs-control:focus {\n text-shadow: 0em 0em 1em white;\n}\n\n.video-js .vjs-control-text {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.vjs-no-flex .vjs-control {\n display: table-cell;\n vertical-align: middle;\n}\n\n.video-js .vjs-custom-control-spacer {\n display: none;\n}\n\n.video-js .vjs-progress-control {\n cursor: pointer;\n flex: auto;\n display: flex;\n align-items: center;\n min-width: 4em;\n touch-action: none;\n}\n\n.video-js .vjs-progress-control.disabled {\n cursor: default;\n}\n\n.vjs-live .vjs-progress-control {\n display: none;\n}\n\n.vjs-liveui .vjs-progress-control {\n display: flex;\n align-items: center;\n}\n\n.vjs-no-flex .vjs-progress-control {\n width: auto;\n}\n\n.video-js .vjs-progress-holder {\n flex: auto;\n transition: all 0.2s;\n height: 0.3em;\n}\n\n.video-js .vjs-progress-control .vjs-progress-holder {\n margin: 0 10px;\n}\n\n.video-js .vjs-progress-control:hover .vjs-progress-holder {\n font-size: 1.6666666667em;\n}\n\n.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled {\n font-size: 1em;\n}\n\n.video-js .vjs-progress-holder .vjs-play-progress,\n.video-js .vjs-progress-holder .vjs-load-progress,\n.video-js .vjs-progress-holder .vjs-load-progress div {\n position: absolute;\n display: block;\n height: 100%;\n margin: 0;\n padding: 0;\n width: 0;\n}\n\n.video-js .vjs-play-progress {\n background-color: #fff;\n}\n.video-js .vjs-play-progress:before {\n font-size: 0.9em;\n position: absolute;\n right: -0.5em;\n top: -0.3333333333em;\n z-index: 1;\n}\n\n.video-js .vjs-load-progress {\n background: rgba(115, 133, 159, 0.5);\n}\n\n.video-js .vjs-load-progress div {\n background: rgba(115, 133, 159, 0.75);\n}\n\n.video-js .vjs-time-tooltip {\n background-color: #fff;\n background-color: rgba(255, 255, 255, 0.8);\n border-radius: 0.3em;\n color: #000;\n float: right;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 1em;\n padding: 6px 8px 8px 8px;\n pointer-events: none;\n position: absolute;\n top: -3.4em;\n visibility: hidden;\n z-index: 1;\n}\n\n.video-js .vjs-progress-holder:focus .vjs-time-tooltip {\n display: none;\n}\n\n.video-js .vjs-progress-control:hover .vjs-time-tooltip,\n.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip {\n display: block;\n font-size: 0.6em;\n visibility: visible;\n}\n\n.video-js .vjs-progress-control.disabled:hover .vjs-time-tooltip {\n font-size: 1em;\n}\n\n.video-js .vjs-progress-control .vjs-mouse-display {\n display: none;\n position: absolute;\n width: 1px;\n height: 100%;\n background-color: #000;\n z-index: 1;\n}\n\n.vjs-no-flex .vjs-progress-control .vjs-mouse-display {\n z-index: 0;\n}\n\n.video-js .vjs-progress-control:hover .vjs-mouse-display {\n display: block;\n}\n\n.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display {\n visibility: hidden;\n opacity: 0;\n transition: visibility 1s, opacity 1s;\n}\n\n.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display {\n display: none;\n}\n\n.vjs-mouse-display .vjs-time-tooltip {\n color: #fff;\n background-color: #000;\n background-color: rgba(0, 0, 0, 0.8);\n}\n\n.video-js .vjs-slider {\n position: relative;\n cursor: pointer;\n padding: 0;\n margin: 0 0.45em 0 0.45em;\n /* iOS Safari */\n -webkit-touch-callout: none;\n /* Safari */\n -webkit-user-select: none;\n /* Konqueror HTML */\n /* Firefox */\n -moz-user-select: none;\n /* Internet Explorer/Edge */\n -ms-user-select: none;\n /* Non-prefixed version, currently supported by Chrome and Opera */\n user-select: none;\n background-color: #73859f;\n background-color: rgba(115, 133, 159, 0.5);\n}\n\n.video-js .vjs-slider.disabled {\n cursor: default;\n}\n\n.video-js .vjs-slider:focus {\n text-shadow: 0em 0em 1em white;\n box-shadow: 0 0 1em #fff;\n}\n\n.video-js .vjs-mute-control {\n cursor: pointer;\n flex: none;\n}\n.video-js .vjs-volume-control {\n cursor: pointer;\n margin-right: 1em;\n display: flex;\n}\n\n.video-js .vjs-volume-control.vjs-volume-horizontal {\n width: 5em;\n}\n\n.video-js .vjs-volume-panel .vjs-volume-control {\n visibility: visible;\n opacity: 0;\n width: 1px;\n height: 1px;\n margin-left: -1px;\n}\n\n.video-js .vjs-volume-panel {\n transition: width 1s;\n}\n.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control, .video-js .vjs-volume-panel:active .vjs-volume-control, .video-js .vjs-volume-panel:focus .vjs-volume-control, .video-js .vjs-volume-panel .vjs-volume-control:active, .video-js .vjs-volume-panel.vjs-hover .vjs-mute-control ~ .vjs-volume-control, .video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active {\n visibility: visible;\n opacity: 1;\n position: relative;\n transition: visibility 0.1s, opacity 0.1s, height 0.1s, width 0.1s, left 0s, top 0s;\n}\n.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal, .video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal, .video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal, .video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal, .video-js .vjs-volume-panel.vjs-hover .vjs-mute-control ~ .vjs-volume-control.vjs-volume-horizontal, .video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal {\n width: 5em;\n height: 3em;\n margin-right: 0;\n}\n.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-vertical, .video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical, .video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical, .video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical, .video-js .vjs-volume-panel.vjs-hover .vjs-mute-control ~ .vjs-volume-control.vjs-volume-vertical, .video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical {\n left: -3.5em;\n transition: left 0s;\n}\n.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover, .video-js .vjs-volume-panel.vjs-volume-panel-horizontal:active, .video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active {\n width: 10em;\n transition: width 0.1s;\n}\n.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-mute-toggle-only {\n width: 4em;\n}\n\n.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical {\n height: 8em;\n width: 3em;\n left: -3000em;\n transition: visibility 1s, opacity 1s, height 1s 1s, width 1s 1s, left 1s 1s, top 1s 1s;\n}\n\n.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal {\n transition: visibility 1s, opacity 1s, height 1s 1s, width 1s, left 1s 1s, top 1s 1s;\n}\n\n.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal {\n width: 5em;\n height: 3em;\n visibility: visible;\n opacity: 1;\n position: relative;\n transition: none;\n}\n\n.video-js.vjs-no-flex .vjs-volume-control.vjs-volume-vertical,\n.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical {\n position: absolute;\n bottom: 3em;\n left: 0.5em;\n}\n\n.video-js .vjs-volume-panel {\n display: flex;\n}\n\n.video-js .vjs-volume-bar {\n margin: 1.35em 0.45em;\n}\n\n.vjs-volume-bar.vjs-slider-horizontal {\n width: 5em;\n height: 0.3em;\n}\n\n.vjs-volume-bar.vjs-slider-vertical {\n width: 0.3em;\n height: 5em;\n margin: 1.35em auto;\n}\n\n.video-js .vjs-volume-level {\n position: absolute;\n bottom: 0;\n left: 0;\n background-color: #fff;\n}\n.video-js .vjs-volume-level:before {\n position: absolute;\n font-size: 0.9em;\n z-index: 1;\n}\n\n.vjs-slider-vertical .vjs-volume-level {\n width: 0.3em;\n}\n.vjs-slider-vertical .vjs-volume-level:before {\n top: -0.5em;\n left: -0.3em;\n z-index: 1;\n}\n\n.vjs-slider-horizontal .vjs-volume-level {\n height: 0.3em;\n}\n.vjs-slider-horizontal .vjs-volume-level:before {\n top: -0.3em;\n right: -0.5em;\n}\n\n.video-js .vjs-volume-panel.vjs-volume-panel-vertical {\n width: 4em;\n}\n\n.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level {\n height: 100%;\n}\n\n.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level {\n width: 100%;\n}\n\n.video-js .vjs-volume-vertical {\n width: 3em;\n height: 8em;\n bottom: 8em;\n background-color: #2B333F;\n background-color: rgba(43, 51, 63, 0.7);\n}\n\n.video-js .vjs-volume-horizontal .vjs-menu {\n left: -2em;\n}\n\n.video-js .vjs-volume-tooltip {\n background-color: #fff;\n background-color: rgba(255, 255, 255, 0.8);\n border-radius: 0.3em;\n color: #000;\n float: right;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 1em;\n padding: 6px 8px 8px 8px;\n pointer-events: none;\n position: absolute;\n top: -3.4em;\n visibility: hidden;\n z-index: 1;\n}\n\n.video-js .vjs-volume-control:hover .vjs-volume-tooltip,\n.video-js .vjs-volume-control:hover .vjs-progress-holder:focus .vjs-volume-tooltip {\n display: block;\n font-size: 1em;\n visibility: visible;\n}\n\n.video-js .vjs-volume-vertical:hover .vjs-volume-tooltip,\n.video-js .vjs-volume-vertical:hover .vjs-progress-holder:focus .vjs-volume-tooltip {\n left: 1em;\n top: -12px;\n}\n\n.video-js .vjs-volume-control.disabled:hover .vjs-volume-tooltip {\n font-size: 1em;\n}\n\n.video-js .vjs-volume-control .vjs-mouse-display {\n display: none;\n position: absolute;\n width: 100%;\n height: 1px;\n background-color: #000;\n z-index: 1;\n}\n\n.video-js .vjs-volume-horizontal .vjs-mouse-display {\n width: 1px;\n height: 100%;\n}\n\n.vjs-no-flex .vjs-volume-control .vjs-mouse-display {\n z-index: 0;\n}\n\n.video-js .vjs-volume-control:hover .vjs-mouse-display {\n display: block;\n}\n\n.video-js.vjs-user-inactive .vjs-volume-control .vjs-mouse-display {\n visibility: hidden;\n opacity: 0;\n transition: visibility 1s, opacity 1s;\n}\n\n.video-js.vjs-user-inactive.vjs-no-flex .vjs-volume-control .vjs-mouse-display {\n display: none;\n}\n\n.vjs-mouse-display .vjs-volume-tooltip {\n color: #fff;\n background-color: #000;\n background-color: rgba(0, 0, 0, 0.8);\n}\n\n.vjs-poster {\n display: inline-block;\n vertical-align: middle;\n background-repeat: no-repeat;\n background-position: 50% 50%;\n background-size: contain;\n background-color: #000000;\n cursor: pointer;\n margin: 0;\n padding: 0;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n height: 100%;\n}\n\n.vjs-has-started .vjs-poster {\n display: none;\n}\n\n.vjs-audio.vjs-has-started .vjs-poster {\n display: block;\n}\n\n.vjs-using-native-controls .vjs-poster {\n display: none;\n}\n\n.video-js .vjs-live-control {\n display: flex;\n align-items: flex-start;\n flex: auto;\n font-size: 1em;\n line-height: 3em;\n}\n\n.vjs-no-flex .vjs-live-control {\n display: table-cell;\n width: auto;\n text-align: left;\n}\n\n.video-js:not(.vjs-live) .vjs-live-control,\n.video-js.vjs-liveui .vjs-live-control {\n display: none;\n}\n\n.video-js .vjs-seek-to-live-control {\n align-items: center;\n cursor: pointer;\n flex: none;\n display: inline-flex;\n height: 100%;\n padding-left: 0.5em;\n padding-right: 0.5em;\n font-size: 1em;\n line-height: 3em;\n width: auto;\n min-width: 4em;\n}\n\n.vjs-no-flex .vjs-seek-to-live-control {\n display: table-cell;\n width: auto;\n text-align: left;\n}\n\n.video-js.vjs-live:not(.vjs-liveui) .vjs-seek-to-live-control,\n.video-js:not(.vjs-live) .vjs-seek-to-live-control {\n display: none;\n}\n\n.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge {\n cursor: auto;\n}\n\n.vjs-seek-to-live-control .vjs-icon-placeholder {\n margin-right: 0.5em;\n color: #888;\n}\n\n.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder {\n color: red;\n}\n\n.video-js .vjs-time-control {\n flex: none;\n font-size: 1em;\n line-height: 3em;\n min-width: 2em;\n width: auto;\n padding-left: 1em;\n padding-right: 1em;\n}\n\n.vjs-live .vjs-time-control {\n display: none;\n}\n\n.video-js .vjs-current-time,\n.vjs-no-flex .vjs-current-time {\n display: none;\n}\n\n.video-js .vjs-duration,\n.vjs-no-flex .vjs-duration {\n display: none;\n}\n\n.vjs-time-divider {\n display: none;\n line-height: 3em;\n}\n\n.vjs-live .vjs-time-divider {\n display: none;\n}\n\n.video-js .vjs-play-control {\n cursor: pointer;\n}\n\n.video-js .vjs-play-control .vjs-icon-placeholder {\n flex: none;\n}\n\n.vjs-text-track-display {\n position: absolute;\n bottom: 3em;\n left: 0;\n right: 0;\n top: 0;\n pointer-events: none;\n}\n\n.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display {\n bottom: 1em;\n}\n\n.video-js .vjs-text-track {\n font-size: 1.4em;\n text-align: center;\n margin-bottom: 0.1em;\n}\n\n.vjs-subtitles {\n color: #fff;\n}\n\n.vjs-captions {\n color: #fc6;\n}\n\n.vjs-tt-cue {\n display: block;\n}\n\nvideo::-webkit-media-text-track-display {\n transform: translateY(-3em);\n}\n\n.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display {\n transform: translateY(-1.5em);\n}\n\n.video-js .vjs-picture-in-picture-control {\n cursor: pointer;\n flex: none;\n}\n.video-js .vjs-fullscreen-control {\n cursor: pointer;\n flex: none;\n}\n.vjs-playback-rate > .vjs-menu-button,\n.vjs-playback-rate .vjs-playback-rate-value {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.vjs-playback-rate .vjs-playback-rate-value {\n pointer-events: none;\n font-size: 1.5em;\n line-height: 2;\n text-align: center;\n}\n\n.vjs-playback-rate .vjs-menu {\n width: 4em;\n left: 0em;\n}\n\n.vjs-error .vjs-error-display .vjs-modal-dialog-content {\n font-size: 1.4em;\n text-align: center;\n}\n\n.vjs-error .vjs-error-display:before {\n color: #fff;\n content: "X";\n font-family: Arial, Helvetica, sans-serif;\n font-size: 4em;\n left: 0;\n line-height: 1;\n margin-top: -0.5em;\n position: absolute;\n text-shadow: 0.05em 0.05em 0.1em #000;\n text-align: center;\n top: 50%;\n vertical-align: middle;\n width: 100%;\n}\n\n.vjs-loading-spinner {\n display: none;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n opacity: 0.85;\n text-align: left;\n border: 6px solid rgba(43, 51, 63, 0.7);\n box-sizing: border-box;\n background-clip: padding-box;\n width: 50px;\n height: 50px;\n border-radius: 25px;\n visibility: hidden;\n}\n\n.vjs-seeking .vjs-loading-spinner,\n.vjs-waiting .vjs-loading-spinner {\n display: block;\n -webkit-animation: vjs-spinner-show 0s linear 0.3s forwards;\n animation: vjs-spinner-show 0s linear 0.3s forwards;\n}\n\n.vjs-loading-spinner:before,\n.vjs-loading-spinner:after {\n content: "";\n position: absolute;\n margin: -6px;\n box-sizing: inherit;\n width: inherit;\n height: inherit;\n border-radius: inherit;\n opacity: 1;\n border: inherit;\n border-color: transparent;\n border-top-color: white;\n}\n\n.vjs-seeking .vjs-loading-spinner:before,\n.vjs-seeking .vjs-loading-spinner:after,\n.vjs-waiting .vjs-loading-spinner:before,\n.vjs-waiting .vjs-loading-spinner:after {\n -webkit-animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, vjs-spinner-fade 1.1s linear infinite;\n animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, vjs-spinner-fade 1.1s linear infinite;\n}\n\n.vjs-seeking .vjs-loading-spinner:before,\n.vjs-waiting .vjs-loading-spinner:before {\n border-top-color: white;\n}\n\n.vjs-seeking .vjs-loading-spinner:after,\n.vjs-waiting .vjs-loading-spinner:after {\n border-top-color: white;\n -webkit-animation-delay: 0.44s;\n animation-delay: 0.44s;\n}\n\n@keyframes vjs-spinner-show {\n to {\n visibility: visible;\n }\n}\n@-webkit-keyframes vjs-spinner-show {\n to {\n visibility: visible;\n }\n}\n@keyframes vjs-spinner-spin {\n 100% {\n transform: rotate(360deg);\n }\n}\n@-webkit-keyframes vjs-spinner-spin {\n 100% {\n -webkit-transform: rotate(360deg);\n }\n}\n@keyframes vjs-spinner-fade {\n 0% {\n border-top-color: #73859f;\n }\n 20% {\n border-top-color: #73859f;\n }\n 35% {\n border-top-color: white;\n }\n 60% {\n border-top-color: #73859f;\n }\n 100% {\n border-top-color: #73859f;\n }\n}\n@-webkit-keyframes vjs-spinner-fade {\n 0% {\n border-top-color: #73859f;\n }\n 20% {\n border-top-color: #73859f;\n }\n 35% {\n border-top-color: white;\n }\n 60% {\n border-top-color: #73859f;\n }\n 100% {\n border-top-color: #73859f;\n }\n}\n.vjs-chapters-button .vjs-menu ul {\n width: 24em;\n}\n\n.video-js .vjs-subs-caps-button + .vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder {\n vertical-align: middle;\n display: inline-block;\n margin-bottom: -0.1em;\n}\n\n.video-js .vjs-subs-caps-button + .vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before {\n font-family: VideoJS;\n content: "";\n font-size: 1.5em;\n line-height: inherit;\n}\n\n.video-js .vjs-audio-button + .vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder {\n vertical-align: middle;\n display: inline-block;\n margin-bottom: -0.1em;\n}\n\n.video-js .vjs-audio-button + .vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before {\n font-family: VideoJS;\n content: " ";\n font-size: 1.5em;\n line-height: inherit;\n}\n\n.video-js.vjs-layout-small .vjs-current-time,\n.video-js.vjs-layout-small .vjs-time-divider,\n.video-js.vjs-layout-small .vjs-duration,\n.video-js.vjs-layout-small .vjs-remaining-time,\n.video-js.vjs-layout-small .vjs-playback-rate,\n.video-js.vjs-layout-small .vjs-volume-control, .video-js.vjs-layout-x-small .vjs-current-time,\n.video-js.vjs-layout-x-small .vjs-time-divider,\n.video-js.vjs-layout-x-small .vjs-duration,\n.video-js.vjs-layout-x-small .vjs-remaining-time,\n.video-js.vjs-layout-x-small .vjs-playback-rate,\n.video-js.vjs-layout-x-small .vjs-volume-control, .video-js.vjs-layout-tiny .vjs-current-time,\n.video-js.vjs-layout-tiny .vjs-time-divider,\n.video-js.vjs-layout-tiny .vjs-duration,\n.video-js.vjs-layout-tiny .vjs-remaining-time,\n.video-js.vjs-layout-tiny .vjs-playback-rate,\n.video-js.vjs-layout-tiny .vjs-volume-control {\n display: none;\n}\n.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover, .video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:active, .video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active, .video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover, .video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover, .video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:active, .video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active, .video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover, .video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:hover, .video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:active, .video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active, .video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover {\n width: auto;\n width: initial;\n}\n.video-js.vjs-layout-x-small .vjs-progress-control, .video-js.vjs-layout-tiny .vjs-progress-control {\n display: none;\n}\n.video-js.vjs-layout-x-small .vjs-custom-control-spacer {\n flex: auto;\n display: block;\n}\n.video-js.vjs-layout-x-small.vjs-no-flex .vjs-custom-control-spacer {\n width: auto;\n}\n\n.vjs-modal-dialog.vjs-text-track-settings {\n background-color: #2B333F;\n background-color: rgba(43, 51, 63, 0.75);\n color: #fff;\n height: 70%;\n}\n\n.vjs-text-track-settings .vjs-modal-dialog-content {\n display: table;\n}\n\n.vjs-text-track-settings .vjs-track-settings-colors,\n.vjs-text-track-settings .vjs-track-settings-font,\n.vjs-text-track-settings .vjs-track-settings-controls {\n display: table-cell;\n}\n\n.vjs-text-track-settings .vjs-track-settings-controls {\n text-align: right;\n vertical-align: bottom;\n}\n\n@supports (display: grid) {\n .vjs-text-track-settings .vjs-modal-dialog-content {\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-template-rows: 1fr;\n padding: 20px 24px 0px 24px;\n }\n\n .vjs-track-settings-controls .vjs-default-button {\n margin-bottom: 20px;\n }\n\n .vjs-text-track-settings .vjs-track-settings-controls {\n grid-column: 1/-1;\n }\n\n .vjs-layout-small .vjs-text-track-settings .vjs-modal-dialog-content,\n.vjs-layout-x-small .vjs-text-track-settings .vjs-modal-dialog-content,\n.vjs-layout-tiny .vjs-text-track-settings .vjs-modal-dialog-content {\n grid-template-columns: 1fr;\n }\n}\n.vjs-track-setting > select {\n margin-right: 1em;\n margin-bottom: 0.5em;\n}\n\n.vjs-text-track-settings fieldset {\n margin: 5px;\n padding: 3px;\n border: none;\n}\n\n.vjs-text-track-settings fieldset span {\n display: inline-block;\n}\n\n.vjs-text-track-settings fieldset span > select {\n max-width: 7.3em;\n}\n\n.vjs-text-track-settings legend {\n color: #fff;\n margin: 0 0 5px 0;\n}\n\n.vjs-text-track-settings .vjs-label {\n position: absolute;\n clip: rect(1px 1px 1px 1px);\n clip: rect(1px, 1px, 1px, 1px);\n display: block;\n margin: 0 0 5px 0;\n padding: 0;\n border: 0;\n height: 1px;\n width: 1px;\n overflow: hidden;\n}\n\n.vjs-track-settings-controls button:focus,\n.vjs-track-settings-controls button:active {\n outline-style: solid;\n outline-width: medium;\n background-image: linear-gradient(0deg, #fff 88%, #73859f 100%);\n}\n\n.vjs-track-settings-controls button:hover {\n color: rgba(43, 51, 63, 0.75);\n}\n\n.vjs-track-settings-controls button {\n background-color: #fff;\n background-image: linear-gradient(-180deg, #fff 88%, #73859f 100%);\n color: #2B333F;\n cursor: pointer;\n border-radius: 2px;\n}\n\n.vjs-track-settings-controls .vjs-default-button {\n margin-right: 1em;\n}\n\n@media print {\n .video-js > *:not(.vjs-tech):not(.vjs-poster) {\n visibility: hidden;\n }\n}\n.vjs-resize-manager {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: none;\n z-index: -1000;\n}\n\n.js-focus-visible .video-js *:focus:not(.focus-visible) {\n outline: none;\n}\n\n.video-js *:focus:not(:focus-visible) {\n outline: none;\n}\n',""]),module.exports=exports},"./node_modules/@storybook/addon-postcss/node_modules/css-loader/dist/runtime/api.js":module=>{"use strict";module.exports=function(useSourceMap){var list=[];return list.toString=function toString(){return this.map((function(item){var content=function cssWithMappingToString(item,useSourceMap){var content=item[1]||"",cssMapping=item[3];if(!cssMapping)return content;if(useSourceMap&&"function"==typeof btoa){var sourceMapping=function toComment(sourceMap){var base64=btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);return"/*# ".concat(data," */")}(cssMapping),sourceURLs=cssMapping.sources.map((function(source){return"/*# sourceURL=".concat(cssMapping.sourceRoot||"").concat(source," */")}));return[content].concat(sourceURLs).concat([sourceMapping]).join("\n")}return[content].join("\n")}(item,useSourceMap);return item[2]?"@media ".concat(item[2]," {").concat(content,"}"):content})).join("")},list.i=function(modules,mediaQuery,dedupe){"string"==typeof modules&&(modules=[[null,modules,""]]);var alreadyImportedModules={};if(dedupe)for(var i=0;i<this.length;i++){var id=this[i][0];null!=id&&(alreadyImportedModules[id]=!0)}for(var _i=0;_i<modules.length;_i++){var item=[].concat(modules[_i]);dedupe&&alreadyImportedModules[item[0]]||(mediaQuery&&(item[2]?item[2]="".concat(mediaQuery," and ").concat(item[2]):item[2]=mediaQuery),list.push(item))}},list}},"./node_modules/video.js/dist/video-js.css":(module,__unused_webpack_exports,__webpack_require__)=>{var api=__webpack_require__("./node_modules/@storybook/addon-postcss/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),content=__webpack_require__("./node_modules/@storybook/addon-postcss/node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/video.js/dist/video-js.css");"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.id,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},"./node_modules/@storybook/addon-postcss/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isOldIE=function isOldIE(){var memo;return function memorize(){return void 0===memo&&(memo=Boolean(window&&document&&document.all&&!window.atob)),memo}}(),getTarget=function getTarget(){var memo={};return function memorize(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}}(),stylesInDom=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i<stylesInDom.length;i++)if(stylesInDom[i].identifier===identifier){result=i;break}return result}function modulesToDom(list,options){for(var idCountMap={},identifiers=[],i=0;i<list.length;i++){var item=list[i],id=options.base?item[0]+options.base:item[0],count=idCountMap[id]||0,identifier="".concat(id," ").concat(count);idCountMap[id]=count+1;var index=getIndexByIdentifier(identifier),obj={css:item[1],media:item[2],sourceMap:item[3]};-1!==index?(stylesInDom[index].references++,stylesInDom[index].updater(obj)):stylesInDom.push({identifier,updater:addStyle(obj,options),references:1}),identifiers.push(identifier)}return identifiers}function insertStyleElement(options){var style=document.createElement("style"),attributes=options.attributes||{};if(void 0===attributes.nonce){var nonce=__webpack_require__.nc;nonce&&(attributes.nonce=nonce)}if(Object.keys(attributes).forEach((function(key){style.setAttribute(key,attributes[key])})),"function"==typeof options.insert)options.insert(style);else{var target=getTarget(options.insert||"head");if(!target)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");target.appendChild(style)}return style}var replaceText=function replaceText(){var textStore=[];return function replace(index,replacement){return textStore[index]=replacement,textStore.filter(Boolean).join("\n")}}();function applyToSingletonTag(style,index,remove,obj){var css=remove?"":obj.media?"@media ".concat(obj.media," {").concat(obj.css,"}"):obj.css;if(style.styleSheet)style.styleSheet.cssText=replaceText(index,css);else{var cssNode=document.createTextNode(css),childNodes=style.childNodes;childNodes[index]&&style.removeChild(childNodes[index]),childNodes.length?style.insertBefore(cssNode,childNodes[index]):style.appendChild(cssNode)}}function applyToTag(style,options,obj){var css=obj.css,media=obj.media,sourceMap=obj.sourceMap;if(media?style.setAttribute("media",media):style.removeAttribute("media"),sourceMap&&"undefined"!=typeof btoa&&(css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")),style.styleSheet)style.styleSheet.cssText=css;else{for(;style.firstChild;)style.removeChild(style.firstChild);style.appendChild(document.createTextNode(css))}}var singleton=null,singletonCounter=0;function addStyle(obj,options){var style,update,remove;if(options.singleton){var styleIndex=singletonCounter++;style=singleton||(singleton=insertStyleElement(options)),update=applyToSingletonTag.bind(null,style,styleIndex,!1),remove=applyToSingletonTag.bind(null,style,styleIndex,!0)}else style=insertStyleElement(options),update=applyToTag.bind(null,style,options),remove=function remove(){!function removeStyleElement(style){if(null===style.parentNode)return!1;style.parentNode.removeChild(style)}(style)};return update(obj),function updateStyle(newObj){if(newObj){if(newObj.css===obj.css&&newObj.media===obj.media&&newObj.sourceMap===obj.sourceMap)return;update(obj=newObj)}else remove()}}module.exports=function(list,options){(options=options||{}).singleton||"boolean"==typeof options.singleton||(options.singleton=isOldIE());var lastIdentifiers=modulesToDom(list=list||[],options);return function update(newList){if(newList=newList||[],"[object Array]"===Object.prototype.toString.call(newList)){for(var i=0;i<lastIdentifiers.length;i++){var index=getIndexByIdentifier(lastIdentifiers[i]);stylesInDom[index].references--}for(var newLastIdentifiers=modulesToDom(newList,options),_i=0;_i<lastIdentifiers.length;_i++){var _index=getIndexByIdentifier(lastIdentifiers[_i]);0===stylesInDom[_index].references&&(stylesInDom[_index].updater(),stylesInDom.splice(_index,1))}lastIdentifiers=newLastIdentifiers}}}},"./node_modules/@storybook/addons/dist/esm/hooks.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{DM:()=>applyHooks,Ye:()=>useMemo,c8:()=>HooksContext,d4:()=>useEffect});__webpack_require__("./node_modules/core-js/modules/es.weak-map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js");var global__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("./node_modules/global/window.js"),global__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_19__),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),_storybook_core_events__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("./node_modules/@storybook/core-events/dist/esm/index.js"),_index__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js");function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var globalWindow=global__WEBPACK_IMPORTED_MODULE_19___default().window,HooksContext=function(){function HooksContext(){var _this=this;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,HooksContext),this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=function(storyId){storyId===_this.currentContext.id&&(_this.triggerEffects(),_this.currentContext=null,_this.removeRenderListeners())},this.init()}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(HooksContext,[{key:"init",value:function init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=this.mountedDecorators,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}},{key:"clean",value:function clean(){this.prevEffects.forEach((function(effect){effect.destroy&&effect.destroy()})),this.init(),this.removeRenderListeners()}},{key:"getNextHook",value:function getNextHook(){var hook=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,hook}},{key:"triggerEffects",value:function triggerEffects(){var _this2=this;this.prevEffects.forEach((function(effect){!_this2.currentEffects.includes(effect)&&effect.destroy&&effect.destroy()})),this.currentEffects.forEach((function(effect){_this2.prevEffects.includes(effect)||(effect.destroy=effect.create())})),this.prevEffects=this.currentEffects,this.currentEffects=[]}},{key:"addRenderListeners",value:function addRenderListeners(){this.removeRenderListeners(),_index__WEBPACK_IMPORTED_MODULE_20__.KP.getChannel().on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_21__.STORY_RENDERED,this.renderListener)}},{key:"removeRenderListeners",value:function removeRenderListeners(){_index__WEBPACK_IMPORTED_MODULE_20__.KP.getChannel().removeListener(_storybook_core_events__WEBPACK_IMPORTED_MODULE_21__.STORY_RENDERED,this.renderListener)}}]),HooksContext}();function hookify(fn){return function(){var _ref="function"==typeof(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=0?void 0:arguments[0],hooks=_ref.hooks,prevPhase=hooks.currentPhase,prevHooks=hooks.currentHooks,prevNextHookIndex=hooks.nextHookIndex,prevDecoratorName=hooks.currentDecoratorName;hooks.currentDecoratorName=fn.name,hooks.prevMountedDecorators.has(fn)?(hooks.currentPhase="UPDATE",hooks.currentHooks=hooks.hookListsMap.get(fn)||[]):(hooks.currentPhase="MOUNT",hooks.currentHooks=[],hooks.hookListsMap.set(fn,hooks.currentHooks),hooks.prevMountedDecorators.add(fn)),hooks.nextHookIndex=0;var prevContext=globalWindow.STORYBOOK_HOOKS_CONTEXT;globalWindow.STORYBOOK_HOOKS_CONTEXT=hooks;var result=fn.apply(void 0,arguments);if(globalWindow.STORYBOOK_HOOKS_CONTEXT=prevContext,"UPDATE"===hooks.currentPhase&&null!=hooks.getNextHook())throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return hooks.currentPhase=prevPhase,hooks.currentHooks=prevHooks,hooks.nextHookIndex=prevNextHookIndex,hooks.currentDecoratorName=prevDecoratorName,result}}var numberOfRenders=0,applyHooks=function applyHooks(applyDecorators){return function(storyFn,decorators){var decorated=applyDecorators(hookify(storyFn),decorators.map((function(decorator){return hookify(decorator)})));return function(context){var hooks=context.hooks;hooks.prevMountedDecorators=hooks.mountedDecorators,hooks.mountedDecorators=new Set([storyFn].concat(_toConsumableArray(decorators))),hooks.currentContext=context,hooks.hasUpdates=!1;var result=decorated(context);for(numberOfRenders=1;hooks.hasUpdates;)if(hooks.hasUpdates=!1,hooks.currentEffects=[],result=decorated(context),(numberOfRenders+=1)>25)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return hooks.addRenderListeners(),result}}},invalidHooksError=function invalidHooksError(){return new Error("Storybook preview hooks can only be called inside decorators and story functions.")};function getHooksContextOrNull(){return globalWindow.STORYBOOK_HOOKS_CONTEXT||null}function getHooksContextOrThrow(){var hooks=getHooksContextOrNull();if(null==hooks)throw invalidHooksError();return hooks}function useMemoLike(name,nextCreate,deps){var _useHook=function useHook(name,callback,deps){var hooks=getHooksContextOrThrow();if("MOUNT"===hooks.currentPhase){null==deps||Array.isArray(deps)||_storybook_client_logger__WEBPACK_IMPORTED_MODULE_22__.kg.warn("".concat(name," received a final argument that is not an array (instead, received ").concat(deps,"). When specified, the final argument must be an array."));var _hook={name,deps};return hooks.currentHooks.push(_hook),callback(_hook),_hook}if("UPDATE"===hooks.currentPhase){var _hook2=hooks.getNextHook();if(null==_hook2)throw new Error("Rendered more hooks than during the previous render.");return _hook2.name!==name&&_storybook_client_logger__WEBPACK_IMPORTED_MODULE_22__.kg.warn("Storybook has detected a change in the order of Hooks".concat(hooks.currentDecoratorName?" called by ".concat(hooks.currentDecoratorName):"",". This will lead to bugs and errors if not fixed.")),null!=deps&&null==_hook2.deps&&_storybook_client_logger__WEBPACK_IMPORTED_MODULE_22__.kg.warn("".concat(name," received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.")),null!=deps&&null!=_hook2.deps&&deps.length!==_hook2.deps.length&&_storybook_client_logger__WEBPACK_IMPORTED_MODULE_22__.kg.warn("The final argument passed to ".concat(name," changed size between renders. The order and size of this array must remain constant.\nPrevious: ").concat(_hook2.deps,"\nIncoming: ").concat(deps)),null!=deps&&null!=_hook2.deps&&function areDepsEqual(deps,nextDeps){return deps.length===nextDeps.length&&deps.every((function(dep,i){return dep===nextDeps[i]}))}(deps,_hook2.deps)||(callback(_hook2),_hook2.deps=deps),_hook2}throw invalidHooksError()}(name,(function(hook){hook.memoizedState=nextCreate()}),deps);return _useHook.memoizedState}function useMemo(nextCreate,deps){return useMemoLike("useMemo",nextCreate,deps)}function useEffect(create,deps){var hooks=getHooksContextOrThrow(),effect=useMemoLike("useEffect",(function(){return{create}}),deps);hooks.currentEffects.includes(effect)||hooks.currentEffects.push(effect)}},"./node_modules/@storybook/addons/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{KP:()=>addons});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js");var types,global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js");__webpack_require__("./node_modules/core-js/modules/es.array.find.js");!function(types){types.TAB="tab",types.PANEL="panel",types.TOOL="tool",types.TOOLEXTRA="toolextra",types.PREVIEW="preview",types.NOTES_ELEMENT="notes-element"}(types||(types={}));var AddonStore=function AddonStore(){var _this=this;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,AddonStore),this.loaders={},this.elements={},this.config={},this.channel=void 0,this.serverChannel=void 0,this.promise=void 0,this.resolve=void 0,this.getChannel=function(){if(!_this.channel)throw new Error("Accessing non-existent addons channel, see https://storybook.js.org/basics/faq/#why-is-there-no-addons-channel");return _this.channel},this.getServerChannel=function(){if(!_this.serverChannel)throw new Error("Accessing non-existent serverChannel");return _this.serverChannel},this.ready=function(){return _this.promise},this.hasChannel=function(){return!!_this.channel},this.hasServerChannel=function(){return!!_this.serverChannel},this.setChannel=function(channel){_this.channel=channel,_this.resolve()},this.setServerChannel=function(channel){_this.serverChannel=channel},this.getElements=function(type){return _this.elements[type]||(_this.elements[type]={}),_this.elements[type]},this.addPanel=function(name,options){_this.add(name,Object.assign({type:types.PANEL},options))},this.add=function(name,addon){var type=addon.type;_this.getElements(type)[name]=Object.assign({id:name},addon)},this.setConfig=function(value){Object.assign(_this.config,value)},this.getConfig=function(){return _this.config},this.register=function(name,registerCallback){_this.loaders[name]&&esm.kg.warn("".concat(name," was loaded twice, this could have bad side-effects")),_this.loaders[name]=registerCallback},this.loadAddons=function(api){Object.values(_this.loaders).forEach((function(value){return value(api)}))},this.promise=new Promise((function(res){_this.resolve=function(){return res(_this.getChannel())}}))},KEY="__STORYBOOK_ADDONS";var addons=function getAddonsStore(){return window_default()[KEY]||(window_default()[KEY]=new AddonStore),window_default()[KEY]}()},"./node_modules/@storybook/addons/dist/esm/make-decorator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>makeDecorator});__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js");var makeDecorator=function makeDecorator(_ref){var name=_ref.name,parameterName=_ref.parameterName,wrapper=_ref.wrapper,_ref$skipIfNoParamete=_ref.skipIfNoParametersOrOptions,skipIfNoParametersOrOptions=void 0!==_ref$skipIfNoParamete&&_ref$skipIfNoParamete,decorator=function decorator(options){return function(storyFn,context){var parameters=context.parameters&&context.parameters[parameterName];return parameters&¶meters.disable?storyFn(context):!skipIfNoParametersOrOptions||options||parameters?wrapper(storyFn,context,{options,parameters}):storyFn(context)}};return function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return"function"==typeof args[0]?decorator().apply(void 0,args):function(){if(arguments.length>1)return args.length>1?decorator(args).apply(void 0,arguments):decorator.apply(void 0,args).apply(void 0,arguments);throw new Error("Passing stories directly into ".concat(name,"() is not allowed,\n instead use addDecorator(").concat(name,") and pass options with the '").concat(parameterName,"' parameter"))}}}},"./node_modules/@storybook/client-api/dist/esm/ClientApi.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ti:()=>ClientApi,My:()=>addArgTypesEnhancer,_C:()=>addArgsEnhancer,$9:()=>addDecorator,HZ:()=>addLoader,h1:()=>addParameters,$P:()=>setGlobalRender});__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js");var browser=__webpack_require__("./node_modules/util-deprecate/browser.js"),browser_default=__webpack_require__.n(browser),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),dist_esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),esm_parameters=__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js"),normalizeInputTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/normalizeInputTypes.js"),synchronous_promise=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/synchronous-promise/index.js")),stable=__webpack_require__("./node_modules/stable/stable.js"),stable_default=__webpack_require__.n(stable),STORY_KIND_PATH_SEPARATOR=(__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),/\s*\/\s*/);var sortStoriesCommon=function sortStoriesCommon(stories,storySortParameter,fileNameOrder){var sortFn;storySortParameter?(sortFn="function"==typeof storySortParameter?storySortParameter:function storySort(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(a,b){if(a.title===b.title&&!options.includeNames)return 0;var method=options.method||"configure",order=options.order||[],storyTitleA=a.title.trim().split(STORY_KIND_PATH_SEPARATOR),storyTitleB=b.title.trim().split(STORY_KIND_PATH_SEPARATOR);options.includeNames&&(storyTitleA.push(a.name),storyTitleB.push(b.name));for(var depth=0;storyTitleA[depth]||storyTitleB[depth];){if(!storyTitleA[depth])return-1;if(!storyTitleB[depth])return 1;var nameA=storyTitleA[depth],nameB=storyTitleB[depth];if(nameA!==nameB){var indexA=order.indexOf(nameA),indexB=order.indexOf(nameB),indexWildcard=order.indexOf("*");return-1!==indexA||-1!==indexB?(-1===indexA&&(indexA=-1!==indexWildcard?indexWildcard:order.length),-1===indexB&&(indexB=-1!==indexWildcard?indexWildcard:order.length),indexA-indexB):"configure"===method?0:nameA.localeCompare(nameB,options.locales?options.locales:void 0,{numeric:!0,sensitivity:"accent"})}var index=order.indexOf(nameA);order=-1!==index&&Array.isArray(order[index+1])?order[index+1]:[],depth+=1}return 0}}(storySortParameter),stable_default().inplace(stories,sortFn)):stable_default().inplace(stories,(function(s1,s2){return fileNameOrder.indexOf(s1.importPath)-fileNameOrder.indexOf(s2.importPath)}));return stories},toIndexEntry=function toIndexEntry(story){return{id:story.id,title:story.title,name:story.name,importPath:story.parameters.fileName}},startCase=(__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/lodash/startCase.js")),startCase_default=__webpack_require__.n(startCase),slash=__webpack_require__("./node_modules/slash/index.js"),slash_default=__webpack_require__.n(slash);function _toArray(arr){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var StoryStoreFacade_templateObject,autoTitleFromSpecifier=function autoTitleFromSpecifier(fileName,entry){var _ref=entry||{},directory=_ref.directory,importPathMatcher=_ref.importPathMatcher,_ref$titlePrefix=_ref.titlePrefix,titlePrefix=void 0===_ref$titlePrefix?"":_ref$titlePrefix,normalizedFileName=slash_default()(fileName);if(importPathMatcher.exec(normalizedFileName)){var suffix=normalizedFileName.replace(directory,"");return function startCaseTitle(title){return title.split("/").map(startCase_default()).join("/")}(function stripExtension(titleWithExtension){var parts=titleWithExtension.split("/"),last=parts[parts.length-1],dotIndex=last.indexOf("."),stripped=dotIndex>0?last.substr(0,dotIndex):last;parts[parts.length-1]=stripped;var _parts2=_toArray(parts),first=_parts2[0],rest=_parts2.slice(1);return""===first&&(parts=rest),parts.join("/")}(slash_default()(function pathJoin(paths){var slashes=new RegExp("/{1,}","g");return paths.join("/").replace(slashes,"/")}([titlePrefix,suffix]))))}};function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _slicedToArray(arr,i){return function StoryStoreFacade_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function StoryStoreFacade_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return StoryStoreFacade_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return StoryStoreFacade_arrayLikeToArray(o,minLen)}(arr,i)||function StoryStoreFacade_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function StoryStoreFacade_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var ClientApi_templateObject,_templateObject2,_templateObject3,_templateObject4,singleton,StoryStoreFacade=function(){function StoryStoreFacade(){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,StoryStoreFacade),this.projectAnnotations=void 0,this.stories=void 0,this.csfExports=void 0,this.projectAnnotations={loaders:[],decorators:[],parameters:{},argsEnhancers:[],argTypesEnhancers:[]},this.stories={},this.csfExports={}}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(StoryStoreFacade,[{key:"importFn",value:function importFn(path){var _this=this;return synchronous_promise.SynchronousPromise.resolve().then((function(){var moduleExports=_this.csfExports[path];if(!moduleExports)throw new Error("Unknown path: ".concat(path));return moduleExports}))}},{key:"getStoryIndex",value:function getStoryIndex(store){var _this$projectAnnotati,_this$projectAnnotati2,sortedV7,_this2=this,fileNameOrder=Object.keys(this.csfExports),storySortParameter=null===(_this$projectAnnotati=this.projectAnnotations.parameters)||void 0===_this$projectAnnotati||null===(_this$projectAnnotati2=_this$projectAnnotati.options)||void 0===_this$projectAnnotati2?void 0:_this$projectAnnotati2.storySort,sortableV6=Object.entries(this.stories).map((function(_ref){var _ref2=_slicedToArray(_ref,2),storyId=_ref2[0],importPath=_ref2[1].importPath,exports=_this2.csfExports[importPath],csfFile=store.processCSFFileWithCache(exports,importPath,exports.default.title);return[storyId,store.storyFromCSFFile({storyId,csfFile}),csfFile.meta.parameters,_this2.projectAnnotations.parameters]}));try{sortedV7=function sortStoriesV6(stories,storySortParameter,fileNameOrder){if(storySortParameter&&"function"==typeof storySortParameter)return stable_default().inplace(stories,storySortParameter),stories.map((function(s){return toIndexEntry(s[1])}));var storiesV7=stories.map((function(s){return toIndexEntry(s[1])}));return sortStoriesCommon(storiesV7,storySortParameter,fileNameOrder)}(sortableV6,storySortParameter,fileNameOrder)}catch(err){if("function"==typeof storySortParameter)throw new Error((0,esm.C)(StoryStoreFacade_templateObject||(StoryStoreFacade_templateObject=function StoryStoreFacade_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Error sorting stories with sort parameter ",":\n\n > ","\n \n Are you using a V7-style sort function in V6 compatibility mode?\n \n More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort\n "])),storySortParameter,err.message));throw err}return{v:3,stories:sortedV7.reduce((function(acc,s){return acc[s.id]=_this2.stories[s.id],acc}),{})}}},{key:"clearFilenameExports",value:function clearFilenameExports(fileName){var _this3=this;this.csfExports[fileName]&&(Object.entries(this.stories).forEach((function(_ref3){var _ref4=_slicedToArray(_ref3,2),id=_ref4[0];_ref4[1].importPath===fileName&&delete _this3.stories[id]})),this.csfExports[fileName]={})}},{key:"addStoriesFromExports",value:function addStoriesFromExports(fileName,fileExports){var _this4=this;if(this.csfExports[fileName]!==fileExports){this.clearFilenameExports(fileName);var defaultExport=fileExports.default,__namedExportsOrder=fileExports.__namedExportsOrder,namedExports=_objectWithoutProperties(fileExports,["default","__namedExportsOrder"]),_ref5=defaultExport||{},componentId=_ref5.id,title=_ref5.title;if(title=title||function autoTitle(fileName,storiesEntries){for(var i=0;i<storiesEntries.length;i+=1){var title=autoTitleFromSpecifier(fileName,storiesEntries[i]);if(title)return title}}(fileName,(window_default().STORIES||[]).map((function(specifier){return Object.assign({},specifier,{importPathMatcher:new RegExp(specifier.importPathMatcher)})}))),title){this.csfExports[fileName]=Object.assign({},fileExports,{default:Object.assign({},defaultExport,{title})});var sortedExports=namedExports;Array.isArray(__namedExportsOrder)&&(sortedExports={},__namedExportsOrder.forEach((function(name){var namedExport=namedExports[name];namedExport&&(sortedExports[name]=namedExport)}))),Object.entries(sortedExports).filter((function(_ref6){var key=_slicedToArray(_ref6,1)[0];return(0,dist.isExportStory)(key,defaultExport)})).forEach((function(_ref8){var _storyExport$paramete,_storyExport$story,_ref9=_slicedToArray(_ref8,2),key=_ref9[0],storyExport=_ref9[1],exportName=(0,dist.storyNameFromExport)(key),id=(null===(_storyExport$paramete=storyExport.parameters)||void 0===_storyExport$paramete?void 0:_storyExport$paramete.__id)||(0,dist.toId)(componentId||title,exportName),name="function"!=typeof storyExport&&storyExport.name||storyExport.storyName||(null===(_storyExport$story=storyExport.story)||void 0===_storyExport$story?void 0:_storyExport$story.name)||exportName;_this4.stories[id]={id,name,title,importPath:fileName}}))}else dist_esm.kg.info("Unexpected default export without title in '".concat(fileName,"': ").concat(JSON.stringify(fileExports.default)))}}}]),StoryStoreFacade}();function ClientApi_slicedToArray(arr,i){return function ClientApi_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function ClientApi_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function ClientApi_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return ClientApi_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ClientApi_arrayLikeToArray(o,minLen)}(arr,i)||function ClientApi_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ClientApi_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function ClientApi_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function ClientApi_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function ClientApi_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function ClientApi_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function ClientApi_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var warningAlternatives={addDecorator:"Instead, use `export const decorators = [];` in your `preview.js`.",addParameters:"Instead, use `export const parameters = {};` in your `preview.js`.",addLoaders:"Instead, use `export const loaders = [];` in your `preview.js`."},warningMessage=function warningMessage(method){return browser_default()((function(){}),(0,esm.C)(ClientApi_templateObject||(ClientApi_templateObject=ClientApi_taggedTemplateLiteral(["\n `","` is deprecated, and will be removed in Storybook 7.0.\n\n ","\n\n Read more at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-addparameters-and-adddecorator)."],["\n \\`","\\` is deprecated, and will be removed in Storybook 7.0.\n\n ","\n\n Read more at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-addparameters-and-adddecorator)."])),method,warningAlternatives[method]))},warnings={addDecorator:warningMessage("addDecorator"),addParameters:warningMessage("addParameters"),addLoaders:warningMessage("addLoaders")},checkMethod=function checkMethod(method,deprecationWarning){var _global$FEATURES;if(null!==(_global$FEATURES=window_default().FEATURES)&&void 0!==_global$FEATURES&&_global$FEATURES.storyStoreV7)throw new Error((0,esm.C)(_templateObject2||(_templateObject2=ClientApi_taggedTemplateLiteral(["You cannot use `","` with the new Story Store.\n \n ",""],["You cannot use \\`","\\` with the new Story Store.\n \n ",""])),method,warningAlternatives[method]));if(!singleton)throw new Error("Singleton client API not yet initialized, cannot call `".concat(method,"`."));deprecationWarning&&warnings[method]()},addDecorator=function addDecorator(decorator){var deprecationWarning=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];checkMethod("addDecorator",deprecationWarning),singleton.addDecorator(decorator)},addParameters=function addParameters(parameters){var deprecationWarning=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];checkMethod("addParameters",deprecationWarning),singleton.addParameters(parameters)},addLoader=function addLoader(loader){var deprecationWarning=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];checkMethod("addLoader",deprecationWarning),singleton.addLoader(loader)},addArgsEnhancer=function addArgsEnhancer(enhancer){checkMethod("addArgsEnhancer",!1),singleton.addArgsEnhancer(enhancer)},addArgTypesEnhancer=function addArgTypesEnhancer(enhancer){checkMethod("addArgTypesEnhancer",!1),singleton.addArgTypesEnhancer(enhancer)},setGlobalRender=function setGlobalRender(render){checkMethod("setGlobalRender",!1),singleton.facade.projectAnnotations.render=render},invalidStoryTypes=new Set(["string","number","boolean","symbol"]),ClientApi=function(){function ClientApi(){var _this=this,_ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},storyStore=_ref.storyStore;ClientApi_classCallCheck(this,ClientApi),this.facade=void 0,this.storyStore=void 0,this.addons=void 0,this.onImportFnChanged=void 0,this.lastFileName=0,this.setAddon=browser_default()((function(addon){_this.addons=Object.assign({},_this.addons,addon)}),(0,esm.C)(_templateObject3||(_templateObject3=ClientApi_taggedTemplateLiteral(["\n `setAddon` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-setaddon\n "],["\n \\`setAddon\\` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-setaddon\n "])))),this.addDecorator=function(decorator){_this.facade.projectAnnotations.decorators.push(decorator)},this.clearDecorators=browser_default()((function(){_this.facade.projectAnnotations.decorators=[]}),(0,esm.C)(_templateObject4||(_templateObject4=ClientApi_taggedTemplateLiteral(["\n `clearDecorators` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-cleardecorators\n "],["\n \\`clearDecorators\\` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-cleardecorators\n "])))),this.addParameters=function(_ref2){var globals=_ref2.globals,globalTypes=_ref2.globalTypes,parameters=ClientApi_objectWithoutProperties(_ref2,["globals","globalTypes"]);_this.facade.projectAnnotations.parameters=(0,esm_parameters.f)(_this.facade.projectAnnotations.parameters,parameters),globals&&(_this.facade.projectAnnotations.globals=Object.assign({},_this.facade.projectAnnotations.globals,globals)),globalTypes&&(_this.facade.projectAnnotations.globalTypes=Object.assign({},_this.facade.projectAnnotations.globalTypes,(0,normalizeInputTypes.x)(globalTypes)))},this.addLoader=function(loader){_this.facade.projectAnnotations.loaders.push(loader)},this.addArgsEnhancer=function(enhancer){_this.facade.projectAnnotations.argsEnhancers.push(enhancer)},this.addArgTypesEnhancer=function(enhancer){_this.facade.projectAnnotations.argTypesEnhancers.push(enhancer)},this.storiesOf=function(kind,m){if(!kind&&"string"!=typeof kind)throw new Error("Invalid or missing kind provided for stories, should be a string");if(m||dist_esm.kg.warn("Missing 'module' parameter for story with a kind of '".concat(kind,"'. It will break your HMR")),m){var proto=Object.getPrototypeOf(m);proto.exports&&proto.exports.default&&dist_esm.kg.error("Illegal mix of CSF default export and storiesOf calls in a single file: ".concat(proto.i))}for(var baseFilename=m&&m.id?"".concat(m.id):(_this.lastFileName++).toString(),fileName=baseFilename,i=1;_this.facade.csfExports[fileName]&&Object.keys(_this.facade.csfExports[fileName]).length>0;)i+=1,fileName="".concat(baseFilename,"-").concat(i);m&&m.hot&&m.hot.accept&&(m.hot.accept(),m.hot.dispose((function(){_this.facade.clearFilenameExports(fileName),setTimeout((function(){var _this$onImportFnChang;null===(_this$onImportFnChang=_this.onImportFnChanged)||void 0===_this$onImportFnChang||_this$onImportFnChang.call(_this,{importFn:_this.importFn.bind(_this)})}),0)})));var hasAdded=!1,api={kind:kind.toString(),add:function add(){return api},addDecorator:function addDecorator(){return api},addLoader:function addLoader(){return api},addParameters:function addParameters(){return api}};Object.keys(_this.addons).forEach((function(name){var addon=_this.addons[name];api[name]=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return addon.apply(api,args),api}}));var meta={id:(0,dist.sanitize)(kind),title:kind,decorators:[],loaders:[],parameters:{}};_this.facade.csfExports[fileName]={default:meta};var counter=0;return api.add=function(storyName,storyFn){var parameters=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(hasAdded=!0,"string"!=typeof storyName)throw new Error('Invalid or missing storyName provided for a "'.concat(kind,'" story.'));if(!storyFn||Array.isArray(storyFn)||invalidStoryTypes.has(_typeof(storyFn)))throw new Error('Cannot load story "'.concat(storyName,'" in "').concat(kind,'" due to invalid format. Storybook expected a function/object but received ').concat(_typeof(storyFn)," instead."));var decorators=parameters.decorators,loaders=parameters.loaders,component=parameters.component,args=parameters.args,argTypes=parameters.argTypes,storyParameters=ClientApi_objectWithoutProperties(parameters,["decorators","loaders","component","args","argTypes"]),storyId=parameters.__id||(0,dist.toId)(kind,storyName),csfExports=_this.facade.csfExports[fileName];return csfExports["story".concat(counter)]={name:storyName,parameters:Object.assign({fileName,__id:storyId},storyParameters),decorators,loaders,args,argTypes,component,render:storyFn},counter+=1,_this.facade.stories[storyId]={id:storyId,title:csfExports.default.title,name:storyName,importPath:fileName},api},api.addDecorator=function(decorator){if(hasAdded)throw new Error("You cannot add a decorator after the first story for a kind.\nRead more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#can-no-longer-add-decoratorsparameters-after-stories");return meta.decorators.push(decorator),api},api.addLoader=function(loader){if(hasAdded)throw new Error("You cannot add a loader after the first story for a kind.");return meta.loaders.push(loader),api},api.addParameters=function(_ref3){var component=_ref3.component,args=_ref3.args,argTypes=_ref3.argTypes,parameters=ClientApi_objectWithoutProperties(_ref3,["component","args","argTypes"]);if(hasAdded)throw new Error("You cannot add parameters after the first story for a kind.\nRead more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#can-no-longer-add-decoratorsparameters-after-stories");return meta.parameters=(0,esm_parameters.f)(meta.parameters,parameters),component&&(meta.component=component),args&&(meta.args=Object.assign({},meta.args,args)),argTypes&&(meta.argTypes=Object.assign({},meta.argTypes,argTypes)),api},api},this.getStorybook=function(){var stories=_this.storyStore.storyIndex.stories,kinds={};return Object.entries(stories).forEach((function(_ref4){var _ref5=ClientApi_slicedToArray(_ref4,2),storyId=_ref5[0],_ref5$=_ref5[1],title=_ref5$.title,name=_ref5$.name,importPath=_ref5$.importPath;kinds[title]||(kinds[title]={kind:title,fileName:importPath,stories:[]});var storyFn=_this.storyStore.fromId(storyId).storyFn;kinds[title].stories.push({name,render:storyFn})})),Object.values(kinds)},this.raw=function(){return _this.storyStore.raw()},this.facade=new StoryStoreFacade,this.addons={},this.storyStore=storyStore,singleton=this}return function ClientApi_createClass(Constructor,protoProps,staticProps){return protoProps&&ClientApi_defineProperties(Constructor.prototype,protoProps),staticProps&&ClientApi_defineProperties(Constructor,staticProps),Constructor}(ClientApi,[{key:"importFn",value:function importFn(path){return this.facade.importFn(path)}},{key:"getStoryIndex",value:function getStoryIndex(){if(!this.storyStore)throw new Error("Cannot get story index before setting storyStore");return this.facade.getStoryIndex(this.storyStore)}},{key:"_storyStore",get:function get(){return this.storyStore}}]),ClientApi}()},"./node_modules/@storybook/client-logger/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{IC:()=>pretty,IH:()=>once,kg:()=>logger});__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js");var global__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/global/window.js"),global__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_8__),LOGLEVEL=global__WEBPACK_IMPORTED_MODULE_8___default().LOGLEVEL,console=global__WEBPACK_IMPORTED_MODULE_8___default().console,levels={trace:1,debug:2,info:3,warn:4,error:5,silent:10},currentLogLevelNumber=levels[LOGLEVEL]||levels.info,logger={trace:function trace(message){for(var _len=arguments.length,rest=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)rest[_key-1]=arguments[_key];return currentLogLevelNumber<=levels.trace&&console.trace.apply(console,[message].concat(rest))},debug:function debug(message){for(var _len2=arguments.length,rest=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)rest[_key2-1]=arguments[_key2];return currentLogLevelNumber<=levels.debug&&console.debug.apply(console,[message].concat(rest))},info:function info(message){for(var _len3=arguments.length,rest=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)rest[_key3-1]=arguments[_key3];return currentLogLevelNumber<=levels.info&&console.info.apply(console,[message].concat(rest))},warn:function warn(message){for(var _len4=arguments.length,rest=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)rest[_key4-1]=arguments[_key4];return currentLogLevelNumber<=levels.warn&&console.warn.apply(console,[message].concat(rest))},error:function error(message){for(var _len5=arguments.length,rest=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)rest[_key5-1]=arguments[_key5];return currentLogLevelNumber<=levels.error&&console.error.apply(console,[message].concat(rest))},log:function log(message){for(var _len6=arguments.length,rest=new Array(_len6>1?_len6-1:0),_key6=1;_key6<_len6;_key6++)rest[_key6-1]=arguments[_key6];return currentLogLevelNumber<levels.silent&&console.log.apply(console,[message].concat(rest))}},logged=new Set,once=function once(type){return function(message){if(!logged.has(message)){logged.add(message);for(var _len7=arguments.length,rest=new Array(_len7>1?_len7-1:0),_key7=1;_key7<_len7;_key7++)rest[_key7-1]=arguments[_key7];return logger[type].apply(logger,[message].concat(rest))}}};once.clear=function(){return logged.clear()},once.trace=once("trace"),once.debug=once("debug"),once.info=once("info"),once.warn=once("warn"),once.error=once("error"),once.log=once("log");var pretty=function pretty(type){return function(){for(var argArray=[],_len8=arguments.length,args=new Array(_len8),_key8=0;_key8<_len8;_key8++)args[_key8]=arguments[_key8];if(args.length){var reResultArray,startTagRe=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,endTagRe=/<\/span>/gi;for(argArray.push(args[0].replace(startTagRe,"%c").replace(endTagRe,"%c"));reResultArray=startTagRe.exec(args[0]);)argArray.push(reResultArray[2]),argArray.push("");for(var j=1;j<args.length;j++)argArray.push(args[j])}logger[type].apply(logger,argArray)}};pretty.trace=pretty("trace"),pretty.debug=pretty("debug"),pretty.info=pretty("info"),pretty.warn=pretty("warn"),pretty.error=pretty("error")},"./node_modules/@storybook/components/dist/esm/ActionBar/ActionBar.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{o:()=>ActionBar});__webpack_require__("./node_modules/core-js/modules/es.string.bold.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js");function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Container=_storybook_theming__WEBPACK_IMPORTED_MODULE_5__.styled.div((function(_ref){return{position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:_ref.theme.background.content,zIndex:1}})),ActionButton=_storybook_theming__WEBPACK_IMPORTED_MODULE_5__.styled.button((function(_ref2){var theme=_ref2.theme;return{margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:theme.color.defaultText,background:theme.background.content,fontSize:12,lineHeight:"16px",fontFamily:theme.typography.fonts.base,fontWeight:theme.typography.weight.bold,borderTop:"1px solid ".concat(theme.appBorderColor),borderLeft:"1px solid ".concat(theme.appBorderColor),marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:"1px solid ".concat(theme.appBorderColor)},"& + *":{borderLeft:"1px solid ".concat(theme.appBorderColor),borderRadius:0},"&:focus":{boxShadow:"".concat(theme.color.secondary," 0 -3px 0 0 inset"),outline:"0 none"}}}),(function(_ref3){return _ref3.disabled&&{cursor:"not-allowed",opacity:.5}}));ActionButton.displayName="ActionButton";var ActionBar=function ActionBar(_ref4){var actionItems=_ref4.actionItems,props=_objectWithoutProperties(_ref4,["actionItems"]);return react__WEBPACK_IMPORTED_MODULE_4__.createElement(Container,props,actionItems.map((function(_ref5,index){var title=_ref5.title,className=_ref5.className,onClick=_ref5.onClick,disabled=_ref5.disabled;return react__WEBPACK_IMPORTED_MODULE_4__.createElement(ActionButton,{key:index,className,onClick,disabled},title)})))};ActionBar.displayName="ActionBar"},"./node_modules/@storybook/components/dist/esm/ScrollArea/ScrollArea.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{x:()=>ScrollArea});__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var GlobalScrollAreaStyles=react__WEBPACK_IMPORTED_MODULE_5__.lazy((function(){return __webpack_require__.e(459).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/components/dist/esm/ScrollArea/GlobalScrollAreaStyles.js"))})),OverlayScrollbars=react__WEBPACK_IMPORTED_MODULE_5__.lazy((function(){return __webpack_require__.e(331).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/components/dist/esm/ScrollArea/OverlayScrollbars.js"))})),Scroller=function Scroller(_ref){_ref.horizontal,_ref.vertical;var props=_objectWithoutProperties(_ref,["horizontal","vertical"]);return react__WEBPACK_IMPORTED_MODULE_5__.createElement(react__WEBPACK_IMPORTED_MODULE_5__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_5__.createElement("div",props)},react__WEBPACK_IMPORTED_MODULE_5__.createElement(GlobalScrollAreaStyles,null),react__WEBPACK_IMPORTED_MODULE_5__.createElement(OverlayScrollbars,_extends({options:{scrollbars:{autoHide:"leave"}}},props)))};Scroller.displayName="Scroller";var ScrollArea=(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_6__.styled)(Scroller)((function(_ref2){return _ref2.vertical?{overflowY:"auto",height:"100%"}:{overflowY:"hidden"}}),(function(_ref3){return _ref3.horizontal?{overflowX:"auto",width:"100%"}:{overflowX:"hidden"}}));ScrollArea.defaultProps={horizontal:!1,vertical:!1}},"./node_modules/@storybook/components/dist/esm/bar/bar.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{j:()=>FlexBar});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/react/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),_ScrollArea_ScrollArea__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/@storybook/components/dist/esm/ScrollArea/ScrollArea.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Side=_storybook_theming__WEBPACK_IMPORTED_MODULE_12__.styled.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",flexShrink:0,marginLeft:3,marginRight:3},(function(_ref){return _ref.left?{"& > *":{marginLeft:4}}:{}}),(function(_ref2){return _ref2.right?{marginLeft:30,"& > *":{marginRight:4}}:{}}));Side.displayName="Side";var Bar=(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_12__.styled)((function(_ref3){var children=_ref3.children,className=_ref3.className;return react__WEBPACK_IMPORTED_MODULE_11__.createElement(_ScrollArea_ScrollArea__WEBPACK_IMPORTED_MODULE_13__.x,{horizontal:!0,vertical:!1,className},children)}))((function(_ref4){return{color:_ref4.theme.barTextColor,width:"100%",height:40,flexShrink:0,overflow:"auto",overflowY:"hidden"}}),(function(_ref5){var theme=_ref5.theme;return _ref5.border?{boxShadow:"".concat(theme.appBorderColor," 0 -1px 0 0 inset"),background:theme.barBg}:{}}));Bar.displayName="Bar";var BarInner=_storybook_theming__WEBPACK_IMPORTED_MODULE_12__.styled.div((function(_ref6){return{display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:_ref6.bgColor||""}})),FlexBar=function FlexBar(_ref7){var children=_ref7.children,backgroundColor=_ref7.backgroundColor,rest=_objectWithoutProperties(_ref7,["children","backgroundColor"]),_Children$toArray2=_slicedToArray(react__WEBPACK_IMPORTED_MODULE_11__.Children.toArray(children),2),left=_Children$toArray2[0],right=_Children$toArray2[1];return react__WEBPACK_IMPORTED_MODULE_11__.createElement(Bar,rest,react__WEBPACK_IMPORTED_MODULE_11__.createElement(BarInner,{bgColor:backgroundColor},react__WEBPACK_IMPORTED_MODULE_11__.createElement(Side,{left:!0},left),right?react__WEBPACK_IMPORTED_MODULE_11__.createElement(Side,{right:!0},right):null))};FlexBar.displayName="FlexBar",FlexBar.displayName="FlexBar"},"./node_modules/@storybook/components/dist/esm/bar/button.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Y6:()=>TabButton,Z$:()=>IconButtonSkeleton,hU:()=>IconButton});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js"),polished__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),_popperjs_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@popperjs/core/lib/enums.js");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var ButtonOrLink=function ButtonOrLink(_ref){var children=_ref.children,restProps=_objectWithoutProperties(_ref,["children"]);return null!=restProps.href?react__WEBPACK_IMPORTED_MODULE_3__.createElement("a",restProps,children):react__WEBPACK_IMPORTED_MODULE_3__.createElement("button",_extends({type:"button"},restProps),children)},TabButton=(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.styled)(ButtonOrLink,{shouldForwardProp:_storybook_theming__WEBPACK_IMPORTED_MODULE_5__.Z})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},(function(_ref2){return{padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:_ref2.theme.color.secondary}}}),(function(_ref3){var active=_ref3.active,textColor=_ref3.textColor,theme=_ref3.theme;return active?{color:textColor||theme.barSelectedColor,borderBottomColor:theme.barSelectedColor}:{color:textColor||theme.barTextColor,borderBottomColor:"transparent"}}));TabButton.displayName="TabButton";var IconButton=(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.styled)(ButtonOrLink,{shouldForwardProp:_storybook_theming__WEBPACK_IMPORTED_MODULE_5__.Z})((function(){return{alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}}),(function(_ref4){var active=_ref4.active,theme=_ref4.theme;return active?{backgroundColor:theme.background.hoverable,color:theme.color.secondary}:{}}),(function(_ref5){var disabled=_ref5.disabled,theme=_ref5.theme;return disabled?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:(0,polished__WEBPACK_IMPORTED_MODULE_6__.DZ)(.88,theme.color.secondary),color:theme.color.secondary},"&:focus-visible":{outline:_popperjs_core__WEBPACK_IMPORTED_MODULE_7__.d7},"&:focus:not(:focus-visible)":{outline:"none"}}}));IconButton.displayName="IconButton";var IconPlaceholder=_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.styled.div((function(_ref6){var theme=_ref6.theme;return{width:14,height:14,backgroundColor:theme.appBorderColor,animation:"".concat(theme.animation.glow," 1.5s ease-in-out infinite")}})),IconButtonSkeletonWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.styled.div((function(){return{marginTop:6,padding:7,height:28}})),IconButtonSkeleton=function IconButtonSkeleton(){return react__WEBPACK_IMPORTED_MODULE_3__.createElement(IconButtonSkeletonWrapper,null,react__WEBPACK_IMPORTED_MODULE_3__.createElement(IconPlaceholder,null))};IconButtonSkeleton.displayName="IconButtonSkeleton"},"./node_modules/@storybook/components/dist/esm/blocks/ArgsTable/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ArgsTable:()=>ArgsTable,ArgsTableError:()=>ArgsTableError,TabbedArgsTable:()=>TabbedArgsTable});__webpack_require__("./node_modules/@storybook/components/dist/esm/blocks/ArgsTable/types.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");var react=__webpack_require__("./node_modules/react/index.js"),pickBy=__webpack_require__("./node_modules/lodash/pickBy.js"),pickBy_default=__webpack_require__.n(pickBy),esm=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),polished_esm=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),icon=__webpack_require__("./node_modules/@storybook/components/dist/esm/icon/icon.js"),index_modern=__webpack_require__("./node_modules/markdown-to-jsx/dist/index.modern.js"),shared=(__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/@storybook/components/dist/esm/typography/shared.js")),Table=esm.styled.table((function(_ref){var theme=_ref.theme;return{"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:(0,shared.CI)({theme}),"& code":{margin:0,display:"inline-block",fontSize:theme.typography.size.s1}}}})),ArgJsDoc=function ArgJsDoc(_ref2){var tags=_ref2.tags,params=(tags.params||[]).filter((function(x){return x.description})),hasDisplayableParams=0!==params.length,hasDisplayableReturns=null!=tags.returns&&null!=tags.returns.description;return hasDisplayableParams||hasDisplayableReturns?react.createElement(Table,null,react.createElement("tbody",null,hasDisplayableParams&¶ms.map((function(x){return react.createElement("tr",{key:x.name},react.createElement("td",null,react.createElement("code",null,x.name)),react.createElement("td",null,x.description))})),hasDisplayableReturns&&react.createElement("tr",{key:"returns"},react.createElement("td",null,react.createElement("code",null,"Returns")),react.createElement("td",null,tags.returns.description)))):null};ArgJsDoc.displayName="ArgJsDoc";__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js");var memoizerific=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific_default=__webpack_require__.n(memoizerific),uniq=__webpack_require__("./node_modules/lodash/uniq.js"),uniq_default=__webpack_require__.n(uniq),lazy_WithTooltip=__webpack_require__("./node_modules/@storybook/components/dist/esm/tooltip/lazy-WithTooltip.js"),lazy_syntaxhighlighter=__webpack_require__("./node_modules/@storybook/components/dist/esm/syntaxhighlighter/lazy-syntaxhighlighter.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var Summary=esm.styled.div((function(_ref){return{display:"flex",flexDirection:_ref.isExpanded?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100}})),Text=esm.styled.span(shared.CI,(function(_ref2){var theme=_ref2.theme,_ref2$simple=_ref2.simple,simple=void 0!==_ref2$simple&&_ref2$simple;return Object.assign({flex:"0 0 auto",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px"},simple&&{background:"transparent",border:"0 none",paddingLeft:0})})),ExpandButton=esm.styled.button((function(_ref3){var theme=_ref3.theme;return{fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,marginBottom:"4px",background:"none",border:"none"}})),Expandable=esm.styled.div(shared.CI,(function(_ref4){var theme=_ref4.theme;return{fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,fontSize:theme.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})),Detail=esm.styled.div((function(_ref5){var theme=_ref5.theme;return{width:_ref5.width,minWidth:200,maxWidth:800,padding:15,fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}}})),ArrowIcon=(0,esm.styled)(icon.P)({height:10,width:10,minWidth:10,marginLeft:4}),EmptyArg=function EmptyArg(){return react.createElement("span",null,"-")};EmptyArg.displayName="EmptyArg";var ArgText=function ArgText(_ref6){var text=_ref6.text,simple=_ref6.simple;return react.createElement(Text,{simple},text)};ArgText.displayName="ArgText";var calculateDetailWidth=memoizerific_default()(1e3)((function(detail){var lines=detail.split(/\r?\n/);return"".concat(Math.max.apply(Math,_toConsumableArray(lines.map((function(x){return x.length})))),"ch")})),renderSummaryItems=function renderSummaryItems(summaryItems){var isExpanded=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],items=summaryItems;return isExpanded||(items=summaryItems.slice(0,8)),items.map((function(item){return react.createElement(ArgText,{key:item,text:""===item?'""':item})}))},ArgSummary=function ArgSummary(_ref7){var value=_ref7.value,initialExpandedArgs=_ref7.initialExpandedArgs,summary=value.summary,detail=value.detail,_useState2=_slicedToArray((0,react.useState)(!1),2),isOpen=_useState2[0],setIsOpen=_useState2[1],_useState4=_slicedToArray((0,react.useState)(initialExpandedArgs||!1),2),isExpanded=_useState4[0],setIsExpanded=_useState4[1];if(null==summary)return null;var summaryAsString="function"==typeof summary.toString?summary.toString():summary;if(null==detail){if(/[(){}[\]<>]/.test(summaryAsString))return react.createElement(ArgText,{text:summaryAsString});var summaryItems=function getSummaryItems(summary){if(!summary)return[summary];var summaryItems=summary.split("|").map((function(value){return value.trim()}));return uniq_default()(summaryItems)}(summaryAsString),itemsCount=summaryItems.length;return itemsCount>8?react.createElement(Summary,{isExpanded},renderSummaryItems(summaryItems,isExpanded),react.createElement(ExpandButton,{onClick:function onClick(){return setIsExpanded(!isExpanded)}},isExpanded?"Show less...":"Show ".concat(itemsCount-8," more..."))):react.createElement(Summary,null,renderSummaryItems(summaryItems))}return react.createElement(lazy_WithTooltip.D,{closeOnClick:!0,trigger:"click",placement:"bottom",tooltipShown:isOpen,onVisibilityChange:function onVisibilityChange(isVisible){setIsOpen(isVisible)},tooltip:react.createElement(Detail,{width:calculateDetailWidth(detail)},react.createElement(lazy_syntaxhighlighter.d,{language:"jsx",format:!1},detail))},react.createElement(Expandable,{className:"sbdocs-expandable"},react.createElement("span",null,summaryAsString),react.createElement(ArrowIcon,{icon:isOpen?"arrowup":"arrowdown"})))};ArgSummary.displayName="ArgSummary";var ArgValue=function ArgValue(_ref8){var value=_ref8.value,initialExpandedArgs=_ref8.initialExpandedArgs;return null==value?react.createElement(EmptyArg,null):react.createElement(ArgSummary,{value,initialExpandedArgs})},controls=__webpack_require__("./node_modules/@storybook/components/dist/esm/controls/index.js"),global_window=(__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/global/window.js")),window_default=__webpack_require__.n(global_window),cloneDeep=__webpack_require__("./node_modules/lodash/cloneDeep.js"),cloneDeep_default=__webpack_require__.n(cloneDeep),emotion_theming_browser_esm=__webpack_require__("./node_modules/emotion-theming/dist/emotion-theming.browser.esm.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types);__webpack_require__("./node_modules/core-js/modules/es.string.repeat.js");function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function getObjectType(obj){return null===obj||"object"!==_typeof(obj)||Array.isArray(obj)||"function"!=typeof obj[Symbol.iterator]?Object.prototype.toString.call(obj).slice(8,-1):"Iterable"}function isComponentWillChange(oldValue,newValue){var oldType=getObjectType(oldValue),newType=getObjectType(newValue);return("Function"===oldType||"Function"===newType)&&newType!==oldType}const inputUsageTypes_KEY="key",inputUsageTypes_VALUE="value";function JsonValue_typeof(obj){return JsonValue_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},JsonValue_typeof(obj)}function JsonValue_toConsumableArray(arr){return function JsonValue_arrayWithoutHoles(arr){if(Array.isArray(arr))return JsonValue_arrayLikeToArray(arr)}(arr)||function JsonValue_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function JsonValue_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return JsonValue_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JsonValue_arrayLikeToArray(o,minLen)}(arr)||function JsonValue_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function JsonValue_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){return!call||"object"!==JsonValue_typeof(call)&&"function"!=typeof call?_assertThisInitialized(self):call}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}var JsonValue=function(_Component){!function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(JsonValue,_Component);var _super=_createSuper(JsonValue);function JsonValue(props){var _this;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,JsonValue),_this=_super.call(this,props);var keyPath=[].concat(JsonValue_toConsumableArray(props.keyPath),[props.name]);return _this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},_this.handleEditMode=_this.handleEditMode.bind(_assertThisInitialized(_this)),_this.refInput=_this.refInput.bind(_assertThisInitialized(_this)),_this.handleCancelEdit=_this.handleCancelEdit.bind(_assertThisInitialized(_this)),_this.handleEdit=_this.handleEdit.bind(_assertThisInitialized(_this)),_this.onKeydown=_this.onKeydown.bind(_assertThisInitialized(_this)),_this}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(JsonValue,[{key:"componentDidUpdate",value:function componentDidUpdate(){var _this$state=this.state,editEnabled=_this$state.editEnabled,inputRef=_this$state.inputRef,name=_this$state.name,value=_this$state.value,keyPath=_this$state.keyPath,deep=_this$state.deep,_this$props=this.props,isReadOnly=(0,_this$props.readOnly)(name,value,keyPath,deep,_this$props.dataType);editEnabled&&!isReadOnly&&"function"==typeof inputRef.focus&&inputRef.focus()}},{key:"componentDidMount",value:function componentDidMount(){document.addEventListener("keydown",this.onKeydown)}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}},{key:"onKeydown",value:function onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||("Enter"!==event.code&&"Enter"!==event.key||(event.preventDefault(),this.handleEdit()),"Escape"!==event.code&&"Escape"!==event.key||(event.preventDefault(),this.handleCancelEdit()))}},{key:"handleEdit",value:function handleEdit(){var _this2=this,_this$props2=this.props,handleUpdateValue=_this$props2.handleUpdateValue,originalValue=_this$props2.originalValue,logger=_this$props2.logger,onSubmitValueParser=_this$props2.onSubmitValueParser,keyPath=_this$props2.keyPath,_this$state2=this.state,inputRef=_this$state2.inputRef,name=_this$state2.name,deep=_this$state2.deep;if(inputRef){var newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then((function(){isComponentWillChange(originalValue,newValue)||_this2.handleCancelEdit()})).catch(logger.error)}}},{key:"handleEditMode",value:function handleEditMode(){this.setState({editEnabled:!0})}},{key:"refInput",value:function refInput(node){this.state.inputRef=node}},{key:"handleCancelEdit",value:function handleCancelEdit(){this.setState({editEnabled:!1})}},{key:"render",value:function render(){var _this$state3=this.state,name=_this$state3.name,value=_this$state3.value,editEnabled=_this$state3.editEnabled,keyPath=_this$state3.keyPath,deep=_this$state3.deep,_this$props3=this.props,handleRemove=_this$props3.handleRemove,originalValue=_this$props3.originalValue,readOnly=_this$props3.readOnly,dataType=_this$props3.dataType,getStyle=_this$props3.getStyle,editButtonElement=_this$props3.editButtonElement,cancelButtonElement=_this$props3.cancelButtonElement,inputElementGenerator=_this$props3.inputElementGenerator,minusMenuElement=_this$props3.minusMenuElement,comeFromKeyPath=_this$props3.keyPath,style=getStyle(name,originalValue,keyPath,deep,dataType),isReadOnly=readOnly(name,originalValue,keyPath,deep,dataType),isEditing=editEnabled&&!isReadOnly,inputElement=inputElementGenerator(inputUsageTypes_VALUE,comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=react.cloneElement(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=react.cloneElement(cancelButtonElement,{onClick:this.handleCancelEdit}),inputElementLayout=react.cloneElement(inputElement,{ref:this.refInput,defaultValue:JSON.stringify(originalValue)}),minusMenuLayout=react.cloneElement(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:style.minus});return react.createElement("li",{className:"rejt-value-node",style:style.li},react.createElement("span",{className:"rejt-name",style:style.name},name," : "),isEditing?react.createElement("span",{className:"rejt-edit-form",style:style.editForm},inputElementLayout," ",cancelButtonElementLayout,editButtonElementLayout):react.createElement("span",{className:"rejt-value",style:style.value,onClick:isReadOnly?null:this.handleEditMode},String(value)),!isReadOnly&&!isEditing&&minusMenuLayout)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}}]),JsonValue}(react.Component);JsonValue.displayName="JsonValue",JsonValue.propTypes={name:prop_types_default().string.isRequired,value:prop_types_default().any.isRequired,originalValue:prop_types_default().any,keyPath:prop_types_default().array,deep:prop_types_default().number,handleRemove:prop_types_default().func,handleUpdateValue:prop_types_default().func,readOnly:prop_types_default().func.isRequired,dataType:prop_types_default().string,getStyle:prop_types_default().func.isRequired,editButtonElement:prop_types_default().element,cancelButtonElement:prop_types_default().element,inputElementGenerator:prop_types_default().func.isRequired,minusMenuElement:prop_types_default().element,logger:prop_types_default().object.isRequired,onSubmitValueParser:prop_types_default().func.isRequired},JsonValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:function handleUpdateValue(){return Promise.resolve()},editButtonElement:react.createElement("button",null,"e"),cancelButtonElement:react.createElement("button",null,"c"),minusMenuElement:react.createElement("span",null," - ")};const components_JsonValue=JsonValue;__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-names.js");function JsonAddValue_typeof(obj){return JsonAddValue_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},JsonAddValue_typeof(obj)}function JsonAddValue_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function JsonAddValue_setPrototypeOf(o,p){return JsonAddValue_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},JsonAddValue_setPrototypeOf(o,p)}function JsonAddValue_createSuper(Derived){var hasNativeReflectConstruct=function JsonAddValue_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=JsonAddValue_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=JsonAddValue_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return JsonAddValue_possibleConstructorReturn(this,result)}}function JsonAddValue_possibleConstructorReturn(self,call){return!call||"object"!==JsonAddValue_typeof(call)&&"function"!=typeof call?JsonAddValue_assertThisInitialized(self):call}function JsonAddValue_assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function JsonAddValue_getPrototypeOf(o){return JsonAddValue_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},JsonAddValue_getPrototypeOf(o)}var JsonAddValue=function(_Component){!function JsonAddValue_inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&JsonAddValue_setPrototypeOf(subClass,superClass)}(JsonAddValue,_Component);var _super=JsonAddValue_createSuper(JsonAddValue);function JsonAddValue(props){var _this;return function JsonAddValue_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,JsonAddValue),(_this=_super.call(this,props)).state={inputRefKey:null,inputRefValue:null},_this.refInputValue=_this.refInputValue.bind(JsonAddValue_assertThisInitialized(_this)),_this.refInputKey=_this.refInputKey.bind(JsonAddValue_assertThisInitialized(_this)),_this.onKeydown=_this.onKeydown.bind(JsonAddValue_assertThisInitialized(_this)),_this.onSubmit=_this.onSubmit.bind(JsonAddValue_assertThisInitialized(_this)),_this}return function JsonAddValue_createClass(Constructor,protoProps,staticProps){return protoProps&&JsonAddValue_defineProperties(Constructor.prototype,protoProps),staticProps&&JsonAddValue_defineProperties(Constructor,staticProps),Constructor}(JsonAddValue,[{key:"componentDidMount",value:function componentDidMount(){var _this$state=this.state,inputRefKey=_this$state.inputRefKey,inputRefValue=_this$state.inputRefValue,onlyValue=this.props.onlyValue;inputRefKey&&"function"==typeof inputRefKey.focus&&inputRefKey.focus(),onlyValue&&inputRefValue&&"function"==typeof inputRefValue.focus&&inputRefValue.focus(),document.addEventListener("keydown",this.onKeydown)}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}},{key:"onKeydown",value:function onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||("Enter"!==event.code&&"Enter"!==event.key||(event.preventDefault(),this.onSubmit()),"Escape"!==event.code&&"Escape"!==event.key||(event.preventDefault(),this.props.handleCancel()))}},{key:"onSubmit",value:function onSubmit(){var _this$props=this.props,handleAdd=_this$props.handleAdd,onlyValue=_this$props.onlyValue,onSubmitValueParser=_this$props.onSubmitValueParser,keyPath=_this$props.keyPath,deep=_this$props.deep,_this$state2=this.state,inputRefKey=_this$state2.inputRefKey,inputRefValue=_this$state2.inputRefValue,result={};if(!onlyValue){if(!inputRefKey.value)return;result.key=inputRefKey.value}result.newValue=onSubmitValueParser(!1,keyPath,deep,result.key,inputRefValue.value),handleAdd(result)}},{key:"refInputKey",value:function refInputKey(node){this.state.inputRefKey=node}},{key:"refInputValue",value:function refInputValue(node){this.state.inputRefValue=node}},{key:"render",value:function render(){var _this$props2=this.props,handleCancel=_this$props2.handleCancel,onlyValue=_this$props2.onlyValue,addButtonElement=_this$props2.addButtonElement,cancelButtonElement=_this$props2.cancelButtonElement,inputElementGenerator=_this$props2.inputElementGenerator,keyPath=_this$props2.keyPath,deep=_this$props2.deep,addButtonElementLayout=react.cloneElement(addButtonElement,{onClick:this.onSubmit}),cancelButtonElementLayout=react.cloneElement(cancelButtonElement,{onClick:handleCancel}),inputElementValue=inputElementGenerator(inputUsageTypes_VALUE,keyPath,deep),inputElementValueLayout=react.cloneElement(inputElementValue,{placeholder:"Value",ref:this.refInputValue}),inputElementKeyLayout=null;if(!onlyValue){var inputElementKey=inputElementGenerator(inputUsageTypes_KEY,keyPath,deep);inputElementKeyLayout=react.cloneElement(inputElementKey,{placeholder:"Key",ref:this.refInputKey})}return react.createElement("span",{className:"rejt-add-value-node"},inputElementKeyLayout,inputElementValueLayout,cancelButtonElementLayout,addButtonElementLayout)}}]),JsonAddValue}(react.Component);JsonAddValue.displayName="JsonAddValue",JsonAddValue.propTypes={handleAdd:prop_types_default().func.isRequired,handleCancel:prop_types_default().func.isRequired,onlyValue:prop_types_default().bool,addButtonElement:prop_types_default().element,cancelButtonElement:prop_types_default().element,inputElementGenerator:prop_types_default().func.isRequired,keyPath:prop_types_default().array,deep:prop_types_default().number,onSubmitValueParser:prop_types_default().func.isRequired},JsonAddValue.defaultProps={onlyValue:!1,addButtonElement:react.createElement("button",null,"+"),cancelButtonElement:react.createElement("button",null,"c")};const components_JsonAddValue=JsonAddValue;function JsonObject_typeof(obj){return JsonObject_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},JsonObject_typeof(obj)}function JsonObject_toConsumableArray(arr){return function JsonObject_arrayWithoutHoles(arr){if(Array.isArray(arr))return JsonObject_arrayLikeToArray(arr)}(arr)||function JsonObject_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function JsonObject_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return JsonObject_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JsonObject_arrayLikeToArray(o,minLen)}(arr)||function JsonObject_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function JsonObject_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function JsonObject_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function JsonObject_setPrototypeOf(o,p){return JsonObject_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},JsonObject_setPrototypeOf(o,p)}function JsonObject_createSuper(Derived){var hasNativeReflectConstruct=function JsonObject_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=JsonObject_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=JsonObject_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return JsonObject_possibleConstructorReturn(this,result)}}function JsonObject_possibleConstructorReturn(self,call){return!call||"object"!==JsonObject_typeof(call)&&"function"!=typeof call?JsonObject_assertThisInitialized(self):call}function JsonObject_assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function JsonObject_getPrototypeOf(o){return JsonObject_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},JsonObject_getPrototypeOf(o)}var JsonObject=function(_Component){!function JsonObject_inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&JsonObject_setPrototypeOf(subClass,superClass)}(JsonObject,_Component);var _super=JsonObject_createSuper(JsonObject);function JsonObject(props){var _this;!function JsonObject_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,JsonObject),_this=_super.call(this,props);var keyPath=-1===props.deep?[]:[].concat(JsonObject_toConsumableArray(props.keyPath),[props.name]);return _this.state={name:props.name,data:props.data,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},_this.handleCollapseMode=_this.handleCollapseMode.bind(JsonObject_assertThisInitialized(_this)),_this.handleRemoveValue=_this.handleRemoveValue.bind(JsonObject_assertThisInitialized(_this)),_this.handleAddMode=_this.handleAddMode.bind(JsonObject_assertThisInitialized(_this)),_this.handleAddValueAdd=_this.handleAddValueAdd.bind(JsonObject_assertThisInitialized(_this)),_this.handleAddValueCancel=_this.handleAddValueCancel.bind(JsonObject_assertThisInitialized(_this)),_this.handleEditValue=_this.handleEditValue.bind(JsonObject_assertThisInitialized(_this)),_this.onChildUpdate=_this.onChildUpdate.bind(JsonObject_assertThisInitialized(_this)),_this.renderCollapsed=_this.renderCollapsed.bind(JsonObject_assertThisInitialized(_this)),_this.renderNotCollapsed=_this.renderNotCollapsed.bind(JsonObject_assertThisInitialized(_this)),_this}return function JsonObject_createClass(Constructor,protoProps,staticProps){return protoProps&&JsonObject_defineProperties(Constructor.prototype,protoProps),staticProps&&JsonObject_defineProperties(Constructor,staticProps),Constructor}(JsonObject,[{key:"onChildUpdate",value:function onChildUpdate(childKey,childData){var _this$state=this.state,data=_this$state.data,keyPath=_this$state.keyPath;data[childKey]=childData,this.setState({data}),(0,this.props.onUpdate)(keyPath[keyPath.length-1],data)}},{key:"handleAddMode",value:function handleAddMode(){this.setState({addFormVisible:!0})}},{key:"handleAddValueCancel",value:function handleAddValueCancel(){this.setState({addFormVisible:!1})}},{key:"handleAddValueAdd",value:function handleAddValueAdd(_ref){var _this2=this,key=_ref.key,newValue=_ref.newValue,_this$state2=this.state,data=_this$state2.data,keyPath=_this$state2.keyPath,deep=_this$state2.nextDeep,_this$props=this.props,beforeAddAction=_this$props.beforeAddAction,logger=_this$props.logger;beforeAddAction(key,keyPath,deep,newValue).then((function(){data[key]=newValue,_this2.setState({data}),_this2.handleAddValueCancel();var _this2$props=_this2.props,onUpdate=_this2$props.onUpdate,onDeltaUpdate=_this2$props.onDeltaUpdate;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"ADD_DELTA_TYPE",keyPath,deep,key,newValue})})).catch(logger.error)}},{key:"handleRemoveValue",value:function handleRemoveValue(key){var _this3=this;return function(){var _this3$props=_this3.props,beforeRemoveAction=_this3$props.beforeRemoveAction,logger=_this3$props.logger,_this3$state=_this3.state,data=_this3$state.data,keyPath=_this3$state.keyPath,deep=_this3$state.nextDeep,oldValue=data[key];beforeRemoveAction(key,keyPath,deep,oldValue).then((function(){var deltaUpdateResult={keyPath,deep,key,oldValue,type:"REMOVE_DELTA_TYPE"};delete data[key],_this3.setState({data});var _this3$props2=_this3.props,onUpdate=_this3$props2.onUpdate,onDeltaUpdate=_this3$props2.onDeltaUpdate;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult)})).catch(logger.error)}}},{key:"handleCollapseMode",value:function handleCollapseMode(){this.setState((function(state){return{collapsed:!state.collapsed}}))}},{key:"handleEditValue",value:function handleEditValue(_ref2){var _this4=this,key=_ref2.key,value=_ref2.value;return new Promise((function(resolve,reject){var beforeUpdateAction=_this4.props.beforeUpdateAction,_this4$state=_this4.state,data=_this4$state.data,keyPath=_this4$state.keyPath,deep=_this4$state.nextDeep,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value).then((function(){data[key]=value,_this4.setState({data});var _this4$props=_this4.props,onUpdate=_this4$props.onUpdate,onDeltaUpdate=_this4$props.onDeltaUpdate;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"UPDATE_DELTA_TYPE",keyPath,deep,key,newValue:value,oldValue}),resolve()})).catch(reject)}))}},{key:"renderCollapsed",value:function renderCollapsed(){var _this$state3=this.state,name=_this$state3.name,keyPath=_this$state3.keyPath,deep=_this$state3.deep,data=_this$state3.data,_this$props2=this.props,handleRemove=_this$props2.handleRemove,readOnly=_this$props2.readOnly,dataType=_this$props2.dataType,getStyle=_this$props2.getStyle,minusMenuElement=_this$props2.minusMenuElement,_getStyle=getStyle(name,data,keyPath,deep,dataType),minus=_getStyle.minus,collapsed=_getStyle.collapsed,keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=react.cloneElement(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-collapsed"},react.createElement("span",{className:"rejt-collapsed-text",style:collapsed,onClick:this.handleCollapseMode},"{...}"," ",keyList.length," ",1===keyList.length?"key":"keys"),!isReadOnly&&removeItemButton)}},{key:"renderNotCollapsed",value:function renderNotCollapsed(){var _this5=this,_this$state4=this.state,name=_this$state4.name,data=_this$state4.data,keyPath=_this$state4.keyPath,deep=_this$state4.deep,nextDeep=_this$state4.nextDeep,addFormVisible=_this$state4.addFormVisible,_this$props3=this.props,isCollapsed=_this$props3.isCollapsed,handleRemove=_this$props3.handleRemove,onDeltaUpdate=_this$props3.onDeltaUpdate,readOnly=_this$props3.readOnly,getStyle=_this$props3.getStyle,dataType=_this$props3.dataType,addButtonElement=_this$props3.addButtonElement,cancelButtonElement=_this$props3.cancelButtonElement,editButtonElement=_this$props3.editButtonElement,inputElementGenerator=_this$props3.inputElementGenerator,textareaElementGenerator=_this$props3.textareaElementGenerator,minusMenuElement=_this$props3.minusMenuElement,plusMenuElement=_this$props3.plusMenuElement,beforeRemoveAction=_this$props3.beforeRemoveAction,beforeAddAction=_this$props3.beforeAddAction,beforeUpdateAction=_this$props3.beforeUpdateAction,logger=_this$props3.logger,onSubmitValueParser=_this$props3.onSubmitValueParser,_getStyle2=getStyle(name,data,keyPath,deep,dataType),minus=_getStyle2.minus,plus=_getStyle2.plus,addForm=_getStyle2.addForm,ul=_getStyle2.ul,delimiter=_getStyle2.delimiter,keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=react.cloneElement(plusMenuElement,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:plus}),removeItemButton=react.cloneElement(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus}),list=keyList.map((function(key){return react.createElement(components_JsonNode,{key,name:key,data:data[key],keyPath,deep:nextDeep,isCollapsed,handleRemove:_this5.handleRemoveValue(key),handleUpdateValue:_this5.handleEditValue,onUpdate:_this5.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger,onSubmitValueParser})}));return react.createElement("span",{className:"rejt-not-collapsed"},react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"{"),!isReadOnly&&addItemButton,react.createElement("ul",{className:"rejt-not-collapsed-list",style:ul},list),!isReadOnly&&addFormVisible&&react.createElement("div",{className:"rejt-add-form",style:addForm},react.createElement(components_JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"}"),!isReadOnly&&removeItemButton)}},{key:"render",value:function render(){var _this$state5=this.state,name=_this$state5.name,collapsed=_this$state5.collapsed,data=_this$state5.data,keyPath=_this$state5.keyPath,deep=_this$state5.deep,_this$props4=this.props,getStyle=_this$props4.getStyle,dataType=_this$props4.dataType,value=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return react.createElement("div",{className:"rejt-object-node"},react.createElement("span",{onClick:this.handleCollapseMode},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," ")),value)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}}]),JsonObject}(react.Component);JsonObject.displayName="JsonObject",JsonObject.propTypes={data:prop_types_default().object.isRequired,name:prop_types_default().string.isRequired,isCollapsed:prop_types_default().func.isRequired,keyPath:prop_types_default().array,deep:prop_types_default().number,handleRemove:prop_types_default().func,onUpdate:prop_types_default().func.isRequired,onDeltaUpdate:prop_types_default().func.isRequired,readOnly:prop_types_default().func.isRequired,dataType:prop_types_default().string,getStyle:prop_types_default().func.isRequired,addButtonElement:prop_types_default().element,cancelButtonElement:prop_types_default().element,editButtonElement:prop_types_default().element,inputElementGenerator:prop_types_default().func.isRequired,textareaElementGenerator:prop_types_default().func.isRequired,minusMenuElement:prop_types_default().element,plusMenuElement:prop_types_default().element,beforeRemoveAction:prop_types_default().func,beforeAddAction:prop_types_default().func,beforeUpdateAction:prop_types_default().func,logger:prop_types_default().object.isRequired,onSubmitValueParser:prop_types_default().func.isRequired},JsonObject.defaultProps={keyPath:[],deep:0,minusMenuElement:react.createElement("span",null," - "),plusMenuElement:react.createElement("span",null," + ")};const components_JsonObject=JsonObject;__webpack_require__("./node_modules/core-js/modules/es.array.splice.js");function JsonArray_typeof(obj){return JsonArray_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},JsonArray_typeof(obj)}function JsonArray_toConsumableArray(arr){return function JsonArray_arrayWithoutHoles(arr){if(Array.isArray(arr))return JsonArray_arrayLikeToArray(arr)}(arr)||function JsonArray_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function JsonArray_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return JsonArray_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JsonArray_arrayLikeToArray(o,minLen)}(arr)||function JsonArray_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function JsonArray_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function JsonArray_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function JsonArray_setPrototypeOf(o,p){return JsonArray_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},JsonArray_setPrototypeOf(o,p)}function JsonArray_createSuper(Derived){var hasNativeReflectConstruct=function JsonArray_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=JsonArray_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=JsonArray_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return JsonArray_possibleConstructorReturn(this,result)}}function JsonArray_possibleConstructorReturn(self,call){return!call||"object"!==JsonArray_typeof(call)&&"function"!=typeof call?JsonArray_assertThisInitialized(self):call}function JsonArray_assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function JsonArray_getPrototypeOf(o){return JsonArray_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},JsonArray_getPrototypeOf(o)}var JsonArray=function(_Component){!function JsonArray_inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&JsonArray_setPrototypeOf(subClass,superClass)}(JsonArray,_Component);var _super=JsonArray_createSuper(JsonArray);function JsonArray(props){var _this;!function JsonArray_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,JsonArray),_this=_super.call(this,props);var keyPath=[].concat(JsonArray_toConsumableArray(props.keyPath),[props.name]);return _this.state={data:props.data,name:props.name,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},_this.handleCollapseMode=_this.handleCollapseMode.bind(JsonArray_assertThisInitialized(_this)),_this.handleRemoveItem=_this.handleRemoveItem.bind(JsonArray_assertThisInitialized(_this)),_this.handleAddMode=_this.handleAddMode.bind(JsonArray_assertThisInitialized(_this)),_this.handleAddValueAdd=_this.handleAddValueAdd.bind(JsonArray_assertThisInitialized(_this)),_this.handleAddValueCancel=_this.handleAddValueCancel.bind(JsonArray_assertThisInitialized(_this)),_this.handleEditValue=_this.handleEditValue.bind(JsonArray_assertThisInitialized(_this)),_this.onChildUpdate=_this.onChildUpdate.bind(JsonArray_assertThisInitialized(_this)),_this.renderCollapsed=_this.renderCollapsed.bind(JsonArray_assertThisInitialized(_this)),_this.renderNotCollapsed=_this.renderNotCollapsed.bind(JsonArray_assertThisInitialized(_this)),_this}return function JsonArray_createClass(Constructor,protoProps,staticProps){return protoProps&&JsonArray_defineProperties(Constructor.prototype,protoProps),staticProps&&JsonArray_defineProperties(Constructor,staticProps),Constructor}(JsonArray,[{key:"onChildUpdate",value:function onChildUpdate(childKey,childData){var _this$state=this.state,data=_this$state.data,keyPath=_this$state.keyPath;data[childKey]=childData,this.setState({data}),(0,this.props.onUpdate)(keyPath[keyPath.length-1],data)}},{key:"handleAddMode",value:function handleAddMode(){this.setState({addFormVisible:!0})}},{key:"handleCollapseMode",value:function handleCollapseMode(){this.setState((function(state){return{collapsed:!state.collapsed}}))}},{key:"handleRemoveItem",value:function handleRemoveItem(index){var _this2=this;return function(){var _this2$props=_this2.props,beforeRemoveAction=_this2$props.beforeRemoveAction,logger=_this2$props.logger,_this2$state=_this2.state,data=_this2$state.data,keyPath=_this2$state.keyPath,deep=_this2$state.nextDeep,oldValue=data[index];beforeRemoveAction(index,keyPath,deep,oldValue).then((function(){var deltaUpdateResult={keyPath,deep,key:index,oldValue,type:"REMOVE_DELTA_TYPE"};data.splice(index,1),_this2.setState({data});var _this2$props2=_this2.props,onUpdate=_this2$props2.onUpdate,onDeltaUpdate=_this2$props2.onDeltaUpdate;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult)})).catch(logger.error)}}},{key:"handleAddValueAdd",value:function handleAddValueAdd(_ref){var _this3=this,newValue=_ref.newValue,_this$state2=this.state,data=_this$state2.data,keyPath=_this$state2.keyPath,deep=_this$state2.nextDeep,_this$props=this.props,beforeAddAction=_this$props.beforeAddAction,logger=_this$props.logger;beforeAddAction(data.length,keyPath,deep,newValue).then((function(){var newData=[].concat(JsonArray_toConsumableArray(data),[newValue]);_this3.setState({data:newData}),_this3.handleAddValueCancel();var _this3$props=_this3.props,onUpdate=_this3$props.onUpdate,onDeltaUpdate=_this3$props.onDeltaUpdate;onUpdate(keyPath[keyPath.length-1],newData),onDeltaUpdate({type:"ADD_DELTA_TYPE",keyPath,deep,key:newData.length-1,newValue})})).catch(logger.error)}},{key:"handleAddValueCancel",value:function handleAddValueCancel(){this.setState({addFormVisible:!1})}},{key:"handleEditValue",value:function handleEditValue(_ref2){var _this4=this,key=_ref2.key,value=_ref2.value;return new Promise((function(resolve,reject){var beforeUpdateAction=_this4.props.beforeUpdateAction,_this4$state=_this4.state,data=_this4$state.data,keyPath=_this4$state.keyPath,deep=_this4$state.nextDeep,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value).then((function(){data[key]=value,_this4.setState({data});var _this4$props=_this4.props,onUpdate=_this4$props.onUpdate,onDeltaUpdate=_this4$props.onDeltaUpdate;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"UPDATE_DELTA_TYPE",keyPath,deep,key,newValue:value,oldValue}),resolve()})).catch(reject)}))}},{key:"renderCollapsed",value:function renderCollapsed(){var _this$state3=this.state,name=_this$state3.name,data=_this$state3.data,keyPath=_this$state3.keyPath,deep=_this$state3.deep,_this$props2=this.props,handleRemove=_this$props2.handleRemove,readOnly=_this$props2.readOnly,getStyle=_this$props2.getStyle,dataType=_this$props2.dataType,minusMenuElement=_this$props2.minusMenuElement,_getStyle=getStyle(name,data,keyPath,deep,dataType),minus=_getStyle.minus,collapsed=_getStyle.collapsed,isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=react.cloneElement(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-collapsed"},react.createElement("span",{className:"rejt-collapsed-text",style:collapsed,onClick:this.handleCollapseMode},"[...] ",data.length," ",1===data.length?"item":"items"),!isReadOnly&&removeItemButton)}},{key:"renderNotCollapsed",value:function renderNotCollapsed(){var _this5=this,_this$state4=this.state,name=_this$state4.name,data=_this$state4.data,keyPath=_this$state4.keyPath,deep=_this$state4.deep,addFormVisible=_this$state4.addFormVisible,nextDeep=_this$state4.nextDeep,_this$props3=this.props,isCollapsed=_this$props3.isCollapsed,handleRemove=_this$props3.handleRemove,onDeltaUpdate=_this$props3.onDeltaUpdate,readOnly=_this$props3.readOnly,getStyle=_this$props3.getStyle,dataType=_this$props3.dataType,addButtonElement=_this$props3.addButtonElement,cancelButtonElement=_this$props3.cancelButtonElement,editButtonElement=_this$props3.editButtonElement,inputElementGenerator=_this$props3.inputElementGenerator,textareaElementGenerator=_this$props3.textareaElementGenerator,minusMenuElement=_this$props3.minusMenuElement,plusMenuElement=_this$props3.plusMenuElement,beforeRemoveAction=_this$props3.beforeRemoveAction,beforeAddAction=_this$props3.beforeAddAction,beforeUpdateAction=_this$props3.beforeUpdateAction,logger=_this$props3.logger,onSubmitValueParser=_this$props3.onSubmitValueParser,_getStyle2=getStyle(name,data,keyPath,deep,dataType),minus=_getStyle2.minus,plus=_getStyle2.plus,delimiter=_getStyle2.delimiter,ul=_getStyle2.ul,addForm=_getStyle2.addForm,isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=react.cloneElement(plusMenuElement,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:plus}),removeItemButton=react.cloneElement(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-not-collapsed"},react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"["),!addFormVisible&&addItemButton,react.createElement("ul",{className:"rejt-not-collapsed-list",style:ul},data.map((function(item,index){return react.createElement(components_JsonNode,{key:index,name:"".concat(index),data:item,keyPath,deep:nextDeep,isCollapsed,handleRemove:_this5.handleRemoveItem(index),handleUpdateValue:_this5.handleEditValue,onUpdate:_this5.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger,onSubmitValueParser})}))),!isReadOnly&&addFormVisible&&react.createElement("div",{className:"rejt-add-form",style:addForm},react.createElement(components_JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"]"),!isReadOnly&&removeItemButton)}},{key:"render",value:function render(){var _this$state5=this.state,name=_this$state5.name,collapsed=_this$state5.collapsed,data=_this$state5.data,keyPath=_this$state5.keyPath,deep=_this$state5.deep,_this$props4=this.props,dataType=_this$props4.dataType,getStyle=_this$props4.getStyle,value=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return react.createElement("div",{className:"rejt-array-node"},react.createElement("span",{onClick:this.handleCollapseMode},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," ")),value)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}}]),JsonArray}(react.Component);JsonArray.displayName="JsonArray",JsonArray.propTypes={data:prop_types_default().array.isRequired,name:prop_types_default().string.isRequired,isCollapsed:prop_types_default().func.isRequired,keyPath:prop_types_default().array,deep:prop_types_default().number,handleRemove:prop_types_default().func,onUpdate:prop_types_default().func.isRequired,onDeltaUpdate:prop_types_default().func.isRequired,readOnly:prop_types_default().func.isRequired,dataType:prop_types_default().string,getStyle:prop_types_default().func.isRequired,addButtonElement:prop_types_default().element,cancelButtonElement:prop_types_default().element,editButtonElement:prop_types_default().element,inputElementGenerator:prop_types_default().func.isRequired,textareaElementGenerator:prop_types_default().func.isRequired,minusMenuElement:prop_types_default().element,plusMenuElement:prop_types_default().element,beforeRemoveAction:prop_types_default().func,beforeAddAction:prop_types_default().func,beforeUpdateAction:prop_types_default().func,logger:prop_types_default().object.isRequired,onSubmitValueParser:prop_types_default().func.isRequired},JsonArray.defaultProps={keyPath:[],deep:0,minusMenuElement:react.createElement("span",null," - "),plusMenuElement:react.createElement("span",null," + ")};const components_JsonArray=JsonArray;function JsonFunctionValue_typeof(obj){return JsonFunctionValue_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},JsonFunctionValue_typeof(obj)}function JsonFunctionValue_toConsumableArray(arr){return function JsonFunctionValue_arrayWithoutHoles(arr){if(Array.isArray(arr))return JsonFunctionValue_arrayLikeToArray(arr)}(arr)||function JsonFunctionValue_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function JsonFunctionValue_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return JsonFunctionValue_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JsonFunctionValue_arrayLikeToArray(o,minLen)}(arr)||function JsonFunctionValue_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function JsonFunctionValue_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function JsonFunctionValue_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function JsonFunctionValue_setPrototypeOf(o,p){return JsonFunctionValue_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},JsonFunctionValue_setPrototypeOf(o,p)}function JsonFunctionValue_createSuper(Derived){var hasNativeReflectConstruct=function JsonFunctionValue_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=JsonFunctionValue_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=JsonFunctionValue_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return JsonFunctionValue_possibleConstructorReturn(this,result)}}function JsonFunctionValue_possibleConstructorReturn(self,call){return!call||"object"!==JsonFunctionValue_typeof(call)&&"function"!=typeof call?JsonFunctionValue_assertThisInitialized(self):call}function JsonFunctionValue_assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function JsonFunctionValue_getPrototypeOf(o){return JsonFunctionValue_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},JsonFunctionValue_getPrototypeOf(o)}var JsonFunctionValue=function(_Component){!function JsonFunctionValue_inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&JsonFunctionValue_setPrototypeOf(subClass,superClass)}(JsonFunctionValue,_Component);var _super=JsonFunctionValue_createSuper(JsonFunctionValue);function JsonFunctionValue(props){var _this;!function JsonFunctionValue_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,JsonFunctionValue),_this=_super.call(this,props);var keyPath=[].concat(JsonFunctionValue_toConsumableArray(props.keyPath),[props.name]);return _this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},_this.handleEditMode=_this.handleEditMode.bind(JsonFunctionValue_assertThisInitialized(_this)),_this.refInput=_this.refInput.bind(JsonFunctionValue_assertThisInitialized(_this)),_this.handleCancelEdit=_this.handleCancelEdit.bind(JsonFunctionValue_assertThisInitialized(_this)),_this.handleEdit=_this.handleEdit.bind(JsonFunctionValue_assertThisInitialized(_this)),_this.onKeydown=_this.onKeydown.bind(JsonFunctionValue_assertThisInitialized(_this)),_this}return function JsonFunctionValue_createClass(Constructor,protoProps,staticProps){return protoProps&&JsonFunctionValue_defineProperties(Constructor.prototype,protoProps),staticProps&&JsonFunctionValue_defineProperties(Constructor,staticProps),Constructor}(JsonFunctionValue,[{key:"componentDidUpdate",value:function componentDidUpdate(){var _this$state=this.state,editEnabled=_this$state.editEnabled,inputRef=_this$state.inputRef,name=_this$state.name,value=_this$state.value,keyPath=_this$state.keyPath,deep=_this$state.deep,_this$props=this.props,readOnlyResult=(0,_this$props.readOnly)(name,value,keyPath,deep,_this$props.dataType);editEnabled&&!readOnlyResult&&"function"==typeof inputRef.focus&&inputRef.focus()}},{key:"componentDidMount",value:function componentDidMount(){document.addEventListener("keydown",this.onKeydown)}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}},{key:"onKeydown",value:function onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||("Enter"!==event.code&&"Enter"!==event.key||(event.preventDefault(),this.handleEdit()),"Escape"!==event.code&&"Escape"!==event.key||(event.preventDefault(),this.handleCancelEdit()))}},{key:"handleEdit",value:function handleEdit(){var _this2=this,_this$props2=this.props,handleUpdateValue=_this$props2.handleUpdateValue,originalValue=_this$props2.originalValue,logger=_this$props2.logger,onSubmitValueParser=_this$props2.onSubmitValueParser,keyPath=_this$props2.keyPath,_this$state2=this.state,inputRef=_this$state2.inputRef,name=_this$state2.name,deep=_this$state2.deep;if(inputRef){var newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then((function(){isComponentWillChange(originalValue,newValue)||_this2.handleCancelEdit()})).catch(logger.error)}}},{key:"handleEditMode",value:function handleEditMode(){this.setState({editEnabled:!0})}},{key:"refInput",value:function refInput(node){this.state.inputRef=node}},{key:"handleCancelEdit",value:function handleCancelEdit(){this.setState({editEnabled:!1})}},{key:"render",value:function render(){var _this$state3=this.state,name=_this$state3.name,value=_this$state3.value,editEnabled=_this$state3.editEnabled,keyPath=_this$state3.keyPath,deep=_this$state3.deep,_this$props3=this.props,handleRemove=_this$props3.handleRemove,originalValue=_this$props3.originalValue,readOnly=_this$props3.readOnly,dataType=_this$props3.dataType,getStyle=_this$props3.getStyle,editButtonElement=_this$props3.editButtonElement,cancelButtonElement=_this$props3.cancelButtonElement,textareaElementGenerator=_this$props3.textareaElementGenerator,minusMenuElement=_this$props3.minusMenuElement,comeFromKeyPath=_this$props3.keyPath,style=getStyle(name,originalValue,keyPath,deep,dataType),result=null,minusElement=null,resultOnlyResult=readOnly(name,originalValue,keyPath,deep,dataType);if(editEnabled&&!resultOnlyResult){var textareaElement=textareaElementGenerator(inputUsageTypes_VALUE,comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=react.cloneElement(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=react.cloneElement(cancelButtonElement,{onClick:this.handleCancelEdit}),textareaElementLayout=react.cloneElement(textareaElement,{ref:this.refInput,defaultValue:originalValue});result=react.createElement("span",{className:"rejt-edit-form",style:style.editForm},textareaElementLayout," ",cancelButtonElementLayout,editButtonElementLayout),minusElement=null}else{result=react.createElement("span",{className:"rejt-value",style:style.value,onClick:resultOnlyResult?null:this.handleEditMode},value);var minusMenuLayout=react.cloneElement(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:style.minus});minusElement=resultOnlyResult?null:minusMenuLayout}return react.createElement("li",{className:"rejt-function-value-node",style:style.li},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," "),result,minusElement)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}}]),JsonFunctionValue}(react.Component);JsonFunctionValue.displayName="JsonFunctionValue",JsonFunctionValue.propTypes={name:prop_types_default().string.isRequired,value:prop_types_default().any.isRequired,originalValue:prop_types_default().any,keyPath:prop_types_default().array,deep:prop_types_default().number,handleRemove:prop_types_default().func,handleUpdateValue:prop_types_default().func,readOnly:prop_types_default().func.isRequired,dataType:prop_types_default().string,getStyle:prop_types_default().func.isRequired,editButtonElement:prop_types_default().element,cancelButtonElement:prop_types_default().element,textareaElementGenerator:prop_types_default().func.isRequired,minusMenuElement:prop_types_default().element,logger:prop_types_default().object.isRequired,onSubmitValueParser:prop_types_default().func.isRequired},JsonFunctionValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:function handleUpdateValue(){},editButtonElement:react.createElement("button",null,"e"),cancelButtonElement:react.createElement("button",null,"c"),minusMenuElement:react.createElement("span",null," - ")};const components_JsonFunctionValue=JsonFunctionValue;const dataTypes_ERROR="Error",dataTypes_OBJECT="Object",dataTypes_ARRAY="Array",dataTypes_STRING="String",dataTypes_NUMBER="Number",dataTypes_BOOLEAN="Boolean",dataTypes_DATE="Date",dataTypes_NULL="Null",dataTypes_UNDEFINED="Undefined",dataTypes_FUNCTION="Function",dataTypes_SYMBOL="Symbol";function JsonNode_typeof(obj){return JsonNode_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},JsonNode_typeof(obj)}function JsonNode_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function JsonNode_setPrototypeOf(o,p){return JsonNode_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},JsonNode_setPrototypeOf(o,p)}function JsonNode_createSuper(Derived){var hasNativeReflectConstruct=function JsonNode_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=JsonNode_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=JsonNode_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return JsonNode_possibleConstructorReturn(this,result)}}function JsonNode_possibleConstructorReturn(self,call){return!call||"object"!==JsonNode_typeof(call)&&"function"!=typeof call?function JsonNode_assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function JsonNode_getPrototypeOf(o){return JsonNode_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},JsonNode_getPrototypeOf(o)}var JsonNode=function(_Component){!function JsonNode_inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&JsonNode_setPrototypeOf(subClass,superClass)}(JsonNode,_Component);var _super=JsonNode_createSuper(JsonNode);function JsonNode(props){var _this;return function JsonNode_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,JsonNode),(_this=_super.call(this,props)).state={data:props.data,name:props.name,keyPath:props.keyPath,deep:props.deep},_this}return function JsonNode_createClass(Constructor,protoProps,staticProps){return protoProps&&JsonNode_defineProperties(Constructor.prototype,protoProps),staticProps&&JsonNode_defineProperties(Constructor,staticProps),Constructor}(JsonNode,[{key:"render",value:function render(){var _this$state=this.state,data=_this$state.data,name=_this$state.name,keyPath=_this$state.keyPath,deep=_this$state.deep,_this$props=this.props,isCollapsed=_this$props.isCollapsed,handleRemove=_this$props.handleRemove,handleUpdateValue=_this$props.handleUpdateValue,onUpdate=_this$props.onUpdate,onDeltaUpdate=_this$props.onDeltaUpdate,readOnly=_this$props.readOnly,getStyle=_this$props.getStyle,addButtonElement=_this$props.addButtonElement,cancelButtonElement=_this$props.cancelButtonElement,editButtonElement=_this$props.editButtonElement,inputElementGenerator=_this$props.inputElementGenerator,textareaElementGenerator=_this$props.textareaElementGenerator,minusMenuElement=_this$props.minusMenuElement,plusMenuElement=_this$props.plusMenuElement,beforeRemoveAction=_this$props.beforeRemoveAction,beforeAddAction=_this$props.beforeAddAction,beforeUpdateAction=_this$props.beforeUpdateAction,logger=_this$props.logger,onSubmitValueParser=_this$props.onSubmitValueParser,readOnlyTrue=function readOnlyTrue(){return!0},dataType=getObjectType(data);switch(dataType){case dataTypes_ERROR:return react.createElement(components_JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly:readOnlyTrue,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger,onSubmitValueParser});case dataTypes_OBJECT:return react.createElement(components_JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger,onSubmitValueParser});case dataTypes_ARRAY:return react.createElement(components_JsonArray,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger,onSubmitValueParser});case dataTypes_STRING:return react.createElement(components_JsonValue,{name,value:'"'.concat(data,'"'),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger,onSubmitValueParser});case dataTypes_NUMBER:return react.createElement(components_JsonValue,{name,value:data,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger,onSubmitValueParser});case dataTypes_BOOLEAN:return react.createElement(components_JsonValue,{name,value:data?"true":"false",originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger,onSubmitValueParser});case dataTypes_DATE:return react.createElement(components_JsonValue,{name,value:data.toISOString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger,onSubmitValueParser});case dataTypes_NULL:return react.createElement(components_JsonValue,{name,value:"null",originalValue:"null",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger,onSubmitValueParser});case dataTypes_UNDEFINED:return react.createElement(components_JsonValue,{name,value:"undefined",originalValue:"undefined",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger,onSubmitValueParser});case dataTypes_FUNCTION:return react.createElement(components_JsonFunctionValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,textareaElementGenerator,minusMenuElement,logger,onSubmitValueParser});case dataTypes_SYMBOL:return react.createElement(components_JsonValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger,onSubmitValueParser});default:return null}}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}}]),JsonNode}(react.Component);JsonNode.displayName="JsonNode",JsonNode.propTypes={name:prop_types_default().string.isRequired,data:prop_types_default().any,isCollapsed:prop_types_default().func.isRequired,keyPath:prop_types_default().array,deep:prop_types_default().number,handleRemove:prop_types_default().func,handleUpdateValue:prop_types_default().func,onUpdate:prop_types_default().func.isRequired,onDeltaUpdate:prop_types_default().func.isRequired,readOnly:prop_types_default().func.isRequired,getStyle:prop_types_default().func.isRequired,addButtonElement:prop_types_default().element,cancelButtonElement:prop_types_default().element,editButtonElement:prop_types_default().element,inputElementGenerator:prop_types_default().func.isRequired,textareaElementGenerator:prop_types_default().func.isRequired,minusMenuElement:prop_types_default().element,plusMenuElement:prop_types_default().element,beforeRemoveAction:prop_types_default().func,beforeAddAction:prop_types_default().func,beforeUpdateAction:prop_types_default().func,logger:prop_types_default().object.isRequired,onSubmitValueParser:prop_types_default().func.isRequired},JsonNode.defaultProps={keyPath:[],deep:0};const components_JsonNode=JsonNode;var object={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},array={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},value={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},parse=__webpack_require__("./node_modules/@storybook/components/dist/esm/controls/react-editable-json-tree/utils/parse.js");function react_editable_json_tree_typeof(obj){return react_editable_json_tree_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},react_editable_json_tree_typeof(obj)}function react_editable_json_tree_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function react_editable_json_tree_setPrototypeOf(o,p){return react_editable_json_tree_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},react_editable_json_tree_setPrototypeOf(o,p)}function react_editable_json_tree_createSuper(Derived){var hasNativeReflectConstruct=function react_editable_json_tree_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=react_editable_json_tree_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=react_editable_json_tree_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return react_editable_json_tree_possibleConstructorReturn(this,result)}}function react_editable_json_tree_possibleConstructorReturn(self,call){return!call||"object"!==react_editable_json_tree_typeof(call)&&"function"!=typeof call?react_editable_json_tree_assertThisInitialized(self):call}function react_editable_json_tree_assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function react_editable_json_tree_getPrototypeOf(o){return react_editable_json_tree_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},react_editable_json_tree_getPrototypeOf(o)}var JsonTree=function(_Component){!function react_editable_json_tree_inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&react_editable_json_tree_setPrototypeOf(subClass,superClass)}(JsonTree,_Component);var _super=react_editable_json_tree_createSuper(JsonTree);function JsonTree(props){var _this;return function react_editable_json_tree_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,JsonTree),(_this=_super.call(this,props)).state={data:props.data,rootName:props.rootName},_this.onUpdate=_this.onUpdate.bind(react_editable_json_tree_assertThisInitialized(_this)),_this.removeRoot=_this.removeRoot.bind(react_editable_json_tree_assertThisInitialized(_this)),_this}return function react_editable_json_tree_createClass(Constructor,protoProps,staticProps){return protoProps&&react_editable_json_tree_defineProperties(Constructor.prototype,protoProps),staticProps&&react_editable_json_tree_defineProperties(Constructor,staticProps),Constructor}(JsonTree,[{key:"onUpdate",value:function onUpdate(key,data){this.setState({data}),this.props.onFullyUpdate(data)}},{key:"removeRoot",value:function removeRoot(){this.onUpdate(null,null)}},{key:"render",value:function render(){var _this$state=this.state,data=_this$state.data,rootName=_this$state.rootName,_this$props=this.props,isCollapsed=_this$props.isCollapsed,onDeltaUpdate=_this$props.onDeltaUpdate,readOnly=_this$props.readOnly,getStyle=_this$props.getStyle,addButtonElement=_this$props.addButtonElement,cancelButtonElement=_this$props.cancelButtonElement,editButtonElement=_this$props.editButtonElement,inputElement=_this$props.inputElement,textareaElement=_this$props.textareaElement,minusMenuElement=_this$props.minusMenuElement,plusMenuElement=_this$props.plusMenuElement,beforeRemoveAction=_this$props.beforeRemoveAction,beforeAddAction=_this$props.beforeAddAction,beforeUpdateAction=_this$props.beforeUpdateAction,logger=_this$props.logger,onSubmitValueParser=_this$props.onSubmitValueParser,fallback=_this$props.fallback,dataType=getObjectType(data),readOnlyFunction=readOnly;"Boolean"===getObjectType(readOnly)&&(readOnlyFunction=function readOnlyFunction(){return readOnly});var inputElementFunction=inputElement;inputElement&&"Function"!==getObjectType(inputElement)&&(inputElementFunction=function inputElementFunction(){return inputElement});var textareaElementFunction=textareaElement;return textareaElement&&"Function"!==getObjectType(textareaElement)&&(textareaElementFunction=function textareaElementFunction(){return textareaElement}),"Object"===dataType||"Array"===dataType?react.createElement("div",{className:"rejt-tree"},react.createElement(components_JsonNode,{data,name:rootName,collapsed:!1,deep:-1,isCollapsed,onUpdate:this.onUpdate,onDeltaUpdate,readOnly:readOnlyFunction,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator:inputElementFunction,textareaElementGenerator:textareaElementFunction,minusMenuElement,plusMenuElement,handleRemove:this.removeRoot,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger,onSubmitValueParser})):fallback}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,state){return props.data!==state.data||props.rootName!==state.rootName?{data:props.data,rootName:props.rootName}:null}}]),JsonTree}(react.Component);JsonTree.displayName="JsonTree",JsonTree.propTypes={data:prop_types_default().any.isRequired,rootName:prop_types_default().string,isCollapsed:prop_types_default().func,onFullyUpdate:prop_types_default().func,onDeltaUpdate:prop_types_default().func,readOnly:prop_types_default().oneOfType([prop_types_default().bool,prop_types_default().func]),getStyle:prop_types_default().func,addButtonElement:prop_types_default().element,cancelButtonElement:prop_types_default().element,editButtonElement:prop_types_default().element,inputElement:prop_types_default().oneOfType([prop_types_default().element,prop_types_default().func]),textareaElement:prop_types_default().oneOfType([prop_types_default().element,prop_types_default().func]),minusMenuElement:prop_types_default().element,plusMenuElement:prop_types_default().element,beforeRemoveAction:prop_types_default().func,beforeAddAction:prop_types_default().func,beforeUpdateAction:prop_types_default().func,logger:prop_types_default().object,onSubmitValueParser:prop_types_default().func},JsonTree.defaultProps={rootName:"root",isCollapsed:function isCollapsed(keyPath,deep){return-1!==deep},getStyle:function getStyle(keyName,data,keyPath,deep,dataType){switch(dataType){case"Object":case"Error":return object;case"Array":return array;default:return value}},readOnly:function readOnly(keyName,data,keyPath,deep,dataType){return!1},onFullyUpdate:function onFullyUpdate(data){},onDeltaUpdate:function onDeltaUpdate(_ref){_ref.type,_ref.keyPath,_ref.deep,_ref.key,_ref.newValue,_ref.oldValue},beforeRemoveAction:function beforeRemoveAction(key,keyPath,deep,oldValue){return new Promise((function(resolve){return resolve()}))},beforeAddAction:function beforeAddAction(key,keyPath,deep,newValue){return new Promise((function(resolve){return resolve()}))},beforeUpdateAction:function beforeUpdateAction(key,keyPath,deep,oldValue,newValue){return new Promise((function(resolve){return resolve()}))},logger:{error:function error(){}},onSubmitValueParser:function onSubmitValueParser(isEditMode,keyPath,deep,name,rawValue){return(0,parse.Z)(rawValue)},inputElement:function inputElement(usage,keyPath,deep,keyName,data,dataType){return react.createElement("input",null)},textareaElement:function textareaElement(usage,keyPath,deep,keyName,data,dataType){return react.createElement("textarea",null)},fallback:null};var helpers=__webpack_require__("./node_modules/@storybook/components/dist/esm/controls/helpers.js"),esm_form=__webpack_require__("./node_modules/@storybook/components/dist/esm/form/index.js"),bar_button=__webpack_require__("./node_modules/@storybook/components/dist/esm/bar/button.js");function Object_slicedToArray(arr,i){return function Object_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function Object_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function Object_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return Object_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Object_arrayLikeToArray(o,minLen)}(arr,i)||function Object_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Object_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var globalWindow=window_default().window,Wrapper=esm.styled.div((function(_ref){var theme=_ref.theme;return{position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:theme.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:theme.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:theme.background.app,borderColor:theme.color.border}}})),Button=esm.styled.button((function(_ref2){var theme=_ref2.theme,primary=_ref2.primary;return{border:0,height:20,margin:1,borderRadius:4,background:primary?theme.color.secondary:"transparent",color:primary?theme.color.lightest:theme.color.dark,fontWeight:primary?"bold":"normal",cursor:"pointer",order:primary?"initial":9}})),ActionIcon=(0,esm.styled)(icon.P)((function(_ref3){var theme=_ref3.theme,icon=_ref3.icon,disabled=_ref3.disabled;return{display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:disabled?"not-allowed":"pointer",color:theme.color.mediumdark,"&:hover":disabled?{}:{color:"subtract"===icon?theme.color.negative:theme.color.ancillary},"svg + &":{marginLeft:0}}})),Input=esm.styled.input((function(_ref4){var theme=_ref4.theme,placeholder=_ref4.placeholder;return{outline:0,margin:placeholder?1:"1px 0",padding:"3px 4px",color:theme.color.defaultText,background:theme.background.app,border:"1px solid ".concat(theme.color.border),borderRadius:4,lineHeight:"14px",width:"Key"===placeholder?80:120,"&:focus":{border:"1px solid ".concat(theme.color.secondary)}}})),RawButton=(0,esm.styled)(bar_button.hU)((function(_ref5){var theme=_ref5.theme;return{position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:theme.background.bar,border:"1px solid ".concat(theme.color.border),borderRadius:3,color:theme.color.mediumdark,fontSize:"9px",fontWeight:"bold",span:{marginLeft:3,marginTop:1}}})),RawInput=(0,esm.styled)(esm_form.l.Textarea)((function(_ref6){var theme=_ref6.theme;return{flex:1,padding:"7px 6px",fontFamily:theme.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:theme.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}}})),ENTER_EVENT={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},dispatchEnterKey=function dispatchEnterKey(event){event.currentTarget.dispatchEvent(new globalWindow.KeyboardEvent("keydown",ENTER_EVENT))},selectValue=function selectValue(event){event.currentTarget.select()},getCustomStyleFunction=function getCustomStyleFunction(theme){return function(){return{name:{color:theme.color.secondary},collapsed:{color:theme.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}}},ObjectControl=function ObjectControl(_ref7){var name=_ref7.name,value=_ref7.value,onChange=_ref7.onChange,theme=(0,emotion_theming_browser_esm.Fg)(),data=(0,react.useMemo)((function(){return value&&cloneDeep_default()(value)}),[value]),hasData=null!=data,_useState2=Object_slicedToArray((0,react.useState)(!hasData),2),showRaw=_useState2[0],setShowRaw=_useState2[1],_useState4=Object_slicedToArray((0,react.useState)(null),2),parseError=_useState4[0],setParseError=_useState4[1],updateRaw=(0,react.useCallback)((function(raw){try{raw&&onChange(JSON.parse(raw)),setParseError(void 0)}catch(e){setParseError(e)}}),[onChange]),_useState6=Object_slicedToArray((0,react.useState)(!1),2),forceVisible=_useState6[0],setForceVisible=_useState6[1],onForceVisible=(0,react.useCallback)((function(){onChange({}),setForceVisible(!0)}),[setForceVisible]),htmlElRef=(0,react.useRef)(null);if((0,react.useEffect)((function(){forceVisible&&htmlElRef.current&&htmlElRef.current.select()}),[forceVisible]),!hasData)return react.createElement(esm_form.l.Button,{id:(0,helpers.O)(name),onClick:onForceVisible},"Set object");var rawJSONForm=react.createElement(RawInput,{ref:htmlElRef,id:(0,helpers.d)(name),name,defaultValue:null===value?"":JSON.stringify(value,null,2),onBlur:function onBlur(event){return updateRaw(event.target.value)},placeholder:"Edit JSON string...",autoFocus:forceVisible,valid:parseError?"error":null});return react.createElement(Wrapper,null,["Object","Array"].includes(getObjectType(data))&&react.createElement(RawButton,{onClick:function onClick(){return setShowRaw((function(v){return!v}))}},react.createElement(icon.P,{icon:showRaw?"eyeclose":"eye"}),react.createElement("span",null,"RAW")),showRaw?rawJSONForm:react.createElement(JsonTree,{data,rootName:name,onFullyUpdate:onChange,getStyle:getCustomStyleFunction(theme),cancelButtonElement:react.createElement(Button,{type:"button"},"Cancel"),editButtonElement:react.createElement(Button,{type:"submit"},"Save"),addButtonElement:react.createElement(Button,{type:"submit",primary:!0},"Save"),plusMenuElement:react.createElement(ActionIcon,{icon:"add"}),minusMenuElement:react.createElement(ActionIcon,{icon:"subtract"}),inputElement:function inputElement(_,__,___,key){return key?react.createElement(Input,{onFocus:selectValue,onBlur:dispatchEnterKey}):react.createElement(Input,null)},fallback:rawJSONForm}))};ObjectControl.displayName="ObjectControl";__webpack_require__("./node_modules/core-js/modules/es.string.bold.js");var Label=esm.styled.label((function(_ref){var theme=_ref.theme;return{lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:"".concat((0,polished_esm.jb)(.05,theme.appBorderColor)),borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:"".concat(theme.color.secondary," 0 0 0 1px inset !important")}},span:{textAlign:"center",fontSize:theme.typography.size.s1,fontWeight:theme.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:(0,polished_esm.DZ)(.4,theme.color.defaultText),background:"transparent","&:hover":{boxShadow:"".concat((0,polished_esm.jb)(.3,theme.appBorderColor)," 0 0 0 1px inset")},"&:active":{boxShadow:"".concat((0,polished_esm.jb)(.05,theme.appBorderColor)," 0 0 0 2px inset"),color:(0,polished_esm.jb)(1,theme.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:theme.background.app,boxShadow:"".concat((0,polished_esm.jb)(.1,theme.appBorderColor)," 0 0 2px"),color:theme.color.defaultText,padding:"7px 15px"}}})),BooleanControl=function BooleanControl(_ref2){var name=_ref2.name,value=_ref2.value,_onChange=_ref2.onChange,onBlur=_ref2.onBlur,onFocus=_ref2.onFocus,onSetFalse=(0,react.useCallback)((function(){return _onChange(!1)}),[_onChange]);return void 0===value?react.createElement(esm_form.l.Button,{id:(0,helpers.O)(name),onClick:onSetFalse},"Set boolean"):react.createElement(Label,{htmlFor:name,title:value?"Change to false":"Change to true"},react.createElement("input",{id:(0,helpers.d)(name),type:"checkbox",onChange:function onChange(e){return _onChange(e.target.checked)},checked:value||!1,name,onBlur,onFocus}),react.createElement("span",null,"False"),react.createElement("span",null,"True"))};function Date_slicedToArray(arr,i){return function Date_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function Date_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function Date_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return Date_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Date_arrayLikeToArray(o,minLen)}(arr,i)||function Date_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Date_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}BooleanControl.displayName="BooleanControl";var FlexSpaced=esm.styled.div((function(_ref){return{flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:"light"===_ref.theme.base?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}}})),DateControl=function DateControl(_ref2){var name=_ref2.name,value=_ref2.value,onChange=_ref2.onChange,onFocus=_ref2.onFocus,onBlur=_ref2.onBlur,_useState2=Date_slicedToArray((0,react.useState)(!0),2),valid=_useState2[0],setValid=_useState2[1],dateRef=(0,react.useRef)(),timeRef=(0,react.useRef)();(0,react.useEffect)((function(){!1!==valid&&(dateRef&&dateRef.current&&(dateRef.current.value=function formatDate(value){var date=new Date(value),year="000".concat(date.getFullYear()).slice(-4),month="0".concat(date.getMonth()+1).slice(-2),day="0".concat(date.getDate()).slice(-2);return"".concat(year,"-").concat(month,"-").concat(day)}(value)),timeRef&&timeRef.current&&(timeRef.current.value=function formatTime(value){var date=new Date(value),hours="0".concat(date.getHours()).slice(-2),minutes="0".concat(date.getMinutes()).slice(-2);return"".concat(hours,":").concat(minutes)}(value)))}),[value]);var controlId=(0,helpers.d)(name);return react.createElement(FlexSpaced,null,react.createElement(esm_form.l.Input,{type:"date",max:"9999-12-31",ref:dateRef,id:"".concat(controlId,"-date"),name:"".concat(controlId,"-date"),onChange:function onDateChange(e){var parsed=function parseDate(value){var _value$split2=Date_slicedToArray(value.split("-"),3),year=_value$split2[0],month=_value$split2[1],day=_value$split2[2],result=new Date;return result.setFullYear(parseInt(year,10),parseInt(month,10)-1,parseInt(day,10)),result}(e.target.value),result=new Date(value);result.setFullYear(parsed.getFullYear(),parsed.getMonth(),parsed.getDate());var time=result.getTime();time&&onChange(time),setValid(!!time)},onFocus,onBlur}),react.createElement(esm_form.l.Input,{type:"time",id:"".concat(controlId,"-time"),name:"".concat(controlId,"-time"),ref:timeRef,onChange:function onTimeChange(e){var parsed=function parseTime(value){var _value$split4=Date_slicedToArray(value.split(":"),2),hours=_value$split4[0],minutes=_value$split4[1],result=new Date;return result.setHours(parseInt(hours,10)),result.setMinutes(parseInt(minutes,10)),result}(e.target.value),result=new Date(value);result.setHours(parsed.getHours()),result.setMinutes(parsed.getMinutes());var time=result.getTime();time&&onChange(time),setValid(!!time)},onFocus,onBlur}),valid?null:react.createElement("div",null,"invalid"))};DateControl.displayName="DateControl";__webpack_require__("./node_modules/core-js/modules/es.number.is-safe-integer.js");function Number_slicedToArray(arr,i){return function Number_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function Number_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function Number_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return Number_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Number_arrayLikeToArray(o,minLen)}(arr,i)||function Number_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Number_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var Number_Wrapper=esm.styled.label({display:"flex"}),NumberControl=function NumberControl(_ref){var name=_ref.name,value=_ref.value,onChange=_ref.onChange,min=_ref.min,max=_ref.max,step=_ref.step,onBlur=_ref.onBlur,onFocus=_ref.onFocus,_useState2=Number_slicedToArray((0,react.useState)("number"==typeof value?value:""),2),inputValue=_useState2[0],setInputValue=_useState2[1],_useState4=Number_slicedToArray((0,react.useState)(!1),2),forceVisible=_useState4[0],setForceVisible=_useState4[1],_useState6=Number_slicedToArray((0,react.useState)(null),2),parseError=_useState6[0],setParseError=_useState6[1],handleChange=(0,react.useCallback)((function(event){setInputValue(event.target.value);var result=parseFloat(event.target.value);Number.isNaN(result)?setParseError(new Error("'".concat(event.target.value,"' is not a number"))):(onChange(result),setParseError(null))}),[onChange,setParseError]),onForceVisible=(0,react.useCallback)((function(){setInputValue("0"),onChange(0),setForceVisible(!0)}),[setForceVisible]),htmlElRef=(0,react.useRef)(null);return(0,react.useEffect)((function(){forceVisible&&htmlElRef.current&&htmlElRef.current.select()}),[forceVisible]),forceVisible||void 0!==value?react.createElement(Number_Wrapper,null,react.createElement(esm_form.l.Input,{ref:htmlElRef,id:(0,helpers.d)(name),type:"number",onChange:handleChange,size:"flex",placeholder:"Edit number...",value:inputValue,valid:parseError?"error":null,autoFocus:forceVisible,name,min,max,step,onFocus,onBlur})):react.createElement(esm_form.l.Button,{id:(0,helpers.O)(name),onClick:onForceVisible},"Set number")};NumberControl.displayName="NumberControl";__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js");var ts_dedent_esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),dist_esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js");__webpack_require__("./node_modules/core-js/modules/es.array.find.js");function helpers_slicedToArray(arr,i){return function helpers_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function helpers_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function helpers_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return helpers_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return helpers_arrayLikeToArray(o,minLen)}(arr,i)||function helpers_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function helpers_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var selectedKey=function selectedKey(value,options){var entry=options&&Object.entries(options).find((function(_ref){var _ref2=helpers_slicedToArray(_ref,2);_ref2[0];return _ref2[1]===value}));return entry?entry[0]:void 0},selectedKeys=function selectedKeys(value,options){return value&&options?Object.entries(options).filter((function(entry){return value.includes(entry[1])})).map((function(entry){return entry[0]})):[]},selectedValues=function selectedValues(keys,options){return keys&&options&&keys.map((function(key){return options[key]}))};function Checkbox_toConsumableArray(arr){return function Checkbox_arrayWithoutHoles(arr){if(Array.isArray(arr))return Checkbox_arrayLikeToArray(arr)}(arr)||function Checkbox_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||Checkbox_unsupportedIterableToArray(arr)||function Checkbox_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Checkbox_slicedToArray(arr,i){return function Checkbox_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function Checkbox_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||Checkbox_unsupportedIterableToArray(arr,i)||function Checkbox_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Checkbox_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return Checkbox_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Checkbox_arrayLikeToArray(o,minLen):void 0}}function Checkbox_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var Checkbox_Wrapper=esm.styled.div((function(_ref){return _ref.isInline?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}})),Checkbox_Text=esm.styled.span({}),Checkbox_Label=esm.styled.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),CheckboxControl=function CheckboxControl(_ref2){var name=_ref2.name,options=_ref2.options,value=_ref2.value,onChange=_ref2.onChange,isInline=_ref2.isInline;if(!options)return dist_esm.kg.warn("Checkbox with no options: ".concat(name)),react.createElement(react.Fragment,null,"-");var initial=selectedKeys(value,options),_useState2=Checkbox_slicedToArray((0,react.useState)(initial),2),selected=_useState2[0],setSelected=_useState2[1],handleChange=function handleChange(e){var option=e.target.value,updated=Checkbox_toConsumableArray(selected);null!=updated&&updated.includes(option)?updated.splice(updated.indexOf(option),1):updated.push(option),onChange(selectedValues(updated,options)),setSelected(updated)},controlId=(0,helpers.d)(name);return react.createElement(Checkbox_Wrapper,{isInline},Object.keys(options).map((function(key,index){var id="".concat(controlId,"-").concat(index);return react.createElement(Checkbox_Label,{key:id,htmlFor:id},react.createElement("input",{type:"checkbox",id,name:id,value:key,onChange:handleChange,checked:null==selected?void 0:selected.includes(key)}),react.createElement(Checkbox_Text,null,key))})))};CheckboxControl.displayName="CheckboxControl";var _templateObject,Radio_Wrapper=esm.styled.div((function(_ref){return _ref.isInline?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}})),Radio_Text=(esm.styled.fieldset({border:0,padding:0,margin:0}),esm.styled.span({})),Radio_Label=esm.styled.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),RadioControl=function RadioControl(_ref2){var name=_ref2.name,options=_ref2.options,value=_ref2.value,_onChange=_ref2.onChange,isInline=_ref2.isInline;if(!options)return dist_esm.kg.warn("Radio with no options: ".concat(name)),react.createElement(react.Fragment,null,"-");var selection=selectedKey(value,options),controlId=(0,helpers.d)(name);return react.createElement(Radio_Wrapper,{isInline},Object.keys(options).map((function(key,index){var id="".concat(controlId,"-").concat(index);return react.createElement(Radio_Label,{key:id,htmlFor:id},react.createElement("input",{type:"radio",id,name:id,value:key,onChange:function onChange(e){return _onChange(options[e.currentTarget.value])},checked:key===selection}),react.createElement(Radio_Text,null,key))})))};RadioControl.displayName="RadioControl";var styleResets={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},OptionsSelect=esm.styled.select((function(_ref){var theme=_ref.theme;return Object.assign({},styleResets,{boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:theme.input.color||"inherit",background:theme.input.background,borderRadius:theme.input.borderRadius,boxShadow:"".concat(theme.input.border," 0 0 0 1px inset"),fontSize:theme.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:"".concat(theme.color.secondary," 0 0 0 1px inset"),outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:theme.color.mediumdark},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})})),SelectWrapper=esm.styled.span(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n display: inline-block;\n line-height: normal;\n overflow: hidden;\n position: relative;\n vertical-align: top;\n width: 100%;\n\n svg {\n position: absolute;\n z-index: 1;\n pointer-events: none;\n height: 12px;\n margin-top: -6px;\n right: 12px;\n top: 50%;\n\n path {\n fill: currentColor;\n }\n }\n"]))),SingleSelect=function SingleSelect(_ref2){var name=_ref2.name,value=_ref2.value,options=_ref2.options,onChange=_ref2.onChange,selection=selectedKey(value,options)||"Choose option...",controlId=(0,helpers.d)(name);return react.createElement(SelectWrapper,null,react.createElement(icon.P,{icon:"arrowdown"}),react.createElement(OptionsSelect,{id:controlId,value:selection,onChange:function handleChange(e){onChange(options[e.currentTarget.value])}},react.createElement("option",{key:"no-selection",disabled:!0},"Choose option..."),Object.keys(options).map((function(key){return react.createElement("option",{key},key)}))))};SingleSelect.displayName="SingleSelect";var MultiSelect=function MultiSelect(_ref3){var name=_ref3.name,value=_ref3.value,options=_ref3.options,onChange=_ref3.onChange,selection=selectedKeys(value,options),controlId=(0,helpers.d)(name);return react.createElement(SelectWrapper,null,react.createElement(OptionsSelect,{id:controlId,multiple:!0,value:selection,onChange:function handleChange(e){var selection=Array.from(e.currentTarget.options).filter((function(option){return option.selected})).map((function(option){return option.value}));onChange(selectedValues(selection,options))}},Object.keys(options).map((function(key){return react.createElement("option",{key},key)}))))};MultiSelect.displayName="MultiSelect";var Options_templateObject,SelectControl=function SelectControl(props){var name=props.name;return props.options?props.isMulti?react.createElement(MultiSelect,props):react.createElement(SingleSelect,props):(dist_esm.kg.warn("Select with no options: ".concat(name)),react.createElement(react.Fragment,null,"-"))};var normalizeOptions=function normalizeOptions(options,labels){return Array.isArray(options)?options.reduce((function(acc,item){return acc[(null==labels?void 0:labels[item])||String(item)]=item,acc}),{}):options},Controls={check:CheckboxControl,"inline-check":CheckboxControl,radio:RadioControl,"inline-radio":RadioControl,select:SelectControl,"multi-select":SelectControl},OptionsControl=function OptionsControl(props){var _props$type=props.type,type=void 0===_props$type?"select":_props$type,options=props.options,labels=props.labels,argType=props.argType,normalized=Object.assign({},props,{options:normalizeOptions(options||argType.options,labels),isInline:type.includes("inline"),isMulti:type.includes("multi")});options&&dist_esm.IH.warn((0,ts_dedent_esm.C)(Options_templateObject||(Options_templateObject=function Options_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n 'control.options' is deprecated and will be removed in Storybook 7.0. Define 'options' directly on the argType instead, and use 'control.labels' for custom labels.\n\n More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-controloptions\n "]))));var Control=Controls[type];if(Control)return react.createElement(Control,normalized);throw new Error("Unknown options type: ".concat(type))},RangeInput=(__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js"),esm.styled.input((function(_ref){var theme=_ref.theme,min=_ref.min,max=_ref.max,value=_ref.value;return{"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:"light"===theme.base?"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm._j)(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm._j)(.02,theme.input.background)," 100%)"):"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm.$n)(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm.$n)(.02,theme.input.background)," 100%)"),boxShadow:"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:"1px solid ".concat((0,polished_esm.m4)(theme.appBorderColor,.2)),borderRadius:"50px",boxShadow:"0 1px 3px 0px ".concat((0,polished_esm.m4)(theme.appBorderColor,.2)),cursor:"grab",appearance:"none",background:"".concat(theme.input.background),transition:"all 150ms ease-out","&:hover":{background:"".concat((0,polished_esm._j)(.05,theme.input.background)),transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:"".concat(theme.input.background),transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:(0,polished_esm.m4)(theme.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:theme.color.secondary,boxShadow:"0 0px 5px 0px ".concat(theme.color.secondary)}},"&::-moz-range-track":{background:"light"===theme.base?"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm._j)(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm._j)(.02,theme.input.background)," 100%)"):"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm.$n)(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm.$n)(.02,theme.input.background)," 100%)"),boxShadow:"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:"1px solid ".concat((0,polished_esm.m4)(theme.color.border,.2)),borderRadius:"50px",boxShadow:"0 1px 3px 0px ".concat((0,polished_esm.m4)(theme.color.border,.2)),cursor:"grab",background:"".concat(theme.input.background),transition:"all 150ms ease-out","&:hover":{background:"".concat((0,polished_esm._j)(.05,theme.input.background)),transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:"".concat(theme.input.background),transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:"light"===theme.base?"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm._j)(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm._j)(.02,theme.input.background)," 100%)"):"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm.$n)(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat((0,polished_esm.$n)(.02,theme.input.background)," 100%)"),boxShadow:"".concat(theme.appBorderColor," 0 0 0 1px inset"),color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:"".concat(theme.input.background),border:"1px solid ".concat((0,polished_esm.m4)(theme.appBorderColor,.2)),borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}}}))),RangeLabel=esm.styled.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),RangeWrapper=esm.styled.div({display:"flex",alignItems:"center",width:"100%"});var RangeControl=function RangeControl(_ref2){var name=_ref2.name,value=_ref2.value,onChange=_ref2.onChange,_ref2$min=_ref2.min,min=void 0===_ref2$min?0:_ref2$min,_ref2$max=_ref2.max,max=void 0===_ref2$max?100:_ref2$max,_ref2$step=_ref2.step,step=void 0===_ref2$step?1:_ref2$step,onBlur=_ref2.onBlur,onFocus=_ref2.onFocus,hasValue=void 0!==value,numberOFDecimalsPlaces=(0,react.useMemo)((function(){return function getNumberOfDecimalPlaces(number){var match=number.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return match?Math.max(0,(match[1]?match[1].length:0)-(match[2]?+match[2]:0)):0}(step)}),[step]);return react.createElement(RangeWrapper,null,react.createElement(RangeLabel,null,min),react.createElement(RangeInput,{id:(0,helpers.d)(name),type:"range",onChange:function handleChange(event){onChange(function parse(value){var result=parseFloat(value);return Number.isNaN(result)?void 0:result}(event.target.value))},name,value,min,max,step,onFocus,onBlur}),react.createElement(RangeLabel,null,"".concat(hasValue?value.toFixed(numberOFDecimalsPlaces):"--")," / ",max))};function Text_slicedToArray(arr,i){return function Text_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function Text_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function Text_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return Text_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Text_arrayLikeToArray(o,minLen)}(arr,i)||function Text_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Text_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}RangeControl.displayName="RangeControl";var Text_Wrapper=esm.styled.label({display:"flex"}),TextControl=function TextControl(_ref){var name=_ref.name,value=_ref.value,onChange=_ref.onChange,onFocus=_ref.onFocus,onBlur=_ref.onBlur,_useState2=Text_slicedToArray((0,react.useState)(!1),2),forceVisible=_useState2[0],setForceVisible=_useState2[1],onForceVisible=(0,react.useCallback)((function(){onChange(""),setForceVisible(!0)}),[setForceVisible]);if(void 0===value)return react.createElement(esm_form.l.Button,{id:(0,helpers.O)(name),onClick:onForceVisible},"Set string");var isValid="string"==typeof value;return react.createElement(Text_Wrapper,null,react.createElement(esm_form.l.Textarea,{id:(0,helpers.d)(name),onChange:function handleChange(event){onChange(event.target.value)},size:"flex",placeholder:"Edit string...",autoFocus:forceVisible,valid:isValid?null:"error",name,value:isValid?value:"",onFocus,onBlur}))};TextControl.displayName="TextControl";__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/core-js/modules/web.url.js");var FileInput=(0,esm.styled)(esm_form.l.Input)({padding:10});var FilesControl=function FilesControl(_ref){var onChange=_ref.onChange,name=_ref.name,_ref$accept=_ref.accept,accept=void 0===_ref$accept?"image/*":_ref$accept,value=_ref.value;return react.createElement(FileInput,{id:(0,helpers.d)(name),type:"file",name,multiple:!0,onChange:function handleFileChange(e){if(e.target.files){var fileUrls=Array.from(e.target.files).map((function(file){return URL.createObjectURL(file)}));onChange(fileUrls),function revokeOldUrls(urls){urls.forEach((function(url){url.startsWith("blob:")&&URL.revokeObjectURL(url)}))}(value)}},accept,size:"flex"})};function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function ArgControl_slicedToArray(arr,i){return function ArgControl_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function ArgControl_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function ArgControl_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return ArgControl_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ArgControl_arrayLikeToArray(o,minLen)}(arr,i)||function ArgControl_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ArgControl_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}FilesControl.displayName="FilesControl";var ArgControl_Controls={array:ObjectControl,object:ObjectControl,boolean:BooleanControl,color:controls.ColorControl,date:DateControl,number:NumberControl,check:OptionsControl,"inline-check":OptionsControl,radio:OptionsControl,"inline-radio":OptionsControl,select:OptionsControl,"multi-select":OptionsControl,range:RangeControl,text:TextControl,file:FilesControl},NoControl=function NoControl(){return react.createElement(react.Fragment,null,"-")},ArgControl=function ArgControl(_ref){var row=_ref.row,arg=_ref.arg,updateArgs=_ref.updateArgs,key=row.key,control=row.control,_useState2=ArgControl_slicedToArray((0,react.useState)(!1),2),isFocused=_useState2[0],setFocused=_useState2[1],_useState4=ArgControl_slicedToArray((0,react.useState)({value:arg}),2),boxedValue=_useState4[0],setBoxedValue=_useState4[1];(0,react.useEffect)((function(){isFocused||setBoxedValue({value:arg})}),[isFocused,arg]);var onChange=(0,react.useCallback)((function(argVal){return setBoxedValue({value:argVal}),updateArgs(function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},key,argVal)),argVal}),[updateArgs,key]),onBlur=(0,react.useCallback)((function(){return setFocused(!1)}),[]),onFocus=(0,react.useCallback)((function(){return setFocused(!0)}),[]);if(!control||control.disable)return react.createElement(NoControl,null);var props={name:key,argType:row,value:boxedValue.value,onChange,onBlur,onFocus},Control=ArgControl_Controls[control.type]||NoControl;return react.createElement(Control,_extends({},props,control,{controlType:control.type}))};ArgControl.displayName="ArgControl";var Name=esm.styled.span({fontWeight:"bold"}),Required=esm.styled.span((function(_ref){var theme=_ref.theme;return{color:theme.color.negative,fontFamily:theme.typography.fonts.mono,cursor:"help"}})),Description=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{"&&":{p:{margin:"0 0 10px 0"},a:{color:theme.color.secondary}},code:Object.assign({},(0,shared.CI)({theme}),{fontSize:12,fontFamily:theme.typography.fonts.mono}),"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}}})),Type=esm.styled.div((function(_ref3){var theme=_ref3.theme,hasDescription=_ref3.hasDescription;return{color:"light"===theme.base?(0,polished_esm.DZ)(.1,theme.color.defaultText):(0,polished_esm.DZ)(.2,theme.color.defaultText),marginTop:hasDescription?4:0}})),TypeWithJsDoc=esm.styled.div((function(_ref4){var theme=_ref4.theme,hasDescription=_ref4.hasDescription;return{color:"light"===theme.base?(0,polished_esm.DZ)(.1,theme.color.defaultText):(0,polished_esm.DZ)(.2,theme.color.defaultText),marginTop:hasDescription?12:0,marginBottom:12}})),StyledTd=esm.styled.td((function(_ref5){_ref5.theme;return{paddingLeft:_ref5.expandable?"40px !important":"20px !important"}})),ArgRow=function ArgRow(props){var _row$type,row=props.row,updateArgs=props.updateArgs,compact=props.compact,expandable=props.expandable,initialExpandedArgs=props.initialExpandedArgs,name=row.name,description=row.description,table=row.table||{},type=table.type||row.type,defaultValue=table.defaultValue||row.defaultValue,required=null===(_row$type=row.type)||void 0===_row$type?void 0:_row$type.required,hasDescription=null!=description&&""!==description;return react.createElement("tr",null,react.createElement(StyledTd,{expandable},react.createElement(Name,null,name),required?react.createElement(Required,{title:"Required"},"*"):null),compact?null:react.createElement("td",null,hasDescription&&react.createElement(Description,null,react.createElement(index_modern.Z,null,description)),null!=table.jsDocTags?react.createElement(react.Fragment,null,react.createElement(TypeWithJsDoc,{hasDescription},react.createElement(ArgValue,{value:type,initialExpandedArgs})),react.createElement(ArgJsDoc,{tags:table.jsDocTags})):react.createElement(Type,{hasDescription},react.createElement(ArgValue,{value:type,initialExpandedArgs}))),compact?null:react.createElement("td",null,react.createElement(ArgValue,{value:defaultValue,initialExpandedArgs})),updateArgs?react.createElement("td",null,react.createElement(ArgControl,props)):null)};function SectionRow_slicedToArray(arr,i){return function SectionRow_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function SectionRow_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function SectionRow_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return SectionRow_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return SectionRow_arrayLikeToArray(o,minLen)}(arr,i)||function SectionRow_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function SectionRow_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}ArgRow.displayName="ArgRow";var ExpanderIcon=(0,esm.styled)(icon.P)((function(_ref){var theme=_ref.theme;return{marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:"light"===theme.base?(0,polished_esm.DZ)(.25,theme.color.defaultText):(0,polished_esm.DZ)(.3,theme.color.defaultText),border:"none",display:"inline-block"}})),FlexWrapper=esm.styled.span((function(_ref2){_ref2.theme;return{display:"flex",lineHeight:"20px",alignItems:"center"}})),Section=esm.styled.td((function(_ref3){var theme=_ref3.theme;return{position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:theme.typography.weight.black,fontSize:theme.typography.size.s1-1,color:"light"===theme.base?(0,polished_esm.DZ)(.4,theme.color.defaultText):(0,polished_esm.DZ)(.6,theme.color.defaultText),background:"".concat(theme.background.app," !important"),"& ~ td":{background:"".concat(theme.background.app," !important")}}})),Subsection=esm.styled.td((function(_ref4){var theme=_ref4.theme;return{position:"relative",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s2-1,background:theme.background.content}})),SectionRow_StyledTd=esm.styled.td((function(_ref5){_ref5.theme;return{position:"relative"}})),StyledTr=esm.styled.tr((function(_ref6){var theme=_ref6.theme;return{"&:hover > td":{backgroundColor:"".concat(theme.background.hoverable," !important"),boxShadow:"".concat(theme.color.mediumlight," 0 - 1px 0 0 inset"),cursor:"row-resize"}}})),ClickIntercept=esm.styled.button((function(){return{background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}})),SectionRow=function SectionRow(_ref7){var _ref7$level=_ref7.level,level=void 0===_ref7$level?"section":_ref7$level,label=_ref7.label,children=_ref7.children,_ref7$initialExpanded=_ref7.initialExpanded,initialExpanded=void 0===_ref7$initialExpanded||_ref7$initialExpanded,_ref7$colSpan=_ref7.colSpan,colSpan=void 0===_ref7$colSpan?3:_ref7$colSpan,_useState2=SectionRow_slicedToArray((0,react.useState)(initialExpanded),2),expanded=_useState2[0],setExpanded=_useState2[1],Level="subsection"===level?Subsection:Section,itemCount=(null==children?void 0:children.length)||0,caption="subsection"===level?"".concat(itemCount," item").concat(1!==itemCount?"s":""):"",icon=expanded?"arrowdown":"arrowright",helperText="".concat(expanded?"Hide":"Show"," ").concat("subsection"===level?itemCount:label," item").concat(1!==itemCount?"s":"");return react.createElement(react.Fragment,null,react.createElement(StyledTr,{title:helperText},react.createElement(Level,{colSpan:1},react.createElement(ClickIntercept,{onClick:function onClick(e){return setExpanded(!expanded)},tabIndex:0},helperText),react.createElement(FlexWrapper,null,react.createElement(ExpanderIcon,{icon}),label)),react.createElement(SectionRow_StyledTd,{colSpan:colSpan-1},react.createElement(ClickIntercept,{onClick:function onClick(e){return setExpanded(!expanded)},tabIndex:-1,style:{outline:"none"}},helperText),expanded?null:caption)),expanded?children:null)},EmptyBlock=__webpack_require__("./node_modules/@storybook/components/dist/esm/blocks/EmptyBlock.js");function link_extends(){return link_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},link_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var LinkInner=esm.styled.span((function(_ref){return _ref.withArrow?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{}}),(function(_ref2){return _ref2.containsIcon?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}})),A=esm.styled.a((function(_ref3){var theme=_ref3.theme;return{display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:theme.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:(0,polished_esm._j)(.07,theme.color.secondary),"svg path":{fill:(0,polished_esm._j)(.07,theme.color.secondary)}},"&:active":{color:(0,polished_esm._j)(.1,theme.color.secondary),"svg path":{fill:(0,polished_esm._j)(.1,theme.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:theme.color.secondary}}}}),(function(_ref4){var colors,theme=_ref4.theme,secondary=_ref4.secondary,tertiary=_ref4.tertiary;return secondary&&(colors=[theme.color.mediumdark,theme.color.dark,theme.color.darker]),tertiary&&(colors=[theme.color.dark,theme.color.darkest,theme.color.mediumdark]),colors?{color:colors[0],"svg path":{fill:colors[0]},"&:hover":{color:colors[1],"svg path":{fill:colors[1]}},"&:active":{color:colors[2],"svg path":{fill:colors[2]}}}:{}}),(function(_ref5){return _ref5.nochrome?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{}}),(function(_ref6){var theme=_ref6.theme;return _ref6.inverse?{color:theme.color.lightest,"svg path":{fill:theme.color.lightest},"&:hover":{color:theme.color.lighter,"svg path":{fill:theme.color.lighter}},"&:active":{color:theme.color.light,"svg path":{fill:theme.color.light}}}:{}}),(function(_ref7){return _ref7.isButton?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}})),Link=function Link(_ref8){var cancel=_ref8.cancel,children=_ref8.children,onClick=_ref8.onClick,withArrow=_ref8.withArrow,containsIcon=_ref8.containsIcon,className=_ref8.className,rest=_objectWithoutProperties(_ref8,["cancel","children","onClick","withArrow","containsIcon","className"]);return react.createElement(A,link_extends({},rest,{onClick:onClick&&cancel?function(e){return function cancelled(e,cb){(function isPlainLeftClick(e){return!(0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)})(e)&&(e.preventDefault(),cb(e))}(e,onClick)}:onClick,className}),react.createElement(LinkInner,{withArrow,containsIcon},children,withArrow&&react.createElement(icon.P,{icon:"arrowright"})))};Link.displayName="Link",Link.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var DocumentFormatting=__webpack_require__("./node_modules/@storybook/components/dist/esm/typography/DocumentFormatting.js");function ArgsTable_extends(){return ArgsTable_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},ArgsTable_extends.apply(this,arguments)}function ArgsTable_slicedToArray(arr,i){return function ArgsTable_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function ArgsTable_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function ArgsTable_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return ArgsTable_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ArgsTable_arrayLikeToArray(o,minLen)}(arr,i)||function ArgsTable_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ArgsTable_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function ArgsTable_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var ArgsTableError,TableWrapper=esm.styled.table((function(_ref){var _trFirstChild$conca,_trLastChild$concat,_,theme=_ref.theme,compact=_ref.compact,inAddonPanel=_ref.inAddonPanel;return{"&&":(_={borderCollapse:"collapse",borderSpacing:0,color:theme.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:theme.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:inAddonPanel?0:25,marginBottom:inAddonPanel?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":Object.assign({},compact?null:{width:"35%"}),"td:nth-of-type(3)":Object.assign({},compact?null:{width:"15%"}),"th:last-of-type, td:last-of-type":Object.assign({paddingRight:20},compact?null:{width:"25%"}),th:{color:"light"===theme.base?(0,polished_esm.DZ)(.25,theme.color.defaultText):(0,polished_esm.DZ)(.45,theme.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:inAddonPanel?0:1,marginRight:inAddonPanel?0:1},ArgsTable_defineProperty(_,"tr:first-child".concat(esm.ignoreSsrWarning),(_trFirstChild$conca={},ArgsTable_defineProperty(_trFirstChild$conca,"td:first-child".concat(esm.ignoreSsrWarning,", th:first-child").concat(esm.ignoreSsrWarning),{borderTopLeftRadius:inAddonPanel?0:theme.appBorderRadius}),ArgsTable_defineProperty(_trFirstChild$conca,"td:last-child".concat(esm.ignoreSsrWarning,", th:last-child").concat(esm.ignoreSsrWarning),{borderTopRightRadius:inAddonPanel?0:theme.appBorderRadius}),_trFirstChild$conca)),ArgsTable_defineProperty(_,"tr:last-child".concat(esm.ignoreSsrWarning),(_trLastChild$concat={},ArgsTable_defineProperty(_trLastChild$concat,"td:first-child".concat(esm.ignoreSsrWarning,", th:first-child").concat(esm.ignoreSsrWarning),{borderBottomLeftRadius:inAddonPanel?0:theme.appBorderRadius}),ArgsTable_defineProperty(_trLastChild$concat,"td:last-child".concat(esm.ignoreSsrWarning,", th:last-child").concat(esm.ignoreSsrWarning),{borderBottomRightRadius:inAddonPanel?0:theme.appBorderRadius}),_trLastChild$concat)),ArgsTable_defineProperty(_,"tbody",{boxShadow:!inAddonPanel&&("light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 1px,\n ".concat((0,polished_esm.DZ)(.035,theme.appBorderColor)," 0 0 0 1px"):"rgba(0, 0, 0, 0.20) 0 2px 5px 1px,\n ".concat((0,polished_esm.jb)(.05,theme.appBorderColor)," 0 0 0 1px")),borderRadius:theme.appBorderRadius,"@media not all and (min-resolution:.001dpcm)":{"@supports (-webkit-appearance:none)":Object.assign({borderWidth:1,borderStyle:"solid"},inAddonPanel&&{borderColor:"transparent"},!inAddonPanel&&{borderColor:"light"===theme.base?(0,polished_esm.DZ)(.035,theme.appBorderColor):(0,polished_esm.jb)(.05,theme.appBorderColor)})},tr:Object.assign({background:"transparent",overflow:"hidden"},inAddonPanel?{borderTopWidth:1,borderTopStyle:"solid",borderTopColor:"light"===theme.base?(0,polished_esm._j)(.1,theme.background.content):(0,polished_esm.$n)(.05,theme.background.content)}:ArgsTable_defineProperty({},"&:not(:first-child".concat(esm.ignoreSsrWarning,")"),{borderTopWidth:1,borderTopStyle:"solid",borderTopColor:"light"===theme.base?(0,polished_esm._j)(.1,theme.background.content):(0,polished_esm.$n)(.05,theme.background.content)})),td:{background:theme.background.content}}),_)}}),(function(_ref3){var isLoading=_ref3.isLoading,theme=_ref3.theme;return isLoading?{"th span, td span, td button":{display:"inline",backgroundColor:theme.appBorderColor,animation:"".concat(theme.animation.glow," 1.5s ease-in-out infinite"),color:"transparent",boxShadow:"none",borderRadius:0}}:{}})),ResetButton=esm.styled.button((function(_ref4){var theme=_ref4.theme;return{border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:"3px 8px",transition:"all 150ms ease-out",verticalAlign:"top",userSelect:"none",margin:0,backgroundColor:"light"===theme.base?"#EAF3FC":theme.color.border,boxShadow:"light"===theme.base?"".concat(theme.color.border," 0 0 0 1px inset"):"".concat(theme.color.darker," 0 0 0 1px inset"),color:theme.color.secondary,"&:hover":{background:"light"===theme.base?(0,polished_esm._j)(.03,"#EAF3FC"):(0,polished_esm.jb)(.1,theme.color.border)},"&:focus":{boxShadow:"".concat(theme.color.secondary," 0 0 0 1px inset"),outline:"none"},svg:{display:"block",height:14,width:14}}})),ControlHeadingWrapper=esm.styled.span({display:"flex",justifyContent:"space-between"});!function(ArgsTableError){ArgsTableError.NO_COMPONENT="No component found.",ArgsTableError.ARGS_UNSUPPORTED="Args unsupported. See Args documentation for your framework."}(ArgsTableError||(ArgsTableError={}));var sortFns={alpha:function alpha(a,b){return a.name.localeCompare(b.name)},requiredFirst:function requiredFirst(a,b){var _b$type,_a$type;return Number(!(null===(_b$type=b.type)||void 0===_b$type||!_b$type.required))-Number(!(null===(_a$type=a.type)||void 0===_a$type||!_a$type.required))||a.name.localeCompare(b.name)},none:void 0},rowLoadingData=function rowLoadingData(key){return{key,name:"propertyName",description:"This is a short description",control:{type:"text"},table:{type:{summary:"summary"},defaultValue:{summary:"defaultValue"}}}},argsTableLoadingData={rows:{row1:rowLoadingData("row1"),row2:rowLoadingData("row2"),row3:rowLoadingData("row3")}},ArgsTable=function ArgsTable(props){if("error"in props)return react.createElement(EmptyBlock.V,null,props.error," ",react.createElement(Link,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"));var updateArgs=props.updateArgs,resetArgs=props.resetArgs,compact=props.compact,inAddonPanel=props.inAddonPanel,initialExpandedArgs=props.initialExpandedArgs,_props$sort=props.sort,sort=void 0===_props$sort?"none":_props$sort,isLoading="isLoading"in props,_ref8="rows"in props?props:argsTableLoadingData,rows=_ref8.rows,args=_ref8.args,groups=function groupRows(rows,sort){var sections={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!rows)return sections;Object.entries(rows).forEach((function(_ref5){var _ref6=ArgsTable_slicedToArray(_ref5,2),key=_ref6[0],row=_ref6[1],_ref7=(null==row?void 0:row.table)||{},category=_ref7.category,subcategory=_ref7.subcategory;if(category){var section=sections.sections[category]||{ungrouped:[],subsections:{}};if(subcategory){var subsection=section.subsections[subcategory]||[];subsection.push(Object.assign({key},row)),section.subsections[subcategory]=subsection}else section.ungrouped.push(Object.assign({key},row));sections.sections[category]=section}else if(subcategory){var _subsection=sections.ungroupedSubsections[subcategory]||[];_subsection.push(Object.assign({key},row)),sections.ungroupedSubsections[subcategory]=_subsection}else sections.ungrouped.push(Object.assign({key},row))}));var sortFn=sortFns[sort],sortSubsection=function sortSubsection(record){return sortFn?Object.keys(record).reduce((function(acc,cur){return Object.assign({},acc,ArgsTable_defineProperty({},cur,record[cur].sort(sortFn)))}),{}):record};return{ungrouped:sections.ungrouped.sort(sortFn),ungroupedSubsections:sortSubsection(sections.ungroupedSubsections),sections:Object.keys(sections.sections).reduce((function(acc,cur){return Object.assign({},acc,ArgsTable_defineProperty({},cur,{ungrouped:sections.sections[cur].ungrouped.sort(sortFn),subsections:sortSubsection(sections.sections[cur].subsections)}))}),{})}}(pickBy_default()(rows,(function(row){var _row$table;return!(null!=row&&null!==(_row$table=row.table)&&void 0!==_row$table&&_row$table.disable)})),sort);if(0===groups.ungrouped.length&&0===Object.entries(groups.sections).length&&0===Object.entries(groups.ungroupedSubsections).length)return react.createElement(EmptyBlock.V,null,"No inputs found for this component. ",react.createElement(Link,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"));var colSpan=1;updateArgs&&(colSpan+=1),compact||(colSpan+=2);var expandable=Object.keys(groups.sections).length>0,common={updateArgs,compact,inAddonPanel,initialExpandedArgs};return react.createElement(DocumentFormatting.i9,null,react.createElement(TableWrapper,{"aria-hidden":isLoading,compact,inAddonPanel,isLoading,className:"docblock-argstable"},react.createElement("thead",{className:"docblock-argstable-head"},react.createElement("tr",null,react.createElement("th",null,react.createElement("span",null,"Name")),compact?null:react.createElement("th",null,react.createElement("span",null,"Description")),compact?null:react.createElement("th",null,react.createElement("span",null,"Default")),updateArgs?react.createElement("th",null,react.createElement(ControlHeadingWrapper,null,"Control"," ",!isLoading&&resetArgs&&react.createElement(ResetButton,{onClick:function onClick(){return resetArgs()},title:"Reset controls"},react.createElement(icon.P,{icon:"undo","aria-hidden":!0})))):null)),react.createElement("tbody",{className:"docblock-argstable-body"},groups.ungrouped.map((function(row){return react.createElement(ArgRow,ArgsTable_extends({key:row.key,row,arg:args&&args[row.key]},common))})),Object.entries(groups.ungroupedSubsections).map((function(_ref9){var _ref10=ArgsTable_slicedToArray(_ref9,2),subcategory=_ref10[0],subsection=_ref10[1];return react.createElement(SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan},subsection.map((function(row){return react.createElement(ArgRow,ArgsTable_extends({key:row.key,row,arg:args&&args[row.key],expandable},common))})))})),Object.entries(groups.sections).map((function(_ref11){var _ref12=ArgsTable_slicedToArray(_ref11,2),category=_ref12[0],section=_ref12[1];return react.createElement(SectionRow,{key:category,label:category,level:"section",colSpan},section.ungrouped.map((function(row){return react.createElement(ArgRow,ArgsTable_extends({key:row.key,row,arg:args&&args[row.key]},common))})),Object.entries(section.subsections).map((function(_ref13){var _ref14=ArgsTable_slicedToArray(_ref13,2),subcategory=_ref14[0],subsection=_ref14[1];return react.createElement(SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan},subsection.map((function(row){return react.createElement(ArgRow,ArgsTable_extends({key:row.key,row,arg:args&&args[row.key],expandable},common))})))})))})))))};ArgsTable.displayName="ArgsTable";var dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.js");function placeholder_slicedToArray(arr,i){return function placeholder_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function placeholder_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function placeholder_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return placeholder_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return placeholder_arrayLikeToArray(o,minLen)}(arr,i)||function placeholder_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function placeholder_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function placeholder_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function placeholder_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Title=esm.styled.div((function(_ref){return{fontWeight:_ref.theme.typography.weight.bold}})),Desc=esm.styled.div(),Message=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{padding:30,textAlign:"center",color:theme.color.defaultText,fontSize:theme.typography.size.s2-1}})),Placeholder=function Placeholder(_ref3){var children=_ref3.children,props=placeholder_objectWithoutProperties(_ref3,["children"]),_Children$toArray2=placeholder_slicedToArray(react.Children.toArray(children),2),title=_Children$toArray2[0],desc=_Children$toArray2[1];return react.createElement(Message,props,react.createElement(Title,null,title),desc&&react.createElement(Desc,null,desc))};Placeholder.displayName="Placeholder";var bar=__webpack_require__("./node_modules/@storybook/components/dist/esm/bar/bar.js");function tabs_typeof(obj){return tabs_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},tabs_typeof(obj)}function tabs_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function tabs_setPrototypeOf(o,p){return tabs_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},tabs_setPrototypeOf(o,p)}function tabs_createSuper(Derived){var hasNativeReflectConstruct=function tabs_isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=tabs_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=tabs_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return tabs_possibleConstructorReturn(this,result)}}function tabs_possibleConstructorReturn(self,call){return!call||"object"!==tabs_typeof(call)&&"function"!=typeof call?function tabs_assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function tabs_getPrototypeOf(o){return tabs_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},tabs_getPrototypeOf(o)}var tabs_Wrapper=esm.styled.div((function(_ref){var theme=_ref.theme;return _ref.bordered?{backgroundClip:"padding-box",border:"1px solid ".concat(theme.appBorderColor),borderRadius:theme.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{}}),(function(_ref2){return _ref2.absolute?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}})),TabBar=esm.styled.div({overflow:"hidden","&:first-of-type":{marginLeft:-3}}),Content=esm.styled.div({display:"block",position:"relative"},(function(_ref3){var theme=_ref3.theme;return{fontSize:theme.typography.size.s2-1,background:theme.background.content}}),(function(_ref4){var bordered=_ref4.bordered,theme=_ref4.theme;return bordered?{borderRadius:"0 0 ".concat(theme.appBorderRadius-1,"px ").concat(theme.appBorderRadius-1,"px")}:{}}),(function(_ref5){var absolute=_ref5.absolute,bordered=_ref5.bordered;return absolute?function tabs_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({height:"calc(100% - ".concat(bordered?42:40,"px)"),position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:40+(bordered?1:0),overflow:"auto"},"& > *:first-child".concat("/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */"),{position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:0+(bordered?1:0),height:"calc(100% - ".concat(bordered?2:0,"px)"),overflow:"auto"}):{}})),VisuallyHidden=esm.styled.div((function(_ref7){return _ref7.active?{display:"block"}:{display:"none"}})),Tabs=(0,react.memo)((function(_ref11){var children=_ref11.children,selected=_ref11.selected,actions=_ref11.actions,absolute=_ref11.absolute,bordered=_ref11.bordered,tools=_ref11.tools,backgroundColor=_ref11.backgroundColor,htmlId=_ref11.id,list=function childrenToList(children,selected){return react.Children.toArray(children).map((function(_ref9,index){var _ref9$props=_ref9.props,title=_ref9$props.title,id=_ref9$props.id,color=_ref9$props.color,childrenOfChild=_ref9$props.children,content=Array.isArray(childrenOfChild)?childrenOfChild[0]:childrenOfChild;return{active:selected?id===selected:0===index,title,id,color,render:"function"==typeof content?content:function(_ref10){var active=_ref10.active,key=_ref10.key;return react.createElement(VisuallyHidden,{key,active,role:"tabpanel"},content)}}}))}(children,selected);return list.length?react.createElement(tabs_Wrapper,{absolute,bordered,id:htmlId},react.createElement(bar.j,{border:!0,backgroundColor},react.createElement(TabBar,{role:"tablist"},list.map((function(_ref12){var title=_ref12.title,id=_ref12.id,active=_ref12.active,color=_ref12.color,tabTitle="function"==typeof title?title():title;return react.createElement(bar_button.Y6,{id:"tabbutton-".concat((0,dist.sanitize)(tabTitle)),className:"tabbutton ".concat(active?"tabbutton-active":""),type:"button",key:id,active,textColor:color,onClick:function onClick(e){e.preventDefault(),actions.onSelect(id)},role:"tab"},tabTitle)}))),tools?react.createElement(react.Fragment,null,tools):null),react.createElement(Content,{id:"panel-tab-content",bordered,absolute},list.map((function(_ref13){var id=_ref13.id,active=_ref13.active;return(0,_ref13.render)({key:id,active})})))):react.createElement(Placeholder,null,react.createElement(react.Fragment,{key:"title"},"Nothing found"))}));Tabs.displayName="Tabs",Tabs.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1};var TabsState=function(_Component){!function tabs_inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&tabs_setPrototypeOf(subClass,superClass)}(TabsState,_Component);var _super=tabs_createSuper(TabsState);function TabsState(props){var _this;return function tabs_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,TabsState),(_this=_super.call(this,props)).handlers={onSelect:function onSelect(id){return _this.setState({selected:id})}},_this.state={selected:props.initial},_this}return function tabs_createClass(Constructor,protoProps,staticProps){return protoProps&&tabs_defineProperties(Constructor.prototype,protoProps),staticProps&&tabs_defineProperties(Constructor,staticProps),Constructor}(TabsState,[{key:"render",value:function render(){var _this$props=this.props,_this$props$bordered=_this$props.bordered,bordered=void 0!==_this$props$bordered&&_this$props$bordered,_this$props$absolute=_this$props.absolute,absolute=void 0!==_this$props$absolute&&_this$props$absolute,children=_this$props.children,backgroundColor=_this$props.backgroundColor,selected=this.state.selected;return react.createElement(Tabs,{bordered,absolute,selected,backgroundColor,actions:this.handlers},children)}}]),TabsState}(react.Component);function TabbedArgsTable_slicedToArray(arr,i){return function TabbedArgsTable_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function TabbedArgsTable_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function TabbedArgsTable_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return TabbedArgsTable_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TabbedArgsTable_arrayLikeToArray(o,minLen)}(arr,i)||function TabbedArgsTable_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function TabbedArgsTable_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function TabbedArgsTable_extends(){return TabbedArgsTable_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},TabbedArgsTable_extends.apply(this,arguments)}function TabbedArgsTable_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function TabbedArgsTable_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}TabsState.displayName="TabsState",TabsState.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:""};var TabbedArgsTable=function TabbedArgsTable(_ref){var tabs=_ref.tabs,props=TabbedArgsTable_objectWithoutProperties(_ref,["tabs"]),entries=Object.entries(tabs);return 1===entries.length?react.createElement(ArgsTable,TabbedArgsTable_extends({},entries[0][1],props)):react.createElement(TabsState,null,entries.map((function(entry){var _entry=TabbedArgsTable_slicedToArray(entry,2),label=_entry[0],table=_entry[1],id="prop_table_div_".concat(label);return react.createElement("div",{key:id,id,title:label},(function(_ref2){return _ref2.active?react.createElement(ArgsTable,TabbedArgsTable_extends({key:"prop_table_".concat(label)},table,props)):null}))})))};TabbedArgsTable.displayName="TabbedArgsTable"},"./node_modules/@storybook/components/dist/esm/blocks/ArgsTable/types.js":()=>{},"./node_modules/@storybook/components/dist/esm/blocks/EmptyBlock.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>EmptyBlock});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),polished__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),_typography_shared__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/components/dist/esm/typography/shared.js");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}var Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_2__.styled.div(_typography_shared__WEBPACK_IMPORTED_MODULE_3__.YX,(function(_ref){var theme=_ref.theme;return{backgroundColor:"light"===theme.base?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:theme.appBorderRadius,border:"1px dashed ".concat(theme.appBorderColor),display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:(0,polished__WEBPACK_IMPORTED_MODULE_4__.DZ)(.3,theme.color.defaultText),fontSize:theme.typography.size.s2}})),EmptyBlock=function EmptyBlock(props){return react__WEBPACK_IMPORTED_MODULE_1__.createElement(Wrapper,_extends({},props,{className:"docblock-emptyblock"}))};EmptyBlock.displayName="EmptyBlock"},"./node_modules/@storybook/components/dist/esm/blocks/Source.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Hw:()=>Source,iS:()=>StyledSyntaxHighlighter,ui:()=>SourceError});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/create.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/emotion-theming/dist/emotion-theming.browser.esm.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/convert.js"),_EmptyBlock__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@storybook/components/dist/esm/blocks/EmptyBlock.js"),_syntaxhighlighter_lazy_syntaxhighlighter__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@storybook/components/dist/esm/syntaxhighlighter/lazy-syntaxhighlighter.js");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var SourceError,StyledSyntaxHighlighter=(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.styled)(_syntaxhighlighter_lazy_syntaxhighlighter__WEBPACK_IMPORTED_MODULE_5__.d)((function(_ref){var theme=_ref.theme;return{fontSize:"".concat(theme.typography.size.s2-1,"px"),lineHeight:"19px",margin:"25px 0 40px",borderRadius:theme.appBorderRadius,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}}}));!function(SourceError){SourceError.NO_STORY="There’s no story here.",SourceError.SOURCE_UNAVAILABLE="Oh no! The source is not available."}(SourceError||(SourceError={}));var SourceSkeletonWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.styled.div((function(_ref2){var theme=_ref2.theme;return{background:theme.background.content,borderRadius:theme.appBorderRadius,border:"1px solid ".concat(theme.appBorderColor),boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"}})),SourceSkeletonPlaceholder=_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.styled.div((function(_ref3){var theme=_ref3.theme;return{animation:"".concat(theme.animation.glow," 1.5s ease-in-out infinite"),background:theme.appBorderColor,height:17,marginTop:1,width:"60%","&:first-child":{margin:0}}})),SourceSkeleton=function SourceSkeleton(){return react__WEBPACK_IMPORTED_MODULE_3__.createElement(SourceSkeletonWrapper,null,react__WEBPACK_IMPORTED_MODULE_3__.createElement(SourceSkeletonPlaceholder,null),react__WEBPACK_IMPORTED_MODULE_3__.createElement(SourceSkeletonPlaceholder,{style:{width:"80%"}}),react__WEBPACK_IMPORTED_MODULE_3__.createElement(SourceSkeletonPlaceholder,{style:{width:"30%"}}),react__WEBPACK_IMPORTED_MODULE_3__.createElement(SourceSkeletonPlaceholder,{style:{width:"80%"}}))};SourceSkeleton.displayName="SourceSkeleton";var Source=function Source(props){var _ref4=props,isLoading=_ref4.isLoading,error=_ref4.error;if(isLoading)return react__WEBPACK_IMPORTED_MODULE_3__.createElement(SourceSkeleton,null);if(error)return react__WEBPACK_IMPORTED_MODULE_3__.createElement(_EmptyBlock__WEBPACK_IMPORTED_MODULE_6__.V,null,error);var _ref5=props,language=_ref5.language,code=_ref5.code,dark=_ref5.dark,format=_ref5.format,rest=_objectWithoutProperties(_ref5,["language","code","dark","format"]),syntaxHighlighter=react__WEBPACK_IMPORTED_MODULE_3__.createElement(StyledSyntaxHighlighter,_extends({bordered:!0,copyable:!0,format,language,className:"docblock-source"},rest),code);if(void 0===dark)return syntaxHighlighter;var overrideTheme=dark?_storybook_theming__WEBPACK_IMPORTED_MODULE_7__.n.dark:_storybook_theming__WEBPACK_IMPORTED_MODULE_7__.n.light;return react__WEBPACK_IMPORTED_MODULE_3__.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_8__.f6,{theme:(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.O)(overrideTheme)},syntaxHighlighter)};Source.displayName="Source",Source.defaultProps={format:!1}},"./node_modules/@storybook/components/dist/esm/blocks/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ArgsTable:()=>_ArgsTable__WEBPACK_IMPORTED_MODULE_0__.ArgsTable,ArgsTableError:()=>_ArgsTable__WEBPACK_IMPORTED_MODULE_0__.ArgsTableError,TabbedArgsTable:()=>_ArgsTable__WEBPACK_IMPORTED_MODULE_0__.TabbedArgsTable});var _ArgsTable__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/components/dist/esm/blocks/ArgsTable/index.js")},"./node_modules/@storybook/components/dist/esm/controls/helpers.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>getControlSetterButtonId,d:()=>getControlId});__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js");var getControlId=function getControlId(value){return"control-".concat(value.replace(/\s+/g,"-"))},getControlSetterButtonId=function getControlSetterButtonId(value){return"set-".concat(value.replace(/\s+/g,"-"))}},"./node_modules/@storybook/components/dist/esm/controls/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ColorControl:()=>ColorControl});__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),_types__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/components/dist/esm/controls/types.js");__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_3__,"ArgsTable")&&__webpack_require__.d(__webpack_exports__,{ArgsTable:function(){return _types__WEBPACK_IMPORTED_MODULE_3__.ArgsTable}}),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_3__,"ArgsTableError")&&__webpack_require__.d(__webpack_exports__,{ArgsTableError:function(){return _types__WEBPACK_IMPORTED_MODULE_3__.ArgsTableError}}),__webpack_require__.o(_types__WEBPACK_IMPORTED_MODULE_3__,"TabbedArgsTable")&&__webpack_require__.d(__webpack_exports__,{TabbedArgsTable:function(){return _types__WEBPACK_IMPORTED_MODULE_3__.TabbedArgsTable}});var LazyColorControl=react__WEBPACK_IMPORTED_MODULE_2__.lazy((function(){return __webpack_require__.e(881).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/components/dist/esm/controls/Color.js"))})),ColorControl=function ColorControl(props){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_2__.createElement(LazyColorControl,props))};ColorControl.displayName="ColorControl"},"./node_modules/@storybook/components/dist/esm/controls/react-editable-json-tree/utils/parse.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function parse(string){var result=string;if(0===result.indexOf("function"))return eval("(".concat(result,")"));try{result=JSON.parse(string)}catch(e){}return result}__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=parse},"./node_modules/@storybook/components/dist/esm/controls/types.js":()=>{},"./node_modules/@storybook/components/dist/esm/form/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{l:()=>Form});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var esm=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),react=(__webpack_require__("./node_modules/core-js/modules/es.string.bold.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/react/index.js"));function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Wrapper=esm.styled.label((function(_ref){var theme=_ref.theme;return{display:"flex",borderBottom:"1px solid ".concat(theme.appBorderColor),margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}}})),Label=esm.styled.span((function(_ref2){return{minWidth:100,fontWeight:_ref2.theme.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"}})),Field=function Field(_ref3){var label=_ref3.label,children=_ref3.children,props=_objectWithoutProperties(_ref3,["label","children"]);return react.createElement(Wrapper,props,label?react.createElement(Label,null,react.createElement("span",null,label)):null,children)};Field.displayName="Field",Field.defaultProps={label:void 0};var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),objectWithoutPropertiesLoose=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");const use_isomorphic_layout_effect_browser_esm=react.useLayoutEffect;const use_latest_esm=function useLatest(value){var ref=(0,react.useRef)(value);return use_isomorphic_layout_effect_browser_esm((function(){ref.current=value})),ref};var updateRef=function updateRef(ref,value){"function"!=typeof ref?ref.current=value:ref(value)};const use_composed_ref_esm=function useComposedRef(libRef,userRef){var prevUserRef=(0,react.useRef)();return(0,react.useCallback)((function(instance){libRef.current=instance,prevUserRef.current&&updateRef(prevUserRef.current,null),prevUserRef.current=userRef,userRef&&updateRef(userRef,instance)}),[userRef])};var HIDDEN_TEXTAREA_STYLE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},forceHiddenStyles=function forceHiddenStyles(node){Object.keys(HIDDEN_TEXTAREA_STYLE).forEach((function(key){node.style.setProperty(key,HIDDEN_TEXTAREA_STYLE[key],"important")}))},hiddenTextarea=null;var noop=function noop(){},SIZING_STYLE=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],isIE=!!document.documentElement.currentStyle,TextareaAutosize=function TextareaAutosize(_ref,userRef){var cacheMeasurements=_ref.cacheMeasurements,maxRows=_ref.maxRows,minRows=_ref.minRows,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?noop:_ref$onChange,_ref$onHeightChange=_ref.onHeightChange,onHeightChange=void 0===_ref$onHeightChange?noop:_ref$onHeightChange,props=(0,objectWithoutPropertiesLoose.Z)(_ref,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]);var isControlled=void 0!==props.value,libRef=(0,react.useRef)(null),ref=use_composed_ref_esm(libRef,userRef),heightRef=(0,react.useRef)(0),measurementsCacheRef=(0,react.useRef)(),resizeTextarea=function resizeTextarea(){var node=libRef.current,nodeSizingData=cacheMeasurements&&measurementsCacheRef.current?measurementsCacheRef.current:function getSizingData(node){var style=window.getComputedStyle(node);if(null===style)return null;var sizingStyle=function pick(props,obj){return props.reduce((function(acc,prop){return acc[prop]=obj[prop],acc}),{})}(SIZING_STYLE,style),boxSizing=sizingStyle.boxSizing;return""===boxSizing?null:(isIE&&"border-box"===boxSizing&&(sizingStyle.width=parseFloat(sizingStyle.width)+parseFloat(sizingStyle.borderRightWidth)+parseFloat(sizingStyle.borderLeftWidth)+parseFloat(sizingStyle.paddingRight)+parseFloat(sizingStyle.paddingLeft)+"px"),{sizingStyle,paddingSize:parseFloat(sizingStyle.paddingBottom)+parseFloat(sizingStyle.paddingTop),borderSize:parseFloat(sizingStyle.borderBottomWidth)+parseFloat(sizingStyle.borderTopWidth)})}(node);if(nodeSizingData){measurementsCacheRef.current=nodeSizingData;var _calculateNodeHeight=function calculateNodeHeight(sizingData,value,minRows,maxRows){void 0===minRows&&(minRows=1),void 0===maxRows&&(maxRows=1/0),hiddenTextarea||((hiddenTextarea=document.createElement("textarea")).setAttribute("tabindex","-1"),hiddenTextarea.setAttribute("aria-hidden","true"),forceHiddenStyles(hiddenTextarea)),null===hiddenTextarea.parentNode&&document.body.appendChild(hiddenTextarea);var paddingSize=sizingData.paddingSize,borderSize=sizingData.borderSize,sizingStyle=sizingData.sizingStyle,boxSizing=sizingStyle.boxSizing;Object.keys(sizingStyle).forEach((function(_key){var key=_key;hiddenTextarea.style[key]=sizingStyle[key]})),forceHiddenStyles(hiddenTextarea),hiddenTextarea.value=value;var height=function getHeight(node,sizingData){var height=node.scrollHeight;return"border-box"===sizingData.sizingStyle.boxSizing?height+sizingData.borderSize:height-sizingData.paddingSize}(hiddenTextarea,sizingData);hiddenTextarea.value="x";var rowHeight=hiddenTextarea.scrollHeight-paddingSize,minHeight=rowHeight*minRows;"border-box"===boxSizing&&(minHeight=minHeight+paddingSize+borderSize),height=Math.max(minHeight,height);var maxHeight=rowHeight*maxRows;return"border-box"===boxSizing&&(maxHeight=maxHeight+paddingSize+borderSize),[height=Math.min(maxHeight,height),rowHeight]}(nodeSizingData,node.value||node.placeholder||"x",minRows,maxRows),height=_calculateNodeHeight[0],rowHeight=_calculateNodeHeight[1];heightRef.current!==height&&(heightRef.current=height,node.style.setProperty("height",height+"px","important"),onHeightChange(height,{rowHeight}))}};return(0,react.useLayoutEffect)(resizeTextarea),function useWindowResizeListener(listener){var latestListener=use_latest_esm(listener);(0,react.useLayoutEffect)((function(){var handler=function handler(event){latestListener.current(event)};return window.addEventListener("resize",handler),function(){window.removeEventListener("resize",handler)}}),[])}(resizeTextarea),(0,react.createElement)("textarea",(0,esm_extends.Z)({},props,{onChange:function handleChange(event){isControlled||resizeTextarea(),onChange(event)},ref}))};const react_textarea_autosize_browser_esm=(0,react.forwardRef)(TextareaAutosize);__webpack_require__("./node_modules/core-js/modules/es.string.small.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js");var polished_esm=__webpack_require__("./node_modules/polished/dist/polished.esm.js");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function Button_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Button_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var ButtonWrapper=esm.styled.button((function(_ref){var small=_ref.small,theme=_ref.theme;return{border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:small?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transition:"all 150ms ease-out",transform:"translate3d(0,0,0)",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:"".concat(small?theme.typography.size.s1:theme.typography.size.s2-1,"px"),fontWeight:theme.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:small?14:16,width:small?14:16,verticalAlign:"top",marginRight:small?4:6,marginTop:small?-1:-2,marginBottom:small?-1:-2,pointerEvents:"none",path:{fill:"currentColor"}}}}),(function(_ref2){return _ref2.disabled?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{}}),(function(_ref3){var containsIcon=_ref3.containsIcon,small=_ref3.small;return containsIcon?Object.assign({svg:{display:"block",margin:0}},small?{padding:9}:{padding:12}):{}}),(function(_ref4){var color,theme=_ref4.theme,primary=_ref4.primary,secondary=_ref4.secondary,gray=_ref4.gray;return gray?color=theme.color.medium:secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),color?{background:color,color:gray?theme.color.darkest:theme.color.lightest,"&:hover":{background:(0,polished_esm._j)(.05,color)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:"".concat((0,polished_esm.m4)(color,1)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat((0,polished_esm.m4)(color,.2)," 0 8px 18px 0px")}}:{}}),(function(_ref5){var theme=_ref5.theme,tertiary=_ref5.tertiary,inForm=_ref5.inForm,small=_ref5.small;return tertiary?Object.assign({background:"light"===theme.base?(0,polished_esm._j)(.02,theme.input.background):(0,polished_esm.$n)(.02,theme.input.background),color:theme.input.color,boxShadow:"".concat(theme.input.border," 0 0 0 1px inset"),borderRadius:theme.input.borderRadius},inForm&&small?{padding:"10px 16px"}:{},{"&:hover":Object.assign({background:"light"===theme.base?(0,polished_esm._j)(.05,theme.input.background):(0,polished_esm.$n)(.05,theme.input.background)},inForm?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}),"&:active":{background:theme.input.background},"&:focus":{boxShadow:"".concat((0,polished_esm.m4)(theme.color.secondary,1)," 0 0 0 1px inset"),outline:"none"}}):{}}),(function(_ref6){var theme=_ref6.theme;return _ref6.outline?{boxShadow:"".concat((0,polished_esm.DZ)(.8,theme.color.defaultText)," 0 0 0 1px inset"),color:(0,polished_esm.DZ)(.3,theme.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:"".concat((0,polished_esm.DZ)(.5,theme.color.defaultText)," 0 0 0 1px inset"),outline:"none"},"&:active":{boxShadow:"".concat((0,polished_esm.DZ)(.5,theme.color.defaultText)," 0 0 0 2px inset"),color:(0,polished_esm.DZ)(0,theme.color.defaultText)}}:{}}),(function(_ref7){var theme=_ref7.theme,outline=_ref7.outline,primary=_ref7.primary,color=theme.color.primary;return outline&&primary?{boxShadow:"".concat(color," 0 0 0 1px inset"),color,"svg path":{fill:color},"&:hover":{boxShadow:"".concat(color," 0 0 0 1px inset"),background:"transparent"},"&:active":{background:color,boxShadow:"".concat(color," 0 0 0 1px inset"),color:theme.color.tertiary},"&:focus":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat((0,polished_esm.m4)(color,.4)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat((0,polished_esm.m4)(color,.2)," 0 8px 18px 0px")}}:{}}),(function(_ref8){var color,theme=_ref8.theme,outline=_ref8.outline,primary=_ref8.primary;return _ref8.secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),outline&&color?{boxShadow:"".concat(color," 0 0 0 1px inset"),color,"svg path":{fill:color},"&:hover":{boxShadow:"".concat(color," 0 0 0 1px inset"),background:"transparent"},"&:active":{background:color,boxShadow:"".concat(color," 0 0 0 1px inset"),color:theme.color.tertiary},"&:focus":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat((0,polished_esm.m4)(color,.4)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat((0,polished_esm.m4)(color,.2)," 0 8px 18px 0px")}}:{}})),ButtonLink=ButtonWrapper.withComponent("a",{target:"ex9hp6v0",label:"ButtonLink"}),Button=Object.assign((0,react.forwardRef)((function(_ref9,ref){var isLink=_ref9.isLink,children=_ref9.children,props=Button_objectWithoutProperties(_ref9,["isLink","children"]);return isLink?react.createElement(ButtonLink,_extends({},props,{ref}),children):react.createElement(ButtonWrapper,_extends({},props,{ref}),children)})),{defaultProps:{isLink:!1}});function input_extends(){return input_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},input_extends.apply(this,arguments)}function input_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function input_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var styleResets={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},styles=function styles(_ref){var theme=_ref.theme;return Object.assign({},styleResets,{transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:theme.input.color||"inherit",background:theme.input.background,boxShadow:"".concat(theme.input.border," 0 0 0 1px inset"),borderRadius:theme.input.borderRadius,fontSize:theme.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px","&:focus":{boxShadow:"".concat(theme.color.secondary," 0 0 0 1px inset"),outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 3em ".concat(theme.color.lightest," inset")},"::placeholder":{color:theme.color.mediumdark}})},sizes=function sizes(_ref2){switch(_ref2.size){case"100%":return{width:"100%"};case"flex":return{flex:1};default:return{display:"inline"}}},alignment=function alignment(_ref3){switch(_ref3.align){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};default:return{textAlign:"left"}}},validation=function validation(_ref4){var valid=_ref4.valid,theme=_ref4.theme;switch(valid){case"valid":return{boxShadow:"".concat(theme.color.positive," 0 0 0 1px inset !important")};case"error":return{boxShadow:"".concat(theme.color.negative," 0 0 0 1px inset !important")};case"warn":return{boxShadow:"".concat(theme.color.warning," 0 0 0 1px inset")};default:return{}}},Input=Object.assign((0,esm.styled)((0,react.forwardRef)((function(_ref5,ref){_ref5.size,_ref5.valid,_ref5.align;var props=input_objectWithoutProperties(_ref5,["size","valid","align"]);return react.createElement("input",input_extends({},props,{ref}))})))(styles,sizes,alignment,validation,{minHeight:32}),{displayName:"Input"}),Select=Object.assign((0,esm.styled)((0,react.forwardRef)((function(_ref6,ref){_ref6.size,_ref6.valid,_ref6.align;var props=input_objectWithoutProperties(_ref6,["size","valid","align"]);return react.createElement("select",input_extends({},props,{ref}))})))(styles,sizes,validation,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Textarea=Object.assign((0,esm.styled)((0,react.forwardRef)((function(_ref7,ref){_ref7.size,_ref7.valid,_ref7.align;var props=input_objectWithoutProperties(_ref7,["size","valid","align"]);return react.createElement(react_textarea_autosize_browser_esm,input_extends({},props,{ref}))})))(styles,sizes,alignment,validation,(function(_ref8){var _ref8$height=_ref8.height;return{overflow:"visible",maxHeight:void 0===_ref8$height?400:_ref8$height}})),{displayName:"Textarea"}),ButtonStyled=(0,esm.styled)((0,react.forwardRef)((function(_ref9,ref){_ref9.size,_ref9.valid,_ref9.align;var props=input_objectWithoutProperties(_ref9,["size","valid","align"]);return react.createElement(Button,input_extends({},props,{ref}))})))(sizes,validation,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),input_Button=Object.assign((0,react.forwardRef)((function(props,ref){return react.createElement(ButtonStyled,input_extends({},props,{tertiary:!0,small:!0,inForm:!0,ref}))})),{displayName:"Button"}),Form=Object.assign(esm.styled.form({boxSizing:"border-box",width:"100%"}),{Field,Input,Select,Textarea,Button:input_Button})},"./node_modules/@storybook/components/dist/esm/icon/icon.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>Icons});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js");const icon_icons={mobile:"M648 64h-272c-66.274 0-120 53.726-120 120v656c0 66.274 53.726 120 120 120h272c66.274 0 120-53.726 120-120v-656c0-66.274-53.726-120-120-120zM376 144h272c22.056 0 40 17.944 40 40v495.968h-352v-495.968c0-22.056 17.946-40 40-40zM648 880h-272c-22.054 0-40-17.944-40-40v-80.032h352v80.032c0 22.056-17.944 40-40 40zM544.034 819.962c0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.672 14.33-31.998 32-31.998 17.674-0 32.004 14.326 32.004 31.998z",watch:"M736.172 108.030c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20 0 11.046 8.956 20 20 20h408.282c11.044 0 20-8.954 20-20zM736.172 50.37c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20s8.956 20 20 20h408.282c11.044 0 20-8.956 20-20zM736.172 973.692c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20s8.956 20 20 20h408.282c11.044 0 20-8.956 20-20zM736.172 916.030c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20 0 11.046 8.956 20 20 20h408.282c11.044 0 20-8.954 20-20zM717.53 228c18.904 0 34.286 15.14 34.286 33.75v500.502c0 18.61-15.38 33.75-34.286 33.75h-411.43c-18.904 0-34.286-15.14-34.286-33.75v-500.502c0-18.61 15.38-33.75 34.286-33.75h411.43zM717.53 148h-411.43c-63.118 0-114.286 50.928-114.286 113.75v500.502c0 62.822 51.166 113.75 114.286 113.75h411.43c63.118 0 114.286-50.926 114.286-113.75v-500.502c-0.002-62.822-51.168-113.75-114.286-113.75v0zM680.036 511.53c0 22.090-17.91 40-40 40h-128.004c-5.384 0-10.508-1.078-15.196-3.006-0.124-0.048-0.254-0.086-0.376-0.132-0.61-0.262-1.188-0.57-1.782-0.86-0.572-0.276-1.16-0.528-1.718-0.828-0.204-0.112-0.39-0.246-0.594-0.364-0.918-0.514-1.832-1.050-2.704-1.64-0.086-0.058-0.164-0.128-0.254-0.188-10.492-7.21-17.382-19.284-17.382-32.98v-151.5c0-22.094 17.91-40 40.004-40 22.088 0 40 17.906 40 40v111.498h88c22.094-0.002 40.002 17.91 40.006 40z",tablet:"M200.022 927.988h624.018c1.38 0 2.746-0.072 4.090-0.208 20.168-2.050 35.91-19.080 35.91-39.792v-751.916c0-22.092-17.91-40-40-40h-624.018c-22.098 0-40 17.908-40 40v751.916c0 22.094 17.906 40 40 40zM512.002 878.206c-17.674 0-32.004-14.328-32.004-31.998 0-17.678 14.33-32.002 32.004-32.002 17.67 0 32 14.324 32 32.002 0 17.67-14.33 31.998-32 31.998zM240.022 176.078h544.018v591.902h-544.018v-591.902z",browser:"M920.004 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.048-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c-0-22.094-17.906-40-40-40zM368 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM272 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM176 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM880.004 815.996h-736.008v-527.988h736.008v527.988z",sidebar:"M920.032 127.858h-816c-22.092 0-40 17.908-40 40v688c0 22.092 17.908 40 40 40h316.578c1.13 0.096 2.266 0.172 3.422 0.172s2.292-0.078 3.424-0.172h492.576c22.092 0 40-17.908 40-40v-688c0-22.092-17.908-40-40-40zM144.032 207.858h240v608h-240v-608zM880.032 815.858h-416v-608h416v608zM198.734 288.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32zM198.734 416.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32zM198.734 544.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32z",sidebaralt:"M64 167.944v688c0 22.092 17.908 40 40 40h816c22.092 0 40-17.908 40-40v-688c0-22.092-17.908-40-40-40h-816c-22.092 0-40 17.908-40 40zM880 815.944h-240v-608h240v608zM144 207.944h416v608h-416v-608zM793.296 320.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32zM793.296 448.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32zM793.296 576.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32z",bottombar:"M85 121h854c24 0 42 18 42 41v700c0 23-18 41-42 41H608a44 44 0 0 1-7 0H85c-24 0-42-18-42-41V162c0-23 18-41 42-41zm41 535v165h772V656H126zm0-82h772V202H126v372zm185 197h-69c-19 0-34-14-34-32s15-33 34-33h69c19 0 34 15 34 33s-15 32-34 32zm236 0h-70c-18 0-33-14-33-32s15-33 33-33h70c18 0 33 15 33 33s-15 32-33 32zm235 0h-70c-18 0-33-14-33-32s15-33 33-33h70c18 0 33 15 33 33s-15 32-33 32z",useralt:"M533 960a850 850 0 0 0 386-92v-19c0-117-242-223-306-234-20-3-21-58-21-58s59-58 72-137c35 0 56-84 21-113 2-31 45-243-173-243S337 276 338 307c-34 29-13 113 22 113 13 79 72 137 72 137s-1 55-21 58c-64 11-301 115-306 231a855 855 0 0 0 428 114z",user:"M814 805a525 525 0 00-217-116c-17-3-17-50-17-50s50-49 61-116c29 0 48-71 18-96 1-26 38-206-147-206S364 401 365 427c-30 25-11 96 18 96 11 67 61 116 61 116s0 47-17 50c-39 6-154 53-217 116a418 418 0 015-590 418 418 0 01594 0 418 418 0 015 590M512 0a512 512 0 100 1024A512 512 0 00512 0",useradd:"M87 859c-30-12-59-27-87-43 5-105 221-200 279-210 19-3 19-53 19-53s-54-53-65-125c-32 0-51-76-20-103-1-28-40-221 158-221 199 0 160 193 158 221 32 27 12 103-19 103-12 72-66 125-66 125s1 50 19 53c59 10 279 107 279 213v18a781 781 0 0 1-655 22zm892-565h-91v-90a45 45 0 1 0-91 0v90h-91a45 45 0 1 0 0 91h91v91a45 45 0 1 0 91 0v-91h91a45 45 0 1 0 0-91z",users:"M360 128c193 0 155 182 154 208 31 25 12 97-19 97-11 67-64 118-64 118s1 47 19 50c57 9 271 100 271 200v16a771 771 0 0 1-637 21c-29-11-57-25-84-40 4-99 215-189 271-197 18-3 18-50 18-50s-52-51-63-118c-31 0-50-72-19-97-1-26-40-208 153-208zm416 66c133 0 107 125 106 144 21 17 8 66-13 66-8 47-44 81-44 81s0 33 12 34c40 6 187 69 187 138v46c-80 27-163 41-249 41l-9-1c-16-31-44-61-83-90a546 546 0 0 0-111-64c47-38 117-66 143-70 12-1 12-34 12-34s-36-34-43-81c-21 0-34-49-13-66-1-19-27-144 105-144z",profile:"M761 631c0-13-10-23-22-23H285c-12 0-22 10-22 23 0 12 10 23 22 23h454c12 0 22-11 22-23zm0 100c0-12-10-22-22-22H285c-12 0-22 10-22 22 0 13 10 23 22 23h454c12 0 22-10 22-23zm0 101c0-13-10-23-22-23H285c-12 0-22 10-22 23s10 23 22 23h454c12 0 22-10 22-23zM832 0c59 0 107 49 107 109v807c-1 60-49 108-107 108H130c-25 0-45-20-45-46V46a45 45 0 0 1 45-46h702zm0 91H174v842h658c10 0 18-9 18-18V110c0-10-8-19-18-19zM384 532l-39-20c2-49 100-93 126-97 8-1 8-25 8-25s-24-24-29-57c-14 0-23-35-9-48-1-13-18-102 71-102s72 89 71 102c14 13 5 48-9 48-5 33-29 57-29 57s0 24 8 25c27 4 126 49 126 98v8a346 346 0 0 1-295 11z",bookmark:"M772 1012L511 761l-260 251a49 49 0 0 1-52 10c-18-7-29-24-29-43V132c0-25 21-46 47-46h588c26 0 47 21 47 46v847c0 19-11 36-29 43a49 49 0 0 1-51-10z",bookmarkhollow:"M772 1012L511 761l-260 251a49 49 0 0 1-52 10c-18-7-29-24-29-43V132c0-25 21-46 47-46h588c26 0 47 21 47 46v847c0 19-11 36-29 43a49 49 0 0 1-51-10zM545 664l213 205V181H265v688l213-205c9-9 21-14 33-14s24 5 34 14z",book:"M896.054 159.774c-0.122-52.914-43.048-95.774-95.992-95.774h-632.004c-1.754 0-3.468 0.154-5.164 0.372-19.644 2.54-34.836 19.292-34.836 39.628v816c0 22.094 17.91 40 40 40h632.004c52.642 0 95.368-42.378 95.968-94.88h0.036v-705.332l-0.012-0.014zM368.062 144h80v271.922l-11.728-11.718c-15.62-15.606-40.924-15.606-56.542 0l-11.728 11.718v-271.922zM816.036 864.204c-0.1 8.712-7.268 15.796-15.972 15.796h-592.004v-736h80.004v368.426c0 16.176 9.742 30.758 24.684 36.954 14.944 6.192 32.146 2.778 43.586-8.656l51.728-51.68 51.728 51.68c7.652 7.644 17.876 11.708 28.28 11.708 5.156 0 10.356-1 15.306-3.050 14.944-6.196 24.684-20.778 24.684-36.954v-368.428h272c8.796 0 15.972 7.16 15.992 15.958l-0.016 704.246z",repository:"M856.020 159.804c-0.122-52.916-43.048-95.774-95.992-95.774h-591.968c-1.754 0-3.468 0.154-5.164 0.37-19.644 2.54-34.836 19.292-34.836 39.63v784.584c0 22.094 17.91 40 40 40h151.972v63.594c0 10.876 6.548 20.682 16.598 24.844 10.046 4.164 21.612 1.87 29.304-5.818l34.78-34.748 34.78 34.748c5.144 5.14 12.020 7.87 19.014 7.87 3.466 0 6.962-0.672 10.292-2.052 10.048-4.164 16.598-13.968 16.598-24.844v-63.594h278.63c52.642 0 95.368-42.38 95.968-94.882h0.036v-673.916l-0.012-0.012zM776.020 159.988l-0.014 504.628h-519.974v-520.584h503.996c8.796-0 15.972 7.158 15.992 15.956zM760.028 848.616h-278.63v-56h-161.366v56h-111.972v-104h567.944l-0.002 88.204c-0.102 8.71-7.27 15.796-15.974 15.796zM320.032 240.396c0-17.67 14.328-31.998 31.998-31.998s32.002 14.326 32.002 31.998c0 17.674-14.332 32-32.002 32-17.672-0.002-31.998-14.326-31.998-32zM320.032 349.79c0-17.67 14.328-31.998 31.998-31.998s32.002 14.328 32.002 31.998c0 17.676-14.332 32-32.002 32-17.672 0-31.998-14.324-31.998-32zM320.032 459.188c0-17.67 14.328-32 31.998-32s32.002 14.328 32.002 32c0 17.674-14.332 31.998-32.002 31.998-17.672 0-31.998-14.324-31.998-31.998zM384.032 568.582c0 17.674-14.332 31.998-32.002 31.998s-31.998-14.324-31.998-31.998c0-17.67 14.328-32 31.998-32 17.67 0.002 32.002 14.33 32.002 32z",star:"M763.972 919.5c-6.368 0-12.758-1.518-18.61-4.596l-233.358-122.688-233.37 122.688c-13.476 7.090-29.808 5.904-42.124-3.042-12.318-8.95-18.486-24.118-15.912-39.124l44.57-259.856-188.792-184.028c-10.904-10.626-14.828-26.524-10.124-41.004s17.222-25.034 32.292-27.222l260.906-37.912 116.686-236.42c6.738-13.652 20.644-22.296 35.87-22.296v0c15.226 0 29.13 8.644 35.87 22.298l116.674 236.418 260.906 37.912c15.068 2.19 27.586 12.742 32.292 27.222s0.782 30.376-10.124 41.004l-188.792 184.028 44.24 257.93c0.62 2.796 0.946 5.704 0.946 8.688 0 22.054-17.848 39.942-39.888 40-0.054 0-0.106 0-0.158 0z",starhollow:"M763.972 919.5c-6.368 0-12.758-1.518-18.61-4.596l-233.358-122.688-233.37 122.688c-13.476 7.090-29.808 5.904-42.124-3.042-12.318-8.95-18.486-24.118-15.912-39.124l44.57-259.856-188.792-184.028c-10.904-10.626-14.828-26.524-10.124-41.004s17.222-25.034 32.292-27.222l260.906-37.912 116.686-236.42c6.738-13.652 20.644-22.296 35.87-22.296v0c15.226 0 29.13 8.644 35.87 22.298l116.674 236.418 260.906 37.912c15.068 2.19 27.586 12.742 32.292 27.222s0.782 30.376-10.124 41.004l-188.792 184.028 44.24 257.93c0.62 2.796 0.946 5.704 0.946 8.688 0 22.054-17.848 39.942-39.888 40-0.054 0-0.106 0-0.158 0zM190.256 428.144l145.812 142.13c9.428 9.192 13.73 22.432 11.504 35.406l-34.424 200.7 180.244-94.758c11.654-6.13 25.576-6.126 37.226 0l180.232 94.756-34.422-200.698c-2.226-12.974 2.076-26.214 11.504-35.406l145.812-142.13-201.51-29.282c-13.030-1.892-24.292-10.076-30.118-21.882l-90.114-182.596-90.122 182.598c-5.826 11.804-17.090 19.988-30.118 21.88l-201.506 29.282z",circle:"M1024 512A512 512 0 110 512a512 512 0 011024 0z",circlehollow:"M1024 512A512 512 0 100 512a512 512 0 001024 0zM215 809a418 418 0 010-594 418 418 0 01594 0 418 418 0 010 594 418 418 0 01-594 0z",heart:"M895.032 194.328c-20.906-21.070-46.492-37.316-76.682-48.938-30.104-11.71-63.986-17.39-101.474-17.39-19.55 0-38.744 2.882-57.584 9.094-18.472 6.062-36.584 14.242-54.072 24.246-17.476 9.828-34.056 21.276-49.916 33.898-16.038 12.8-30.456 25.572-43.346 38.664-13.52-13.092-28.026-25.864-43.616-38.664-15.684-12.624-32.080-24.070-49.382-33.898-17.214-10.004-35.414-18.184-54.704-24.246-19.104-6.21-38.568-9.094-58.034-9.094-37.126 0-70.56 5.68-100.48 17.39-29.732 11.622-55.328 27.868-76.328 48.938-20.994 21.094-37.214 46.962-48.478 77.328-11.174 30.544-16.942 64.5-16.942 101.812 0 21.628 3.068 43.078 9.19 64.53 6.308 21.096 14.416 41.986 24.876 61.642 10.446 19.656 22.702 38.488 36.584 56.59 13.88 18.124 28.388 34.516 43.344 49.58l305.766 305.112c8.466 7.558 18.11 11.444 28.204 11.444 10.726 0 19.914-3.884 27.308-11.444l305.934-304.226c14.78-14.772 29.382-31.368 43.166-49.378 14.058-18.212 26.314-37.222 37.042-57.23 10.9-19.924 19.192-40.638 25.406-62 6.218-21.188 9.198-42.61 9.198-64.618 0-37.312-5.592-71.268-16.582-101.812-11.264-30.366-27.22-56.236-48.398-77.33z",hearthollow:"M716.876 208c27.708 0 52.092 4.020 72.47 11.948l0.132 0.052 0.13 0.050c19.866 7.644 35.774 17.664 48.632 30.624l0.166 0.168 0.17 0.168c12.586 12.536 22.304 28.27 29.706 48.094 7.782 21.786 11.726 46.798 11.726 74.364 0 14.658-1.95 28.426-5.958 42.086l-0.028 0.092-0.026 0.092c-4.866 16.72-11.006 31.752-18.776 45.952l-0.162 0.298-0.16 0.296c-8.81 16.434-18.58 31.532-29.864 46.148l-0.204 0.264c-11.316 14.786-23.48 28.708-36.154 41.378l-277.122 275.574-276.94-276.35c-13.32-13.43-25.248-27.074-36.488-41.75-11.386-14.848-21.284-30.136-29.444-45.49-7.206-13.54-13.494-29.17-18.7-46.472-4.030-14.264-5.988-28.044-5.988-42.116 0-27.36 4.042-52.314 12.016-74.176 7.214-19.378 17.344-35.708 30.066-48.492 12.998-13.042 28.958-23.148 48.826-30.914 20.436-8 43.764-11.886 71.32-11.886 11.536 0 22.738 1.742 33.298 5.174l0.374 0.122 0.376 0.12c13.116 4.122 26.066 9.874 38.494 17.094l0.34 0.2 0.344 0.196c12.736 7.234 25.308 15.876 38.43 26.412 14.486 11.906 27.060 23.048 38.428 34.056l56.994 55.192 55.662-56.532c10.324-10.484 22.18-21.040 36.242-32.264 13.382-10.646 26.216-19.38 39.228-26.698l0.256-0.144 0.254-0.144c13.008-7.442 26.228-13.386 39.294-17.676l0.050-0.016 0.050-0.018c10.354-3.414 20.998-5.076 32.54-5.076zM716.876 128c-19.55 0-38.744 2.882-57.584 9.094-18.472 6.062-36.584 14.242-54.072 24.246-17.476 9.828-34.056 21.276-49.916 33.898-16.038 12.8-30.456 25.572-43.346 38.664-13.52-13.092-28.026-25.864-43.616-38.664-15.684-12.624-32.080-24.070-49.382-33.898-17.214-10.004-35.414-18.184-54.704-24.246-19.104-6.21-38.568-9.094-58.034-9.094-37.126 0-70.56 5.68-100.48 17.39-29.732 11.622-55.328 27.868-76.328 48.938-20.994 21.094-37.214 46.962-48.478 77.328-11.174 30.544-16.942 64.5-16.942 101.812 0 21.628 3.068 43.078 9.19 64.53 6.308 21.096 14.416 41.986 24.876 61.642 10.446 19.656 22.702 38.488 36.584 56.59 13.88 18.124 28.388 34.516 43.344 49.58l305.766 305.112c8.466 7.558 18.11 11.444 28.204 11.444 10.726 0 19.914-3.884 27.308-11.444l305.934-304.226c14.78-14.772 29.382-31.368 43.166-49.378 14.058-18.212 26.314-37.222 37.042-57.23 10.9-19.924 19.192-40.638 25.406-62 6.218-21.188 9.198-42.61 9.198-64.618 0-37.312-5.592-71.268-16.582-101.812-11.262-30.366-27.216-56.234-48.396-77.328-20.906-21.070-46.492-37.316-76.682-48.938-30.106-11.712-63.988-17.392-101.476-17.392v0z",facehappy:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm248 493.7c15.2 0 28.7 7.5 37 19l2.6 3.9a46 46 0 015.8 18l.3 4.9c0 6.6-1.4 13-4 18.7l-2.1 4.1A329 329 0 01232 663l-5.5-9.3a46 46 0 01-2-41.2l2-4.2v-.2a45.6 45.6 0 0176.7-4l2.5 4a237.9 237.9 0 00410 7.7l4.5-7.7a46 46 0 0139.7-22.9zM329.7 292.6a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",facesad:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm1.1 449.2a329 329 0 01281.1 157.7l5.5 9.2a46 46 0 012 41.3l-2 4.1v.3a45.6 45.6 0 01-76.7 4l-2.6-4a238 238 0 00-410-7.7l-4.5 7.7a46 46 0 01-76.6 4l-2.6-4a46 46 0 01-5.9-18l-.2-5c0-6.6 1.4-12.9 4-18.6l2.1-4.2a329 329 0 01286.4-166.8zm-183.4-248a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",faceneutral:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm248 521.2a45.7 45.7 0 014.7 91.2l-4.7.2H266.3a45.7 45.7 0 01-4.7-91.2l4.7-.2H760zm-430.3-320a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",lock:"M896.032 915.53v-467.498c0-19.102-13.402-35.052-31.31-39.026-0.21-0.046-0.414-0.12-0.628-0.162-0.444-0.090-0.904-0.13-1.354-0.208-2.186-0.37-4.416-0.606-6.708-0.606h-55.902l0.002-55.85h0.020c0-159.14-129.010-288.15-288.15-288.15-159.128 0-288.13 128.992-288.15 288.118v55.884h-54.852c-20.71 0-37.746 15.742-39.792 35.91-0.136 1.344-0.208 2.708-0.208 4.090v463.332c-0.618 2.792-0.968 5.688-0.968 8.668 0 22.094 17.91 40 40 40h688.27c22.092 0 40-17.91 40-40-0.002-1.524-0.104-3.024-0.27-4.502zM209 488.032h607.032v392h-607.032v-392zM303.85 352.182c0-114.776 93.376-208.15 208.15-208.15 114.59 0 207.842 93.074 208.142 207.596 0 0.084-0.012 0.164-0.012 0.248v56.156h-416.284l0.004-55.85zM552.164 691.858l-0.002 58.188c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40v-57.974c-14.704-11.726-24.134-29.782-24.134-50.048 0-35.346 28.654-64 64-64s64 28.654 64 64c0 20.142-9.318 38.104-23.868 49.836z",unlock:"M896.032 915.53v-467.498c0-1.988-0.194-3.926-0.472-5.834-0.11-0.744-0.192-1.498-0.34-2.226-1.524-7.44-5.136-14.1-10.164-19.408-0.252-0.266-0.48-0.554-0.738-0.814-0.496-0.494-1.036-0.944-1.554-1.412-0.43-0.386-0.84-0.8-1.288-1.17-0.292-0.24-0.608-0.446-0.904-0.676-2.506-1.954-5.244-3.616-8.176-4.934-0.744-0.334-1.504-0.632-2.27-0.922-4.39-1.656-9.124-2.604-14.094-2.604h-552.184l0.002-55.85c0-114.776 93.376-208.15 208.15-208.15 86.038 0 160.034 52.474 191.7 127.096 0.012 0.028 0.030 0.044 0.042 0.072 5.978 14.566 20.284 24.832 37.006 24.832 22.090 0 40-17.906 40-40 0-4.71-0.86-9.21-2.354-13.41-0.182-0.694-0.42-1.438-0.782-2.292-43.666-103.582-146.14-176.296-265.612-176.296-159.128 0-288.13 128.994-288.15 288.12v55.882h-54.85c-20.71 0-37.746 15.742-39.792 35.91-0.136 1.344-0.208 2.708-0.208 4.090v463.332c-0.618 2.794-0.968 5.688-0.968 8.668 0 22.094 17.91 40 40 40h688.27c22.092 0 40-17.91 40-40-0.002-1.528-0.104-3.028-0.27-4.506zM209 488.032h607.032v392h-607.032v-392zM552.164 691.86l-0.002 58.186c0.004 22.088-17.906 39.996-39.996 40-22.094 0-40.004-17.908-40-40v-57.976c-14.702-11.726-24.134-29.782-24.134-50.048 0-35.346 28.654-64 64-64s64 28.654 64 64c0 20.142-9.318 38.102-23.868 49.838z",key:"M768.032 320.032c0 35.346-28.654 64-64 64s-64-28.654-64-64 28.654-64 64-64 64 28.654 64 64zM960.032 353.092c0 159.062-128.946 288.010-288.008 288.010-35.306 0-69.124-6.368-100.38-17.996l-27.736 27.738-0.002 54.464c0 0.016 0.002 0.028 0.002 0.040 0 11.046-4.478 21.046-11.716 28.29-6.334 6.332-14.784 10.55-24.196 11.508-1.346 0.136-2.708 0.208-4.090 0.208h-71.748l-0.002 71.96c0 0.012 0.002 0.040 0.002 0.040 0 11.046-4.478 21.046-11.716 28.286-6.334 6.336-14.784 10.554-24.196 11.508-1.346 0.136-2.708 0.208-4.090 0.208h-71.996l-0.002 62.684c0 22.094-17.908 40-40 40-0.022 0-0.042 0-0.062 0-0.022 0-0.042 0-0.064 0h-175.996c-13.76 0-25.888-6.95-33.086-17.524-4.362-6.406-6.916-14.14-6.916-22.476v-112c0-0.664 0.066-1.308 0.1-1.964 0.032-0.618 0.034-1.234 0.092-1.852 0.11-1.148 0.288-2.278 0.492-3.398 0.024-0.128 0.034-0.258 0.058-0.386 1.614-8.378 5.848-15.808 11.808-21.446l325.456-325.458c-11.642-31.274-18.020-65.11-18.020-100.44 0-159.060 128.946-288.006 288.006-288.006 159.060-0.004 288.006 128.942 288.006 288.002zM880.032 353.092c0-114.696-93.312-208.006-208.008-208.006s-208.006 93.31-208.006 208.006c0 43.208 13.246 83.376 35.884 116.668l-57.36 57.362c-0.136-0.184-0.27-0.368-0.408-0.546l-298.102 298.106-0.002 55.356h96.124v-62.684c0-0.708 0.070-1.394 0.106-2.094 0.036-0.664 0.036-1.336 0.102-1.992 0.132-1.316 0.334-2.61 0.592-3.882 0.006-0.028 0.008-0.058 0.014-0.090 0.258-1.262 0.58-2.5 0.956-3.714 0.012-0.040 0.018-0.078 0.030-0.118 4.676-15.032 17.976-26.262 34.114-27.902 1.344-0.136 2.708-0.208 4.090-0.208h71.998v-67.64c-0.156-1.434-0.248-2.882-0.248-4.36 0-22.094 17.908-40 40-40h71.998v-30.692c0-0.148 0.020-0.29 0.022-0.438 0.008-10.226 3.912-20.45 11.714-28.254l55.99-55.988c1.982-1.984 4.124-3.71 6.38-5.188l18.68-18.684c33.030 22.090 72.702 34.992 115.332 34.992 114.694-0 208.008-93.314 208.008-208.010z",arrowleftalt:"M107.854 539.924l282.834 283.272c15.594 15.65 40.92 15.692 56.568 0.1 15.648-15.594 15.694-40.92 0.1-56.568l-214.838-215.040h655.412c22.092 0 40-17.908 40-40s-17.908-40-40-40h-655l214.75-214.61c15.64-15.602 15.672-40.928 0.070-56.568-7.814-7.834-18.066-11.752-28.32-11.75-10.22 0-20.442 3.892-28.25 11.68l-283.242 282.93c-15.634 15.594-15.672 40.91-0.084 56.554z",arrowrightalt:"M916.266 483.792l-282.834-283.272c-15.594-15.65-40.92-15.692-56.568-0.1-15.648 15.594-15.694 40.92-0.1 56.568l214.838 215.040h-655.412c-22.092 0-40 17.908-40 40s17.908 40 40 40h655l-214.748 214.61c-15.64 15.602-15.672 40.928-0.070 56.568 7.814 7.834 18.066 11.752 28.32 11.75 10.22 0 20.442-3.892 28.25-11.68l283.242-282.93c15.632-15.596 15.67-40.91 0.082-56.554z",sync:"M135.6 442.5a41 41 0 0130 12l94.9 94.6c16 16 16 42 0 58s-42.1 16-58.2 0l-30.1-30a341.9 341.9 0 0095 178.6c65.3 65 152 101 244.3 101 92.3 0 179-36 244.3-101a345 345 0 0066.8-93.6 41.1 41.1 0 0174.3 35v.2l-.1.2-5.2 10.3a427.8 427.8 0 01-380 230.9A427.5 427.5 0 0190.1 585.8l-20 20c-16 16-42 16-58.2 0a41 41 0 010-58l93.6-93.3a41 41 0 0130-12zm376-357.2c208.9 0 382.8 149.5 420.1 347.1l22-22c16.1-16 42.2-16 58.2 0s16 42 0 58l-93.5 93.4a41 41 0 01-30 12 41 41 0 01-30-12L763.5 467a41 41 0 010-58c16-16 42.1-16 58.2 0l26.8 26.8a342 342 0 00-92.7-167.6c-65.3-65-152-101-244.3-101-92.3 0-179 36-244.2 101a345.2 345.2 0 00-66.9 93.6 41.1 41.1 0 01-74.3-35v-.2l.2-.2c.7-1.7.2-.8 5.1-10.3A427.8 427.8 0 01511.5 85.3z",reply:"M679.496 431.738c-0.414-0.062-0.834-0.102-1.266-0.102h-477.482l171.506-171.504c15.622-15.622 15.622-40.95-0.002-56.57-15.62-15.624-40.948-15.624-56.568 0l-239.734 239.732c-0.958 0.956-1.868 1.958-2.724 3.006-0.328 0.402-1.884 2.482-2.324 3.138-0.36 0.54-1.696 2.77-2.008 3.352-0.308 0.58-1.424 2.936-1.676 3.544-0.036 0.086-0.468 1.268-0.648 1.774-0.23 0.636-0.474 1.266-0.672 1.918-0.186 0.612-0.818 3.13-0.95 3.788-0.148 0.748-0.522 3.318-0.574 3.862-0.262 2.642-0.262 5.3 0 7.942 0.044 0.448 0.412 3.032 0.58 3.874 0.112 0.556 0.74 3.088 0.958 3.808 0.158 0.524 1.036 2.992 1.328 3.7 0.192 0.458 1.298 2.828 1.688 3.552 0.208 0.386 0.446 0.75 0.666 1.126 0.436 0.752 1.844 2.888 2.084 3.224 0.52 0.724 4.262 5.074 4.29 5.098l239.718 239.72c15.62 15.618 40.948 15.618 56.57 0 15.62-15.624 15.622-40.948 0-56.57l-171.516-171.514h471.296c114.52 0.084 207.688 93.124 207.988 207.594 0 0.084-0.012 0.164-0.012 0.248v95.876c-0.004 22.094 17.906 40.002 40 40 22.090-0.002 40-17.91 39.996-39.998l0.004-95.57h0.020c0-156.594-124.914-284.012-280.536-288.048z",undo:"M230 301h480a240 240 0 1 1 0 481H235c-23 0-42-20-42-43 0-24 19-43 42-43h475a155 155 0 0 0 0-310H228l3 3 65 65a45 45 0 0 1-65 64L90 376a45 45 0 0 1 0-64l142-142a45 45 0 1 1 64 65l-63 62-3 4z",transfer:"M916.25 348.726l-125 124.688c-7.808 7.79-18.032 11.68-28.25 11.68-10.254 0.002-20.506-3.918-28.32-11.75-15.602-15.64-15.57-40.966 0.070-56.568l56.508-56.368h-655.258c-22.092 0-40-17.908-40-40s17.908-40 40-40h655.672l-57.006-57.206c-15.594-15.646-15.548-40.972 0.1-56.566s40.972-15.55 56.568 0.098l125 125.438c15.588 15.644 15.548 40.958-0.084 56.554zM107.666 731.892l125 125.438c15.596 15.648 40.92 15.692 56.568 0.098s15.694-40.92 0.1-56.566l-57.006-57.206h655.672c22.092 0 40-17.908 40-40s-17.908-40-40-40h-655.258l56.508-56.368c15.64-15.602 15.672-40.928 0.070-56.568-7.814-7.832-18.066-11.752-28.32-11.75-10.218 0-20.442 3.89-28.25 11.68l-125 124.688c-15.632 15.596-15.672 40.91-0.084 56.554z",redirect:"M913.852 702.796c-15.594-15.648-40.922-15.694-56.57-0.1l-57.204 57.006v-451.424c0-0.372-0.028-0.736-0.074-1.098-0.458-99.016-80.86-179.15-179.988-179.15-99.412 0-180 80.592-180 180 0 0.084 0.004 0.166 0.004 0.248h-0.004v343.504h-0.006c0 0.082 0.006 0.164 0.006 0.248 0 55.14-44.86 100-100 100s-100-44.86-100-100c0-0.084 0.006-0.166 0.006-0.248h-0.002v-483.752c0-22.092-17.91-40-40-40s-40.004 17.908-40.004 40v483.752c0 0.018 0.002 0.036 0.002 0.054 0 0.064-0.002 0.128-0.002 0.194 0 99.408 80.59 180 180 180 99.412 0 180-80.592 180-180 0-0.084-0.004-0.166-0.004-0.248h0.004v-343.504h0.008c0-0.082-0.008-0.164-0.008-0.248 0-55.138 44.86-100 100-100s100 44.862 100 100c0 0.084-0.008 0.166-0.008 0.248h0.070v451.008l-56.368-56.506c-15.602-15.642-40.93-15.67-56.566-0.070-7.836 7.814-11.754 18.066-11.754 28.32 0 10.218 3.894 20.442 11.68 28.252l124.692 125c15.594 15.632 40.91 15.67 56.554 0.084l125.434-125c15.652-15.598 15.692-40.92 0.102-56.57z",expand:"M433.4 578.8l6.2 5.2a44.8 44.8 0 010 63.3L238.4 849.1h100.3a44.8 44.8 0 018 88.8l-8 .8H130l-6.2-.5 2.7.3h-.3a44.7 44.7 0 01-24.8-10.2l-.3-.3-.3-.2-.3-.4-.3-.2-.3-.2v-.2h-.1l-.2-.1a45.7 45.7 0 01-13.5-24.8l-.3-1.7a45 45 0 01-.5-5.3V685.7a44.8 44.8 0 0189-8.1l.6 8 .1 100L376.3 584a44.8 44.8 0 0157.1-5.2zm157.2 0a44.8 44.8 0 0157.1 5.2L849 785.7v-100l.8-8.1a44.8 44.8 0 0188.9 8V895a45 45 0 01-.5 5.3l-.3 1.7a38.6 38.6 0 01-2.8 9.4 43.4 43.4 0 01-9.6 14.2l-4.7 4.2 2-1.7.7-.6-.3.4a44.1 44.1 0 01-4.4 3.3l-.6.4a45.8 45.8 0 01-20.4 7h-.3.9l1.8-.3-6.2.5H685.3l-8-.8a44.8 44.8 0 018-88.8h100.3L584.4 647.3a44.8 44.8 0 010-63.3zM98.5 925.5l1.3 1.3.1.2.6.4a45 45 0 002 1.7l.7.6-4.7-4.2zM893.9 85.3h.9-.8l6.2.5a45 45 0 00-1.8-.2l-.9-.1h-1l-.5-.1h-1.2 2.7l.3.1a44.7 44.7 0 0125.4 10.7l.3.3v.1l.3.2.3.2v.2h.1l.2.1.6.6.5.6A45.6 45.6 0 01938 122l.3 1.7c.3 1.8.4 3.6.5 5.3v209.2a44.8 44.8 0 01-89 8.1l-.6-8-.1-100L647.7 440a44.8 44.8 0 01-57.1 5.2l-6.2-5.2a44.8 44.8 0 010-63.3l201.2-201.8H685.3a44.8 44.8 0 01-8-88.8l8-.8H894h-.1zm-555.2 0l8 .8a44.8 44.8 0 01-8 88.8H238.4l201.2 201.8a44.8 44.8 0 010 63.3l-6.2 5.2a44.8 44.8 0 01-57.1-5.2L175 238.3v100l-.8 8.1a44.8 44.8 0 01-88.9-8V129c0-1.7.2-3.5.5-5.3l.3-1.7a38.6 38.6 0 012.8-9.4 43.4 43.4 0 019.6-14.2l4.7-4.2-2 1.7.2-.3a43.7 43.7 0 0124.8-10.2h1.3l.3-.1h2.3-.1 208.7zm582 9l4.8 4.2-1.3-1.3-.1-.2-.5-.4h-.1l-.6-.6-1.4-1.1-.7-.6zm-790.7-9h-2l-.5.1h-1l-.9.2c-.6 0-1.2 0-1.8.2l6.2-.5z",expandalt:"M479.7 13.4L205.4 287.6a45.7 45.7 0 1064.7 64.7l242-242 241.8 241.9a45.7 45.7 0 1064.7-64.7L544.4 13.4a45.6 45.6 0 00-64.7 0M512 1024a45.6 45.6 0 01-32.3-13.4L205.4 736.5a45.7 45.7 0 1164.7-64.7l241.8 241.8 242-241.9a45.7 45.7 0 1164.7 64.7l-274.3 274.2c-9 9-20.7 13.4-32.4 13.4",collapse:"M479.7 411L205.4 136.6a45.7 45.7 0 1164.7-64.6L512 314 753.9 72.2a45.7 45.7 0 1164.7 64.6L544.4 411a45.6 45.6 0 01-64.7 0M512 598.3a45.6 45.6 0 00-32.3 13.4L205.4 885.8a45.7 45.7 0 1064.7 64.7l241.8-241.8 242 242a45.7 45.7 0 1064.7-64.7L544.3 611.7c-9-8.9-20.7-13.4-32.4-13.4",grow:"M541.146 448.384c-1.694-0.216-3.408-0.37-5.162-0.37h-367.968c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v368.032c0 22.094 17.91 40 40 40h367.968c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-368.036c0-20.34-15.192-37.094-34.838-39.632zM208.016 816.046v-288.032h287.968v288.032h-287.968zM736.032 856.046c0 22.090-17.908 40-40 40-22.090 0-40-17.908-40-40v-487.902l-488.016 0.002c-22.090 0-40-17.91-40-40s17.908-40.002 40-40.002h528.016c1.754 0 3.468 0.152 5.162 0.37 19.646 2.538 34.838 19.292 34.838 39.63v527.902zM896.032 168.030v688.004c-0.002 22.088-17.91 39.996-40 39.996s-40.002-17.908-40.002-40c0 0 0.002-304.026 0.002-304.040v-343.96h-343.96c-0.014 0-304.040 0.002-304.040 0.002-22.090 0-40-17.91-40-40s17.908-40.002 40-40.002h688c1.754 0 3.468 0.152 5.162 0.37 19.646 2.536 34.838 19.29 34.838 39.63z",arrowleft:"M257.93 511.976c0-10.236 3.902-20.47 11.71-28.282l344.098-344.158c15.622-15.624 40.946-15.624 56.57-0.006 15.622 15.622 15.624 40.948 0.004 56.568l-315.82 315.876 315.868 315.922c15.618 15.624 15.618 40.952-0.004 56.568-15.622 15.62-40.95 15.618-56.57-0.006l-344.146-344.202c-7.808-7.81-11.71-18.044-11.71-28.28z",arrowup:"M512.024 256c10.236 0 20.47 3.904 28.282 11.712l344.154 344.098c15.624 15.62 15.624 40.946 0.006 56.57-15.622 15.622-40.948 15.624-56.568 0.004l-315.876-315.82-315.922 315.868c-15.624 15.618-40.952 15.618-56.568-0.004-15.62-15.624-15.618-40.95 0.006-56.57l344.204-344.144c7.81-7.81 18.046-11.714 28.282-11.714z",arrowdown:"M511.976 768.002c-10.236 0-20.47-3.904-28.282-11.712l-344.154-344.098c-15.624-15.62-15.624-40.946-0.006-56.57 15.622-15.622 40.948-15.624 56.568-0.004l315.876 315.82 315.922-315.868c15.624-15.618 40.952-15.616 56.568 0.004 15.62 15.624 15.618 40.95-0.006 56.57l-344.204 344.144c-7.81 7.81-18.046 11.714-28.282 11.714z",arrowright:"M768.072 514.022c0 10.236-3.904 20.47-11.712 28.282l-344.098 344.156c-15.62 15.624-40.946 15.624-56.568 0.006-15.622-15.622-15.624-40.948-0.006-56.568l315.82-315.876-315.868-315.922c-15.618-15.624-15.618-40.952 0.004-56.568 15.624-15.62 40.95-15.618 56.57 0.006l344.144 344.204c7.81 7.81 11.714 18.044 11.714 28.28z",chevrondown:"M511.976 833c-10.236 0-20.47-3.904-28.282-11.712l-471.934-471.874c-15.624-15.62-15.624-40.946-0.006-56.57 15.622-15.622 40.948-15.624 56.568-0.004l443.652 443.598 443.61-443.556c15.624-15.618 40.952-15.616 56.568 0.004 15.62 15.624 15.618 40.95-0.006 56.57l-471.89 471.832c-7.808 7.808-18.044 11.712-28.28 11.712z",back:"M512 932.6c-112.3 0-218-43.8-297.4-123.2A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4A417.8 417.8 0 01512 932.6zm0 91.4A512 512 0 10512 0a512 512 0 000 1024zM232.7 542.5l142.8 143.3a45.7 45.7 0 0064.8-64.5L375 555.9h383.7a45.7 45.7 0 000-91.4H375.6l64.6-64.4a45.7 45.7 0 10-64.6-64.8L232.8 477.8a45.7 45.7 0 00-.1 64.6z",download:"M543.8 791.3a45.7 45.7 0 01-64.6 0l-142.5-143a45.6 45.6 0 010-64.6 45.7 45.7 0 0164.7 0l64.5 64.7V265.2a45.7 45.7 0 1191.4 0v383.6l65.4-65.1a45.7 45.7 0 1164.5 64.8L543.8 791.3zM1024 512A512 512 0 110 512a512 512 0 011024 0zm-91.4 0c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512z",upload:"M480.2 232.7a45.7 45.7 0 0164.6 0l142.5 143a45.6 45.6 0 010 64.6 45.7 45.7 0 01-64.7 0L558 375.5v383.2a45.7 45.7 0 11-91.4 0V375.2l-65.4 65.1a45.7 45.7 0 11-64.5-64.8l143.4-142.8zM0 512a512 512 0 111024 0A512 512 0 010 512zm91.4 0c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512z",proceed:"M791.3 480.2L648.5 336.8a45.7 45.7 0 10-64.8 64.5l65.1 65.4H265.2a45.7 45.7 0 100 91.4h383.2l-64.6 64.5a45.7 45.7 0 0064.6 64.7l142.8-142.5a45.7 45.7 0 00.1-64.6M512 0a512 512 0 100 1024A512 512 0 00512 0m0 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4A417.8 417.8 0 01512 932.6c-112.3 0-218-43.8-297.4-123.2A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4",info:"M874.04 149.96c199.95 199.95 199.95 524.14 0 724.08-199.95 199.95-524.13 199.95-724.08 0-199.95-199.95-199.95-524.13 0-724.08 199.95-199.95 524.13-199.95 724.08 0zM512 91.43c-112.34 0-217.95 43.75-297.39 123.18-79.43 79.44-123.18 185.05-123.18 297.4 0 112.33 43.75 217.94 123.18 297.38 79.44 79.43 185.05 123.18 297.4 123.18 112.33 0 217.94-43.75 297.38-123.18C888.82 729.95 932.57 624.34 932.57 512c0-112.34-43.75-217.95-123.18-297.39C729.95 135.18 624.34 91.43 512 91.43zm1.14 318.96a45.73 45.73 0 00-45.11 38.3l-.6 7.42v274.28a45.71 45.71 0 0090.83 7.42l.6-7.42V456.11a45.72 45.72 0 00-45.72-45.72zm0-162.25a45.72 45.72 0 100 91.44 45.72 45.72 0 000-91.44z",question:"M874.04 149.96c199.95 199.95 199.95 524.13 0 724.08-199.95 199.95-524.13 199.95-724.08 0-199.95-199.95-199.95-524.13 0-724.08 199.95-199.95 524.13-199.95 724.08 0zM512 91.43c-112.34 0-217.95 43.75-297.39 123.18-79.43 79.44-123.18 185.05-123.18 297.4 0 112.33 43.75 217.95 123.18 297.38 79.44 79.43 185.05 123.18 297.4 123.18 112.33 0 217.94-43.75 297.38-123.18C888.82 729.96 932.57 624.34 932.57 512c0-112.34-43.75-217.95-123.18-297.39C729.95 135.18 624.34 91.43 512 91.43zm1.14 640.9a45.72 45.72 0 100 91.43 45.72 45.72 0 000-91.44zm-1.14-549c-111.3 0-201.52 90.22-201.52 201.52a45.71 45.71 0 0090.84 7.41l.6-7.47c.03-60.68 49.4-110.03 110.08-110.03 60.7 0 110.1 49.38 110.1 110.09 0 60.7-49.4 110.09-110.1 110.09v.17a45.68 45.68 0 00-44.57 45.65v100.58a45.7 45.7 0 1091.42 0v-60.46c88.7-21.12 154.67-100.87 154.67-196.03 0-111.3-90.22-201.52-201.52-201.52z",support:"M512 932.57c-87.57 0-171.05-26.59-241.23-75.93l106-106a273.98 273.98 0 00135.26 35.62c46.7 0 93.41-11.88 135.22-35.6l105.98 105.98c-70.19 49.34-153.66 75.93-241.23 75.93m-344.64-661.8l105.97 105.98c-47.44 83.63-47.43 186.86.02 270.49L167.36 753.22C118.02 683.04 91.43 599.56 91.43 512c0-87.57 26.59-171.05 75.93-241.23m585.87-103.41L647.29 273.3a273.95 273.95 0 00-135.26-35.61c-46.74 0-93.47 11.9-135.3 35.63L270.77 167.36C340.96 118.02 424.43 91.43 512 91.43s171.05 26.59 241.23 75.93m-370.5 473.91c-71.3-71.3-71.3-187.3 0-258.6a181.7 181.7 0 01129.3-53.55h.02c48.83 0 94.74 19.02 129.28 53.56 71.29 71.29 71.29 187.3 0 258.6a181.66 181.66 0 01-129.3 53.55 181.67 181.67 0 01-129.3-53.56m473.91 111.95L750.68 647.27c47.48-83.65 47.48-186.91.02-270.56l105.94-105.94c49.34 70.18 75.93 153.66 75.93 241.23s-26.59 171.04-75.93 241.22m17.4-603.26c-199.95-199.95-524.13-199.95-724.08 0-199.95 199.95-199.95 524.13 0 724.08 199.95 199.95 524.13 199.95 724.08 0 199.95-199.95 199.95-524.13 0-724.08",alert:"M511.998 623.846c-22.090 0-40-17.906-40-40v-208c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v208c0 22.094-17.914 40-40.004 40v0zM511.998 743.846c22.090 0 40.004-17.906 40.004-40v0c0-22.090-17.914-40-40.004-40v0c-22.090 0-40 17.91-40 40v0c0 22.094 17.91 40 40 40v0zM512.142 211.808l-340.074 589.028h680.148l-340.074-589.028zM512.142 92.51c14.5 0 29 9.526 40 28.58l398.638 690.462c22 38.106 4 69.282-40 69.282h-797.278c-44 0-62-31.176-40-69.282l398.638-690.462c11.002-19.052 25.502-28.58 40.002-28.58v0z",bell:"M901.344 760.018l-57.644-77.648c-7.906-7.906-11.77-38.284-11.71-48.646h0.042v-200.588h-0.364c-6.878-148.106-114.428-269.902-255.792-298.528 0.208-2.1 0.318-4.228 0.318-6.384 0-35.452-28.738-64.194-64.194-64.194-35.458 0-64.194 28.742-64.194 64.194 0 2.19 0.112 4.352 0.326 6.486-141.128 28.802-248.446 150.488-255.316 298.426h-0.364v200.588h0.042c0.058 10.362-3.804 40.74-11.71 48.646l-57.644 77.648c-8.802 8.802-16.35 18.978-16.35 32.208 0 22.092 17.908 40 40 40h255.876c-0.814 5.412-1.28 10.936-1.28 16.576 0 61.43 49.794 111.23 111.23 111.23 61.432 0 111.228-49.8 111.228-111.23 0-5.638-0.464-11.164-1.282-16.576h255.128c22.092 0 40-17.908 40-40 0.004-13.23-7.542-23.404-16.346-32.208zM272.732 436.848c2.862-61.602 29.032-119.104 73.69-161.91 44.786-42.93 103.628-66.62 165.692-66.706h0.26c62.062 0.086 120.906 23.776 165.692 66.706 44.658 42.806 70.828 100.308 73.69 161.91l0.278 5.962v149.384h-479.58v-149.384l0.278-5.962zM543.846 848.8c0 17.22-14.010 31.23-31.228 31.23-17.22 0-31.23-14.010-31.23-31.23 0-6.096 1.784-11.768 4.82-16.576h52.818c3.038 4.81 4.82 10.482 4.82 16.576zM512.484 752.226h-283.922l14.572-19.63c12.064-14.542 20.078-33.27 24.982-58.158 0.146-0.742 0.276-1.496 0.416-2.244h487.42c0.138 0.748 0.268 1.5 0.414 2.244 4.904 24.888 12.918 43.616 24.982 58.158l14.572 19.63h-283.436z",rss:"M256.094 865.048c0 53.020-42.972 96-96 96-53.020 0-96-42.98-96-96 0-53.016 42.98-96 96-96s96 42.984 96 96zM510.020 918.352c-0.018-0.172-0.042-0.344-0.050-0.52-0.054-0.676-0.124-1.34-0.214-2.004-10.582-105.644-57.866-200.46-128.894-271.536v0c-71.074-71.054-165.906-118.352-271.564-128.934-0.664-0.090-1.33-0.16-2.006-0.214-0.174-0.016-0.348-0.040-0.52-0.054-0.254-0.024-0.5-0.024-0.742-0.008-0.64-0.032-1.278-0.098-1.922-0.098-22.098 0-40 17.908-40 40 0 20.582 15.542 37.516 35.536 39.738 0.042 0.004 0.066 0.036 0.106 0.040 84.82 8.098 163.514 45.024 224.542 106.042v0c61.036 61.036 97.964 139.738 106.070 224.574 0.004 0.040 0.036 0.070 0.042 0.106 2.222 19.988 19.156 35.536 39.736 35.536 22.092 0 40-17.902 40-40 0-0.644-0.066-1.282-0.098-1.922 0-0.246 0-0.492-0.022-0.746zM734.688 918.45c-0.004-0.090-0.018-0.186-0.024-0.276-0.040-0.544-0.058-1.102-0.124-1.638-10.972-167.816-83.558-318.804-195.33-430.616h0.002c-111.812-111.788-262.81-184.384-430.644-195.36-0.542-0.060-1.094-0.084-1.642-0.122-0.092-0.008-0.182-0.016-0.272-0.022-0.020-0.002-0.042 0.004-0.054 0.004-0.836-0.052-1.664-0.124-2.512-0.124-22.092 0-40 17.908-40 40 0 21.036 16.246 38.24 36.874 39.842 0.046 0.008 0.078 0.038 0.128 0.042 66.876 4.086 131.786 19.292 193.406 45.358 70.472 29.81 133.78 72.494 188.166 126.874v0c54.394 54.396 97.090 117.71 126.902 188.204 26.064 61.624 41.274 126.532 45.362 193.408 0.004 0.052 0.036 0.080 0.042 0.13 1.604 20.624 18.802 36.87 39.844 36.87 22.090 0 40-17.904 40-40 0-0.85-0.074-1.678-0.126-2.514-0.002-0.024 0.006-0.040 0.002-0.060zM959.126 920.556c-0.002-0.094 0.008-0.164 0.004-0.262-10.342-231.204-108.314-439.604-261.486-592.796v-0.002c-153.2-153.19-361.61-251.174-592.828-261.518-0.096-0.004-0.168 0.006-0.262 0.004-0.176-0.004-0.348-0.030-0.524-0.030-22.098 0-40 17.91-40 40 0 20.988 16.168 38.164 36.716 39.834 0.184 0.042 0.356 0.086 0.566 0.098 97.040 4.314 191.186 25.538 280.376 63.258 97.14 41.090 184.406 99.928 259.368 174.876v0c74.96 74.964 133.81 162.24 174.908 259.398 37.718 89.19 58.946 183.336 63.26 280.376 0.010 0.208 0.052 0.38 0.096 0.562 1.67 20.552 18.848 36.72 39.834 36.72 22.092 0 40-17.906 40-40-0-0.17-0.024-0.342-0.028-0.518z",edit:"M948.56 263.376c12.704-12.708 15.072-31.836 7.11-46.936-1.84-3.524-4.232-6.832-7.192-9.792-0.286-0.286-0.594-0.528-0.886-0.8l-129.318-128.634c-0.048-0.048-0.088-0.106-0.138-0.154-7.812-7.812-18.050-11.716-28.292-11.714-10.242-0.004-20.484 3.902-28.296 11.714-0.064 0.066-0.12 0.136-0.184 0.204l-636.168 636.168c-5.868 5.134-10.21 11.958-12.298 19.748l-47.606 177.664c-3.7 13.804 0.248 28.534 10.352 38.638 7.602 7.6 17.816 11.714 28.288 11.714 3.452 0 6.93-0.446 10.352-1.364l177.664-47.606c7.296-1.956 13.732-5.904 18.74-11.216l521.486-521.484c1.126-0.904 2.222-1.87 3.268-2.914 1.042-1.044 2.006-2.138 2.91-3.264l107.75-107.748c0.836-0.71 1.668-1.432 2.458-2.224zM806.9 291.66l-73.592-73.202 56.61-56.61 73.594 73.2-56.612 56.612zM281.566 816.996l-73.4-73.4 468.572-468.568 73.594 73.202-468.766 468.766zM160.496 864.628l11.742-43.822 32.080 32.080-43.822 11.742z",paintbrush:"M946.58 293.66c12.704-12.708 15.072-31.836 7.108-46.938-1.838-3.524-4.23-6.83-7.19-9.79-0.282-0.282-0.588-0.52-0.876-0.792l-129.338-128.654c-0.046-0.046-0.084-0.098-0.13-0.144-7.814-7.812-18.056-11.718-28.296-11.714-10.24 0-20.48 3.906-28.292 11.714-0.064 0.066-0.12 0.138-0.184 0.206l-557.048 557.048c-2.194 2.192-4.042 4.59-5.622 7.11-70.624 87.486-17.922 195.43-174.738 239.554 0 0 64.758 18.11 144.33 18.11 74.374 0 161.678-15.824 221.23-77.020 0.394-0.364 0.808-0.696 1.192-1.078l1.734-1.734c0.852-0.798 1.678-1.578 2.504-2.426 0.348-0.356 0.668-0.728 1.010-1.086l168.756-168.756c1.126-0.906 2.224-1.872 3.272-2.918 1.044-1.044 2.008-2.14 2.914-3.266l375.212-375.212c0.834-0.706 1.664-1.424 2.452-2.214zM537.462 589.402l-73.594-73.206 324.068-324.064 73.594 73.2-324.068 324.070zM388.178 667.684c-13.288-13.632-28.584-23.974-44.78-31.016l63.902-63.902 73.596 73.204-64.246 64.248c-6.498-15.23-15.964-29.698-28.472-42.534zM229.848 791.928c8.294-30.346 14.852-54.332 32.416-73.862 0.83-0.864 2.664-2.702 4.26-4.286 8.030-6.792 17.534-8.246 24.198-8.246 14.386 0 29.026 6.554 40.162 17.98 19.592 20.106 21.934 49.238 5.596 66.874l-1.712 1.712c-0.798 0.752-1.612 1.524-2.462 2.354l-0.86 0.84-0.834 0.864c-30.666 31.79-75.914 45.424-118.104 50.542 7.53-18.888 12.598-37.426 17.34-54.772z",close:"M150 150a512 512 0 11724 724 512 512 0 01-724-724zm69.3 64.2A418.5 418.5 0 0095.9 512a418.5 418.5 0 00123.4 297.8A418.5 418.5 0 00517 933.2 418.5 418.5 0 00815 809.8 418.5 418.5 0 00938.4 512 418.5 418.5 0 00815 214.2 418.5 418.5 0 00517 90.8a418.5 418.5 0 00-297.8 123.4zM655 304a46 46 0 0165 65L577 512l143 143a46 46 0 11-65 65L512 577 369 720a46 46 0 11-65-65l143-143-143-143a46 46 0 0165-65l143 143 143-143z",closeAlt:"M586.7 512L936 861.4a52.8 52.8 0 0 1-74.6 74.7L512 586.7 162.6 936A52.8 52.8 0 0 1 88 861.4L437.3 512 88 162.6A52.8 52.8 0 1 1 162.6 88L512 437.3 861.4 88a52.8 52.8 0 1 1 74.7 74.7L586.7 512z",trash:"M919.5 225.208h-215.5v-120.080c0-20.344-15.192-37.096-34.836-39.632-1.696-0.216-3.41-0.372-5.164-0.372h-304.004c-1.754 0-3.468 0.152-5.164 0.372-19.644 2.54-34.836 19.292-34.836 39.628v120.084h-215.996c-22.090 0-40 17.912-40 40.002 0 22.092 17.91 40 40 40h27.216l53.916 615.914h0.214c0 22.092 17.91 40 40 40h573.372c22.094 0 40-17.91 40-40h0.148l53.916-615.914h26.716c22.090 0 40-17.91 40-40s-17.908-40.002-39.998-40.002zM399.996 145.126h224.004v80.082h-224.004v-80.082zM762.062 881.124h-500.124l-50.414-575.912h600.954l-50.416 575.912zM632.004 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40zM311.996 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40zM472 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40z",cross:"M1013.286 955.716l-443.72-443.716 443.718-443.718c15.622-15.622 15.62-40.948-0.004-56.566-15.618-15.622-40.942-15.622-56.562 0l-443.716 443.718-443.72-443.718c-15.62-15.624-40.946-15.622-56.566 0-15.622 15.62-15.622 40.944 0 56.566l443.722 443.718-443.722 443.722c-15.622 15.618-15.62 40.942 0 56.56s40.948 15.622 56.566 0l443.72-443.718 443.722 443.718c15.618 15.624 40.942 15.622 56.56 0 15.62-15.618 15.622-40.944 0.002-56.566z",delete:"M874 150A512 512 0 10150 874 512 512 0 00874 150zm-659.4 64.6A417.8 417.8 0 01512 91.4c97 0 188.9 32.6 263.3 92.6L184 775.3A417.4 417.4 0 0191.4 512c0-112.4 43.7-218 123.2-297.4zm594.8 594.8A417.8 417.8 0 01512 932.6c-97 0-189-32.7-263.3-92.6L840 248.7A417.4 417.4 0 01932.6 512c0 112.3-43.8 218-123.2 297.4z",add:"M512-.2a512 512 0 110 1024 512 512 0 010-1024zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 511.8c0 112.4 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.4c112.3 0 218-43.8 297.4-123.2a417.8 417.8 0 00123.2-297.4c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.2zm1.1 129.2a45.7 45.7 0 0145.7 45.7v201.1H760a45.7 45.7 0 010 91.5H558.8v201.1a45.7 45.7 0 11-91.4 0V558.7H266.3a45.7 45.7 0 110-91.5h201.1V266.1a45.7 45.7 0 0145.7-45.7z",subtract:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm4 94A418 418 0 0094 515a418 418 0 00422 422 418 418 0 00421-422A418 418 0 00516 94zm244 372a46 46 0 010 92H264a46 46 0 110-92z",plus:"M921.002 473h-368.008v-368.004c0.002-22.090-17.906-39.996-39.996-39.996-22.088 0-39.998 17.91-39.998 40v368h-368.002c-22.094 0-40 17.908-39.998 40-0.002 22.090 17.904 39.996 39.996 39.996l368.004-0.002v368.010c0 22.094 17.908 40 40 39.996 22.090 0.004 39.996-17.902 39.996-39.996v-368.010h368.010c22.090 0.002 39.994-17.906 39.994-39.996-0-22.088-17.908-39.998-39.998-39.998z",document:"M764 1c12 0 24 4 32 13l129 132c9 8 13 20 13 31v802c0 24-20 44-45 44H131c-25 0-45-20-45-44V45c0-24 20-44 45-44h633zm-48 89H175v844h674l-1-707h-87c-22 0-40-15-44-36v-8l-1-93zm-16 584a45 45 0 0 1 8 89H324a45 45 0 0 1-8-88l8-1h376zm0-187a45 45 0 0 1 8 89l-8 1H324a45 45 0 0 1-8-89l8-1h376zm0-186a45 45 0 0 1 8 88l-8 1H324a45 45 0 0 1-8-89h384z",folder:"M571 274h327c23 0 41 18 41 41v488c0 22-18 40-41 40H126c-23 0-41-18-41-40V242c0-34 27-61 61-61h317c18 0 35 7 47 21l61 72zm-119-8H170v492h684V359H531l-79-93z",component:"M171 469h298V171H246c-42 0-75 33-75 75v223zm0 86v223c0 42 33 75 75 75h223V555H171zm682-86V246c0-42-33-75-75-75H555v298h298zm0 86H555v298h223c42 0 75-33 75-75V555zM256 85h512c94 0 171 77 171 171v512c0 94-77 171-171 171H256c-94 0-171-77-171-171V256c0-94 77-171 171-171z",calendar:"M920.036 160.030h-112.004v-72c0-22.092-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.004h-432v-72c0-22.092-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.004h-112.004c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c0-22.094-17.908-40-40-40zM356.032 848.026h-212.004v-142.662h212.004v142.662zM356.032 665.364h-212.004v-162.664h212.004v162.664zM356.032 462.7h-212.004v-142.662h212.004v142.662zM628.032 848.026h-232v-142.662h232v142.662zM628.032 665.364h-232v-162.664h232v162.664zM628.032 462.7h-232v-142.662h232v142.662zM880.036 848.026h-212.004v-142.662h212.004v142.662zM880.036 665.364h-212.004v-162.664h212.004v162.664zM880.036 462.7h-212.004v-142.662h212.004v142.662z",graphline:"M820.536 489.23c-15.624 15.618-40.954 15.618-56.57 0l-42.006-42.002-169.898 169.9c-7.822 7.82-18.076 11.722-28.326 11.712-10.248 0.008-20.496-3.894-28.314-11.712l-96.178-96.182-140.67 140.674c-15.624 15.622-40.954 15.618-56.57-0.004-15.624-15.618-15.624-40.946 0-56.566l168.946-168.946c7.812-7.816 18.058-11.72 28.3-11.716 10.238-0.002 20.476 3.904 28.29 11.716l96.204 96.204 168.91-168.91c0.33-0.356 0.626-0.73 0.972-1.076 7.824-7.824 18.084-11.726 28.34-11.712 10.252-0.012 20.508 3.892 28.332 11.714 0.346 0.346 0.64 0.72 0.972 1.074l69.266 69.266c15.62 15.618 15.616 40.942 0 56.566zM880 144h-736v736h736v-736zM920 64c22.092 0 40 17.908 40 40v816c0 22.092-17.908 40-40 40h-816c-22.092 0-40-17.908-40-40v-816c0-22.092 17.908-40 40-40h816z",docchart:"M919.938 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c0-22.094-17.906-40-40-40zM395.934 470.67h232v162.664h-232v-162.664zM355.934 633.334h-212.004v-162.664h212.004v162.664zM395.934 430.67v-142.662h232v142.662h-232zM667.934 470.67h212.004v162.664h-212.004v-162.664zM667.934 430.67v-142.662h212.004v142.662h-212.004zM355.934 288.008v142.662h-212.004v-142.662h212.004zM143.93 673.334h212.004v142.662h-212.004v-142.662zM395.934 673.334h232v142.662h-232v-142.662zM667.934 673.334h212.004v142.662h-212.004v-142.662z",doclist:"M919.938 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c-0-22.094-17.906-40-40-40zM143.93 288.008h736.008v527.988h-736.008v-527.988zM248 400.004c0-22.090 17.91-40 40-40h448c22.094 0 40 17.906 40 40 0 22.090-17.906 40-40 40h-448c-22.090 0-40-17.91-40-40zM776 552.002c0 22.094-17.906 40-40 40h-448c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40h448c22.094 0 40 17.91 40 40zM776 704c0 22.094-17.906 40-40 40h-448c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40h448c22.094 0 40 17.91 40 40z",category:"M925.224 256.37c-1.694-0.216-3.408-0.37-5.162-0.37h-816c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v624c0 22.094 17.91 40 40 40h816c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-624.004c0-20.342-15.19-37.096-34.838-39.632zM144.062 880v-544h736v544h-736zM896.11 180c0 11.044-8.954 20-20 20h-728.032c-11.046 0-20-8.956-20-20v0c0-11.046 8.954-20 20-20h728.032c11.046 0 20 8.954 20 20v0zM832.094 84c0 11.044-8.954 20-20 20h-600c-11.046 0-20-8.956-20-20v0c0-11.046 8.954-20 20-20h600c11.046 0 20 8.954 20 20v0z",grid:"M437.162 552.368c-1.694-0.216-3.408-0.37-5.162-0.37h-263.978c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v264.040c0 22.094 17.91 40 40 40h263.978c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-264.044c0-20.34-15.19-37.094-34.838-39.632zM208.022 816.038v-184.040h183.978v184.040h-183.978zM437.162 128.4c-1.694-0.216-3.408-0.37-5.162-0.37h-263.978c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v263.968c0 22.094 17.91 40 40 40h263.978c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-263.972c0-20.342-15.19-37.096-34.838-39.632zM208.022 392v-183.968h183.978v183.968h-183.978zM861.212 552.368c-1.694-0.216-3.408-0.37-5.162-0.37h-264.050c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v264.040c0 22.094 17.91 40 40 40h264.048c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-264.044c0.002-20.34-15.19-37.094-34.836-39.632zM632 816.038v-184.040h184.048v184.040h-184.048zM861.212 128.4c-1.694-0.216-3.408-0.37-5.162-0.37h-264.050c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v263.968c0 22.094 17.91 40 40 40h264.048c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-263.972c0.002-20.342-15.19-37.096-34.836-39.632zM632 392v-183.968h184.048v183.968h-184.048z",copy:"M960.132 210.186c0-0.444-0.050-0.874-0.066-1.312-0.024-0.684-0.044-1.366-0.104-2.046-0.060-0.74-0.158-1.468-0.26-2.198-0.080-0.564-0.156-1.128-0.258-1.692-0.146-0.792-0.328-1.566-0.518-2.34-0.124-0.508-0.244-1.014-0.39-1.518-0.224-0.784-0.488-1.548-0.76-2.312-0.176-0.49-0.344-0.98-0.538-1.466-0.302-0.754-0.642-1.486-0.988-2.216-0.224-0.472-0.436-0.946-0.68-1.41-0.398-0.762-0.838-1.496-1.284-2.228-0.242-0.396-0.466-0.798-0.722-1.19-0.608-0.924-1.262-1.81-1.942-2.678-0.132-0.168-0.248-0.346-0.382-0.512-0.98-1.212-2.028-2.364-3.14-3.454l-104.020-104.9c-3.714-3.714-7.988-6.518-12.542-8.464-0.088-0.040-0.174-0.084-0.262-0.122-0.994-0.418-2.006-0.774-3.024-1.108-0.242-0.080-0.474-0.176-0.72-0.252-0.942-0.288-1.894-0.516-2.854-0.732-0.334-0.076-0.658-0.176-0.996-0.244-0.998-0.2-2.004-0.336-3.010-0.458-0.306-0.038-0.606-0.1-0.912-0.13-1.322-0.13-2.65-0.204-3.976-0.204h-391.784c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v145.516h-279.874c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v628.28c0 22.094 17.91 40 40 40h496.118c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 2.084-3.466 2.128-3.548 2.992-5.612 4.704-12.010 4.704-18.808 0 0 0 0 0-0.004v-145.518h279.874c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 2.084-3.466 2.128-3.548 2.992-5.612 4.704-12.010 4.704-18.808 0 0 0 0 0-0.004v-521.828c0.008-0.23-0.016-0.458-0.014-0.688 0.002-0.202 0.028-0.39 0.028-0.584zM144.124 878.792v-548.278h311.752v65.186c0 22.090 17.91 40 40 40h64.366v443.092h-416.118zM640.244 693.278v-296.31c0.006-0.23-0.018-0.458-0.014-0.688 0.004-0.196 0.030-0.382 0.030-0.578 0-0.444-0.052-0.874-0.066-1.312-0.024-0.684-0.044-1.366-0.104-2.046-0.062-0.74-0.16-1.468-0.262-2.198-0.078-0.564-0.152-1.128-0.258-1.692-0.144-0.792-0.324-1.566-0.516-2.34-0.124-0.508-0.246-1.014-0.39-1.518-0.226-0.784-0.488-1.548-0.76-2.312-0.174-0.49-0.342-0.98-0.538-1.466-0.302-0.754-0.64-1.486-0.988-2.216-0.222-0.472-0.438-0.946-0.68-1.41-0.398-0.762-0.838-1.496-1.284-2.228-0.242-0.396-0.466-0.798-0.724-1.19-0.606-0.924-1.262-1.81-1.942-2.678-0.13-0.168-0.246-0.346-0.382-0.512-0.978-1.212-2.028-2.364-3.138-3.454l-104.020-104.9c-3.714-3.714-7.988-6.518-12.542-8.464-0.088-0.040-0.172-0.084-0.262-0.122-0.994-0.418-2.004-0.774-3.024-1.108-0.242-0.080-0.476-0.176-0.72-0.252-0.942-0.288-1.896-0.516-2.854-0.732-0.334-0.076-0.658-0.176-0.996-0.244-0.998-0.2-2.004-0.336-3.012-0.458-0.304-0.038-0.602-0.1-0.91-0.13-1.322-0.13-2.648-0.204-3.976-0.204h-31.916v-105.516h311.752v65.186c0 22.090 17.91 40 40 40h64.366v443.092h-239.87z",certificate:"M832.032 384.032c0-176.728-143.266-320-320-320s-320 143.272-320 320c0 104.662 50.25 197.584 127.938 255.966v311.5c0 16.174 9.74 30.756 24.682 36.952 4.954 2.052 10.152 3.050 15.31 3.050 10.402 0 20.626-4.060 28.276-11.702l123.726-123.58 123.772 123.332c11.452 11.412 28.644 14.804 43.574 8.608 14.93-6.2 24.66-20.776 24.66-36.942v-311.124c77.756-58.376 128.062-151.342 128.062-256.060zM272.032 384.032c0-64.106 24.964-124.374 70.292-169.706 45.33-45.33 105.6-70.294 169.708-70.294s124.376 24.964 169.708 70.294c45.33 45.332 70.292 105.6 70.292 169.706s-24.964 124.376-70.292 169.704c-45.33 45.33-105.6 70.294-169.708 70.294s-124.376-24.964-169.708-70.294c-45.328-45.328-70.292-105.598-70.292-169.704zM623.968 854.89l-83.804-83.508c-15.622-15.564-40.898-15.552-56.502 0.034l-83.694 83.594v-171.17c34.878 13.042 72.632 20.192 112.062 20.192 39.382 0 77.094-7.13 111.938-20.142v171z",print:"M925.922 304.496c-1.698-0.218-3.41-0.37-5.166-0.37h-88.64v-93.548c0.006-0.21-0.016-0.422-0.014-0.634 0.004-0.212 0.036-0.416 0.036-0.63 0-0.478-0.054-0.942-0.074-1.416-0.024-0.636-0.042-1.27-0.094-1.906-0.066-0.776-0.168-1.54-0.276-2.302-0.074-0.534-0.146-1.066-0.242-1.596-0.15-0.82-0.338-1.624-0.538-2.424-0.12-0.48-0.23-0.958-0.37-1.436-0.234-0.812-0.506-1.608-0.792-2.398-0.164-0.462-0.322-0.924-0.504-1.38-0.318-0.788-0.668-1.552-1.036-2.316-0.208-0.436-0.406-0.88-0.628-1.312-0.424-0.802-0.88-1.574-1.352-2.344-0.218-0.358-0.422-0.724-0.656-1.078-0.636-0.972-1.324-1.91-2.042-2.82-0.098-0.124-0.182-0.252-0.282-0.376-0.988-1.224-2.048-2.388-3.172-3.488l-104.004-104.882c-3.696-3.696-7.948-6.486-12.466-8.432-0.122-0.050-0.224-0.11-0.344-0.16-0.974-0.41-1.966-0.756-2.962-1.084-0.262-0.086-0.512-0.19-0.78-0.272-0.926-0.284-1.87-0.506-2.812-0.722-0.346-0.080-0.684-0.182-1.034-0.252-0.988-0.198-1.988-0.334-2.988-0.456-0.31-0.040-0.618-0.102-0.93-0.134-1.324-0.132-2.652-0.204-3.978-0.204h-455.67c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.29-34.838 39.63v200h-87.356c-1.754 0-3.468 0.152-5.164 0.37-19.644 2.538-34.836 19.29-34.836 39.63v320c0 22.094 17.91 40 40 40h87.368v216c0 22.094 17.91 40 40 40h560.006c13.81 0 25.982-6.996 33.17-17.636 0.102-0.146 0.184-0.306 0.282-0.458 0.612-0.922 1.2-1.86 1.722-2.836 0.046-0.082 0.080-0.17 0.124-0.254 2.994-5.612 4.704-12.008 4.704-18.808 0 0 0 0 0-0.004v-216h88.624c13.808 0 25.982-6.996 33.168-17.636 0.104-0.148 0.186-0.308 0.286-0.458 0.612-0.922 1.198-1.862 1.72-2.836 0.046-0.082 0.082-0.172 0.124-0.256 2.994-5.61 4.702-12.008 4.702-18.806 0 0 0 0 0-0.004v-320c0-20.344-15.186-37.096-34.834-39.636zM272.116 144.128h375.634v65.186c0 1.38 0.070 2.746 0.208 4.090 2.048 20.168 19.080 35.91 39.792 35.91h64.366v54.812h-480v-159.998zM272.124 880.126v-327.998h480.006v327.998zM880.756 384.128v239.998h-48.624v-111.998c0-20.34-15.19-37.092-34.836-39.63-1.694-0.218-565.17-0.372-565.17-0.372-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v112h-47.368v-239.998zM664.124 608.126c22.092 0 40 17.908 40 40s-17.908 40-40 40h-304c-22.092 0-40-17.908-40-40s17.908-40 40-40h304zM704.124 784.126c0 22.092-17.908 40-40 40h-304c-22.092 0-40-17.908-40-40s17.908-40 40-40h304c22.092 0 40 17.908 40 40z",listunordered:"M961 233c0 22.090-17.908 40-40 40h-607.996c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h607.996c22.092 0 40 17.912 40 40.002v0zM961 793c0-22.090-17.908-40.002-40-40.002h-607.996c-22.092 0-40 17.912-40 40.002v0c0 22.092 17.91 40 40 40h607.996c22.092 0 40-17.91 40-40v0zM961 606.332c0-22.090-17.908-40-40-40h-607.996c-22.092 0-40 17.91-40 40v0c0 22.094 17.91 40 40 40h607.996c22.092 0 40-17.91 40-40v0zM961 419.668c0-22.090-17.908-40.004-40-40.004h-607.996c-22.092 0-40 17.914-40 40.004v0c0 22.090 17.91 40 40 40h607.996c22.092-0 40-17.91 40-40v0zM129 168.998c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zM129 728.998c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zM129 542.332c-35.346 0-64 28.652-64 64 0 35.344 28.654 64 64 64s64-28.656 64-64c0-35.348-28.654-64-64-64zM129 355.664c-35.346 0-64 28.656-64 64 0 35.348 28.654 64 64 64s64-28.652 64-64c0-35.344-28.654-64-64-64z",graphbar:"M324.832 513c22.090 0 40 17.91 40 40v304c0 22.090-17.906 40-40 40v0c-22.090 0-40-17.906-40-40v-304c0-22.090 17.91-40 40-40v0zM884.832 128.998c-22.090 0-40 17.906-40 40v688.002c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-688.002c0-22.094-17.91-40-40-40v0zM698.164 256.998c-22.090 0-40 17.91-40 40v560.002c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-560.002c0-22.090-17.91-40-40-40v0zM511.5 384.998c-22.090 0-40.004 17.91-40.004 40v432.002c0 22.094 17.914 40 40.004 40v0c22.090 0 40-17.91 40-40v-432.002c0-22.090-17.91-40-40-40v0zM139.168 641c-22.090 0-40 17.91-40 40v176c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-176c0-22.090-17.91-40-40-40v0z",menu:"M960 232c0 22.092-17.908 40-40.002 40h-815.996c-22.092 0-40-17.908-40-40v0c0-22.090 17.908-40 40-40h815.998c22.092 0 40 17.91 40 40v0zM768 416c0 22.090-17.908 40-40 40h-624c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h624c22.092 0.002 40 17.914 40 40.002v0zM832 608c0 22.092-17.906 40.002-40 40.002h-688c-22.090 0-40-17.91-40-40.002v0c0-22.090 17.908-40 40-40h688c22.094 0 40 17.912 40 40v0zM576 792c0 22.094-17.91 40-40.002 40h-431.998c-22.090 0-40-17.906-40-40v0c0-22.094 17.908-40.002 40-40.002h432c22.094 0.002 40 17.912 40 40.002v0z",filter:"M962.030 168.032c0 22.092-17.908 40-40.002 40h-815.996c-22.092 0-40-17.908-40-40v0c0-22.090 17.908-40 40-40h815.998c22.092 0 40 17.908 40 40v0zM770 544.034c0 22.090-17.908 40-40 40h-432c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h432c22.090 0 40 17.912 40 40.002v0zM642.030 728.032c0 22.094-17.91 40-40.002 40h-175.998c-22.090 0-40-17.906-40-40v0c0-22.094 17.908-40.002 40-40.002h176c22.094 0.002 40 17.91 40 40.002v0zM866 352.030c0 22.092-17.906 40.002-40 40.002h-624c-22.090 0-40-17.91-40-40.002v0c0-22.090 17.908-40 40-40h624c22.092 0 40 17.91 40 40v0zM512.030 928.034c22.090 0 40.004-17.906 40.004-40v0c0-22.090-17.914-40-40.004-40v0c-22.090 0-40 17.91-40 40v0c0 22.092 17.91 40 40 40v0z",ellipsis:"M184 393c66.274 0 120 53.73 120 120s-53.726 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120zM512 393c66.272 0 120 53.73 120 120s-53.728 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120zM840 393c66.272 0 120 53.73 120 120s-53.728 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120z",cog:"M512 288a224 224 0 0 0 0 448h2a225 225 0 0 0 52-7 47 47 0 0 0-23-90 130 130 0 0 1-31 3 131 131 0 1 1 127-101v1a47 47 0 1 0 91 19 224 224 0 0 0-218-273zM409 0c-67 14-131 40-186 77v98c0 13-6 25-15 33-8 9-20 15-33 15H77C40 278 14 341 0 409l69 68c9 10 14 22 13 34 1 13-4 25-13 34L0 614c14 68 41 132 78 188h97c13 0 25 6 33 15 9 8 15 20 15 33v97c55 37 119 63 187 77l68-69a46 46 0 0 1 36-13c11 0 23 4 32 13l69 69c68-14 131-40 186-77v-98c0-13 6-25 15-34 8-8 20-14 33-14h98c37-56 63-119 77-186l-69-70c-10-9-14-21-14-34 0-12 4-24 14-34l69-69c-14-67-40-129-77-184h-98c-13 0-25-6-33-15-9-8-15-20-15-33V77C746 40 683 14 615 0l-69 69a46 46 0 0 1-35 14c-11 0-23-5-33-14L409 0zm-28 103l32 32c26 26 61 41 98 41h3c37 0 72-15 98-41l32-31c22 7 43 16 64 26v46c0 37 15 73 42 99 26 27 62 42 99 42h45c11 20 19 41 26 63l-31 31c-26 27-41 63-41 100 0 38 15 74 41 100l32 32c-8 22-17 44-27 65h-45c-37 0-73 15-99 42-27 26-42 62-42 99v44c-21 11-42 20-65 27l-31-31c-26-26-61-41-98-41h-3c-37 0-72 15-98 41l-32 32c-22-8-44-17-65-28v-43c0-37-15-73-42-99-26-27-62-42-99-42h-44c-11-21-20-44-28-67l32-31c26-26 41-62 40-100 1-37-14-73-40-100l-31-30c7-23 16-44 26-65h45c37 0 73-15 99-42 27-26 42-62 42-99v-45c21-10 43-19 65-27z",wrench:"M959.438 274.25c0-22.090-17.914-40-40.004-40-11.16 0-21.242 4.582-28.496 11.954l-60.152 60.148c-15.622 15.622-40.946 15.618-56.566-0.004l-56.57-56.566c-15.622-15.622-15.622-40.95 0-56.57l59.55-59.546c7.75-7.292 12.614-17.618 12.614-29.102 0-22.090-17.914-40-40.004-40-1.598 0-3.164 0.122-4.71 0.304-0.012 0-0.020-0.008-0.032-0.004-94.958 11.586-168.504 92.492-168.504 190.574 0 23.528 4.238 46.058 11.98 66.886l-503.078 503.074c-1.496 1.496-2.8 3.102-4.012 4.758-10.914 13.676-17.454 30.992-17.454 49.848 0 44.188 35.818 79.996 79.996 79.996 18.906 0 36.27-6.574 49.964-17.54 1.614-1.188 3.18-2.464 4.64-3.926l503.078-503.078c20.828 7.742 43.36 11.98 66.882 11.98 97.988 0 178.828-73.402 190.54-168.222v-0.012c0.2-1.628 0.338-3.272 0.338-4.952zM151.996 912c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40s40.004 17.91 40.004 40c0 22.094-17.914 40-40.004 40z",nut:"M512 286a229 229 0 0 0-233 226c0 124 104 225 233 225h2a240 240 0 0 0 54-7c21-5 35-24 35-45a48 48 0 0 0-59-45 139 139 0 0 1-32 3c-75 0-136-59-136-131 0-73 61-132 136-132a134 134 0 0 1 132 161v1l-2 9c0 26 22 47 49 47a48 48 0 0 0 47-37c4-16 6-33 6-49 0-125-104-226-232-226m0-286c-16 0-33 4-47 12L90 223a91 91 0 0 0-47 79v420c0 33 18 63 47 79l375 211a96 96 0 0 0 94 0l375-211c29-16 47-46 47-79V302c0-33-18-63-47-79L559 12c-14-8-31-12-47-12m0 91l375 211v420L512 933 137 722V302L512 91",camera:"M925.164 208.372c-1.694-0.218-3.408-0.372-5.162-0.372h-471.968v-39.962c0-20.344-15.192-37.096-34.836-39.63-1.696-0.218-3.41-0.374-5.164-0.374h-176.004c-1.754 0-3.468 0.152-5.164 0.374-19.644 2.538-34.836 19.29-34.836 39.626v39.966h-88.032c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.536-34.838 19.29-34.838 39.628v528c0 22.094 17.91 40 40 40h816.004c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.46 0.612-0.922 1.2-1.86 1.722-2.836 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-528.004c-0-20.342-15.192-37.096-34.838-39.63zM880.002 736h-736.004v-448h736.004v448zM512 402.522c60.368 0 109.478 49.112 109.478 109.478s-49.112 109.478-109.478 109.478-109.478-49.112-109.478-109.478 49.11-109.478 109.478-109.478zM512 322.522c-104.644 0-189.478 84.832-189.478 189.478 0 104.644 84.834 189.478 189.478 189.478 104.646 0 189.478-84.834 189.478-189.478 0-104.646-84.832-189.478-189.478-189.478v0z",eye:"M1008.714 490.522c-9.002-12.594-223.276-308.808-496.684-308.808-273.444 0-487.682 296.214-496.684 308.808l-15.316 21.49 15.316 21.466c9.002 12.618 223.24 308.808 496.684 308.808 273.408 0 487.682-296.19 496.684-308.808l15.316-21.466-15.316-21.49zM807.68 631.688c-46 39.142-92.558 70.064-138.382 91.904-53.874 25.676-106.786 38.694-157.266 38.694-50.49 0-103.406-13.018-157.282-38.696-45.826-21.838-92.382-52.758-138.378-91.902-53.708-45.706-94.302-92.122-116.61-119.672 22.36-27.602 63.028-74.094 116.612-119.696 45.996-39.146 92.554-70.068 138.378-91.908 53.876-25.678 106.792-38.698 157.28-38.698 50.48 0 103.39 13.020 157.264 38.696 45.824 21.842 92.382 52.764 138.382 91.91 53.602 45.614 94.264 92.098 116.624 119.696-22.306 27.544-62.898 73.954-116.622 119.672zM692.032 512.036c0 99.41-80.588 180-180 180s-180-80.59-180-180c0-99.406 80.588-179.998 180-179.998s180 80.59 180 179.998z",eyeclose:"M75.744 948.314c-15.62-15.62-15.62-40.948 0-56.564l816-816c15.626-15.624 40.95-15.624 56.57 0 15.624 15.62 15.626 40.946 0.004 56.57l-816 815.994c-15.62 15.62-40.95 15.62-56.572 0zM332.032 512.034c0 20.104 3.296 39.434 9.376 57.484l228.104-228.106c-18.050-6.080-37.38-9.376-57.48-9.376-99.412-0.004-180 80.588-180 179.996zM692.032 512.034c0-20.1-3.3-39.432-9.38-57.484l-228.106 228.11c18.052 6.080 37.384 9.376 57.488 9.376 99.412 0 180-80.59 180-180zM1008.716 490.522c-4.98-6.968-72.86-100.8-178.81-183.22l-57.040 57.040c11.624 8.8 23.24 18.128 34.814 27.98 53.6 45.614 94.264 92.1 116.624 119.696-22.304 27.544-62.896 73.954-116.62 119.672-46 39.14-92.56 70.064-138.384 91.904-53.872 25.676-106.786 38.694-157.266 38.694-37.448 0-76.234-7.18-115.76-21.36l-61.486 61.49c54.786 24.22 114.45 39.87 177.248 39.87 273.41 0 487.684-296.19 496.686-308.808l15.316-21.468-15.316-21.49zM216.372 631.69c-53.708-45.706-94.3-92.12-116.61-119.672 22.36-27.6 63.028-74.094 116.612-119.696 46-39.146 92.554-70.068 138.38-91.908 53.874-25.68 106.79-38.7 157.28-38.7 37.46 0 76.264 7.188 115.8 21.38l61.484-61.484c-54.796-24.236-114.474-39.896-177.286-39.896-273.446 0-487.684 296.214-496.686 308.808l-15.316 21.49 15.314 21.466c4.98 6.984 72.866 100.84 178.84 183.26l57.040-57.040c-11.64-8.806-23.264-18.144-34.854-28.008z",photo:"M920 64h-816c-22.092 0-40 17.91-40 40v816c0 22.094 17.908 40 40 40h816c22.092 0 40-17.906 40-40v-816c0-22.090-17.908-40-40-40zM880 144v449.782l-235.39-235.392c-7.502-7.5-17.676-11.714-28.286-11.714s-20.784 4.214-28.286 11.716l-169.804 169.804-40.958-40.958c-15.622-15.622-40.95-15.622-56.57 0l-176.708 176.708v-519.946h736.002zM144 880v-102.914l204.992-204.994 215.972 215.974c7.81 7.81 18.048 11.714 28.286 11.714s20.474-3.904 28.286-11.714c15.62-15.622 15.62-40.95 0-56.57l-146.732-146.73 141.522-141.524 263.676 263.68v173.078h-736.002zM356.174 400.542c52.466 0 95-42.536 95-95s-42.534-95-95-95-95 42.536-95 95 42.534 95 95 95zM356.174 250.542c30.326 0 55 24.672 55 55s-24.674 55-55 55-55-24.672-55-55 24.674-55 55-55z",video:"M926.050 273.364c-9.556 0-20.574 3.8-32.278 11.812l-189.738 129.894v-151.068c0-20.342-15.192-37.094-34.838-39.63-1.694-0.218-3.408-0.372-5.162-0.372h-560.002c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v496.002c0 22.092 17.91 40 40 40h560.004c13.808 0 25.98-6.998 33.168-17.638 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.922 1.2-1.862 1.722-2.836 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.612 4.704-12.010 4.704-18.81v-151.066l189.738 129.886c11.706 8.012 22.718 11.812 32.278 11.812 20.092 0 33.736-16.806 33.736-46.622v-384.032c0-29.816-13.644-46.62-33.738-46.62zM624.036 720h-480.004v-415.998h480.004v415.998zM879.788 632.3l-175.728-120.296 175.728-120.302v240.598zM240.688 663.534c-22.090 0-40-17.906-40-40v0c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v0c0 22.092-17.914 40-40.004 40v0z",speaker:"M692.070 580.856c18.156-18.156 28.152-42.266 28.152-67.89-0.008-25.622-10.002-49.726-28.148-67.872-8.476-8.478-18.308-15.188-29-19.922-0.222-0.098-0.408-0.22-0.566-0.364-13.294-6.5-22.476-20.116-22.476-35.914 0-22.090 17.91-40 40-40 5.774 0 11.246 1.248 16.204 3.45 0.016 0.006 0.026 0.008 0.040 0.016 19.292 8.656 37.036 20.832 52.368 36.164 33.254 33.254 51.574 77.446 51.58 124.43 0.006 46.996-18.31 91.204-51.58 124.472-15.064 15.062-32.45 27.074-51.344 35.7-0.154 0.070-0.286 0.112-0.434 0.176-5.124 2.382-10.812 3.75-16.832 3.75-22.090 0-40-17.906-40-40 0-16.196 9.644-30.112 23.488-36.402 0.156-0.11 0.32-0.216 0.516-0.304 10.314-4.712 19.81-11.268 28.032-19.49zM861.778 275.386c-47.824-47.824-107.946-79.588-173.204-92.242-0.356-0.078-0.712-0.146-1.072-0.214-0.060-0.012-0.124-0.026-0.186-0.038-0.506-0.096-0.976-0.162-1.422-0.208-1.918-0.282-3.868-0.476-5.864-0.476-22.090 0-40 17.91-40 40 0 19.024 13.292 34.91 31.084 38.968 0.352 0.128 0.728 0.244 1.162 0.326 48.7 9.268 95.226 32.748 132.934 70.452 99.972 99.972 100.054 261.984-0.002 362.040-37.684 37.684-84.152 61.14-132.788 70.426-0.084 0.016-0.144 0.046-0.224 0.066-18.338 3.644-32.166 19.816-32.166 39.222 0 22.094 17.91 40 40 40 2.776 0 5.484-0.286 8.102-0.822 0.094-0.018 0.172-0.018 0.27-0.038 65.32-12.626 125.496-44.406 173.376-92.286 131.008-131.008 131.008-344.172 0-475.176zM525.988 159.516v704.968c0 22.090-17.906 40-40 40-12.73 0-24.046-5.966-31.374-15.234l-51.056-61.722v0.216l-122.14-147.666h-177.386c-22.090 0-40-17.906-40-40v0 0-256c0-5.22 1.030-10.194 2.85-14.766 0.104-0.266 0.184-0.542 0.294-0.804 0.39-0.924 0.844-1.812 1.3-2.702 0.134-0.26 0.242-0.538 0.382-0.794 0.246-0.456 0.54-0.878 0.804-1.324 6.972-11.726 19.734-19.61 34.368-19.61h177.386l173.13-209.238c7.324-9.316 18.67-15.324 31.44-15.324 22.092-0 40.002 17.91 40.002 40zM445.988 270.826l-126.708 153.252h-175.248v176h175.248l19.832 23.998h0.17l106.708 129.112v-482.362z",phone:"M742.52 960c-76.266 0-163.184-32.364-258.338-96.194-73.798-49.504-136.41-106.904-175.938-146.34-43.282-43.222-105.612-111.376-156.842-190.682-66.576-103.062-95.348-196.038-85.518-276.344 8.952-73.326 50.674-134.292 120.664-176.304 10.95-6.63 23.76-10.134 37.054-10.134 32.752 0 71.124 23.354 120.764 73.494 36.434 36.802 70.108 79.22 89.472 106.644 46.698 66.176 60.686 107.352 48.286 142.136-12.638 35.538-35.534 55.704-52.25 70.428-5.662 5.006-9.95 8.854-13.070 12.262 4.040 7.542 11.744 19.868 26.054 37.476 42.388 52.076 90.548 89.024 111.972 100.874 3.308-2.96 7.11-7.168 12.352-13.152 14.87-16.81 35.062-39.636 70.482-52.28 7.978-2.842 16.498-4.276 25.35-4.276 44.172 0 108.804 44.078 155.246 81.056 45.834 36.494 103.292 90.498 127.104 132.612 22.602 39.596 14.982 68.64 4.596 86.006-48.138 80.296-119.862 122.718-207.44 122.718zM224.758 144.53c-47.558 29.426-73.566 67.28-79.468 115.618-7.494 61.224 17.17 136.326 73.308 223.226 49.902 77.252 112.994 144.35 146.16 177.472 30.296 30.222 91.906 88.17 163.988 136.524 81.738 54.83 153.662 82.63 213.772 82.63 58.618 0 103.506-26.526 137.138-81.076-0.47-1.536-1.532-4.062-3.854-8.132-14.584-25.794-57.006-69.202-105.642-108.156-58.776-47.074-96.708-63.894-106.756-64.982-15.348 5.826-25.020 16.758-36.178 29.372-12.542 14.318-28.31 32.316-55.476 41.528l-6.25 2.12h-6.598c-8.704 0-31.826 0-86.73-43.378-32.196-25.438-64.65-57.534-91.38-90.374-35.712-43.942-51.41-77.764-46.674-100.548l0.55-2.642 0.9-2.546c9.19-26 26.284-41.118 41.364-54.458 12.726-11.208 23.698-20.874 29.494-36.378-0.606-4.398-5.076-23.488-37.948-70.072-15.882-22.494-45.746-60.376-77.614-93.084-39.93-40.986-60.106-50.546-66.106-52.664z",flag:"M168 960.060c-22.092 0-40-17.908-40-40v-816.36c0-22.092 17.908-40 40-40h687.698c16.178 0 30.764 9.746 36.956 24.694 6.192 14.946 2.77 32.15-8.67 43.59l-188.918 188.922 189.218 189.216c11.44 11.442 14.862 28.646 8.67 43.592-6.192 14.948-20.776 24.694-36.956 24.694h-647.998v341.654c0 22.090-17.908 39.998-40 39.998zM208 498.406h551.428l-149.218-149.216c-15.622-15.622-15.622-40.95 0-56.568l148.918-148.922h-551.128v354.706z",pin:"M512 959.916c-13.36 0-25.84-6.672-33.262-17.782l-242.080-362.324c-0.12-0.176-0.236-0.356-0.354-0.536-36.394-54.5-55.63-118.042-55.63-183.804 0-182.696 148.632-331.324 331.326-331.324 182.696 0 331.328 148.628 331.328 331.324 0 60.71-16.554 119.98-47.906 171.652-0.758 1.528-1.618 3.016-2.578 4.45l-5.786 8.664c-0.054 0.082-0.112 0.164-0.168 0.246-0.042 0.070-0.104 0.16-0.148 0.23l-241.484 361.426c-7.422 11.106-19.898 17.778-33.258 17.778zM303.458 535.784l0.026 0.040c0.038 0.054 0.158 0.238 0.194 0.292l208.324 311.796 212.374-317.86c0.376-0.696 0.778-1.382 1.198-2.062 24.7-39.708 37.758-85.532 37.758-132.52 0-138.582-112.746-251.324-251.328-251.324s-251.326 112.742-251.326 251.324c0 50.054 14.674 98.39 42.432 139.782 0.114 0.176 0.232 0.356 0.348 0.532zM512 304.4c49.98 0 90.64 40.66 90.64 90.64 0 49.976-40.66 90.636-90.64 90.636s-90.64-40.66-90.64-90.636c0-49.98 40.66-90.64 90.64-90.64zM512 224.4c-94.242 0-170.64 76.398-170.64 170.64s76.398 170.636 170.64 170.636 170.64-76.394 170.64-170.636-76.398-170.64-170.64-170.64v0z",compass:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm242.4 178.1a22.9 22.9 0 012.9 28.9L574.9 571.7l-3.2 3.2-273.3 182.4a22.9 22.9 0 01-31.7-31.7l181-271.6c1.7-2.5 3.8-4.6 6.3-6.3l271.6-181c9-6 21.1-4.9 28.8 2.8zM483.2 483.3l-115 172.4 172.5-115-57.5-57.4z",globe:"M533.6 1.6a144.2 144.2 0 00-43.2 0A511.7 511.7 0 000 512.6 511.7 511.7 0 00512 1024c282.8 0 512-229 512-511.4a511.7 511.7 0 00-490.4-511zM930 467H749c-3.6-105.7-20-204.7-47.2-282.5a494.4 494.4 0 00-24.2-58.2 419.3 419.3 0 01131.8 89.3A416.7 416.7 0 01930.2 467zM512 931.5c-75.3 0-137.3-163.3-145.4-373.3h290.8c-8.1 210-70.1 373.3-145.4 373.3zM366.5 467c7.4-200.2 63.7-358.5 134-374.3a406.8 406.8 0 0123 0c70.3 15.9 126.6 174.1 134 374.3h-291zM214.6 215.5A420.7 420.7 0 01346.4 126c-8.7 17.7-16.9 37.1-24.2 58.2-27.1 78-43.6 177-47.2 282.5H94a416.7 416.7 0 01120.7-251.3zM93.9 558.2H275c3.8 104.8 20.2 203 47 280.3a488.6 488.6 0 0025.8 61 420.4 420.4 0 01-133.3-89.9A416.7 416.7 0 0193.9 558.2zm715.5 251.4a420.4 420.4 0 01-133.3 90c9.3-18.4 18-38.8 25.7-61.1 27-77.4 43.3-175.5 47-280.3h181.3a416.7 416.7 0 01-120.7 251.4z",location:"M1024 512a512 512 0 10-512.1 512C643 1024 774 974 874 874s150-231 150-362zM809.4 809.4a417.4 417.4 0 01-251.7 120.7v-153a45.7 45.7 0 00-91.5 0v153a417 417 0 01-251.6-120.7A417.7 417.7 0 0194 557.7h153a45.7 45.7 0 000-91.5h-153a417.3 417.3 0 01120.7-251.6A417.5 417.5 0 01466.2 93.8v153a45.7 45.7 0 0091.4 0v-153a417.4 417.4 0 01251.8 120.7A417.5 417.5 0 01930 466.2H777a45.7 45.7 0 000 91.4h153a417.3 417.3 0 01-120.7 251.7v.1z",search:"M218 670a318 318 0 0 1 0-451 316 316 0 0 1 451 0 318 318 0 0 1 0 451 316 316 0 0 1-451 0m750 240L756 698a402 402 0 1 0-59 60l212 212c16 16 42 16 59 0 16-17 16-43 0-60",zoom:"M220 670a316 316 0 0 1 0-450 316 316 0 0 1 450 0 316 316 0 0 1 0 450 316 316 0 0 1-450 0zm749 240L757 698a402 402 0 1 0-59 59l212 212a42 42 0 0 0 59-59zM487 604a42 42 0 0 1-84 0V487H286a42 42 0 1 1 0-84h117V286a42 42 0 1 1 84 0v117h117a42 42 0 0 1 0 84H487v117z",zoomout:"M757 698a402 402 0 1 0-59 59l212 212a42 42 0 0 0 59-59L757 698zM126 445a316 316 0 0 1 319-319 316 316 0 0 1 318 319 316 316 0 0 1-318 318 316 316 0 0 1-319-318zm160 42a42 42 0 1 1 0-84h318a42 42 0 0 1 0 84H286z",zoomreset:"M148 560a318 318 0 0 0 522 110 316 316 0 0 0 0-450 316 316 0 0 0-450 0c-11 11-21 22-30 34v4h47c25 0 46 21 46 46s-21 45-46 45H90c-13 0-25-6-33-14-9-9-14-20-14-33V156c0-25 20-45 45-45s45 20 45 45v32l1 1a401 401 0 0 1 623 509l212 212a42 42 0 0 1-59 59L698 757A401 401 0 0 1 65 570a42 42 0 0 1 83-10z",timer:"M571.5 0a42.7 42.7 0 010 85.3h-16.7l-.2 53.1a441.6 441.6 0 01221.2 84.9l44.7-44.6a42.7 42.7 0 0160.3 60.3l-41.5 41.5a443.8 443.8 0 11-370-142l.1-53.2H452A42.7 42.7 0 01452 0h119.5zM512 221.7a356 356 0 00-253.5 105 356 356 0 00-105 253.5 356 356 0 00105 253.5 356 356 0 00253.5 105 356 356 0 00253.5-105 356.2 356.2 0 00105-253.5 356 356 0 00-105-253.5 356 356 0 00-253.5-105zm-.1 52.7a42.7 42.7 0 0142.6 42.6v206.6a68.2 68.2 0 0125.3 47.3l.2 5.8a68.2 68.2 0 11-110.8-53.4V317a42.7 42.7 0 0142.7-42.6z",time:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm0 54.9a45.7 45.7 0 0145.7 45.7v280H759a45.7 45.7 0 010 91.4H512c-6.1 0-12-1.2-17.4-3.4l-.4-.2-2-1c-.7-.3-1.4-.5-2-.9l-.7-.4-3-1.9-.4-.2c-12-8.2-19.8-22-19.8-37.7V192a45.7 45.7 0 0145.7-45.7z",lightning:"M320.022 1022.644c-7.408 0-14.852-2.052-21.44-6.238-15.292-9.714-22.144-28.494-16.706-45.774l115.186-365.908-214.552-52.57c-14.714-3.606-26.128-15.214-29.486-29.988-3.356-14.772 1.92-30.174 13.632-39.786l576-472.662c14.458-11.864 35.208-12.126 49.962-0.626 14.752 11.496 19.568 31.682 11.594 48.602l-171.202 363.256 208.648 51.756c14.29 3.544 25.476 14.652 29.124 28.914s-0.834 29.376-11.668 39.344l-512 471.112c-7.586 6.984-17.308 10.568-27.092 10.568zM279.236 493.49l178.314 43.69c10.74 2.632 19.912 9.59 25.336 19.226s6.62 21.086 3.298 31.636l-83.030 263.76 347.066-319.352-183.82-45.596c-11.63-2.884-21.356-10.832-26.498-21.656-5.144-10.822-5.164-23.382-0.054-34.22l116.31-246.788-376.922 309.3z",lightningoff:"M310 374L76 150a37 37 0 0 1 0-54c15-14 41-14 56 0l816 778c16 15 16 39 0 54a41 41 0 0 1-56 0L666 712l-57-54-242-230-57-54zm-32 28l57 54-44 38 115 29 78 76-75 254 169-165 57 54-279 271c-8 7-17 11-26 11-7 0-14-2-20-6a41 41 0 0 1-16-46l109-367-203-52c-14-4-25-16-28-30-4-15 1-31 13-40l93-81zm124-108L731 9c13-12 33-12 47-1 14 12 19 32 11 49L627 421l198 52c13 4 24 15 27 29 4 14-1 29-11 39l-89 87-56-54 42-41-118-31-80-76 109-242-190 165-57-55z",dashboard:"M512 85.3a512 512 0 01361 875c-99.5-44-225-70.4-361.6-70.4-136.1 0-261.4 26.2-360.8 70A512 512 0 01512 85.4zm0 91.5c-112.4 0-218 43.7-297.4 123.1A417.8 417.8 0 0091.4 597.3c0 93 30 181.5 85.5 254.2 101-34.8 215.3-53 334.5-53 119.6 0 234.2 18.3 335.5 53.4a417.3 417.3 0 0085.7-254.6c0-112.3-43.8-218-123.2-297.4a417.5 417.5 0 00-275-122.6l-22.4-.5zm219.7 115.7a45.7 45.7 0 0116.7 62.4L580.4 646c6.5 17.1 6.7 36.6-.6 54.3l-4.3 8.7A73.1 73.1 0 11501.3 600l168-291a45.7 45.7 0 0162.4-16.6z",hourglass:"M511.926 801.946c-22.090 0-40-17.906-40-40v0c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v0c0 22.094-17.914 40-40.004 40v0zM831.682 915.242c0.192 1.582 0.318 3.186 0.318 4.82 0 22.090-17.908 40-40 40h-560c-22.092 0-40-17.914-40-40 0-2.438 0.252-4.812 0.67-7.128 2.36-53.636 18.034-105.7 45.852-151.554 0.734-1.476 1.562-2.912 2.492-4.296l5.582-8.364c0.054-0.080 0.11-0.158 0.164-0.238 0.042-0.068 0.098-0.156 0.144-0.222l157.704-236.036-158.5-237.228c-0.116-0.17-0.23-0.342-0.34-0.516-32.842-49.178-51.11-105.994-53.368-165.044-0.238-1.762-0.402-3.546-0.402-5.374 0-22.090 17.908-40 40-40h560c22.092 0 40 17.914 40 40 0 2.056-0.204 4.064-0.504 6.038-2.194 54.020-17.886 106.48-45.894 152.648-0.734 1.472-1.562 2.91-2.492 4.294l-5.582 8.366c-0.054 0.078-0.11 0.156-0.164 0.236-0.042 0.068-0.098 0.154-0.144 0.222l-157.734 236.082 158.468 237.182c0.116 0.168 0.23 0.344 0.34 0.516 32.946 49.33 51.226 106.346 53.39 165.596zM749.958 144.060h-475.99c6.138 31.304 18.384 61.124 36.354 87.916 0.118 0.17 0.23 0.344 0.342 0.514l0.024 0.038c0.036 0.054 0.15 0.23 0.186 0.284l54.286 81.25h293.596l58.196-87.1c0.366-0.67 0.75-1.334 1.154-1.99 15.492-24.916 26.228-52.324 31.852-80.912zM497.528 512.178l-0.032 0.046 14.426 21.592 93.378-139.756h-186.692l78.92 118.118zM305.96 799.156c-15.498 24.91-26.234 52.318-31.856 80.906h476.052c-6.138-31.304-18.384-61.122-36.354-87.918-0.118-0.168-0.23-0.344-0.342-0.512l-0.024-0.040c-0.036-0.050-0.15-0.23-0.186-0.282l-140.242-209.902-28.98 43.374c-7.166 10.72-19.21 17.162-32.11 17.162-12.896 0-24.942-6.442-32.11-17.166l-28.76-43.044-143.938 215.428c-0.36 0.674-0.744 1.338-1.15 1.994z",play:"M878.78 477.856l-591.884-341.722c-9.464-5.464-18.426-8.050-26.386-8.048-19.516 0.002-33.002 15.546-33.002 42.338v683.446c0 26.792 13.482 42.338 33.002 42.338 7.96 0 16.924-2.586 26.386-8.048l591.884-341.722c32.664-18.864 32.664-49.724 0-68.582z",playnext:"M222 136l513 342 12 10V192a64 64 0 01128 0v640a64 64 0 01-128 0V536l-12 10-513 342c-8 5-16 8-23 8-17 0-28-16-28-42V170c0-26 11-42 28-42 7 0 15 3 23 8z",playback:"M823 136L311 478l-12 10V192a64 64 0 00-128 0v640a64 64 0 10128 0V536l12 10 512 342c8 5 16 8 23 8 17 0 29-16 29-42V170c0-26-12-42-29-42-7 0-15 3-23 8z",stop:"M1024 512A512 512 0 100 512a512 512 0 001024 0zM215 809a418 418 0 010-594 418 418 0 01594 0 418 418 0 010 594 418 418 0 01-594 0zm471-78H338c-25 0-45-20-45-45V338c0-25 20-45 45-45h348c25 0 45 20 45 45v348c0 25-20 45-45 45z",stopalt:"M894 85H130c-25 0-45 20-45 45v764c0 25 20 45 45 45h764c25 0 45-20 45-45V130c0-25-20-45-45-45z",rewind:"m631.8 642.6 345 245.4c7.7 5.4 15 8 21.4 8 15.9 0 26.8-15.5 26.8-42.3V170.3c0-26.8-11-42.3-26.8-42.3-6.4 0-13.7 2.6-21.4 8l-345 245.4v-211c0-26.9-10.9-42.4-26.8-42.4-6.4 0-13.7 2.6-21.4 8L129 459.4V192a64 64 0 0 0-128 0v640a64 64 0 0 0 128 0V564.6L583.6 888c7.7 5.4 15 8 21.4 8 15.9 0 26.8-15.5 26.8-42.3v-211Z",fastforward:"M398.2 386.4 53.2 141c-7.7-5.4-15-8-21.4-8C15.9 133 5 148.5 5 175.3v683.4C5 885.5 16 901 31.8 901c6.4 0 13.7-2.6 21.4-8l345-245.4v211c0 26.9 11 42.4 26.8 42.4 6.4 0 13.7-2.6 21.4-8L901 569.6V837a64 64 0 0 0 128 0V197a64 64 0 0 0-128 0v267.4L446.4 141c-7.7-5.4-15-8-21.4-8-15.9 0-26.8 15.5-26.8 42.3v211Z",email:"M960.032 268.004c0.748-10.040-2.246-20.364-9.226-28.684-5.984-7.132-13.938-11.62-22.394-13.394-0.13-0.026-0.268-0.066-0.396-0.092-1.082-0.22-2.172-0.376-3.272-0.5-0.25-0.032-0.492-0.080-0.742-0.102-1.028-0.096-2.052-0.136-3.090-0.156-0.292-0.002-0.582-0.042-0.876-0.042h-816.008c-21.416 0-38.848 16.844-39.898 38-0.034 0.628-0.092 1.256-0.096 1.89 0 0.034-0.006 0.074-0.006 0.114 0 0.050 0.008 0.102 0.008 0.152v495.692c0 0.054-0.008 0.106-0.008 0.156 0 22.090 17.91 40 40 40h816.004c13.808 0 25.98-6.996 33.17-17.636 0.1-0.148 0.182-0.312 0.28-0.458 0.606-0.93 1.196-1.868 1.722-2.84 0.046-0.082 0.080-0.172 0.124-0.258 2.992-5.604 4.704-12.008 4.704-18.804v0 0-493.038zM144.032 350.156l339.946 281.188c6.568 6.434 14.918 10.168 23.564 11.122 0.16 0.024 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058s0.996-0.042 1.492-0.058c0.842-0.028 1.68-0.058 2.518-0.14 0.16-0.016 0.32-0.042 0.48-0.066 8.646-0.958 16.996-4.688 23.564-11.122l339.946-281.206v370.894h-736v-370.876zM215.066 305.030h593.91l-296.946 245.422-296.964-245.422z",link:"M743.52 529.234c5.616-5.616 83.048-83.046 88.462-88.46 30.944-32.778 47.97-75.636 47.97-120.792 0-47.048-18.304-91.26-51.542-124.484-33.228-33.22-77.43-51.516-124.458-51.516-45.024 0-87.792 16.94-120.536 47.72l-104.458 104.456c-30.792 32.738-47.734 75.512-47.734 120.548 0 41.916 14.576 81.544 41.248 113.196 3.264 3.876 6.666 7.664 10.292 11.29 4.258 4.258 8.704 8.262 13.304 12.022 0.054 0.080 0.096 0.152 0.148 0.232 9.572 7.308 15.778 18.804 15.778 31.776 0 22.094-17.914 40-40.004 40-8.542 0-16.442-2.696-22.938-7.26-2.746-1.93-20.622-17.43-30.35-28.050-0.008-0.010-0.018-0.018-0.026-0.028-4.992-5.432-13.234-15.23-18.552-22.65s-16.556-25.872-17.036-26.736c-0.7-1.262-2.974-5.526-3.422-6.39-0.69-1.334-6.118-12.67-6.114-12.67-14.342-31.96-22.332-67.4-22.332-104.728 0-60.826 21.198-116.648 56.58-160.544 0.252-0.314 4.61-5.594 6.594-7.866 0.304-0.35 5.038-5.636 7.16-7.874 0.252-0.268 105.86-105.874 106.128-106.126 45.902-43.584 107.958-70.314 176.264-70.314 141.382 0 255.998 114.5 255.998 256 0 68.516-26.882 130.688-70.652 176.61-0.144 0.148-109.854 109.546-112.090 111.528-0.958 0.848-5.072 4.352-5.072 4.352-6.448 5.434-13.132 10.592-20.1 15.378 0.412-6.836 0.644-13.702 0.644-20.6 0-26.46-3.108-52.206-8.918-76.918l-0.236-1.102zM616.144 767.82c35.382-43.896 56.58-99.718 56.58-160.544 0-37.328-7.99-72.768-22.332-104.728 0.004 0 0.006-0.002 0.010-0.004-0.258-0.576-0.538-1.14-0.8-1.714-0.686-1.498-2.894-6.112-3.296-6.93-0.668-1.344-2.952-5.732-3.386-6.604-3.48-6.982-8.708-15.126-9.49-16.366-0.498-0.792-0.996-1.58-1.502-2.364-0.834-1.29-15.364-22.066-26.656-34.466-0.008-0.010-0.018-0.018-0.026-0.028-7.056-8.448-24.932-24.198-30.35-28.050-6.47-4.602-14.396-7.26-22.938-7.26-22.090 0-40.004 17.906-40.004 40 0 12.97 6.206 24.466 15.778 31.776 0.052 0.080 0.094 0.152 0.148 0.232 4.602 3.76 20.334 19.434 23.598 23.31 26.672 31.65 41.248 71.28 41.248 113.196 0 45.038-16.944 87.81-47.734 120.548l-104.458 104.456c-32.742 30.782-75.512 47.72-120.536 47.72-47.028 0-91.228-18.294-124.458-51.516-33.236-33.224-51.542-77.436-51.542-124.484 0-45.154 17.028-88.014 47.97-120.792 5.414-5.414 40.812-40.812 68.958-68.958 7.176-7.176 13.888-13.886 19.504-19.502v-0.002c-0.356-1.562-0.246-1.096-0.246-1.096-5.81-24.712-8.918-50.458-8.918-76.918 0-6.898 0.232-13.764 0.644-20.6-6.966 4.788-20.1 15.33-20.1 15.33-0.734 0.62-9.518 8.388-11.68 10.45-0.16 0.154-105.338 105.33-105.482 105.478-43.77 45.922-70.652 108.094-70.652 176.61 0 141.5 114.616 256 255.998 256 68.306 0 130.362-26.73 176.264-70.314 0.27-0.254 105.876-105.86 106.128-106.126 0.004-0.002 13.506-15.426 13.758-15.74z",paperclip:"M824.25 369.354c68.146-70.452 67.478-182.784-2.094-252.354-70.296-70.296-184.266-70.296-254.558 0-0.014 0.012-0.028 0.026-0.042 0.042-0.004 0.002-0.006 0.004-0.010 0.008l-433.144 433.142c-0.036 0.036-0.074 0.068-0.11 0.106-0.054 0.052-0.106 0.11-0.16 0.162l-2.668 2.67c-0.286 0.286-0.528 0.596-0.8 0.888-43.028 44.88-66.664 103.616-66.664 165.986 0 64.106 24.962 124.376 70.292 169.704 45.328 45.33 105.598 70.292 169.706 70.292 50.612 0 98.822-15.57 139.186-44.428 4.932-1.952 9.556-4.906 13.544-8.894l16.802-16.802c0.056-0.056 0.116-0.112 0.172-0.168 0.038-0.038 0.074-0.076 0.112-0.116l289.010-289.014c15.622-15.618 15.62-40.942 0-56.56s-40.948-15.62-56.566 0l-289.124 289.122c-62.482 62.484-163.792 62.484-226.274 0-62.484-62.482-62.484-163.79 0-226.272h-0.002l433.134-433.12c0.058-0.060 0.112-0.122 0.172-0.18 38.99-38.99 102.43-38.99 141.42 0 38.992 38.99 38.99 102.432 0 141.422-0.058 0.060-0.122 0.114-0.18 0.17l0.006 0.006-280.536 280.534c-0.002-0.002-0.002-0.004-0.004-0.006l-79.978 79.98c-0.010 0.010-0.016 0.020-0.028 0.028-0.008 0.012-0.018 0.018-0.028 0.028l-0.064 0.062c-15.622 15.624-40.944 15.624-56.562 0-15.624-15.62-15.624-40.944-0.002-56.566l0.062-0.062c0.010-0.010 0.018-0.020 0.028-0.028 0.008-0.012 0.020-0.018 0.028-0.028l79.98-79.978c-0.002-0.002-0.004-0.002-0.006-0.004l136.508-136.512c15.622-15.62 15.62-40.944-0.002-56.562-15.618-15.62-40.946-15.62-56.564 0l-219.342 219.344c-1.284 1.284-2.42 2.652-3.494 4.052-40.4 47.148-38.316 118.184 6.322 162.824 44.64 44.638 115.674 46.722 162.82 6.324 1.402-1.072 2.772-2.21 4.054-3.494l2.83-2.832c0.002 0 0.002 0 0.002 0s0 0 0 0l360.54-360.54c0.058-0.056 0.12-0.114 0.18-0.172 0.050-0.050 0.098-0.106 0.15-0.158l0.994-0.994c0.34-0.338 0.63-0.702 0.952-1.052z",box:"M960.016 408.080c0-0.672-0.046-1.342-0.078-2.014-0.032-0.594-0.044-1.19-0.102-1.782-0.068-0.726-0.186-1.448-0.294-2.17-0.080-0.54-0.144-1.080-0.248-1.616-0.138-0.724-0.326-1.442-0.506-2.16-0.134-0.534-0.252-1.070-0.408-1.6-0.196-0.662-0.436-1.314-0.668-1.968-0.204-0.582-0.396-1.166-0.628-1.74-0.226-0.56-0.494-1.11-0.75-1.662-0.3-0.656-0.598-1.312-0.934-1.954-0.242-0.454-0.514-0.894-0.774-1.342-0.414-0.716-0.83-1.43-1.292-2.124-0.256-0.382-0.538-0.752-0.806-1.128-0.514-0.716-1.036-1.428-1.602-2.116-0.090-0.11-0.162-0.226-0.254-0.336-0.244-0.292-0.516-0.542-0.768-0.826-0.534-0.6-1.068-1.198-1.644-1.772-0.48-0.478-0.982-0.924-1.48-1.376-0.354-0.316-0.674-0.658-1.040-0.964l-405.788-335.666c-6.568-6.436-14.918-10.166-23.564-11.124-0.16-0.022-0.32-0.050-0.48-0.066-0.838-0.082-1.676-0.11-2.518-0.14-0.496-0.020-0.994-0.058-1.492-0.058s-0.996 0.040-1.492 0.058c-0.842 0.028-1.68 0.058-2.518 0.14-0.16 0.016-0.32 0.044-0.48 0.066-8.646 0.956-16.996 4.688-23.564 11.124l-405.662 335.542c-7.13 5.982-11.616 13.93-13.392 22.382-0.032 0.14-0.070 0.278-0.1 0.42-0.212 1.072-0.37 2.152-0.494 3.238-0.032 0.258-0.078 0.51-0.106 0.77-0.086 0.89-0.114 1.786-0.138 2.68-0.014 0.39-0.052 0.78-0.054 1.17 0 0.040-0.006 0.074-0.006 0.114v204.856c-0.958 12.434 3.854 25.128 14.134 33.754l405.662 335.54c6.568 6.438 14.918 10.168 23.564 11.124 0.16 0.020 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058 0.054 0 0.11-0.008 0.162-0.008 0.042 0 0.084 0.008 0.126 0.008 0.342 0 0.672-0.042 1.012-0.050 0.062-0.004 0.126-0.008 0.192-0.008 0.134-0.004 0.27-0.020 0.402-0.024 10.602-0.422 20.136-4.938 27.054-12.046l404.526-334.624c0.084-0.066 0.166-0.136 0.248-0.204l0.12-0.098c0.17-0.144 0.314-0.304 0.48-0.45 0.814-0.704 1.614-1.43 2.37-2.2 0.296-0.3 0.562-0.624 0.85-0.934 0.602-0.652 1.2-1.308 1.756-2 0.3-0.372 0.566-0.758 0.852-1.136 0.504-0.672 1.002-1.344 1.462-2.046 0.242-0.368 0.458-0.75 0.686-1.124 0.458-0.754 0.908-1.508 1.316-2.292 0.164-0.312 0.304-0.636 0.46-0.954 0.426-0.872 0.832-1.746 1.196-2.652 0.092-0.23 0.168-0.464 0.256-0.696 0.376-0.996 0.728-2 1.026-3.032 0.042-0.148 0.074-0.296 0.114-0.442 0.306-1.102 0.578-2.218 0.79-3.356 0.016-0.082 0.024-0.164 0.038-0.246 0.212-1.184 0.382-2.378 0.49-3.598v0c0.1-1.156 0.176-2.32 0.176-3.5v-204.86c0.024-0.318 0.022-0.638 0.040-0.958 0.026-0.668 0.074-1.338 0.074-2.008zM143.89 493.202l328.14 271.42v103.902l-328.14-271.18v-104.142zM552.032 764.402l327.868-271.212v103.88l-327.868 270.972v-103.64zM511.898 122.66l345.348 285.42-345.348 285.42-345.374-285.42 345.374-285.42z",structure:"M954.324 833.3c0.208-0.558 0.388-1.128 0.586-1.692 0.3-0.868 0.608-1.734 0.882-2.61 0.234-0.746 0.444-1.5 0.66-2.25 0.212-0.734 0.432-1.464 0.624-2.204 0.204-0.766 0.378-1.54 0.562-2.308 0.18-0.766 0.366-1.528 0.528-2.292 0.146-0.692 0.272-1.386 0.402-2.082 0.168-0.89 0.332-1.778 0.476-2.668 0.090-0.566 0.164-1.136 0.244-1.704 0.148-1.058 0.29-2.118 0.404-3.18 0.042-0.422 0.080-0.852 0.12-1.274 0.118-1.23 0.212-2.46 0.282-3.696 0.018-0.304 0.030-0.606 0.042-0.906 0.062-1.36 0.098-2.718 0.104-4.082 0-0.114 0.008-0.226 0.008-0.34 0-0.128-0.010-0.258-0.010-0.39-0.006-1.368-0.042-2.734-0.104-4.102-0.014-0.296-0.030-0.594-0.044-0.89-0.070-1.246-0.166-2.492-0.284-3.738-0.042-0.434-0.084-0.864-0.128-1.292-0.116-1.050-0.25-2.098-0.4-3.144-0.088-0.628-0.18-1.258-0.282-1.882-0.13-0.8-0.276-1.598-0.428-2.394-0.162-0.868-0.332-1.73-0.518-2.594-0.116-0.524-0.24-1.046-0.364-1.57-0.264-1.128-0.542-2.25-0.846-3.36-0.070-0.254-0.144-0.504-0.214-0.754-11.38-40.382-48.464-69.996-92.488-69.996-3.066 0-6.096 0.16-9.088 0.442l-264.576-458.262c21.080-29.698 24.3-70.13 4.9-103.732-12.596-21.816-32.458-36.812-54.764-43.724-0.062-0.020-0.124-0.036-0.186-0.054-1.394-0.43-2.798-0.83-4.21-1.196-0.296-0.076-0.596-0.142-0.894-0.216-1.208-0.3-2.422-0.586-3.642-0.84-0.384-0.082-0.774-0.148-1.16-0.224-1.168-0.228-2.338-0.444-3.514-0.626-0.384-0.060-0.776-0.112-1.162-0.168-1.208-0.174-2.416-0.332-3.63-0.46-0.35-0.038-0.7-0.066-1.048-0.1-1.27-0.12-2.54-0.218-3.814-0.29-0.32-0.018-0.642-0.032-0.964-0.044-1.294-0.058-2.594-0.094-3.892-0.1-0.166 0-0.328-0.012-0.492-0.012-0.19 0-0.376 0.014-0.564 0.014-1.21 0.008-2.42 0.040-3.63 0.092-0.494 0.022-0.986 0.046-1.478 0.074-0.992 0.060-1.986 0.136-2.978 0.226-0.722 0.064-1.442 0.134-2.16 0.214-0.696 0.080-1.392 0.17-2.090 0.266-1.014 0.136-2.026 0.286-3.032 0.452-0.352 0.060-0.704 0.124-1.054 0.19-44.97 8.028-79.122 47.302-79.122 94.582 0 20.756 6.602 39.958 17.79 55.67l-264.58 458.26c-2.954-0.274-5.94-0.434-8.962-0.434-53.078 0-96.11 43.032-96.11 96.11 0 53.082 43.032 96.11 96.11 96.11 38.8 0 72.208-23.004 87.386-56.11l529.202-0.004c0.138 0.304 0.292 0.606 0.436 0.91 0.226 0.48 0.456 0.958 0.69 1.434 0.474 0.968 0.966 1.93 1.476 2.882 0.214 0.402 0.432 0.8 0.65 1.2 0.314 0.566 0.604 1.14 0.93 1.708 0.284 0.488 0.59 0.958 0.88 1.442 0.122 0.2 0.244 0.398 0.37 0.602 27.086 44.372 84.766 59.278 130.040 33.136 18.864-10.89 32.624-27.214 40.478-45.852 0.054-0.132 0.104-0.266 0.158-0.398 0.518-1.248 1.020-2.506 1.486-3.776zM238.414 744.282l264.542-458.204c0.424 0.042 0.85 0.064 1.276 0.098 0.668 0.056 1.334 0.112 2.004 0.152 0.652 0.040 1.306 0.066 1.96 0.092 1.122 0.046 2.244 0.076 3.368 0.084 0.146 0.002 0.292 0.012 0.438 0.012 0.168 0 0.334-0.012 0.502-0.014 1.436-0.004 2.874-0.040 4.31-0.108 0.088-0.006 0.176-0.010 0.262-0.014 1.376-0.070 2.75-0.168 4.124-0.296l264.596 458.298c-3.48 4.894-6.514 10.122-9.042 15.636h-529.226c-2.546-5.55-5.602-10.814-9.114-15.736z",cpu:"M392.016 672.016h240.032c22.092 0 40-17.908 40-40v-240.032c0-22.092-17.908-40-40-40h-240.032c-22.092 0-40 17.908-40 40v240.032c0 22.092 17.908 40 40 40zM432.016 431.984h160.032v160.032h-160.032v-160.032zM864.032 424h71.98c22.094 0 40.004-17.906 40.004-40 0-22.092-17.906-40-40-40h-71.984v-143.968c0-22.092-17.908-40-40-40h-144v-72.012c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.016h-176v-72.012c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.016h-144c-22.092 0-40 17.908-40 40v143.968h-71.984c-22.094 0-40 17.908-40 40s17.91 40 40 40h71.984v176h-71.984c-22.094 0-40 17.908-40 40s17.91 40 40 40h71.984v144.030c0 22.092 17.908 40 40 40h144v71.954c0 22.094 17.906 40 40 40s40-17.91 40-40v-71.954h176v71.954c0 22.094 17.906 40 40 40s40-17.91 40-40v-71.954h144c22.092 0 40-17.908 40-40v-144.030h71.98c22.094 0 40.004-17.906 40.004-40 0-22.092-17.906-40-40-40h-71.984v-176zM784.032 784.032h-143.692c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-127.382c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-127.382c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-143.696v-544h544v544z",memory:"M320.032 416.032v-152.968c0-22.094 17.91-40 40-40 22.094 0 40 17.91 40 40.004v152.964c0 22.090-17.906 40-40 40s-40-17.908-40-40zM512 456.032c22.094 0 40-17.91 40-40v-152.964c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v152.968c0 22.092 17.908 40 40 40zM664.032 456.032c22.094 0 40-17.91 40-40v-82.996c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v83c0 22.092 17.906 40 40 40zM864.018 316.616v603.418c0 0.004 0 0.004 0 0.004 0 6.798-1.71 13.198-4.704 18.808-0.044 0.084-0.078 0.172-0.124 0.254-0.524 0.976-1.112 1.914-1.722 2.836-0.098 0.15-0.18 0.312-0.282 0.46-7.188 10.638-19.36 17.634-33.168 17.634h-623.99c-22.090 0-40-17.908-40-40v-343.574c-0.002-0.142-0.022-0.282-0.022-0.426 0-0.142 0.020-0.282 0.022-0.426v-471.574c0-20.34 15.192-37.092 34.838-39.63 1.694-0.216 3.408-0.37 5.162-0.37l411.254 0.052c10.594-0.286 21.282 3.58 29.368 11.668l211.672 212.206c7.906 7.908 11.792 18.298 11.696 28.66zM240.026 144.034v391.998h543.99v-203.27l-188.252-188.728h-355.738zM784.016 880.032v-264h-543.99v264h543.99z",database:"M895.95 221.364c-3.414-87.32-173.972-157.672-383.918-157.672s-380.504 70.352-383.918 157.672h-0.082v578.328c0 88.552 171.918 160.338 384 160.338s384-71.786 384-160.338v-578.328h-0.082zM798.412 430.578c-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-92.9c70.29 37.478 179.654 61.566 302.5 61.566s232.21-24.088 302.5-61.566v92.9c-2.476 3.266-7.416 8.522-16.12 14.874zM814.532 514.464v93.24c-2.474 3.266-7.416 8.522-16.12 14.874-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-93.24c70.29 37.48 179.654 61.566 302.5 61.566s232.21-24.086 302.5-61.566zM225.652 209.146c15.6-11.386 37.69-22.346 63.88-31.696 60.984-21.77 140.002-33.758 222.498-33.758s161.514 11.988 222.498 33.758c26.192 9.348 48.282 20.308 63.882 31.696 8.704 6.352 13.646 11.608 16.12 14.874v0.026c-2.474 3.266-7.416 8.522-16.12 14.874-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-0.026c2.476-3.268 7.418-8.524 16.122-14.874zM798.412 814.578c-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.714-6.36-13.66-11.62-16.13-14.886h0.010v-93.228c70.29 37.48 179.654 61.566 302.5 61.566s232.21-24.086 302.5-61.566v93.228h0.010c-2.474 3.266-7.42 8.526-16.132 14.886z",power:"M320 118.3a45.7 45.7 0 0122.5 85.6 384.6 384.6 0 00-120.8 93.4A380.9 380.9 0 00128 548.6c0 102.5 39.9 199 112.4 271.5A381.5 381.5 0 00512 932.5c102.5 0 199-39.9 271.5-112.4a381.5 381.5 0 00112.4-271.5c0-98.1-36.5-190.6-103.1-262l-2-2-9.4-9.5a384.2 384.2 0 00-100-71.2 45.6 45.6 0 0139.6-82.2l.6.3h.2l.1.1h.1l2 1 4 2 1.9 1 3.5 1.9a480.6 480.6 0 0144.9 27l2 1.3v-.3.1a475.4 475.4 0 11-545.3 6.2l3.6-2.6v.1a471.4 471.4 0 0151.7-31.7l3.7-2 1.4-.7.3-.2 6.4-3.1.1-.1h.1l.7-.3c5.2-2.1 11-3.4 17-3.4zM511.8 0c25 0 45.3 20 45.7 45v421.3a45.7 45.7 0 01-91.4.7V45.7A45.7 45.7 0 01511.9 0z",outbox:"M960.062 616v304c0 1.382-0.070 2.746-0.208 4.090-2.046 20.172-19.080 35.91-39.792 35.91h-816c-22.090 0-40-17.906-40-40v-304c0-22.090 17.91-40 40-40s40 17.91 40 40v264h736v-264c0-22.090 17.91-40 40-40s40 17.912 40 40zM664.732 200.168l-124.41-124.41c-0.014-0.014-0.024-0.028-0.038-0.042-3.57-3.57-7.664-6.284-12.018-8.222-5.316-2.368-11.028-3.54-16.742-3.47-0.14-0.002-0.276-0.020-0.414-0.020-13.552 0-25.512 6.756-32.748 17.072l-119.1 119.092c-15.622 15.62-15.618 40.948 0.002 56.57 15.622 15.62 40.95 15.62 56.568 0l55.276-55.276v462.54c0 22.094 17.912 40 40.002 40 22.092 0 40-17.91 40-40v-464.314l57.052 57.052c15.622 15.624 40.948 15.62 56.568 0 15.628-15.624 15.628-40.952 0.002-56.572z",share:"M896.006 920c0 22.090-17.91 40-40 40h-688.006c-22.090 0-40-17.906-40-40v-549.922c-0.838-3.224-1.33-6.588-1.33-10.072 0-22.090 17.908-40.004 40-40.004h178.66c22.092 0.004 40 17.914 40 40.004 0 22.088-17.908 40-40 40h-137.33v479.996h607.998v-479.996h-138.658c-22.090 0-40-17.912-40-40 0-22.090 17.906-40.004 40-40.004h178.658c22.090 0 40 17.91 40 40v559.844c0 0.050 0.008 0.102 0.008 0.154zM665.622 200.168l-124.452-124.45c-8.042-8.042-18.65-11.912-29.186-11.674-1.612-0.034-3.222 0-4.828 0.16-0.558 0.054-1.098 0.16-1.648 0.238-0.742 0.104-1.484 0.192-2.218 0.338-0.656 0.13-1.29 0.31-1.934 0.472-0.622 0.154-1.244 0.292-1.86 0.476-0.64 0.196-1.258 0.436-1.886 0.66-0.602 0.216-1.208 0.414-1.802 0.66-0.598 0.248-1.17 0.54-1.754 0.814-0.598 0.282-1.202 0.546-1.788 0.86-0.578 0.312-1.13 0.664-1.694 1-0.552 0.332-1.116 0.644-1.654 1.006-0.67 0.448-1.3 0.942-1.942 1.426-0.394 0.302-0.806 0.576-1.196 0.894-1.046 0.858-2.052 1.768-3.008 2.726l-124.398 124.39c-15.622 15.62-15.618 40.948 0.002 56.57 15.622 15.62 40.95 15.62 56.568 0l56.164-56.166v439.426c0 22.094 17.912 40 40.002 40 22.092 0 40-17.91 40-40v-441.202l57.942 57.942c15.622 15.624 40.948 15.62 56.568 0 15.626-15.618 15.626-40.946 0.002-56.566z",button:"M644.634 802.32c-4.558 5.434-10.254 9.328-16.446 11.672l0.008 0.024-45.628 16.606 27.54 75.66c7.554 20.756-3.148 43.71-23.906 51.266s-43.714-3.146-51.27-23.906l-27.54-75.656-47.63 17.29c-6.020 1.956-12.586 2.518-19.254 1.342-21.75-3.836-36.282-24.582-32.45-46.34l30.57-173.328c2.55-14.476 12.61-25.714 25.458-30.508 0.292-0.118 0.586-0.23 0.878-0.34 0.238-0.084 0.476-0.168 0.718-0.246 12.942-4.624 27.91-2.492 39.196 6.98l134.824 113.13c16.932 14.2 19.144 39.432 4.932 56.354zM960.002 664v-368.082c0-22.092-17.908-40-40-40h-816c-22.092 0-40 17.908-40 40l-0.292 368.238c0 22.092 17.908 40 40 40h240.292c22.092 0 40-17.908 40-40s-17.908-40-40-40h-200.292l0.292-288.238h736v288.082h-200c-22.092 0-40 17.908-40 40s17.908 40 40 40h240c22.092 0 40-17.908 40-40z",form:"M948.362 178.828l-471.082 470.086c-0.24 0.25-0.45 0.52-0.698 0.77-7.82 7.82-18.070 11.722-28.32 11.712-10.25 0.010-20.504-3.892-28.324-11.712-0.262-0.262-0.48-0.546-0.734-0.812l-221.736-221.738c-15.624-15.622-15.624-40.95 0-56.566 15.618-15.622 40.946-15.624 56.57 0l194.224 194.222 443.53-442.528c15.622-15.618 40.95-15.618 56.57 0 15.62 15.62 15.62 40.946 0 56.566zM98.372 128.448c-18.926 0-34.266 15.342-34.266 34.268v699.032c0 18.926 15.34 34.266 34.266 34.266h699.032c18.926 0 34.266-15.34 34.266-34.266v-430.588c0 0 0.002-1.184 0.002-1.788 0-22.090-17.914-40-40.004-40s-40 17.91-40 40c0 0.288 0.002 386.64 0.002 386.64h-607.562v-607.564h600.002c22.090-0.002 40.002-17.906 40.002-40 0-22.090-17.914-40-40.004-40z",check:"M948.598 199.75c-15.622-15.618-40.95-15.618-56.57 0l-535.644 535.644-224.060-224.062c-15.624-15.624-40.954-15.62-56.57 0-15.624 15.62-15.624 40.948 0 56.568l251.574 251.574c0.252 0.266 0.472 0.55 0.734 0.812 7.82 7.82 18.072 11.724 28.322 11.714 10.25 0.010 20.502-3.894 28.322-11.714 0.248-0.248 0.456-0.518 0.698-0.77l563.196-563.202c15.618-15.618 15.618-40.94-0.002-56.564z",batchaccept:"M684 277L271 772l-1 1a40 40 0 0 1-56 5l-1-1L14 610a40 40 0 1 1 52-61l169 142 387-465a40 40 0 0 1 62 51zm340 234c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0-216c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0 432c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40z",batchdeny:"M1024 512c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0-216c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0 432c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zM625 236c16 15 16 41 0 56L406 512l220 220a40 40 0 1 1-57 57L349 568 129 788a40 40 0 1 1-57-56l220-220L73 292a40 40 0 0 1 56-57l220 220 219-219c16-16 41-16 57 0z",home:"M948.12 483.624l-407.814-407.754c-7.812-7.808-18.046-11.712-28.282-11.712-10.238 0-20.472 3.904-28.282 11.712l-407.92 407.86c-15.624 15.622-15.624 40.948-0.006 56.57s40.944 15.622 56.568 0.004l19.616-19.612v366.708c0 22.090 17.91 40 40 40h190.696c0.416 0.014 0.82 0.062 1.238 0.062 11.054 0 21.060-4.484 28.3-11.734 7.266-7.244 11.766-17.262 11.766-28.332 0-0.418-0.050-0.822-0.062-1.238v-263.204h176.060v263.934c0 22.090 17.91 40 40 40l191.876 0.124c2.292 0 4.524-0.236 6.708-0.608 0.45-0.074 0.91-0.116 1.356-0.206 0.21-0.044 0.414-0.116 0.628-0.162 17.906-3.972 31.308-19.924 31.308-39.026v-366.492l19.682 19.68c15.622 15.62 40.948 15.616 56.568-0.006s15.618-40.948-0.004-56.568zM791.876 448.272v398.71l-111.874-0.074v-263.876c0-0.020-0.002-0.042-0.002-0.062 0-0.006 0-0.014 0-0.022 0-22.090-17.91-40-40-40h-254.002c-0.556 0-1.1 0.060-1.65 0.084-0.14-0.002-0.274-0.022-0.414-0.022-22.090 0-40 17.91-40 40v264.382h-111.934v-399.392c0-2.286-0.234-4.512-0.604-6.694l280.626-280.584 280.514 280.472c-0.412 2.302-0.66 4.658-0.66 7.078z",admin:"M919.596 847.534h-88.414v-467.716l88.75-0.044c13.688-0.132 26.958-7.25 34.294-19.96 11.044-19.13 4.49-43.596-14.642-54.64l-407.904-235.676c-0.44-0.254-0.894-0.45-1.34-0.684-0.542-0.29-1.084-0.578-1.638-0.84-0.696-0.328-1.4-0.62-2.108-0.904-0.478-0.194-0.954-0.388-1.44-0.56-0.78-0.282-1.564-0.524-2.352-0.754-0.442-0.126-0.878-0.256-1.324-0.37-0.808-0.206-1.618-0.376-2.43-0.528-0.468-0.088-0.934-0.174-1.404-0.246-0.768-0.116-1.534-0.204-2.302-0.274-0.554-0.052-1.108-0.096-1.664-0.124-0.672-0.034-1.34-0.044-2.012-0.044-0.67 0-1.338 0.012-2.010 0.044-0.556 0.030-1.11 0.072-1.664 0.124-0.77 0.070-1.536 0.158-2.302 0.274-0.468 0.072-0.938 0.158-1.402 0.246-0.814 0.152-1.624 0.322-2.432 0.528-0.444 0.114-0.882 0.242-1.322 0.37-0.79 0.23-1.574 0.472-2.356 0.754-0.484 0.172-0.958 0.368-1.438 0.56-0.708 0.286-1.41 0.576-2.11 0.904-0.554 0.262-1.094 0.55-1.636 0.84-0.446 0.234-0.9 0.43-1.34 0.684l-407.906 235.672c-19.128 11.044-25.686 35.51-14.64 54.64 7.34 12.71 20.606 19.828 34.292 19.96v0.044h89.842v467.716h-89.474c-22.090 0-40 17.91-40 40s17.91 40 40 40h128.276c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h183.602c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h183.602c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h313.154c22.098 0 40-17.91 40-40-0.006-22.090-17.914-39.996-40.006-39.996zM751.182 847.534h-105.94v-467.716h105.94v467.716zM252.93 299.816l258.736-149.486 258.738 149.486h-517.474zM565.242 379.816v467.716h-106v-467.716h106zM273.242 379.816h106v467.716h-106v-467.716z",paragraph:"M728.032 96.032h-116.98c-0.026 0-0.050-0.004-0.076-0.004s-0.050 0.004-0.076 0.004h-199.848c-0.026 0-0.050-0.004-0.076-0.004s-0.050 0.004-0.076 0.004h-31.924c-123.712 0-224 100.292-224 224 0 121.032 95.994 219.628 216 223.842v344.158c0 22.092 17.91 40 40 40 22.086 0 40-17.908 40-40v-712h120v712c0 22.092 17.91 40 40 40 22.086 0 40-17.908 40-40v-712h77.056c22.094 0 40-17.91 40-40 0-22.092-17.91-40-40-40z",basket:"M632.254 695.604v-112.016c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 112.018c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.904-40-40zM352.246 735.604c22.090-0.002 40-17.91 39.996-39.998l0.004-112.018c0-22.094-17.91-40-40-40.002-22.094 0-40.004 17.91-40 40.002v112.016c-0.004 22.096 17.906 40.002 40 40zM512.25 735.604c22.090-0.002 40-17.91 39.996-39.998l0.004-112.018c0-22.094-17.91-40-40-40.002-22.094 0-40.004 17.91-40 40.002v112.016c-0.004 22.096 17.906 40.002 40 40zM950.3 397.424c-7.596-8.686-18.574-13.67-30.114-13.67h-313.284c0.87 5.196 1.346 10.524 1.346 15.966 0 24.608-9.27 47.044-24.494 64.034h290.684l-47.318 351.376-629.908-0.030-47.502-351.346h291.034c-15.224-16.988-24.494-39.426-24.494-64.034 0-5.444 0.476-10.772 1.346-15.966h-313.66c-11.542 0-22.524 4.986-30.12 13.678-7.596 8.694-11.066 20.242-9.52 31.682l51.614 381.742 0.050 0.042c5.832 47.424 46.222 84.158 95.222 84.172l0.054 0.034 601.816-0.034c0.042 0 0.082 0.002 0.124 0.002 49.414 0 90.090-37.34 95.396-85.336l51.258-380.64c1.54-11.44-1.934-22.984-9.53-31.672zM805.492 105.34c-15.622-15.622-40.95-15.624-56.572 0.004l-230.684 230.684c-2.052-0.2-4.132-0.306-6.236-0.306-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64c0-2.652-0.18-5.262-0.494-7.83l229.986-229.98c15.622-15.624 15.616-40.95-0-56.572z",credit:"M376.188 672.062h-112.124c-22.092 0-40-17.908-40-40s17.908-40 40-40h112.124c22.092 0 40 17.908 40 40s-17.908 40-40 40zM960 232.002v560c0 6.8-1.708 13.2-4.704 18.81-0.044 0.082-0.078 0.172-0.124 0.254-0.524 0.974-1.112 1.914-1.722 2.836-0.098 0.15-0.18 0.31-0.282 0.458-7.188 10.64-19.36 17.638-33.168 17.638h-816c-22.090 0-40-17.908-40-40v-559.998c0-20.34 15.192-37.092 34.838-39.628 1.694-0.218 3.408-0.372 5.162-0.372h816c1.754 0 3.468 0.152 5.162 0.372 19.646 2.536 34.838 19.288 34.838 39.63zM144 272.002v80.030h736v-80.030h-736zM880 751.998v-239.966h-736v239.966h736z",shield:"M875.146 148.994c-0.064-0.040-0.116-0.094-0.184-0.132-92.714-52.39-221.036-84.83-362.846-84.83-138.512 0-270.346 34.356-362.51 84.618-0.606 0.33-1.138 0.658-1.608 0.986-11.954 6.918-20.016 19.81-20.016 34.614v451.4c0 12.7 5.938 23.996 15.166 31.32l340.538 281.676c6.568 6.434 14.918 10.168 23.564 11.122 0.16 0.024 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058s0.996-0.040 1.492-0.058c0.842-0.032 1.68-0.058 2.518-0.14 0.16-0.016 0.32-0.042 0.48-0.066 8.646-0.958 16.996-4.688 23.564-11.122l339.36-280.718c10.326-7.23 17.094-19.2 17.094-32.762v-450.918c0.002-15.254-8.54-28.506-21.102-35.254zM207.984 208.212c36.292-18.168 77.668-32.854 123.356-43.722 57.062-13.576 117.884-20.458 180.778-20.458s123.714 6.882 180.778 20.458c30.186 7.182 58.474 16.040 84.674 26.456l-490.846 490.848-78.738-65.070v-408.512zM511.742 867.75l-163.078-134.77 467.586-467.584v350.69l-304.508 251.664z",beaker:"M848.64 790.56l-208.638-361.374v-252.062h24c22.092 0 40-17.908 40-40s-17.908-40-40-40h-304.002c-22.092 0-40 17.908-40 40s17.908 40 40 40h24v252.066l-208.636 361.37c-44 76.208-8 138.564 80 138.564h513.278c87.998 0 123.998-62.354 79.998-138.564zM464 177.124h96.002l-0.070 273.376 63.872 110.628h-223.678c35.932-62.268 63.872-110.684 63.876-110.692v-273.312zM768.64 849.124h-513.278c-8.28 0-14.186-0.976-17.968-2 1.004-3.792 3.112-9.394 7.25-16.564 0 0 54.598-94.614 109.316-189.436l316.026-0.002 109.374 189.44c4.138 7.168 6.246 12.77 7.25 16.562-3.784 1.024-9.69 2-17.97 2z",thumbsup:"M256.972 768.004c0-8.67-3.156-16.158-9.484-22.534-6.332-6.34-13.836-9.484-22.504-9.458-8.682 0-16.188 3.172-22.516 9.458-6.33 6.344-9.488 13.84-9.488 22.534 0 8.692 3.158 16.186 9.488 22.532 6.328 6.286 13.834 9.458 22.516 9.458 8.668 0.028 16.172-3.118 22.504-9.458 6.328-6.376 9.484-13.868 9.484-22.532zM832.948 480.010c0-17.004-6.478-31.908-19.468-44.734-13.014-12.82-27.834-19.25-44.512-19.276h-175.97c0-19.328 7.98-45.904 24.004-79.724 15.968-33.826 23.978-60.568 23.978-80.256 0-32.646-5.332-56.808-15.994-72.48-10.664-15.664-31.988-23.484-63.98-23.484-8.696 8.64-15.012 22.828-19.032 42.486-4.020 19.69-9.102 40.606-15.254 62.752-6.168 22.172-16.080 40.382-29.762 54.738-7.344 7.68-20.168 22.832-38.5 45.496-1.326 1.67-5.164 6.65-11.512 15.010-6.342 8.342-11.594 15.178-15.762 20.508-4.156 5.308-9.91 12.386-17.252 21.218-7.328 8.862-14 16.186-19.988 22.038-5.986 5.794-12.412 11.73-19.26 17.744-6.852 5.984-13.508 10.5-19.99 13.48-6.478 3.010-12.4 4.484-17.756 4.512h-15.982v320.010h15.982c4.332 0 9.596 0.492 15.774 1.504 6.168 1.012 11.676 2.080 16.488 3.258 4.812 1.144 11.154 2.98 19.002 5.466 7.862 2.512 13.702 4.424 17.502 5.74 3.812 1.31 9.732 3.422 17.756 6.238 8.026 2.842 12.866 4.586 14.506 5.272 70.324 24.334 127.304 36.504 170.996 36.504h60.482c64.006 0 96.024-27.836 96.024-83.478 0-8.664-0.848-18.016-2.514-27.996 10.004-5.334 17.936-14.084 23.758-26.276 5.824-12.172 8.724-24.416 8.778-36.746 0-12.366-3.008-23.844-9.024-34.51 17.664-16.682 26.524-36.496 26.524-59.496 0-8.308-1.696-17.554-5.032-27.72-3.336-10.202-7.492-18.104-12.468-23.762 10.636-0.328 19.55-8.15 26.714-23.486 7.192-15.34 10.744-28.82 10.744-40.496v-0.054zM896.984 479.516c0 29.638-8.204 56.816-24.5 81.506 2.98 10.994 4.484 22.476 4.484 34.482 0 25.674-6.344 49.68-19.004 71.99 1.012 7 1.506 14.164 1.506 21.488 0 33.688-10.008 63.354-29.968 89.026 0.326 46.32-13.834 82.904-42.518 109.756-28.682 26.848-66.522 40.246-113.496 40.246h-64.528c-31.99 0-63.542-3.746-94.742-11.268-31.168-7.492-67.246-18.402-108.23-32.758-38.662-13.312-61.656-19.956-68.984-19.956h-143.996c-17.664 0-32.742-6.292-45.252-18.784-12.508-12.5-18.756-27.588-18.756-45.254v-319.982c0-17.666 6.248-32.728 18.756-45.226 12.51-12.52 27.588-18.784 45.252-18.784h136.998c12.002-8.010 34.818-33.822 68.478-77.484 19.33-24.99 37.168-46.344 53.508-64.008 7.996-8.314 13.918-22.586 17.744-42.766 3.828-20.178 8.912-41.232 15.256-63.24 6.36-21.984 16.68-40.002 30.994-53.998 13.002-12.362 28.012-18.514 45.018-18.514 27.998 0 53.152 5.414 75.464 16.242 22.31 10.828 39.316 27.748 50.964 50.77 11.704 23.002 17.5 53.978 17.5 92.962 0 31.008-7.984 63-23.98 96.028h88.014c34.67 0 64.634 12.628 89.956 37.98 25.346 25.346 38.008 55.144 38.008 89.49l0.054 0.056z",mirror:"M857 127.778h-688c-22.092 0-40 17.91-40 40v688c0 22.090 17.908 40 40 40h688c22.094 0 40-17.91 40-40v-688c0-22.092-17.906-40-40-40zM817 815.778h-608v-1.086l606.914-606.914h1.086v608z",switchalt:"M923.946 63.418h-631.232c-20.268 0-36.7 16.432-36.7 36.7v155.286h-155.284c-20.268 0-36.7 16.432-36.7 36.7v631.23c0 20.268 16.43 36.7 36.7 36.7h631.23c20.272 0 36.7-16.432 36.7-36.7v-155.286h155.286c20.272 0 36.7-16.432 36.7-36.7v-631.23c-0.002-20.268-16.43-36.7-36.7-36.7zM688.66 880.032h-544.628v-544.628h111.984v395.946c0 20.268 16.43 36.7 36.7 36.7h395.944v111.982zM688.66 688.046h-352.644v-352.644h352.644v352.644zM880.644 688.046h-111.984v-395.946c0-20.268-16.428-36.7-36.7-36.7h-395.944v-111.984h544.628v544.63z",commit:"M984.032 472h-186.808c-19.474-140.12-139.74-248-285.222-248s-265.748 107.88-285.222 248h-186.746c-22.092 0-40 17.912-40 40.002 0 22.092 17.91 40 40 40h186.746c19.476 140.122 139.74 247.998 285.222 247.998s265.746-107.876 285.222-247.998h186.808c22.092 0 40-17.91 40-40s-17.908-40.002-40-40.002zM512 720c-114.692 0-208-93.308-208-208s93.308-208 208-208 208 93.308 208 208-93.308 208-208 208z",branch:"M861.968 312.032c0-66.168-53.832-120-120-120s-120 53.832-120 120c0 50.55 31.436 93.87 75.77 111.516-5.384 20.352-15.71 39.68-29.844 54.92-28.828 31.092-72.202 46.858-128.91 46.858-77.162 0-129.12 26.162-162.984 55.12V297.15c46.556-16.512 80-60.974 80-113.12 0-66.168-53.832-120-120-120s-120 53.832-120 120c0 52.146 33.444 96.608 80 113.12v429.762c-46.556 16.512-80 60.974-80 113.12 0 66.168 53.832 120 120 120s120-53.832 120-120c0-50.926-31.902-94.514-76.758-111.908 5.222-26.17 16.578-51.154 32.558-70.432 28.8-34.746 71.592-52.364 127.184-52.364 99.498 0 156.922-39.408 187.574-72.466 27.402-29.554 45.708-67.194 52.48-106.716 48.078-15.66 82.93-60.882 82.93-114.114zM336 144.032c22.056 0 40 17.944 40 40s-17.944 40-40 40-40-17.944-40-40 17.944-40 40-40zm0 736c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40zm405.968-528c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.942 40-40 40z",merge:"M776.306 456.032c-51.602 0-95.696 32.744-112.612 78.542-69.674-6.072-141.482-31.012-197.386-69.306-46.266-31.69-100.392-85.728-111.792-168.92 45.4-17.12 77.79-60.998 77.79-112.314 0-66.168-53.832-120-120-120s-120 53.832-120 120c0 52.146 33.444 96.608 80 113.12v429.762c-46.556 16.512-80 60.974-80 113.12 0 66.168 53.832 120 120 120s120-53.832 120-120c0-52.146-33.444-96.608-80-113.12V471.444c19.622 21.888 42.618 41.898 68.792 59.828 68.422 46.868 156.64 77.042 241.646 83.462 16.14 47.23 60.932 81.3 113.56 81.3 66.168 0 120-53.832 120-120s-53.83-120.002-119.998-120.002zm-464-312c22.056 0 40 17.944 40 40s-17.944 40-40 40-40-17.944-40-40 17.942-40 40-40zm0 736c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40zm464-264c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40z",pullrequest:"M631 157c104 1 171 52 171 166v397a123 123 0 1 1-82 0V323c0-63-27-83-90-84h-24l22 23a41 41 0 1 1-58 58l-93-93a41 41 0 0 1 1-58l93-93a41 41 0 1 1 58 58l-23 23h25zM222 314a123 123 0 1 1 82 0v406a123 123 0 1 1-82 0V314zm41 564a41 41 0 1 0 0-82 41 41 0 0 0 0 82zm0-639a41 41 0 1 0 0-83 41 41 0 0 0 0 83zm498 639a41 41 0 1 0 0-82 41 41 0 0 0 0 82z",chromatic:"M512 0a512 512 0 110 1024A512 512 0 01512 0zM368 452v284a144 144 0 00274 59c-10-4-20-8-29-14l-111-64c-6-3-10-10-10-16V523l-124-71zm454 89c-8 7-17 13-26 18L551 701l81 46 1 1a144 144 0 00189-207zm-493-89l-81 47h-1a143 143 0 00-52 196 144 144 0 00137 71c-2-10-3-21-3-32V452zm375-195l-12 1c2 10 3 21 3 32v128c0 7-4 13-10 17l-154 88v144l245-142 2-1a144 144 0 00-74-267zm-384 0c-51 0-99 28-125 72-28 49-25 109 7 154 8-7 17-13 26-18l111-64a20 20 0 0120 0l153 88 124-71-244-141-1-1c-22-12-46-19-71-19zm192-111c-57 0-107 33-130 83 10 4 19 8 29 14l245 141v-96c-2-79-66-142-144-142z",twitter:"M960 233.114c-32.946 14.616-68.41 24.5-105.598 28.942 37.954-22.762 67.098-58.774 80.856-101.688-35.52 21.054-74.894 36.368-116.726 44.598-33.542-35.724-81.316-58.038-134.204-58.038-101.496 0-183.796 82.292-183.796 183.814 0 14.424 1.628 28.45 4.758 41.89-152.75-7.668-288.22-80.872-378.876-192.072-15.822 27.15-24.898 58.706-24.898 92.42 0 63.776 32.458 120.034 81.782 153.010-30.116-0.944-58.458-9.212-83.262-22.982-0.028 0.75-0.028 1.546-0.028 2.324 0 89.070 63.356 163.334 147.438 180.256-15.426 4.186-31.664 6.426-48.442 6.426-11.836 0-23.35-1.146-34.574-3.28 23.406 73.006 91.286 126.16 171.726 127.632-62.914 49.324-142.18 78.696-228.314 78.696-14.828 0-29.448-0.876-43.842-2.568 81.33 52.138 177.96 82.574 281.786 82.574 338.11 0 523-280.104 523-523.014 0-7.986-0.164-15.914-0.542-23.778 35.952-25.96 67.124-58.318 91.756-95.162z",google:"M799.094 79.996c0 0-200.938 0-267.936 0-120.126 0-233.188 91.004-233.188 196.434 0 107.692 81.904 194.624 204.124 194.624 8.496 0 16.75-0.148 24.812-0.74-7.942 15.186-13.594 32.286-13.594 50.022 0 29.974 16.094 54.226 36.466 74.042-15.376 0-30.248 0.438-46.438 0.438-148.782 0.036-263.312 94.784-263.312 193.056 0 96.758 125.534 157.312 274.312 157.312 169.656 0 263.312-96.25 263.312-193.024 0-77.6-22.908-124.062-93.686-174.156-24.216-17.128-70.534-58.812-70.534-83.32 0-28.69 8.19-42.868 51.406-76.624 44.346-34.63 75.688-83.302 75.688-139.944 0-67.372-30-133.058-86.374-154.746h85l59.942-43.374zM701.504 735.438c2.092 8.992 3.276 18.226 3.276 27.624 0 78.226-50.374 139.304-194.934 139.304-102.874 0-177.124-65.078-177.124-143.304 0-76.622 92.122-140.434 194.934-139.32 24.004 0.254 46.376 4.136 66.69 10.702 55.812 38.834 95.874 60.808 107.158 104.994zM536.844 443.782c-69-2.094-134.624-77.212-146.564-167.876-11.874-90.664 34.378-160.030 103.442-157.97 68.996 2.060 134.594 74.818 146.53 165.432 11.906 90.696-34.408 162.508-103.408 160.414z",gdrive:"M465.926 641.356l-149.328 258.708h494.074l149.328-258.708h-494.074zM917.704 567.988l-256.33-444.048h-298.686l256.356 444.048h298.66zM320.236 197.442l-256.236 443.914 149.36 258.708 256.23-443.914-149.354-258.708z",youtube:"M704.010 511.988c0-12.332-5.038-21.358-15.042-26.992l-255.982-159.99c-10.344-6.666-21.178-6.998-32.51-1.008-10.988 5.984-16.492 15.312-16.492 28.002v320c0 12.69 5.504 22.018 16.492 28.002 5.332 2.678 10.516 3.996 15.506 3.996 6.668 0 12.334-1.644 17.004-4.98l255.982-160.014c10.004-5.69 15.042-14.684 15.042-26.992v-0.024zM960 511.988c0 31.99-0.164 56.98-0.488 75.032-0.334 17.99-1.754 40.738-4.27 68.25-2.516 27.504-6.262 52.058-11.27 73.742-5.332 24.338-16.84 44.85-34.504 61.496-17.64 16.63-38.306 26.308-61.96 28.988-73.992 8.342-185.824 12.526-335.508 12.526-149.668 0-261.5-4.184-335.5-12.526-23.662-2.656-44.414-12.302-62.242-28.988-17.834-16.678-29.412-37.182-34.744-61.496-4.672-21.684-8.258-46.238-10.756-73.742-2.508-27.512-3.928-50.26-4.254-68.25-0.342-18.050-0.504-43.042-0.504-75.032 0-31.998 0.162-57.010 0.504-75.008 0.326-18.022 1.746-40.768 4.254-68.28 2.498-27.474 6.262-52.082 11.252-73.744 5.34-24.336 16.842-44.842 34.504-61.496 17.648-16.654 38.324-26.332 61.986-29.010 74-8.312 185.832-12.472 335.5-12.472 149.684 0 261.516 4.16 335.508 12.472 23.654 2.678 44.406 12.356 62.232 29.010 17.826 16.678 29.422 37.16 34.73 61.496 4.702 21.662 8.256 46.27 10.772 73.744 2.516 27.512 3.936 50.258 4.27 68.28 0.324 17.998 0.488 43.010 0.488 75.008z",facebook:"M582.52 960h-167.88v-448h-112v-154.396l112-0.052-0.166-90.948c-0.036-125.974 34.12-202.604 182.484-202.604h123.542v154.424h-77.19c-57.782 0-60.566 21.56-60.566 61.85l-0.218 77.278h138.854l-16.376 154.394-122.36 0.052-0.124 448.002z",medium:"M0 0v1024h1024v-1024h-1024zM850.708 242.614l-54.918 52.655c-3.858 2.965-6.321 7.581-6.321 12.772 0 0.933 0.080 1.847 0.232 2.736l-0.014-0.095v386.883c-0.139 0.794-0.219 1.708-0.219 2.641 0 5.191 2.462 9.807 6.283 12.744l0.038 0.028 53.637 52.655v11.558h-269.774v-11.558l55.559-53.936c5.461-5.456 5.461-7.068 5.461-15.413v-312.719l-154.477 392.344h-20.874l-179.851-392.344v262.947c-0.209 1.465-0.329 3.156-0.329 4.875 0 9.848 3.924 18.78 10.293 25.317l-0.008-0.008 72.258 87.649v11.558h-204.895v-11.558l72.263-87.649c6.070-6.284 9.81-14.852 9.81-24.293 0-2.081-0.182-4.12-0.53-6.101l0.031 0.21v-304.044c0.086-0.804 0.135-1.737 0.135-2.682 0-7.844-3.389-14.896-8.782-19.773l-0.023-0.021-64.234-77.378v-11.558h199.438l154.157 338.083 135.53-338.083h190.123v11.558z",graphql:"M576 849a85 85 0 0 0-125-2L253 733l1-3h517l2 5-197 114zM451 177l2 2-258 448-3-1V398a85 85 0 0 0 61-107l198-114zm321 114a85 85 0 0 0 61 107v228l-3 1-258-448 2-2 198 114zM254 689a85 85 0 0 0-24-42l259-447a86 86 0 0 0 47 0l259 448a85 85 0 0 0-24 41H254zm643-54c-7-4-15-7-23-9V398a86 86 0 1 0-82-142L595 142a85 85 0 1 0-165 0L233 256a85 85 0 1 0-82 142v228a85 85 0 1 0 82 142l197 114a85 85 0 1 0 164-2l196-114a86 86 0 1 0 107-131z",redux:"M359.016 943.608c-23.82 5.948-47.642 8.322-71.512 8.322-88.208 0-168.084-36.982-207.444-96.534-52.432-79.882-70.296-249.182 102.538-374.356 3.586 19.078 10.746 45.292 15.492 60.834-22.656 16.652-58.39 50.064-81.046 95.324-32.19 63.184-28.61 126.404 9.54 184.798 26.194 39.304 67.926 63.176 121.564 70.34 65.598 8.332 131.154-3.582 194.332-36.94 92.998-48.898 155.014-107.282 195.49-187.162-10.702-10.75-17.818-26.248-19.074-44.15-1.168-36.942 27.45-67.922 64.388-69.132h2.418c35.73 0 65.55 28.61 66.714 64.384 1.206 35.73-24.986 65.546-59.548 69.132-65.6 134.686-181.254 225.312-333.852 255.14zM902.646 540.622c-90.59-106.072-224.11-164.488-376.708-164.488h-19.072c-10.744-21.444-33.402-35.752-58.388-35.752h-2.418c-36.944 1.186-65.548 32.192-64.392 69.13 1.216 35.774 30.99 64.394 66.81 64.394h2.328c26.242-1.208 48.894-17.892 58.434-40.542h21.45c90.624 0 176.46 26.234 253.968 77.482 59.55 39.36 102.49 90.576 126.356 152.596 20.24 50.052 19.074 98.952-2.42 140.64-33.356 63.228-89.37 97.794-163.292 97.794-47.69 0-92.998-14.33-116.822-25.082-13.118 11.958-36.984 31.028-53.64 42.944 51.226 23.87 103.7 36.94 153.762 36.94 114.446 0 199.070-63.132 231.268-126.362 34.562-69.13 32.188-188.326-57.224-289.694zM297.046 708.706c1.21 35.828 30.984 64.394 66.764 64.394h2.368c36.992-1.168 65.556-32.15 64.39-69.132-1.162-35.732-30.984-64.394-66.758-64.394h-2.376c-2.418 0-5.958 0-8.332 1.208-48.89-81.090-69.132-169.27-62.014-264.648 4.792-71.528 28.616-133.516 70.346-184.766 34.568-44.106 101.326-65.57 146.598-66.758 126.402-2.396 180.044 154.968 183.576 218.144 15.542 3.584 41.734 11.936 59.644 17.892-14.328-193.118-133.526-293.266-247.97-293.266-107.28 0-206.236 77.484-245.552 191.932-54.848 152.596-19.070 299.212 47.644 414.826-5.912 8.374-9.494 21.498-8.328 34.568z",github:"M214.6 809.4A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4-49 49-108 84.3-172.2 104.3v-74.4c0-39.5-13.6-68.6-40.7-87.2a354 354 0 0091.9-19.6c15.8-5.6 30-12.2 42.6-19.9a177.8 177.8 0 0036.3-29.8 175 175 0 0029.1-41.7 228 228 0 0018.6-55.9c4.6-21.7 6.9-45.6 6.9-71.7 0-50.7-16.5-93.8-49.5-129.4 15-39.2 13.4-81.8-4.9-127.9l-12.2-1.4c-8.5-1-23.8 2.6-45.8 10.8-22 8.1-46.8 21.5-74.3 40.1a450.9 450.9 0 00-121-16.1 442 442 0 00-120.5 16.1 419.6 419.6 0 00-49.3-29.1c-15.5-7.7-27.9-13-37.2-15.7a127.6 127.6 0 00-41.4-5.6c-2.3.3-4 .6-4.9 1-18.3 46.3-20 89-4.9 127.8a183.5 183.5 0 00-49.5 129.4c0 26.1 2.3 50 6.9 71.7a228.3 228.3 0 0018.6 56 175 175 0 0029.1 41.6 177.9 177.9 0 0036.3 29.8 223.4 223.4 0 0042.6 19.9A353.2 353.2 0 00432 752c-26.8 18.3-40.2 47.3-40.2 87.2v75.9a418.4 418.4 0 01-177-105.8M512 0a512 512 0 100 1024A512 512 0 00512 0",bitbucket:"M362.3 395l53 276.5h195.4l34-198.4h283l-74.4 457a30 30 0 01-29.7 25.3H210.7a41 41 0 01-40-34.2l-127.6-775a30 30 0 0130-34.9l877.8.2a30 30 0 0130 34.8L940.5 395H362.3z",gitlab:"M186.9 75a18.7 18.7 0 0135.6 0l108.8 333.4h361.4L512 961.8 331.3 408.4H78.1zM78.1 408.5L512 961.8 36.8 618.2a37.1 37.1 0 01-13.6-41.6L78 408.4zm867.8 0l55 168.2c5 15.3-.5 32.1-13.7 41.6L512 961.8l434-553.4zM837.1 75l108.8 333.3H692.7L801.5 75a18.7 18.7 0 0135.6 0z",azuredevops:"M0,378.6 L95.8,252 L454.4,106.2 L454.4,1 L768.8,231 L126.6,355.8 L126.6,706.8 L0,670.2 L0,378.6 Z M1024,188.8 L1024,814 L778.6,1023 L381.8,892.6 L381.8,1023 L126.6,706.6 L769,783.2 L769,231 L1024,188.8 Z",discord:"M371 147c-14 0-126 3-245 91 0 0-126 227-126 507 0 0 74 126 268 132l58-71c-111-34-153-103-153-103l24 15 4 2 8 4a668 668 0 0 0 420 68 629 629 0 0 0 228-89s-44 71-159 103l58 71c194-7 268-133 268-132 0-280-126-507-126-507-126-94-246-91-246-91l-12 14a576 576 0 0 1 218 110 729 729 0 0 0-441-81l-15 1c-31 4-105 14-199 56-33 14-52 24-52 24s72-69 230-114l-9-10h-1zm-23 323c50 0 91 43 90 97 0 53-40 96-90 96-49 0-89-43-89-96 0-54 39-97 89-97zm321 0c49 0 89 43 89 97 0 53-39 96-89 96s-90-43-90-96c0-54 40-97 90-97z",contrast:"M368 713h79l266-266v-79L368 713zm192 0h153V560L560 713zm98-402h-79L311 579v79l347-347zm-192 0H311v155l155-155zm467 402V91H311v128h452c23 0 42 19 42 42v452h128zM713 933V805H261c-23 0-42-19-42-42V311H91v622h622zM982 0c23 0 42 19 42 42v721c0 23-19 42-42 42H805v177c0 23-19 42-42 42H42c-23 0-42-19-42-42V261c0-23 19-42 42-42h177V42c0-23 19-42 42-42h721z",unfold:"M512 645l8 1c21 4 37 22 37 44v181l52-52 6-6a45 45 0 0 1 58 69l-129 129-7 5a45 45 0 0 1-57-5L351 882l-5-6a45 45 0 0 1 5-57l7-6c17-12 41-10 57 6l52 52V690l1-8c4-21 22-37 44-37zM337 275a45 45 0 1 1 0 90H229l91 102h382l91-102H685a45 45 0 1 1 0-90h208c39 0 59 46 34 75L782 512l145 162c25 29 5 75-34 75H685a45 45 0 1 1 0-90h108l-91-102H320l-91 102h108a45 45 0 1 1 0 90H129c-38 0-59-46-33-75l144-162L96 350c-24-27-8-69 26-74l7-1h208zM537 8l7 6 129 129a45 45 0 0 1-58 68l-6-5-52-52v181c0 22-16 40-37 44h-8c-22 0-40-15-44-36l-1-8V153l-52 53a45 45 0 0 1-57 5l-7-5a45 45 0 0 1-5-57l5-6L480 14c16-16 40-18 57-6z",sharealt:"M130 85h332a45 45 0 0 1 8 89l-8 1H175v674h674V557a45 45 0 0 1 89-8l1 8v337c0 22-16 40-37 44l-8 1H130c-22 0-40-16-44-37l-1-8V130c0-22 16-40 37-44l8-1h332-332zm555 0h210l5 1-6-1a45 45 0 0 1 32 13l-5-4 3 3 2 1a46 46 0 0 1 12 24v2l1 5v209a45 45 0 0 1-89 8l-1-8V238L544 544a45 45 0 0 1-57 5l-7-5a45 45 0 0 1 0-64l306-305H685a45 45 0 0 1-8-89l8-1h209-209z",accessibility:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 89.6a422.4 422.4 0 100 844.8 422.4 422.4 0 000-844.8zm262.2 250a40.9 40.9 0 01-27.5 49.3l-169.1 50.7c-8.2 2.7-15.1 11-13.7 20.5 1.3 27.4 1.5 76.5 7 98.4 12.9 59 82.4 214.4 91 233.6a56 56 0 014.9 19 40 40 0 01-40 40c-18 0-30.3-12.7-38.2-28.4A34096 34096 0 01510.9 664l-77.7 165.7-1.3 2.1a40 40 0 01-69.3-39.7c8.6-19 78-174.5 90.8-233.6 5.5-21.9 6-71 7.3-98.4a21 21 0 00-13.7-20.5l-169.1-50.7a40.7 40.7 0 01-27.5-50.7c6.9-20.5 30.2-30.1 50.9-24.6 0 0 154.6 49.3 209.6 49.3s213.8-50.7 213.8-50.7c20.6-5.5 44 6.8 49.5 27.4zm-264-171.2a76.7 76.7 0 110 153.4c-42.6 0-77-34.2-77-76.7 0-41 34.4-76.7 77-76.7z",accessibilityalt:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm262.2 339.6c-5.5-20.6-28.9-32.9-49.5-27.4 0 0-158.8 50.7-213.8 50.7s-209.6-49.3-209.6-49.3c-20.7-5.5-44 4-51 24.6A40.7 40.7 0 00278 389l169 50.7a21 21 0 0113.8 20.5c-1.3 27.4-1.8 76.5-7.3 98.4-12.9 59.1-82.2 214.5-90.8 233.6a40 40 0 1070.6 37.5L511 664a34096 34096 0 0077.7 158.7c7.9 15.7 20.2 28.4 38.2 28.4a40 40 0 0040-40 56 56 0 00-4.8-19c-8.7-19.2-78.2-174.5-91.1-233.6-5.5-21.9-5.7-71-7-98.4-1.4-9.6 5.5-17.8 13.7-20.5l169.1-50.7a40.9 40.9 0 0027.5-49.3zm-264-171.2c-42.6 0-77 35.6-77 76.7a76.7 76.7 0 0077 76.7 76.7 76.7 0 100-153.4z",markup:"M1010.6 479.7L736.4 205.4a45.7 45.7 0 10-64.7 64.6l242 242L671.7 754a45.7 45.7 0 1064.7 64.6l274.1-274.2a45.6 45.6 0 000-64.6M0 511.9c0-11.7 4.5-23.4 13.4-32.3l274.1-274.2a45.7 45.7 0 1164.7 64.6L110.4 512l241.9 241.9a45.7 45.7 0 01-64.7 64.6L13.4 544.2C4.4 535.3 0 523.6 0 512",outline:"M180.1 714.3V844h129.6v94.8h-180c-24.2 0-44-19.5-44.4-43.7V714.3h94.8zM619.3 844v94.8H404.7v-94.8h214.6zm319.4-129.6v180c0 24.2-19.5 44-43.7 44.4H714.3v-94.8H844V714.3h94.8zm0-309.6v214.6h-94.8V404.7h94.8zm-758.6 0v214.6H85.3V404.7h94.8zm331.9 34a73.2 73.2 0 110 146.4 73.2 73.2 0 010-146.3zM894.2 85.4c24.3 0 44 19.5 44.5 43.7V309.7h-94.8V180H714.3V85.3h180zm-584.5 0v94.8H180v129.6H85.3v-180c0-24.2 19.5-44 43.7-44.4H309.7zm309.6 0v94.8H404.7V85.3h214.6z",verified:"M719 66l30 56c12 23 35 40 61 44l62 11c45 8 76 51 70 96l-9 63c-4 26 5 52 23 71l44 46c32 33 32 85 0 118l-44 46a85 85 0 00-23 71l9 63c6 45-25 88-70 96l-62 11c-26 4-49 21-61 44l-30 56a85 85 0 01-113 36l-57-27a85 85 0 00-74 0l-57 27c-42 21-92 4-113-36l-30-56a85 85 0 00-61-44l-62-11c-45-8-76-51-70-96l9-63c4-26-5-52-23-71l-44-46a85 85 0 010-118l44-46c18-19 27-45 23-71l-9-63c-6-45 25-88 70-96l62-11c26-4 49-21 61-44l30-56c21-40 71-57 113-36l57 27c23 12 51 12 74 0l57-27c42-21 92-4 113 36zm70 258a46 46 0 00-59 5L437 622 294 480l-6-5a46 46 0 00-59 69l175 175 6 5c18 13 43 11 59-5l326-325 4-6c13-18 12-43-4-59z",comment:"M936 85l6 1c22 3 39 21 39 44v709c0 8-2 15-5 21l-2 4c-9 12-23 20-38 20H427l-131 127c-9 9-21 13-34 13-25 0-46-20-46-45v-95H88c-25 0-45-20-45-45V130a45 45 0 0145-45zm-46 89H134v620h756V174zM768 544c25 0 46 20 46 44 0 25-21 45-46 45H256c-25 0-46-20-46-45 0-24 21-44 46-44zm0-208c25 0 46 20 46 44 0 25-21 45-46 45H256c-25 0-46-20-46-45 0-24 21-44 46-44z",commentadd:"M937 85l6 1c23 3 40 21 40 44v711c0 7-2 14-5 21l-3 4c-8 12-22 19-38 19H428l-131 128c-9 9-22 13-35 13-25 0-45-20-45-45v-96H89c-26 0-46-20-46-44V130a45 45 0 0146-45zm-45 90H134v621h758V175zm-379 97c22 0 40 18 40 40v134h132a40 40 0 010 81H553v132a40 40 0 11-80 0V527H341a40 40 0 110-81h132V312c0-22 18-40 40-40z",requestchange:"M937 85l6 1c23 3 40 21 40 44v711c0 7-2 14-5 21l-3 4c-8 12-22 19-38 19H428l-131 128c-9 9-22 13-35 13-25 0-45-20-45-45v-96H89c-26 0-46-20-46-44V130a45 45 0 0146-45zm-45 90H134v621h758V175zM585 310c18-18 47-18 65 0l143 144c18 17 18 46 0 64L650 661a46 46 0 01-65 0 46 46 0 010-65l65-64H266a46 46 0 110-92h384l-65-65a46 46 0 010-65z",comments:"M978.3 92.2a45 45 0 0145.7 44.6v535.6a45.2 45.2 0 01-45.7 44.6h-125v122c0 7.7-2 14.8-5.5 21.3l-2.3 3.7a46.1 46.1 0 01-38 19.6H298.8L168 1011a47 47 0 01-34.3 13.1c-25.2 0-45.7-20-45.7-44.6v-95.8H45.7c-25.2 0-45.7-20-45.7-44.5V303.4A45 45 0 0145.7 259h125v-122a45 45 0 0139.8-44.3c1.3-.1 257.2-.3 767.8-.4zM761.9 348H91.4v446.5H762V348zm-125 264c25.3 0 45.8 20 45.8 44.6A45.2 45.2 0 01637 701H216.4c-25.3 0-45.7-20-45.7-44.5a45.2 45.2 0 0145.7-44.6H637zm295.7-430.7H262V259h505.1l46.3.4a45 45 0 0139.8 44.2v324.3h79.3V181.3zM637 441.3c25.2 0 45.7 20 45.7 44.6a45.2 45.2 0 01-45.7 44.6H216.4c-25.3 0-45.7-20-45.7-44.6a45.2 45.2 0 0145.7-44.5H637z",ruler:"M83 110c-22 0-40 18-40 40v176a40 40 0 0080 0v-49h778v49a40 40 0 0080 0V150a40 40 0 10-80 0v49H123v-49c0-22-18-40-40-40zm40 458v266h778V568h-63v115a40 40 0 11-80 0V568h-63v46a40 40 0 11-80 0v-46h-63v115a40 40 0 11-80 0V568h-63v46a40 40 0 11-80 0v-46h-63v115a40 40 0 11-80 0V568h-63zm103-80h691c36 0 64 28 64 64v298c0 36-28 64-64 64H107c-36 0-64-28-64-64V552c0-36 28-64 64-64h119z"};var Svg=esm.styled.svg({shapeRendering:"inherit",transform:"translate3d(0,0,0)"},(function(_ref){return _ref.inline?{display:"inline-block"}:{display:"block"}}));function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}Svg.displayName="Svg";var Path=esm.styled.path({fill:"currentColor"}),Icons=react.memo((function(_ref){var icon=_ref.icon,symbol=_ref.symbol,props=_objectWithoutProperties(_ref,["icon","symbol"]);return react.createElement(Svg,_extends({viewBox:"0 0 1024 1024"},props),symbol?react.createElement("use",{xlinkHref:"#icon--".concat(symbol)}):react.createElement(Path,{d:icon_icons[icon]}))}))},"./node_modules/@storybook/components/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{resetComponents:()=>resetComponents});__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/index.js"),_typography_DocumentFormatting__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@storybook/components/dist/esm/typography/DocumentFormatting.js"),_blocks__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/components/dist/esm/blocks/index.js");__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_4__,"ArgsTable")&&__webpack_require__.d(__webpack_exports__,{ArgsTable:function(){return _blocks__WEBPACK_IMPORTED_MODULE_4__.ArgsTable}}),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_4__,"ArgsTableError")&&__webpack_require__.d(__webpack_exports__,{ArgsTableError:function(){return _blocks__WEBPACK_IMPORTED_MODULE_4__.ArgsTableError}}),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_4__,"TabbedArgsTable")&&__webpack_require__.d(__webpack_exports__,{TabbedArgsTable:function(){return _blocks__WEBPACK_IMPORTED_MODULE_4__.TabbedArgsTable}});var _controls__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@storybook/components/dist/esm/controls/index.js");__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_5__,"ArgsTable")&&__webpack_require__.d(__webpack_exports__,{ArgsTable:function(){return _controls__WEBPACK_IMPORTED_MODULE_5__.ArgsTable}}),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_5__,"ArgsTableError")&&__webpack_require__.d(__webpack_exports__,{ArgsTableError:function(){return _controls__WEBPACK_IMPORTED_MODULE_5__.ArgsTableError}}),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_5__,"TabbedArgsTable")&&__webpack_require__.d(__webpack_exports__,{TabbedArgsTable:function(){return _controls__WEBPACK_IMPORTED_MODULE_5__.TabbedArgsTable}});var resetComponents={};Object.keys(_typography_DocumentFormatting__WEBPACK_IMPORTED_MODULE_6__.wx).forEach((function(key){resetComponents[key]=(0,react__WEBPACK_IMPORTED_MODULE_3__.forwardRef)((function(props,ref){return(0,react__WEBPACK_IMPORTED_MODULE_3__.createElement)(key,Object.assign({},props,{ref}))}))}))},"./node_modules/@storybook/components/dist/esm/syntaxhighlighter/lazy-syntaxhighlighter.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{d:()=>SyntaxHighlighter});__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),LazySyntaxHighlighter=react__WEBPACK_IMPORTED_MODULE_2__.lazy((function(){return __webpack_require__.e(861).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/components/dist/esm/syntaxhighlighter/syntaxhighlighter.js"))})),SyntaxHighlighter=function SyntaxHighlighter(props){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_2__.createElement(LazySyntaxHighlighter,props))};SyntaxHighlighter.displayName="SyntaxHighlighter"},"./node_modules/@storybook/components/dist/esm/tooltip/lazy-WithTooltip.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>WithTooltipPure,R:()=>WithTooltip});__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),LazyWithTooltip=react__WEBPACK_IMPORTED_MODULE_2__.lazy((function(){return __webpack_require__.e(574).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/components/dist/esm/tooltip/WithTooltip.js")).then((function(mod){return{default:mod.WithTooltip}}))})),WithTooltip=function WithTooltip(props){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_2__.createElement(LazyWithTooltip,props))};WithTooltip.displayName="WithTooltip";var LazyWithTooltipPure=react__WEBPACK_IMPORTED_MODULE_2__.lazy((function(){return __webpack_require__.e(574).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/components/dist/esm/tooltip/WithTooltip.js")).then((function(mod){return{default:mod.WithTooltipPure}}))})),WithTooltipPure=function WithTooltipPure(props){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_2__.createElement(LazyWithTooltipPure,props))};WithTooltipPure.displayName="WithTooltipPure"},"./node_modules/@storybook/components/dist/esm/typography/DocumentFormatting.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{EK:()=>Code,H2:()=>H2,H3:()=>H3,i9:()=>ResetWrapper,wx:()=>components});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var react__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/react/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),_shared__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@storybook/components/dist/esm/typography/shared.js"),_blocks_Source__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/@storybook/components/dist/esm/blocks/Source.js");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var H1=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h1(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.g$,(function(_ref){var theme=_ref.theme;return{fontSize:"".concat(theme.typography.size.l1,"px"),fontWeight:theme.typography.weight.black}})),H2=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h2(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.g$,(function(_ref2){var theme=_ref2.theme;return{fontSize:"".concat(theme.typography.size.m2,"px"),paddingBottom:4,borderBottom:"1px solid ".concat(theme.appBorderColor)}})),H3=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h3(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.g$,(function(_ref3){var theme=_ref3.theme;return{fontSize:"".concat(theme.typography.size.m1,"px")}})),H4=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h4(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.g$,(function(_ref4){var theme=_ref4.theme;return{fontSize:"".concat(theme.typography.size.s3,"px")}})),H5=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h5(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.g$,(function(_ref5){var theme=_ref5.theme;return{fontSize:"".concat(theme.typography.size.s2,"px")}})),H6=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h6(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.g$,(function(_ref6){var theme=_ref6.theme;return{fontSize:"".concat(theme.typography.size.s2,"px"),color:theme.color.dark}})),Pre=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.pre(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.vl,(function(_ref7){return{fontFamily:_ref7.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}}})),Link=function Link(_ref8){var input=_ref8.href,children=_ref8.children,props=_objectWithoutProperties(_ref8,["href","children"]),isStorybookPath=/^\//.test(input),isAnchorUrl=/^#.*/.test(input),href=isStorybookPath?"?path=".concat(input):input,target=isAnchorUrl?"_self":"_top";return react__WEBPACK_IMPORTED_MODULE_8__.createElement("a",_extends({href,target},props),children)};Link.displayName="Link";var A=(0,_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled)(Link)(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,(function(_ref9){return{fontSize:"inherit",lineHeight:"24px",color:_ref9.theme.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}}})),HR=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.hr((function(_ref10){var theme=_ref10.theme;return{border:"0 none",borderTop:"1px solid ".concat(theme.appBorderColor),height:4,padding:0}})),DL=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.dl(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,Object.assign({},_shared__WEBPACK_IMPORTED_MODULE_10__.vl,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}})),Blockquote=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.blockquote(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.vl,(function(_ref11){var theme=_ref11.theme;return{borderLeft:"4px solid ".concat(theme.color.medium),padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}})),Table=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.table(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.vl,(function(_ref12){var theme=_ref12.theme;return{fontSize:theme.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:"1px solid ".concat(theme.appBorderColor),backgroundColor:theme.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:"dark"===theme.base?theme.color.darker:theme.color.lighter},"& tr th":{fontWeight:"bold",color:theme.color.defaultText,border:"1px solid ".concat(theme.appBorderColor),margin:0,padding:"6px 13px"},"& tr td":{border:"1px solid ".concat(theme.appBorderColor),color:theme.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}}})),Img=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.img({maxWidth:"100%"}),Div=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.div(_shared__WEBPACK_IMPORTED_MODULE_10__.YX),Span=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.span(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,(function(_ref13){var theme=_ref13.theme;return{"&.frame":{display:"block",overflow:"hidden","& > span":{border:"1px solid ".concat(theme.color.medium),display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}}})),listCommon={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},LI=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.li(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,(function(_ref14){var theme=_ref14.theme;return{fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":(0,_shared__WEBPACK_IMPORTED_MODULE_10__.CI)({theme})}})),UL=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.ul(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.vl,Object.assign({},listCommon,{listStyle:"disc"})),OL=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.ol(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.vl,Object.assign({},listCommon,{listStyle:"decimal"})),P=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.p(_shared__WEBPACK_IMPORTED_MODULE_10__.YX,_shared__WEBPACK_IMPORTED_MODULE_10__.vl,(function(_ref15){var theme=_ref15.theme;return{fontSize:theme.typography.size.s2,lineHeight:"24px",color:theme.color.defaultText,"& code":(0,_shared__WEBPACK_IMPORTED_MODULE_10__.CI)({theme})}})),DefaultCodeBlock=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.code((function(_ref16){return{fontFamily:_ref16.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}}),_shared__WEBPACK_IMPORTED_MODULE_10__.CI),isInlineCodeRegex=/[\n\r]/g,isReactChildString=function isReactChildString(child){return"string"==typeof child},Code=function Code(_ref17){var _language$,className=_ref17.className,children=_ref17.children,props=_objectWithoutProperties(_ref17,["className","children"]),language=(className||"").match(/lang-(\S+)/),childrenArray=react__WEBPACK_IMPORTED_MODULE_8__.Children.toArray(children);return!childrenArray.filter(isReactChildString).some((function(child){return child.match(isInlineCodeRegex)}))?react__WEBPACK_IMPORTED_MODULE_8__.createElement(DefaultCodeBlock,_extends({},props,{className}),childrenArray):react__WEBPACK_IMPORTED_MODULE_8__.createElement(_blocks_Source__WEBPACK_IMPORTED_MODULE_11__.iS,_extends({bordered:!0,copyable:!0,language:null!==(_language$=null==language?void 0:language[1])&&void 0!==_language$?_language$:"plaintext",format:!1},props),children)};Code.displayName="Code";var TT=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.title(_shared__WEBPACK_IMPORTED_MODULE_10__.CI),ResetWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.div(_shared__WEBPACK_IMPORTED_MODULE_10__.YX),nameSpaceClassNames=function nameSpaceClassNames(_ref18,key){var props=Object.assign({},_ref18),classes=[props.class,props.className];return delete props.class,props.className=["sbdocs","sbdocs-".concat(key)].concat(classes).filter(Boolean).join(" "),props},components={h1:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(H1,nameSpaceClassNames(props,"h1"))},h2:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(H2,nameSpaceClassNames(props,"h2"))},h3:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(H3,nameSpaceClassNames(props,"h3"))},h4:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(H4,nameSpaceClassNames(props,"h4"))},h5:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(H5,nameSpaceClassNames(props,"h5"))},h6:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(H6,nameSpaceClassNames(props,"h6"))},pre:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(Pre,nameSpaceClassNames(props,"pre"))},a:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(A,nameSpaceClassNames(props,"a"))},hr:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(HR,nameSpaceClassNames(props,"hr"))},dl:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(DL,nameSpaceClassNames(props,"dl"))},blockquote:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(Blockquote,nameSpaceClassNames(props,"blockquote"))},table:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(Table,nameSpaceClassNames(props,"table"))},img:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(Img,nameSpaceClassNames(props,"img"))},div:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(Div,nameSpaceClassNames(props,"div"))},span:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(Span,nameSpaceClassNames(props,"span"))},li:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(LI,nameSpaceClassNames(props,"li"))},ul:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(UL,nameSpaceClassNames(props,"ul"))},ol:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(OL,nameSpaceClassNames(props,"ol"))},p:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(P,nameSpaceClassNames(props,"p"))},code:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(Code,nameSpaceClassNames(props,"code"))},tt:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(TT,nameSpaceClassNames(props,"tt"))},resetwrapper:function(props){return react__WEBPACK_IMPORTED_MODULE_8__.createElement(ResetWrapper,nameSpaceClassNames(props,"resetwrapper"))}}},"./node_modules/@storybook/components/dist/esm/typography/shared.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{CI:()=>codeCommon,YX:()=>withReset,g$:()=>headerCommon,vl:()=>withMargin});var polished__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),headerCommon=function headerCommon(_ref){return{margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:_ref.theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}},codeCommon=function codeCommon(_ref2){var theme=_ref2.theme;return{lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:theme.typography.size.s2-1,border:"light"===theme.base?"1px solid ".concat(theme.color.mediumlight):"1px solid ".concat(theme.color.darker),color:"light"===theme.base?(0,polished__WEBPACK_IMPORTED_MODULE_0__.DZ)(.1,theme.color.defaultText):(0,polished__WEBPACK_IMPORTED_MODULE_0__.DZ)(.3,theme.color.defaultText),backgroundColor:"light"===theme.base?theme.color.lighter:theme.color.border}},withReset=function withReset(_ref3){var theme=_ref3.theme;return{fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}},withMargin={margin:"16px 0"}},"./node_modules/@storybook/core-client/dist/esm/globals/globals.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var global__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/global/window.js");__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_0__)().window.STORYBOOK_REACT_CLASSES={}},"./node_modules/@storybook/core-client/dist/esm/globals/polyfills.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/airbnb-js-shims/index.js"),__webpack_require__("./node_modules/core-js/features/symbol/index.js")},"./node_modules/@storybook/core-events/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";var events;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CHANNEL_CREATED:()=>CHANNEL_CREATED,CONFIG_ERROR:()=>CONFIG_ERROR,CURRENT_STORY_WAS_SET:()=>CURRENT_STORY_WAS_SET,DOCS_RENDERED:()=>DOCS_RENDERED,FORCE_REMOUNT:()=>FORCE_REMOUNT,FORCE_RE_RENDER:()=>FORCE_RE_RENDER,GLOBALS_UPDATED:()=>GLOBALS_UPDATED,IGNORED_EXCEPTION:()=>IGNORED_EXCEPTION,NAVIGATE_URL:()=>NAVIGATE_URL,PREVIEW_KEYDOWN:()=>PREVIEW_KEYDOWN,REGISTER_SUBSCRIPTION:()=>REGISTER_SUBSCRIPTION,RESET_STORY_ARGS:()=>RESET_STORY_ARGS,SELECT_STORY:()=>SELECT_STORY,SET_CURRENT_STORY:()=>SET_CURRENT_STORY,SET_GLOBALS:()=>SET_GLOBALS,SET_STORIES:()=>SET_STORIES,SHARED_STATE_CHANGED:()=>SHARED_STATE_CHANGED,SHARED_STATE_SET:()=>SHARED_STATE_SET,STORIES_COLLAPSE_ALL:()=>STORIES_COLLAPSE_ALL,STORIES_EXPAND_ALL:()=>STORIES_EXPAND_ALL,STORY_ARGS_UPDATED:()=>STORY_ARGS_UPDATED,STORY_CHANGED:()=>STORY_CHANGED,STORY_ERRORED:()=>STORY_ERRORED,STORY_INDEX_INVALIDATED:()=>STORY_INDEX_INVALIDATED,STORY_MISSING:()=>STORY_MISSING,STORY_PREPARED:()=>STORY_PREPARED,STORY_RENDERED:()=>STORY_RENDERED,STORY_RENDER_PHASE_CHANGED:()=>STORY_RENDER_PHASE_CHANGED,STORY_SPECIFIED:()=>STORY_SPECIFIED,STORY_THREW_EXCEPTION:()=>STORY_THREW_EXCEPTION,STORY_UNCHANGED:()=>STORY_UNCHANGED,UPDATE_GLOBALS:()=>UPDATE_GLOBALS,UPDATE_QUERY_PARAMS:()=>UPDATE_QUERY_PARAMS,UPDATE_STORY_ARGS:()=>UPDATE_STORY_ARGS,default:()=>__WEBPACK_DEFAULT_EXPORT__}),function(events){events.CHANNEL_CREATED="channelCreated",events.CONFIG_ERROR="configError",events.STORY_INDEX_INVALIDATED="storyIndexInvalidated",events.STORY_SPECIFIED="storySpecified",events.SET_STORIES="setStories",events.SET_CURRENT_STORY="setCurrentStory",events.CURRENT_STORY_WAS_SET="currentStoryWasSet",events.FORCE_RE_RENDER="forceReRender",events.FORCE_REMOUNT="forceRemount",events.STORY_PREPARED="storyPrepared",events.STORY_CHANGED="storyChanged",events.STORY_UNCHANGED="storyUnchanged",events.STORY_RENDERED="storyRendered",events.STORY_MISSING="storyMissing",events.STORY_ERRORED="storyErrored",events.STORY_THREW_EXCEPTION="storyThrewException",events.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",events.UPDATE_STORY_ARGS="updateStoryArgs",events.STORY_ARGS_UPDATED="storyArgsUpdated",events.RESET_STORY_ARGS="resetStoryArgs",events.SET_GLOBALS="setGlobals",events.UPDATE_GLOBALS="updateGlobals",events.GLOBALS_UPDATED="globalsUpdated",events.REGISTER_SUBSCRIPTION="registerSubscription",events.PREVIEW_KEYDOWN="previewKeydown",events.SELECT_STORY="selectStory",events.STORIES_COLLAPSE_ALL="storiesCollapseAll",events.STORIES_EXPAND_ALL="storiesExpandAll",events.DOCS_RENDERED="docsRendered",events.SHARED_STATE_CHANGED="sharedStateChanged",events.SHARED_STATE_SET="sharedStateSet",events.NAVIGATE_URL="navigateUrl",events.UPDATE_QUERY_PARAMS="updateQueryParams"}(events||(events={}));const __WEBPACK_DEFAULT_EXPORT__=events;var CHANNEL_CREATED=events.CHANNEL_CREATED,CONFIG_ERROR=events.CONFIG_ERROR,STORY_INDEX_INVALIDATED=events.STORY_INDEX_INVALIDATED,STORY_SPECIFIED=events.STORY_SPECIFIED,SET_STORIES=events.SET_STORIES,SET_CURRENT_STORY=events.SET_CURRENT_STORY,CURRENT_STORY_WAS_SET=events.CURRENT_STORY_WAS_SET,FORCE_RE_RENDER=events.FORCE_RE_RENDER,FORCE_REMOUNT=events.FORCE_REMOUNT,STORY_PREPARED=events.STORY_PREPARED,STORY_CHANGED=events.STORY_CHANGED,STORY_UNCHANGED=events.STORY_UNCHANGED,STORY_RENDERED=events.STORY_RENDERED,STORY_MISSING=events.STORY_MISSING,STORY_ERRORED=events.STORY_ERRORED,STORY_THREW_EXCEPTION=events.STORY_THREW_EXCEPTION,STORY_RENDER_PHASE_CHANGED=events.STORY_RENDER_PHASE_CHANGED,UPDATE_STORY_ARGS=events.UPDATE_STORY_ARGS,STORY_ARGS_UPDATED=events.STORY_ARGS_UPDATED,RESET_STORY_ARGS=events.RESET_STORY_ARGS,SET_GLOBALS=events.SET_GLOBALS,UPDATE_GLOBALS=events.UPDATE_GLOBALS,GLOBALS_UPDATED=events.GLOBALS_UPDATED,REGISTER_SUBSCRIPTION=events.REGISTER_SUBSCRIPTION,PREVIEW_KEYDOWN=events.PREVIEW_KEYDOWN,SELECT_STORY=events.SELECT_STORY,STORIES_COLLAPSE_ALL=events.STORIES_COLLAPSE_ALL,STORIES_EXPAND_ALL=events.STORIES_EXPAND_ALL,DOCS_RENDERED=events.DOCS_RENDERED,SHARED_STATE_CHANGED=events.SHARED_STATE_CHANGED,SHARED_STATE_SET=events.SHARED_STATE_SET,NAVIGATE_URL=events.NAVIGATE_URL,UPDATE_QUERY_PARAMS=events.UPDATE_QUERY_PARAMS,IGNORED_EXCEPTION=new Error("ignoredException")},"./node_modules/@storybook/csf/dist/SBType.js":()=>{},"./node_modules/@storybook/csf/dist/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={sanitize:!0,toId:!0,storyNameFromExport:!0,isExportStory:!0,parseKind:!0};exports.isExportStory=function isExportStory(key,_ref){var includeStories=_ref.includeStories,excludeStories=_ref.excludeStories;return"__esModule"!==key&&(!includeStories||matches(key,includeStories))&&(!excludeStories||!matches(key,excludeStories))},exports.parseKind=exports.storyNameFromExport=exports.toId=exports.sanitize=void 0;var _startCase=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__("./node_modules/lodash/startCase.js")),_story=__webpack_require__("./node_modules/@storybook/csf/dist/story.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}Object.keys(_story).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _story[key]}}))}));var sanitize=function sanitize(string){return string.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")};exports.sanitize=sanitize;var sanitizeSafe=function sanitizeSafe(string,part){var sanitized=sanitize(string);if(""===sanitized)throw new Error("Invalid ".concat(part," '").concat(string,"', must include alphanumeric characters"));return sanitized};exports.toId=function toId(kind,name){return"".concat(sanitizeSafe(kind,"kind")).concat(name?"--".concat(sanitizeSafe(name,"name")):"")};function matches(storyKey,arrayOrRegex){return Array.isArray(arrayOrRegex)?arrayOrRegex.includes(storyKey):storyKey.match(arrayOrRegex)}exports.storyNameFromExport=function storyNameFromExport(key){return(0,_startCase.default)(key)};exports.parseKind=function parseKind(kind,_ref2){var rootSeparator=_ref2.rootSeparator,groupSeparator=_ref2.groupSeparator,_kind$split2=_slicedToArray(kind.split(rootSeparator,2),2),root=_kind$split2[0],remainder=_kind$split2[1];return{root:remainder?root:null,groups:(remainder||kind).split(groupSeparator).filter((function(i){return!!i}))}}},"./node_modules/@storybook/csf/dist/story.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _SBType=__webpack_require__("./node_modules/@storybook/csf/dist/SBType.js");Object.keys(_SBType).forEach((function(key){"default"!==key&&"__esModule"!==key&&Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _SBType[key]}})}))},"./node_modules/@storybook/react/dist/esm/client/index.js":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{addDecorator:()=>_preview__WEBPACK_IMPORTED_MODULE_0__.$9,addParameters:()=>_preview__WEBPACK_IMPORTED_MODULE_0__.h1,configure:()=>_preview__WEBPACK_IMPORTED_MODULE_0__.jQ,forceReRender:()=>_preview__WEBPACK_IMPORTED_MODULE_0__.nr,getStorybook:()=>_preview__WEBPACK_IMPORTED_MODULE_0__.pn,raw:()=>_preview__WEBPACK_IMPORTED_MODULE_0__.LZ,setAddon:()=>_preview__WEBPACK_IMPORTED_MODULE_0__.fV,storiesOf:()=>_preview__WEBPACK_IMPORTED_MODULE_0__.ML});var _preview__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/react/dist/esm/client/preview/index.js"),_preview_types_6_3__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/react/dist/esm/client/preview/types-6-3.js"),__WEBPACK_REEXPORT_OBJECT__={};for(const __WEBPACK_IMPORT_KEY__ in _preview_types_6_3__WEBPACK_IMPORTED_MODULE_1__)["default","storiesOf","setAddon","addDecorator","addParameters","configure","getStorybook","raw","forceReRender"].indexOf(__WEBPACK_IMPORT_KEY__)<0&&(__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__]=()=>_preview_types_6_3__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]);__webpack_require__.d(__webpack_exports__,__WEBPACK_REEXPORT_OBJECT__),(module=__webpack_require__.hmd(module))&&module.hot},"./node_modules/@storybook/react/dist/esm/client/preview/config-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var config_namespaceObject={};__webpack_require__.r(config_namespaceObject),__webpack_require__.d(config_namespaceObject,{parameters:()=>parameters,render:()=>render.s,renderToDOM:()=>render.A});var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),render=__webpack_require__("./node_modules/@storybook/react/dist/esm/client/preview/render.js"),parameters={framework:"react"};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(config_namespaceObject).forEach((function(key){var value=config_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.kg.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return(0,ClientApi.My)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return(0,ClientApi._C)(enhancer)}));case"render":return(0,ClientApi.$P)(value);case"globals":case"globalTypes":var v={};return v[key]=value,(0,ClientApi.h1)(v,!1);case"__namedExportsOrder":case"decorateStory":case"renderToDOM":return null;default:return console.log(key+" was not supported :( !")}}))},"./node_modules/@storybook/react/dist/esm/client/preview/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$9:()=>addDecorator,h1:()=>addParameters,jQ:()=>configure,nr:()=>forceReRender,pn:()=>getStorybook,LZ:()=>raw,fV:()=>setAddon,ML:()=>storiesOf});__webpack_require__("./node_modules/core-js/modules/es.array.concat.js");var _templateObject,ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),memoizerific=(__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/memoizerific/memoizerific.js")),memoizerific_default=__webpack_require__.n(memoizerific),mapValues=__webpack_require__("./node_modules/lodash/mapValues.js"),mapValues_default=__webpack_require__.n(mapValues),pick=__webpack_require__("./node_modules/lodash/pick.js"),pick_default=__webpack_require__.n(pick),global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),synchronous_promise=__webpack_require__("./node_modules/synchronous-promise/index.js"),esm=(__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/ts-dedent/esm/index.js"));function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var args_templateObject,_templateObject2,StoryIndexStore=function(){function StoryIndexStore(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{v:3,stories:{}},stories=_ref.stories;_classCallCheck(this,StoryIndexStore),this.channel=void 0,this.stories=void 0,this.stories=stories}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(StoryIndexStore,[{key:"storyIdFromSpecifier",value:function storyIdFromSpecifier(specifier){var storyIds=Object.keys(this.stories);if("*"===specifier)return storyIds[0];if("string"==typeof specifier)return storyIds.indexOf(specifier)>=0?specifier:storyIds.find((function(storyId){return storyId.startsWith(specifier)}));var name=specifier.name,title=specifier.title,match=Object.entries(this.stories).find((function(_ref2){var _ref3=_slicedToArray(_ref2,2),story=(_ref3[0],_ref3[1]);return story.name===name&&story.title===title}));return match&&match[0]}},{key:"storyIdToEntry",value:function storyIdToEntry(storyId){var storyEntry=this.stories[storyId];if(!storyEntry)throw new Error((0,esm.C)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["Couldn't find story matching '","' after HMR.\n - Did you remove it from your CSF file?\n - Are you sure a story with that id exists?\n - Please check your stories field of your main.js config.\n - Also check the browser console and terminal for error messages."])),storyId));return storyEntry}}]),StoryIndexStore}(),fast_deep_equal=(__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find-index.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.fill.js"),__webpack_require__("./node_modules/fast-deep-equal/index.js")),fast_deep_equal_default=__webpack_require__.n(fast_deep_equal),dist_esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),isPlainObject=__webpack_require__("./node_modules/lodash/isPlainObject.js"),isPlainObject_default=__webpack_require__.n(isPlainObject);function args_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return args_arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||args_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function args_slicedToArray(arr,i){return function args_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function args_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||args_unsupportedIterableToArray(arr,i)||function args_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function args_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return args_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?args_arrayLikeToArray(o,minLen):void 0}}function args_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var INCOMPATIBLE=Symbol("incompatible"),map=function map(arg,type){if(null==arg||!type)return arg;switch(type.name){case"string":return String(arg);case"enum":return arg;case"number":return Number(arg);case"boolean":return"true"===arg;case"array":return type.value&&Array.isArray(arg)?arg.reduce((function(acc,item,index){var mapped=map(item,type.value);return mapped!==INCOMPATIBLE&&(acc[index]=mapped),acc}),new Array(arg.length)):INCOMPATIBLE;case"object":return"string"==typeof arg||"number"==typeof arg?arg:type.value&&"object"===_typeof(arg)?Object.entries(arg).reduce((function(acc,_ref){var _ref2=args_slicedToArray(_ref,2),key=_ref2[0],val=_ref2[1],mapped=map(val,type.value[key]);return mapped===INCOMPATIBLE?acc:Object.assign(acc,_defineProperty({},key,mapped))}),{}):INCOMPATIBLE;default:return INCOMPATIBLE}},mapArgsToTypes=function mapArgsToTypes(args,argTypes){return Object.entries(args).reduce((function(acc,_ref3){var _ref4=args_slicedToArray(_ref3,2),key=_ref4[0],value=_ref4[1];if(!argTypes[key])return acc;var mapped=map(value,argTypes[key].type);return mapped===INCOMPATIBLE?acc:Object.assign(acc,_defineProperty({},key,mapped))}),{})},combineArgs=function combineArgs(value,update){return Array.isArray(value)&&Array.isArray(update)?update.reduce((function(acc,upd,index){return acc[index]=combineArgs(value[index],update[index]),acc}),_toConsumableArray(value)).filter((function(v){return void 0!==v})):isPlainObject_default()(value)&&isPlainObject_default()(update)?Object.keys(Object.assign({},value,update)).reduce((function(acc,key){if(key in update){var combined=combineArgs(value[key],update[key]);void 0!==combined&&(acc[key]=combined)}else acc[key]=value[key];return acc}),{}):update},DEEPLY_EQUAL=Symbol("Deeply equal"),deepDiff=function deepDiff(value,update){if(_typeof(value)!==_typeof(update))return update;if(fast_deep_equal_default()(value,update))return DEEPLY_EQUAL;if(Array.isArray(value)&&Array.isArray(update)){var res=update.reduce((function(acc,upd,index){var diff=deepDiff(value[index],upd);return diff!==DEEPLY_EQUAL&&(acc[index]=diff),acc}),new Array(update.length));return update.length>=value.length?res:res.concat(new Array(value.length-update.length).fill(void 0))}return isPlainObject_default()(value)&&isPlainObject_default()(update)?Object.keys(Object.assign({},value,update)).reduce((function(acc,key){var diff=deepDiff(null==value?void 0:value[key],null==update?void 0:update[key]);return diff===DEEPLY_EQUAL?acc:Object.assign(acc,_defineProperty({},key,diff))}),{}):update};function groupArgsByTarget(_ref7){var args=_ref7.args,argTypes=_ref7.argTypes,groupedArgs={};return Object.entries(args).forEach((function(_ref8){var _ref9=args_slicedToArray(_ref8,2),name=_ref9[0],value=_ref9[1],_ref10$target=(argTypes[name]||{}).target,target=void 0===_ref10$target?"":_ref10$target;groupedArgs[target]=groupedArgs[target]||{},groupedArgs[target][name]=value})),groupedArgs}function ArgsStore_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var GlobalsStore_templateObject,ArgsStore=function(){function ArgsStore(){!function ArgsStore_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ArgsStore),this.initialArgsByStoryId={},this.argsByStoryId={}}return function ArgsStore_createClass(Constructor,protoProps,staticProps){return protoProps&&ArgsStore_defineProperties(Constructor.prototype,protoProps),staticProps&&ArgsStore_defineProperties(Constructor,staticProps),Constructor}(ArgsStore,[{key:"get",value:function get(storyId){if(!(storyId in this.argsByStoryId))throw new Error("No args known for ".concat(storyId," -- has it been rendered yet?"));return this.argsByStoryId[storyId]}},{key:"setInitial",value:function setInitial(story){if(this.initialArgsByStoryId[story.id]){if(this.initialArgsByStoryId[story.id]!==story.initialArgs){var delta=deepDiff(this.initialArgsByStoryId[story.id],this.argsByStoryId[story.id]);this.initialArgsByStoryId[story.id]=story.initialArgs,this.argsByStoryId[story.id]=story.initialArgs,delta!==DEEPLY_EQUAL&&this.updateFromDelta(story,delta)}}else this.initialArgsByStoryId[story.id]=story.initialArgs,this.argsByStoryId[story.id]=story.initialArgs}},{key:"updateFromDelta",value:function updateFromDelta(story,delta){var validatedDelta=function validateOptions(args,argTypes){return Object.entries(argTypes).reduce((function(acc,_ref5){var _ref6=args_slicedToArray(_ref5,2),key=_ref6[0],options=_ref6[1].options;if(!options)return key in args&&(acc[key]=args[key]),acc;if(!Array.isArray(options))return dist_esm.IH.error((0,esm.C)(args_templateObject||(args_templateObject=args_taggedTemplateLiteral(["\n Invalid argType: '",".options' should be an array.\n\n More info: https://storybook.js.org/docs/react/api/argtypes\n "])),key)),acc[key]=args[key],acc;if(options.some((function(opt){return opt&&["object","function"].includes(_typeof(opt))})))return dist_esm.IH.error((0,esm.C)(_templateObject2||(_templateObject2=args_taggedTemplateLiteral(["\n Invalid argType: '",".options' should only contain primitives. Use a 'mapping' for complex values.\n\n More info: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values\n "])),key)),acc[key]=args[key],acc;var isArray=Array.isArray(args[key]),invalidIndex=isArray&&args[key].findIndex((function(val){return!options.includes(val)})),isValidArray=isArray&&-1===invalidIndex;if(void 0===args[key]||options.includes(args[key])||isValidArray)return acc[key]=args[key],acc;var field=isArray?"".concat(key,"[").concat(invalidIndex,"]"):key,supportedOptions=options.map((function(opt){return"string"==typeof opt?"'".concat(opt,"'"):String(opt)})).join(", ");return dist_esm.IH.warn("Received illegal value for '".concat(field,"'. Supported options: ").concat(supportedOptions)),acc}),{})}(delta,story.argTypes);this.argsByStoryId[story.id]=combineArgs(this.argsByStoryId[story.id],validatedDelta)}},{key:"updateFromPersisted",value:function updateFromPersisted(story,persisted){var mappedPersisted=mapArgsToTypes(persisted,story.argTypes);return this.updateFromDelta(story,mappedPersisted)}},{key:"update",value:function update(storyId,argsUpdate){if(!(storyId in this.argsByStoryId))throw new Error("No args known for ".concat(storyId," -- has it been rendered yet?"));this.argsByStoryId[storyId]=function deleteUndefined(obj){return Object.keys(obj).forEach((function(key){return void 0===obj[key]&&delete obj[key]})),obj}(Object.assign({},this.argsByStoryId[storyId],argsUpdate))}}]),ArgsStore}(),browser=(__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/util-deprecate/browser.js")),browser_default=__webpack_require__.n(browser);function GlobalsStore_slicedToArray(arr,i){return function GlobalsStore_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function GlobalsStore_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||GlobalsStore_unsupportedIterableToArray(arr,i)||function GlobalsStore_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function GlobalsStore_toConsumableArray(arr){return function GlobalsStore_arrayWithoutHoles(arr){if(Array.isArray(arr))return GlobalsStore_arrayLikeToArray(arr)}(arr)||function GlobalsStore_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||GlobalsStore_unsupportedIterableToArray(arr)||function GlobalsStore_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function GlobalsStore_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return GlobalsStore_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?GlobalsStore_arrayLikeToArray(o,minLen):void 0}}function GlobalsStore_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function GlobalsStore_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var normalizeStory_templateObject,setUndeclaredWarning=browser_default()((function(){}),(0,esm.C)(GlobalsStore_templateObject||(GlobalsStore_templateObject=function GlobalsStore_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Setting a global value that is undeclared (i.e. not in the user's initial set of globals\n or globalTypes) is deprecated and will have no effect in 7.0.\n "])))),GlobalsStore=function(){function GlobalsStore(){!function GlobalsStore_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,GlobalsStore),this.allowedGlobalNames=void 0,this.initialGlobals=void 0,this.globals={}}return function GlobalsStore_createClass(Constructor,protoProps,staticProps){return protoProps&&GlobalsStore_defineProperties(Constructor.prototype,protoProps),staticProps&&GlobalsStore_defineProperties(Constructor,staticProps),Constructor}(GlobalsStore,[{key:"set",value:function set(_ref){var _ref$globals=_ref.globals,globals=void 0===_ref$globals?{}:_ref$globals,_ref$globalTypes=_ref.globalTypes,globalTypes=void 0===_ref$globalTypes?{}:_ref$globalTypes,delta=this.initialGlobals&&deepDiff(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([].concat(GlobalsStore_toConsumableArray(Object.keys(globals)),GlobalsStore_toConsumableArray(Object.keys(globalTypes))));var defaultGlobals=Object.entries(globalTypes).reduce((function(acc,_ref2){var _ref3=GlobalsStore_slicedToArray(_ref2,2),key=_ref3[0],defaultValue=_ref3[1].defaultValue;return defaultValue&&(acc[key]=defaultValue),acc}),{});this.initialGlobals=Object.assign({},defaultGlobals,globals),this.globals=this.initialGlobals,delta&&delta!==DEEPLY_EQUAL&&this.updateFromPersisted(delta)}},{key:"filterAllowedGlobals",value:function filterAllowedGlobals(globals){var _this=this;return Object.entries(globals).reduce((function(acc,_ref4){var _ref5=GlobalsStore_slicedToArray(_ref4,2),key=_ref5[0],value=_ref5[1];return _this.allowedGlobalNames.has(key)&&(acc[key]=value),acc}),{})}},{key:"updateFromPersisted",value:function updateFromPersisted(persisted){var allowedUrlGlobals=this.filterAllowedGlobals(persisted);this.globals=Object.assign({},this.globals,allowedUrlGlobals)}},{key:"get",value:function get(){return this.globals}},{key:"update",value:function update(newGlobals){var _this2=this;Object.keys(newGlobals).forEach((function(key){_this2.allowedGlobalNames.has(key)||setUndeclaredWarning()})),this.globals=Object.assign({},this.globals,newGlobals)}}]),GlobalsStore}(),dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),normalizeInputTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/normalizeInputTypes.js");function normalizeStory_toConsumableArray(arr){return function normalizeStory_arrayWithoutHoles(arr){if(Array.isArray(arr))return normalizeStory_arrayLikeToArray(arr)}(arr)||function normalizeStory_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||function normalizeStory_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return normalizeStory_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return normalizeStory_arrayLikeToArray(o,minLen)}(arr)||function normalizeStory_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function normalizeStory_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var deprecatedStoryAnnotation=(0,esm.C)(normalizeStory_templateObject||(normalizeStory_templateObject=function normalizeStory_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\nCSF .story annotations deprecated; annotate story functions directly:\n- StoryFn.story.name => StoryFn.storyName\n- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)\nSee https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.\n"]))),deprecatedStoryAnnotationWarning=browser_default()((function(){}),deprecatedStoryAnnotation);function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var checkDisallowedParameters=function checkDisallowedParameters(parameters){parameters&&(function checkGlobals(parameters){var globals=parameters.globals,globalTypes=parameters.globalTypes;(globals||globalTypes)&&dist_esm.kg.error("Global args/argTypes can only be set globally",JSON.stringify({globals,globalTypes}))}(parameters),function checkStorySort(parameters){var options=parameters.options;null!=options&&options.storySort&&dist_esm.kg.error("The storySort option parameter can only be set globally")}(parameters))};function processCSFFile(moduleExports,importPath,title){var defaultExport=moduleExports.default,namedExports=(moduleExports.__namedExportsOrder,_objectWithoutProperties(moduleExports,["default","__namedExportsOrder"])),id=defaultExport.id,argTypes=defaultExport.argTypes,meta=Object.assign({id:(0,dist.sanitize)(id||title)},defaultExport,{title},argTypes&&{argTypes:(0,normalizeInputTypes.x)(argTypes)},{parameters:Object.assign({fileName:importPath},defaultExport.parameters)});checkDisallowedParameters(meta.parameters);var csfFile={meta,stories:{}};return Object.keys(namedExports).forEach((function(key){if((0,dist.isExportStory)(key,meta)){var storyMeta=function normalizeStory(key,storyAnnotations,meta){var userStoryFn,storyObject;"function"==typeof storyAnnotations?(userStoryFn=storyAnnotations,storyObject=storyAnnotations):storyObject=storyAnnotations;var story=storyObject.story;story&&(dist_esm.kg.debug("deprecated story",story),deprecatedStoryAnnotationWarning());var exportName=(0,dist.storyNameFromExport)(key),name="function"!=typeof storyObject&&storyObject.name||storyObject.storyName||(null==story?void 0:story.name)||exportName,decorators=[].concat(normalizeStory_toConsumableArray(storyObject.decorators||[]),normalizeStory_toConsumableArray((null==story?void 0:story.decorators)||[])),parameters=Object.assign({},null==story?void 0:story.parameters,storyObject.parameters),args=Object.assign({},null==story?void 0:story.args,storyObject.args),argTypes=Object.assign({},null==story?void 0:story.argTypes,storyObject.argTypes),loaders=[].concat(normalizeStory_toConsumableArray(storyObject.loaders||[]),normalizeStory_toConsumableArray((null==story?void 0:story.loaders)||[])),_storyObject2=storyObject,render=_storyObject2.render,play=_storyObject2.play,id=parameters.__id||(0,dist.toId)(meta.id||meta.title,exportName);return Object.assign({id,name,decorators,parameters,args,argTypes:(0,normalizeInputTypes.x)(argTypes),loaders},render&&{render},userStoryFn&&{userStoryFn},play&&{play})}(key,namedExports[key],meta);checkDisallowedParameters(storyMeta.parameters),csfFile.stories[storyMeta.id]=storyMeta}})),csfFile}var prepareStory_templateObject,esm_parameters=__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js"),hooks=__webpack_require__("./node_modules/@storybook/addons/dist/esm/hooks.js");function decorators_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function decorators_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function defaultDecorateStory(storyFn,decorators){var contextStore={},bindWithContext=function bindWithContext(decoratedStoryFn){return function(update){return contextStore.value=Object.assign({},contextStore.value,function sanitizeStoryContextUpdate(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _ref.componentId,_ref.title,_ref.kind,_ref.id,_ref.name,_ref.story,_ref.parameters,_ref.initialArgs,_ref.argTypes,decorators_objectWithoutProperties(_ref,["componentId","title","kind","id","name","story","parameters","initialArgs","argTypes"])}(update)),decoratedStoryFn(contextStore.value)}},decoratedWithContextStore=decorators.reduce((function(story,decorator){return function decorateStory(storyFn,decorator,bindWithContext){var boundStoryFunction=bindWithContext(storyFn);return function(context){return decorator(boundStoryFunction,context)}}(story,decorator,bindWithContext)}),storyFn);return function(context){return contextStore.value=context,decoratedWithContextStore(context)}}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function prepareStory_slicedToArray(arr,i){return function prepareStory_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function prepareStory_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||prepareStory_unsupportedIterableToArray(arr,i)||function prepareStory_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function prepareStory_toConsumableArray(arr){return function prepareStory_arrayWithoutHoles(arr){if(Array.isArray(arr))return prepareStory_arrayLikeToArray(arr)}(arr)||function prepareStory_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||prepareStory_unsupportedIterableToArray(arr)||function prepareStory_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function prepareStory_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return prepareStory_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?prepareStory_arrayLikeToArray(o,minLen):void 0}}function prepareStory_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var inferArgTypes_templateObject,argTypeDefaultValueWarning=browser_default()((function(){}),(0,esm.C)(prepareStory_templateObject||(prepareStory_templateObject=function prepareStory_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n `argType.defaultValue` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#no-longer-inferring-default-values-of-args"],["\n \\`argType.defaultValue\\` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#no-longer-inferring-default-values-of-args"]))));function prepareStory(storyAnnotations,componentAnnotations,projectAnnotations){var _global$FEATURES,id=storyAnnotations.id,name=storyAnnotations.name,title=componentAnnotations.title,parameters=(0,esm_parameters.f)(projectAnnotations.parameters,componentAnnotations.parameters,storyAnnotations.parameters),decorators=[].concat(prepareStory_toConsumableArray(storyAnnotations.decorators||[]),prepareStory_toConsumableArray(componentAnnotations.decorators||[]),prepareStory_toConsumableArray(projectAnnotations.decorators||[])),_projectAnnotations$a=projectAnnotations.applyDecorators,applyDecorators=void 0===_projectAnnotations$a?defaultDecorateStory:_projectAnnotations$a,_projectAnnotations$a2=projectAnnotations.argTypesEnhancers,argTypesEnhancers=void 0===_projectAnnotations$a2?[]:_projectAnnotations$a2,_projectAnnotations$a3=projectAnnotations.argsEnhancers,argsEnhancers=void 0===_projectAnnotations$a3?[]:_projectAnnotations$a3,loaders=[].concat(prepareStory_toConsumableArray(projectAnnotations.loaders||[]),prepareStory_toConsumableArray(componentAnnotations.loaders||[]),prepareStory_toConsumableArray(storyAnnotations.loaders||[])),render=storyAnnotations.userStoryFn||storyAnnotations.render||componentAnnotations.render||projectAnnotations.render,passedArgTypes=(0,esm_parameters.f)(projectAnnotations.argTypes,componentAnnotations.argTypes,storyAnnotations.argTypes),_parameters$passArgsF=parameters.passArgsFirst,passArgsFirst=void 0===_parameters$passArgsF||_parameters$passArgsF;parameters.__isArgsStory=passArgsFirst&&render.length>0;var passedArgs=Object.assign({},projectAnnotations.args,componentAnnotations.args,storyAnnotations.args),contextForEnhancers={componentId:componentAnnotations.id,title,kind:title,id,name,story:name,component:componentAnnotations.component,subcomponents:componentAnnotations.subcomponents,parameters,initialArgs:passedArgs,argTypes:passedArgTypes};contextForEnhancers.argTypes=argTypesEnhancers.reduce((function(accumulatedArgTypes,enhancer){return enhancer(Object.assign({},contextForEnhancers,{argTypes:accumulatedArgTypes}))}),contextForEnhancers.argTypes);var defaultArgs=Object.entries(contextForEnhancers.argTypes).reduce((function(acc,_ref){var _ref2=prepareStory_slicedToArray(_ref,2),arg=_ref2[0],defaultValue=_ref2[1].defaultValue;return void 0!==defaultValue&&(acc[arg]=defaultValue),acc}),{});Object.keys(defaultArgs).length>0&&argTypeDefaultValueWarning();var initialArgsBeforeEnhancers=Object.assign({},defaultArgs,passedArgs);contextForEnhancers.initialArgs=argsEnhancers.reduce((function(accumulatedArgs,enhancer){return Object.assign({},accumulatedArgs,enhancer(Object.assign({},contextForEnhancers,{initialArgs:accumulatedArgs})))}),initialArgsBeforeEnhancers),null!==(_global$FEATURES=window_default().FEATURES)&&void 0!==_global$FEATURES&&_global$FEATURES.breakingChangesV7||(contextForEnhancers.parameters=Object.assign({},contextForEnhancers.parameters,{__id:id,globals:projectAnnotations.globals,globalTypes:projectAnnotations.globalTypes,args:contextForEnhancers.initialArgs,argTypes:contextForEnhancers.argTypes}));var applyLoaders=function(){var _ref3=function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(regeneratorRuntime.mark((function _callee(context){var loadResults,loaded;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,Promise.all(loaders.map((function(loader){return loader(context)})));case 2:return loadResults=_context.sent,loaded=Object.assign.apply(Object,[{}].concat(prepareStory_toConsumableArray(loadResults))),_context.abrupt("return",Object.assign({},context,{loaded}));case 5:case"end":return _context.stop()}}),_callee)})));return function applyLoaders(_x){return _ref3.apply(this,arguments)}}(),undecoratedStoryFn=function undecoratedStoryFn(context){var mappedArgs=Object.entries(context.args).reduce((function(acc,_ref4){var _context$argTypes$key,_ref5=prepareStory_slicedToArray(_ref4,2),key=_ref5[0],val=_ref5[1],mapping=null===(_context$argTypes$key=context.argTypes[key])||void 0===_context$argTypes$key?void 0:_context$argTypes$key.mapping;return acc[key]=mapping&&val in mapping?mapping[val]:val,acc}),{}),mappedContext=Object.assign({},context,{args:mappedArgs}),_context$parameters$p=context.parameters.passArgsFirst;return void 0===_context$parameters$p||_context$parameters$p?render(mappedContext.args,mappedContext):render(mappedContext)},decoratedStoryFn=(0,hooks.DM)(applyDecorators)(undecoratedStoryFn,decorators),playFunction=storyAnnotations.play;return Object.freeze(Object.assign({},contextForEnhancers,{originalStoryFn:render,undecoratedStoryFn,unboundStoryFn:function unboundStoryFn(context){var _global$FEATURES2,finalContext=context;if(null!==(_global$FEATURES2=window_default().FEATURES)&&void 0!==_global$FEATURES2&&_global$FEATURES2.argTypeTargetsV7){var argsByTarget=groupArgsByTarget(Object.assign({args:context.args},context));finalContext=Object.assign({},context,{allArgs:context.args,argsByTarget,args:argsByTarget[""]||{}})}return decoratedStoryFn(finalContext)},applyLoaders,playFunction}))}function inferArgTypes_typeof(obj){return inferArgTypes_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},inferArgTypes_typeof(obj)}var inferType=function inferType(value,name,visited){var type=inferArgTypes_typeof(value);switch(type){case"boolean":case"string":case"number":case"function":case"symbol":return{name:type}}return value?visited.has(value)?(dist_esm.kg.warn((0,esm.C)(inferArgTypes_templateObject||(inferArgTypes_templateObject=function inferArgTypes_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n We've detected a cycle in arg '","'. Args should be JSON-serializable.\n\n Consider using the mapping feature or fully custom args:\n - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values\n - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args\n "])),name)),{name:"other",value:"cyclic object"}):(visited.add(value),Array.isArray(value)?{name:"array",value:value.length>0?inferType(value[0],name,new Set(visited)):{name:"other",value:"unknown"}}:{name:"object",value:mapValues_default()(value,(function(field){return inferType(field,name,new Set(visited))}))}):{name:"object",value:{}}},inferArgTypes=function inferArgTypes(context){var id=context.id,_context$argTypes=context.argTypes,userArgTypes=void 0===_context$argTypes?{}:_context$argTypes,_context$initialArgs=context.initialArgs,initialArgs=void 0===_context$initialArgs?{}:_context$initialArgs,argTypes=mapValues_default()(initialArgs,(function(arg,key){return{name:key,type:inferType(arg,"".concat(id,".").concat(key),new Set)}})),userArgTypesNames=mapValues_default()(userArgTypes,(function(argType,key){return{name:key}}));return(0,esm_parameters.f)(argTypes,userArgTypesNames,userArgTypes)};inferArgTypes.secondPass=!0;var filterArgTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/filterArgTypes.js"),inferControls=function inferControls(context){var argTypes=context.argTypes,_context$parameters=context.parameters,__isArgsStory=_context$parameters.__isArgsStory,_context$parameters$c=_context$parameters.controls,_context$parameters$c2=(_context$parameters$c=void 0===_context$parameters$c?{}:_context$parameters$c).include,include=void 0===_context$parameters$c2?null:_context$parameters$c2,_context$parameters$c3=_context$parameters$c.exclude,exclude=void 0===_context$parameters$c3?null:_context$parameters$c3,_context$parameters$c4=_context$parameters$c.matchers,matchers=void 0===_context$parameters$c4?{}:_context$parameters$c4;if(!__isArgsStory)return argTypes;var filteredArgTypes=(0,filterArgTypes.h)(argTypes,include,exclude),withControls=mapValues_default()(filteredArgTypes,(function(argType,name){return(null==argType?void 0:argType.type)&&function inferControl(argType,name,matchers){var type=argType.type,options=argType.options;if(type||options){if(matchers.color&&matchers.color.test(name)){var controlType=argType.type.name;if("string"===controlType)return{control:{type:"color"}};dist_esm.kg.warn('Addon controls: Control of type color only supports string, received "'.concat(controlType,'" instead'))}if(matchers.date&&matchers.date.test(name))return{control:{type:"date"}};switch(type.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":var value=type.value;return{control:{type:(null==value?void 0:value.length)<=5?"radio":"select"},options:value};case"function":case"symbol":return null;default:return{control:{type:options?"select":"object"}}}}}(argType,name,matchers)}));return(0,esm_parameters.f)(withControls,filteredArgTypes)};inferControls.secondPass=!0;function StoryStore_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function StoryStore_slicedToArray(arr,i){return function StoryStore_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function StoryStore_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||StoryStore_unsupportedIterableToArray(arr,i)||function StoryStore_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function StoryStore_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function StoryStore_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){StoryStore_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){StoryStore_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function StoryStore_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function StoryStore_toConsumableArray(arr){return function StoryStore_arrayWithoutHoles(arr){if(Array.isArray(arr))return StoryStore_arrayLikeToArray(arr)}(arr)||function StoryStore_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||StoryStore_unsupportedIterableToArray(arr)||function StoryStore_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function StoryStore_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return StoryStore_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?StoryStore_arrayLikeToArray(o,minLen):void 0}}function StoryStore_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function StoryStore_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function StoryStore_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var parseArgsParam_templateObject,StoryStore=function(){function StoryStore(){var _this=this;!function StoryStore_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,StoryStore),this.storyIndex=void 0,this.importFn=void 0,this.projectAnnotations=void 0,this.globals=void 0,this.args=void 0,this.hooks=void 0,this.cachedCSFFiles=void 0,this.processCSFFileWithCache=void 0,this.prepareStoryWithCache=void 0,this.initializationPromise=void 0,this.resolveInitializationPromise=void 0,this.getStoriesJsonData=function(){var value=_this.getSetStoriesPayload(),allowedParameters=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:mapValues_default()(value.stories,(function(story){var _global$FEATURES;return Object.assign({},pick_default()(story,["id","name","title"]),{importPath:_this.storyIndex.stories[story.id].importPath},!(null!==(_global$FEATURES=window_default().FEATURES)&&void 0!==_global$FEATURES&&_global$FEATURES.breakingChangesV7)&&{kind:story.title,story:story.name,parameters:Object.assign({},pick_default()(story.parameters,allowedParameters),{fileName:_this.storyIndex.stories[story.id].importPath})})}))}},this.globals=new GlobalsStore,this.args=new ArgsStore,this.hooks={},this.processCSFFileWithCache=memoizerific_default()(1e3)(processCSFFile),this.prepareStoryWithCache=memoizerific_default()(1e4)(prepareStory),this.initializationPromise=new synchronous_promise.SynchronousPromise((function(resolve){_this.resolveInitializationPromise=resolve}))}var _loadStory,_onStoriesChanged;return function StoryStore_createClass(Constructor,protoProps,staticProps){return protoProps&&StoryStore_defineProperties(Constructor.prototype,protoProps),staticProps&&StoryStore_defineProperties(Constructor,staticProps),Constructor}(StoryStore,[{key:"setProjectAnnotations",value:function setProjectAnnotations(projectAnnotations){this.projectAnnotations=function normalizeProjectAnnotations(_ref){var argTypes=_ref.argTypes,globalTypes=_ref.globalTypes,argTypesEnhancers=_ref.argTypesEnhancers,annotations=StoryStore_objectWithoutProperties(_ref,["argTypes","globalTypes","argTypesEnhancers"]);return Object.assign({},argTypes&&{argTypes:(0,normalizeInputTypes.x)(argTypes)},globalTypes&&{globalTypes:(0,normalizeInputTypes.x)(globalTypes)},{argTypesEnhancers:[].concat(StoryStore_toConsumableArray(argTypesEnhancers||[]),[inferArgTypes,inferControls])},annotations)}(projectAnnotations);var globals=projectAnnotations.globals,globalTypes=projectAnnotations.globalTypes;this.globals.set({globals,globalTypes})}},{key:"initialize",value:function initialize(_ref2){var storyIndex=_ref2.storyIndex,importFn=_ref2.importFn,_ref2$cache=_ref2.cache,cache=void 0!==_ref2$cache&&_ref2$cache;return this.storyIndex=new StoryIndexStore(storyIndex),this.importFn=importFn,this.resolveInitializationPromise(),cache?this.cacheAllCSFFiles():synchronous_promise.SynchronousPromise.resolve()}},{key:"onStoriesChanged",value:(_onStoriesChanged=StoryStore_asyncToGenerator(regeneratorRuntime.mark((function _callee(_ref3){var importFn,storyIndex;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(importFn=_ref3.importFn,storyIndex=_ref3.storyIndex,importFn&&(this.importFn=importFn),storyIndex&&(this.storyIndex.stories=storyIndex.stories),!this.cachedCSFFiles){_context.next=6;break}return _context.next=6,this.cacheAllCSFFiles();case 6:case"end":return _context.stop()}}),_callee,this)}))),function onStoriesChanged(_x){return _onStoriesChanged.apply(this,arguments)})},{key:"loadCSFFileByStoryId",value:function loadCSFFileByStoryId(storyId){var _this2=this,_this$storyIndex$stor=this.storyIndex.storyIdToEntry(storyId),importPath=_this$storyIndex$stor.importPath,title=_this$storyIndex$stor.title;return this.importFn(importPath).then((function(moduleExports){return _this2.processCSFFileWithCache(moduleExports,importPath,title)}))}},{key:"loadAllCSFFiles",value:function loadAllCSFFiles(){var _this3=this,importPaths={};Object.entries(this.storyIndex.stories).forEach((function(_ref4){var _ref5=StoryStore_slicedToArray(_ref4,2),storyId=_ref5[0],importPath=_ref5[1].importPath;importPaths[importPath]=storyId}));var csfFilePromiseList=Object.entries(importPaths).map((function(_ref6){var _ref7=StoryStore_slicedToArray(_ref6,2),importPath=_ref7[0],storyId=_ref7[1];return _this3.loadCSFFileByStoryId(storyId).then((function(csfFile){return{importPath,csfFile}}))}));return synchronous_promise.SynchronousPromise.all(csfFilePromiseList).then((function(list){return list.reduce((function(acc,_ref8){var importPath=_ref8.importPath,csfFile=_ref8.csfFile;return acc[importPath]=csfFile,acc}),{})}))}},{key:"cacheAllCSFFiles",value:function cacheAllCSFFiles(){var _this4=this;return this.initializationPromise.then((function(){return _this4.loadAllCSFFiles().then((function(csfFiles){_this4.cachedCSFFiles=csfFiles}))}))}},{key:"loadStory",value:(_loadStory=StoryStore_asyncToGenerator(regeneratorRuntime.mark((function _callee2(_ref9){var storyId,csfFile;return regeneratorRuntime.wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return storyId=_ref9.storyId,_context2.next=3,this.initializationPromise;case 3:return _context2.next=5,this.loadCSFFileByStoryId(storyId);case 5:return csfFile=_context2.sent,_context2.abrupt("return",this.storyFromCSFFile({storyId,csfFile}));case 7:case"end":return _context2.stop()}}),_callee2,this)}))),function loadStory(_x2){return _loadStory.apply(this,arguments)})},{key:"storyFromCSFFile",value:function storyFromCSFFile(_ref10){var storyId=_ref10.storyId,csfFile=_ref10.csfFile,storyAnnotations=csfFile.stories[storyId];if(!storyAnnotations)throw new Error("Didn't find '".concat(storyId,"' in CSF file, this is unexpected"));var componentAnnotations=csfFile.meta,story=this.prepareStoryWithCache(storyAnnotations,componentAnnotations,this.projectAnnotations);return this.args.setInitial(story),this.hooks[story.id]=this.hooks[story.id]||new hooks.c8,story}},{key:"componentStoriesFromCSFFile",value:function componentStoriesFromCSFFile(_ref11){var _this5=this,csfFile=_ref11.csfFile;return Object.keys(this.storyIndex.stories).filter((function(storyId){return!!csfFile.stories[storyId]})).map((function(storyId){return _this5.storyFromCSFFile({storyId,csfFile})}))}},{key:"getStoryContext",value:function getStoryContext(story){return Object.assign({},story,{args:this.args.get(story.id),globals:this.globals.get(),hooks:this.hooks[story.id]})}},{key:"cleanupStory",value:function cleanupStory(story){this.hooks[story.id].clean()}},{key:"extract",value:function extract(){var _this6=this,options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeDocsOnly:!1};if(!this.cachedCSFFiles)throw new Error("Cannot call extract() unless you call cacheAllCSFFiles() first.");return Object.entries(this.storyIndex.stories).reduce((function(acc,_ref12){var _ref13=StoryStore_slicedToArray(_ref12,2),storyId=_ref13[0],importPath=_ref13[1].importPath,csfFile=_this6.cachedCSFFiles[importPath],story=_this6.storyFromCSFFile({storyId,csfFile});return!options.includeDocsOnly&&story.parameters.docsOnly||(acc[storyId]=Object.entries(story).reduce((function(storyAcc,_ref14){var _ref15=StoryStore_slicedToArray(_ref14,2),key=_ref15[0],value=_ref15[1];return"function"==typeof value?storyAcc:Array.isArray(value)?Object.assign(storyAcc,StoryStore_defineProperty({},key,value.slice().sort())):Object.assign(storyAcc,StoryStore_defineProperty({},key,value))}),{args:story.initialArgs})),acc}),{})}},{key:"getSetStoriesPayload",value:function getSetStoriesPayload(){var stories=this.extract({includeDocsOnly:!0}),kindParameters=Object.values(stories).reduce((function(acc,_ref16){return acc[_ref16.title]={},acc}),{});return{v:2,globals:this.globals.get(),globalParameters:{},kindParameters,stories}}},{key:"raw",value:function raw(){var _this7=this;return Object.values(this.extract()).map((function(_ref17){var id=_ref17.id;return _this7.fromId(id)}))}},{key:"fromId",value:function fromId(storyId){var importPath,_this8=this;if(!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");try{importPath=this.storyIndex.storyIdToEntry(storyId).importPath}catch(err){return null}var csfFile=this.cachedCSFFiles[importPath],story=this.storyFromCSFFile({storyId,csfFile});return Object.assign({},story,{storyFn:function storyFn(update){var context=Object.assign({},_this8.getStoryContext(story),{viewMode:"story"});return story.unboundStoryFn(Object.assign({},context,update))}})}}]),StoryStore}(),core_events_dist_esm=__webpack_require__("./node_modules/@storybook/core-events/dist/esm/index.js"),addons_dist_esm=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js"),lib=(__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.search.js"),__webpack_require__("./node_modules/qs/lib/index.js")),lib_default=__webpack_require__.n(lib);__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.ends-with.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js");function parseArgsParam_slicedToArray(arr,i){return function parseArgsParam_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function parseArgsParam_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function parseArgsParam_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return parseArgsParam_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return parseArgsParam_arrayLikeToArray(o,minLen)}(arr,i)||function parseArgsParam_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function parseArgsParam_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var VALIDATION_REGEXP=/^[a-zA-Z0-9 _-]*$/,NUMBER_REGEXP=/^-?[0-9]+(\.[0-9]+)?$/,HEX_REGEXP=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,COLOR_REGEXP=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,validateArgs=function validateArgs(){var key=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",value=arguments.length>1?arguments[1]:void 0;return null!==key&&(!(""===key||!VALIDATION_REGEXP.test(key))&&(null==value||(value instanceof Date||("number"==typeof value||"boolean"==typeof value||("string"==typeof value?VALIDATION_REGEXP.test(value)||NUMBER_REGEXP.test(value)||HEX_REGEXP.test(value)||COLOR_REGEXP.test(value):Array.isArray(value)?value.every((function(v){return validateArgs(key,v)})):!!isPlainObject_default()(value)&&Object.entries(value).every((function(_ref){var _ref2=parseArgsParam_slicedToArray(_ref,2),k=_ref2[0],v=_ref2[1];return validateArgs(k,v)})))))))},QS_OPTIONS={delimiter:";",allowDots:!0,allowSparse:!0,decoder:function(_decoder){function decoder(_x,_x2,_x3,_x4){return _decoder.apply(this,arguments)}return decoder.toString=function(){return _decoder.toString()},decoder}((function(str,defaultDecoder,charset,type){if("value"===type&&str.startsWith("!")){if("!undefined"===str)return;if("!null"===str)return null;if(str.startsWith("!date(")&&str.endsWith(")"))return new Date(str.slice(6,-1));if(str.startsWith("!hex(")&&str.endsWith(")"))return"#".concat(str.slice(5,-1));var color=str.slice(1).match(COLOR_REGEXP);if(color)return str.startsWith("!rgba")?"".concat(color[1],"(").concat(color[2],", ").concat(color[3],", ").concat(color[4],", ").concat(color[5],")"):str.startsWith("!hsla")?"".concat(color[1],"(").concat(color[2],", ").concat(color[3],"%, ").concat(color[4],"%, ").concat(color[5],")"):str.startsWith("!rgb")?"".concat(color[1],"(").concat(color[2],", ").concat(color[3],", ").concat(color[4],")"):"".concat(color[1],"(").concat(color[2],", ").concat(color[3],"%, ").concat(color[4],"%)")}return"value"===type&&NUMBER_REGEXP.test(str)?Number(str):defaultDecoder(str,defaultDecoder,charset)}))},parseArgsParam=function parseArgsParam(argsString){var parts=argsString.split(";").map((function(part){return part.replace("=","~").replace(":","=")}));return Object.entries(lib_default().parse(parts.join(";"),QS_OPTIONS)).reduce((function(acc,_ref3){var _ref4=parseArgsParam_slicedToArray(_ref3,2),key=_ref4[0],value=_ref4[1];return validateArgs(key,value)?Object.assign(acc,function parseArgsParam_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},key,value)):(dist_esm.IH.warn((0,esm.C)(parseArgsParam_templateObject||(parseArgsParam_templateObject=function parseArgsParam_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Omitted potentially unsafe URL args.\n\n More info: https://storybook.js.org/docs/react/writing-stories/args#setting-args-through-the-url\n "])))),acc)}),{})};function UrlStore_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function UrlStore_typeof(obj){return UrlStore_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},UrlStore_typeof(obj)}function UrlStore_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function UrlStore_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var UrlStore_history=window_default().history,UrlStore_document=window_default().document;var WebView_templateObject,getQueryString=function getQueryString(_ref){var selection=_ref.selection,extraParams=_ref.extraParams,_document$location$se=UrlStore_document.location.search,search=void 0===_document$location$se?"":_document$location$se,_qs$parse=lib_default().parse(search,{ignoreQueryPrefix:!0}),rest=(_qs$parse.path,_qs$parse.selectedKind,_qs$parse.selectedStory,UrlStore_objectWithoutProperties(_qs$parse,["path","selectedKind","selectedStory"]));return lib_default().stringify(Object.assign({},rest,extraParams,selection&&{id:selection.storyId,viewMode:selection.viewMode}),{encode:!1,addQueryPrefix:!0})},getFirstString=function getFirstString(v){return"string"==typeof v?v:Array.isArray(v)?getFirstString(v[0]):function isObject(val){return null!=val&&"object"===UrlStore_typeof(val)&&!1===Array.isArray(val)}(v)?getFirstString(Object.values(v)):void 0},deprecatedLegacyQuery=browser_default()((function(){return 0}),"URL formats with `selectedKind` and `selectedName` query parameters are deprecated.\nUse `id=$storyId` instead.\nSee https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-url-structure"),getSelectionSpecifierFromPath=function getSelectionSpecifierFromPath(){var query=lib_default().parse(UrlStore_document.location.search,{ignoreQueryPrefix:!0}),args="string"==typeof query.args?parseArgsParam(query.args):void 0,globals="string"==typeof query.globals?parseArgsParam(query.globals):void 0,viewMode=getFirstString(query.viewMode);"string"==typeof viewMode&&viewMode.match(/docs|story/)||(viewMode="story");var path=getFirstString(query.path),storyId=path?function pathToId(path){var match=(path||"").match(/^\/story\/(.+)/);if(!match)throw new Error("Invalid path '".concat(path,"', must start with '/story/'"));return match[1]}(path):getFirstString(query.id);if(storyId)return{storySpecifier:storyId,args,globals,viewMode};var title=getFirstString(query.selectedKind),name=getFirstString(query.selectedStory);return title&&name?(deprecatedLegacyQuery(),{storySpecifier:{title,name},args,globals,viewMode}):null},UrlStore=function(){function UrlStore(){!function UrlStore_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,UrlStore),this.selectionSpecifier=void 0,this.selection=void 0,this.selectionSpecifier=getSelectionSpecifierFromPath()}return function UrlStore_createClass(Constructor,protoProps,staticProps){return protoProps&&UrlStore_defineProperties(Constructor.prototype,protoProps),staticProps&&UrlStore_defineProperties(Constructor,staticProps),Constructor}(UrlStore,[{key:"setSelection",value:function setSelection(selection){this.selection=selection,function setPath(selection){if(selection){var query=getQueryString({selection}),_document$location$ha=UrlStore_document.location.hash,hash=void 0===_document$location$ha?"":_document$location$ha;UrlStore_history.replaceState({},"","".concat(UrlStore_document.location.pathname).concat(query).concat(hash))}}(this.selection)}},{key:"setQueryParams",value:function setQueryParams(queryParams){var query=getQueryString({extraParams:queryParams}),_document$location$ha2=UrlStore_document.location.hash,hash=void 0===_document$location$ha2?"":_document$location$ha2;UrlStore_history.replaceState({},"","".concat(UrlStore_document.location.pathname).concat(query).concat(hash))}}]),UrlStore}(),ansi_to_html=__webpack_require__("./node_modules/ansi-to-html/lib/ansi_to_html.js"),ansi_to_html_default=__webpack_require__.n(ansi_to_html);function WebView_slicedToArray(arr,i){return function WebView_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function WebView_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function WebView_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return WebView_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WebView_arrayLikeToArray(o,minLen)}(arr,i)||function WebView_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function WebView_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function WebView_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var Mode,WebView_document=window_default().document,layoutClassMap={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"};!function(Mode){Mode.MAIN="MAIN",Mode.NOPREVIEW="NOPREVIEW",Mode.PREPARING_STORY="PREPARING_STORY",Mode.PREPARING_DOCS="PREPARING_DOCS",Mode.ERROR="ERROR"}(Mode||(Mode={}));var PreviewWeb_templateObject,PreviewWeb_templateObject2,_templateObject3,_templateObject4,_templateObject5,classes={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},ansiConverter=new(ansi_to_html_default())({escapeXML:!0}),WebView=function(){function WebView(){switch(function WebView_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,WebView),this.currentLayoutClass=void 0,this.testing=!1,lib_default().parse(WebView_document.location.search,{ignoreQueryPrefix:!0}).__SPECIAL_TEST_PARAMETER__){case"preparing-story":this.showPreparingStory(),this.testing=!0;break;case"preparing-docs":this.showPreparingDocs(),this.testing=!0}}return function WebView_createClass(Constructor,protoProps,staticProps){return protoProps&&WebView_defineProperties(Constructor.prototype,protoProps),staticProps&&WebView_defineProperties(Constructor,staticProps),Constructor}(WebView,[{key:"prepareForStory",value:function prepareForStory(story){return this.showStory(),this.applyLayout(story.parameters.layout),WebView_document.documentElement.scrollTop=0,WebView_document.documentElement.scrollLeft=0,this.storyRoot()}},{key:"storyRoot",value:function storyRoot(){return WebView_document.getElementById("root")}},{key:"prepareForDocs",value:function prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),this.docsRoot()}},{key:"docsRoot",value:function docsRoot(){return WebView_document.getElementById("docs-root")}},{key:"applyLayout",value:function applyLayout(){var layout=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"padded";if("none"===layout)return WebView_document.body.classList.remove(this.currentLayoutClass),void(this.currentLayoutClass=null);this.checkIfLayoutExists(layout);var layoutClass=layoutClassMap[layout];WebView_document.body.classList.remove(this.currentLayoutClass),WebView_document.body.classList.add(layoutClass),this.currentLayoutClass=layoutClass}},{key:"checkIfLayoutExists",value:function checkIfLayoutExists(layout){layoutClassMap[layout]||dist_esm.kg.warn((0,esm.C)(WebView_templateObject||(WebView_templateObject=function WebView_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["The desired layout: "," is not a valid option.\n The possible options are: ",", none."])),layout,Object.keys(layoutClassMap).join(", ")))}},{key:"showMode",value:function showMode(mode){Object.keys(Mode).forEach((function(otherMode){otherMode===mode?WebView_document.body.classList.add(classes[otherMode]):WebView_document.body.classList.remove(classes[otherMode])}))}},{key:"showErrorDisplay",value:function showErrorDisplay(_ref){var _ref$message=_ref.message,message=void 0===_ref$message?"":_ref$message,_ref$stack=_ref.stack,header=message,detail=void 0===_ref$stack?"":_ref$stack,parts=message.split("\n");parts.length>1&&(header=WebView_slicedToArray(parts,1)[0],detail=parts.slice(1).join("\n"));WebView_document.getElementById("error-message").innerHTML=ansiConverter.toHtml(header),WebView_document.getElementById("error-stack").innerHTML=ansiConverter.toHtml(detail),this.showMode(Mode.ERROR)}},{key:"showNoPreview",value:function showNoPreview(){var _this$storyRoot,_this$docsRoot;this.testing||(this.showMode(Mode.NOPREVIEW),null===(_this$storyRoot=this.storyRoot())||void 0===_this$storyRoot||_this$storyRoot.setAttribute("hidden","true"),null===(_this$docsRoot=this.docsRoot())||void 0===_this$docsRoot||_this$docsRoot.setAttribute("hidden","true"))}},{key:"showPreparingStory",value:function showPreparingStory(){this.showMode(Mode.PREPARING_STORY)}},{key:"showPreparingDocs",value:function showPreparingDocs(){this.showMode(Mode.PREPARING_DOCS)}},{key:"showMain",value:function showMain(){this.showMode(Mode.MAIN)}},{key:"showDocs",value:function showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}},{key:"showStory",value:function showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}}]),WebView}();function PreviewWeb_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function PreviewWeb_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){PreviewWeb_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){PreviewWeb_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function PreviewWeb_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}function PreviewWeb_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var globalWindow=window_default().window,AbortController=window_default().AbortController,fetch=window_default().fetch;function createController(){return AbortController?new AbortController:{signal:{aborted:!1},abort:function abort(){this.signal.aborted=!0}}}var esm_templateObject,PreviewWeb=function(){function PreviewWeb(){var _global$FEATURES,_this=this;!function PreviewWeb_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,PreviewWeb),this.channel=void 0,this.serverChannel=void 0,this.urlStore=void 0,this.storyStore=void 0,this.view=void 0,this.getStoryIndex=void 0,this.importFn=void 0,this.renderToDOM=void 0,this.previewEntryError=void 0,this.previousSelection=void 0,this.previousStory=void 0,this.previousCleanup=void 0,this.abortController=void 0,this.disableKeyListeners=void 0,this.channel=addons_dist_esm.KP.getChannel(),null!==(_global$FEATURES=window_default().FEATURES)&&void 0!==_global$FEATURES&&_global$FEATURES.storyStoreV7&&addons_dist_esm.KP.hasServerChannel()&&(this.serverChannel=addons_dist_esm.KP.getServerChannel()),this.view=new WebView,this.urlStore=new UrlStore,this.storyStore=new StoryStore,this.storyStore.getSelection=browser_default()((function(){return _this.urlStore.selection}),(0,esm.C)(PreviewWeb_templateObject||(PreviewWeb_templateObject=PreviewWeb_taggedTemplateLiteral(["\n `__STORYBOOK_STORY_STORE__.getSelection()` is deprecated and will be removed in 7.0.\n \n To get the current selection, use the `useStoryContext()` hook from `@storybook/addons`.\n "],["\n \\`__STORYBOOK_STORY_STORE__.getSelection()\\` is deprecated and will be removed in 7.0.\n \n To get the current selection, use the \\`useStoryContext()\\` hook from \\`@storybook/addons\\`.\n "]))))}var _cleanupPreviousRender,_extract,_renderDocs,_renderSelection,_onResetArgs,_onStoriesChanged,_onStoryIndexChanged,_onGetProjectAnnotationsChanged,_selectSpecifiedStory,_getStoryIndexFromServer,_setInitialGlobals;return function PreviewWeb_createClass(Constructor,protoProps,staticProps){return protoProps&&PreviewWeb_defineProperties(Constructor.prototype,protoProps),staticProps&&PreviewWeb_defineProperties(Constructor,staticProps),Constructor}(PreviewWeb,[{key:"initialize",value:function initialize(_ref){var _this2=this,getStoryIndex=_ref.getStoryIndex,importFn=_ref.importFn,getProjectAnnotations=_ref.getProjectAnnotations;return this.getStoryIndex=getStoryIndex,this.importFn=importFn,this.setupListeners(),this.getProjectAnnotationsOrRenderError(getProjectAnnotations).then((function(projectAnnotations){return _this2.initializeWithProjectAnnotations(projectAnnotations)}))}},{key:"setupListeners",value:function setupListeners(){var _this$serverChannel;globalWindow.onkeydown=this.onKeydown.bind(this),null===(_this$serverChannel=this.serverChannel)||void 0===_this$serverChannel||_this$serverChannel.on(core_events_dist_esm.default.STORY_INDEX_INVALIDATED,this.onStoryIndexChanged.bind(this)),this.channel.on(core_events_dist_esm.default.SET_CURRENT_STORY,this.onSetCurrentStory.bind(this)),this.channel.on(core_events_dist_esm.default.UPDATE_QUERY_PARAMS,this.onUpdateQueryParams.bind(this)),this.channel.on(core_events_dist_esm.default.UPDATE_GLOBALS,this.onUpdateGlobals.bind(this)),this.channel.on(core_events_dist_esm.default.UPDATE_STORY_ARGS,this.onUpdateArgs.bind(this)),this.channel.on(core_events_dist_esm.default.RESET_STORY_ARGS,this.onResetArgs.bind(this))}},{key:"getProjectAnnotationsOrRenderError",value:function getProjectAnnotationsOrRenderError(getProjectAnnotations){var _this3=this;return synchronous_promise.SynchronousPromise.resolve().then(getProjectAnnotations).then((function(projectAnnotations){if(_this3.renderToDOM=projectAnnotations.renderToDOM,!_this3.renderToDOM)throw new Error((0,esm.C)(PreviewWeb_templateObject2||(PreviewWeb_templateObject2=PreviewWeb_taggedTemplateLiteral(["\n Expected your framework's preset to export a `renderToDOM` field.\n\n Perhaps it needs to be upgraded for Storybook 6.4?\n\n More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field \n "],["\n Expected your framework's preset to export a \\`renderToDOM\\` field.\n\n Perhaps it needs to be upgraded for Storybook 6.4?\n\n More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field \n "]))));return projectAnnotations})).catch((function(err){throw _this3.renderPreviewEntryError("Error reading preview.js:",err),err}))}},{key:"initializeWithProjectAnnotations",value:function initializeWithProjectAnnotations(projectAnnotations){var _global$FEATURES2,storyIndexPromise,_this4=this;if(this.storyStore.setProjectAnnotations(projectAnnotations),this.setInitialGlobals(),null!==(_global$FEATURES2=window_default().FEATURES)&&void 0!==_global$FEATURES2&&_global$FEATURES2.storyStoreV7)storyIndexPromise=this.getStoryIndexFromServer();else{if(!this.getStoryIndex)throw new Error("No `getStoryIndex` passed defined in v6 mode");storyIndexPromise=synchronous_promise.SynchronousPromise.resolve().then(this.getStoryIndex)}return storyIndexPromise.then((function(storyIndex){return _this4.initializeWithStoryIndex(storyIndex)})).catch((function(err){throw _this4.renderPreviewEntryError("Error loading story index:",err),err}))}},{key:"setInitialGlobals",value:(_setInitialGlobals=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee(){var _ref2,globals;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:_ref2=this.urlStore.selectionSpecifier||{},(globals=_ref2.globals)&&this.storyStore.globals.updateFromPersisted(globals),this.emitGlobals();case 3:case"end":return _context.stop()}}),_callee,this)}))),function setInitialGlobals(){return _setInitialGlobals.apply(this,arguments)})},{key:"emitGlobals",value:function emitGlobals(){this.channel.emit(core_events_dist_esm.default.SET_GLOBALS,{globals:this.storyStore.globals.get()||{},globalTypes:this.storyStore.projectAnnotations.globalTypes||{}})}},{key:"getStoryIndexFromServer",value:(_getStoryIndexFromServer=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee2(){var result;return regeneratorRuntime.wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.next=2,fetch("./stories.json");case 2:if(200!==(result=_context2.sent).status){_context2.next=5;break}return _context2.abrupt("return",result.json());case 5:return _context2.t0=Error,_context2.next=8,result.text();case 8:throw _context2.t1=_context2.sent,new _context2.t0(_context2.t1);case 10:case"end":return _context2.stop()}}),_callee2)}))),function getStoryIndexFromServer(){return _getStoryIndexFromServer.apply(this,arguments)})},{key:"initializeWithStoryIndex",value:function initializeWithStoryIndex(storyIndex){var _global$FEATURES3,_this5=this;return this.storyStore.initialize({storyIndex,importFn:this.importFn,cache:!(null!==(_global$FEATURES3=window_default().FEATURES)&&void 0!==_global$FEATURES3&&_global$FEATURES3.storyStoreV7)}).then((function(){var _global$FEATURES4;return null!==(_global$FEATURES4=window_default().FEATURES)&&void 0!==_global$FEATURES4&&_global$FEATURES4.storyStoreV7||_this5.channel.emit(core_events_dist_esm.default.SET_STORIES,_this5.storyStore.getSetStoriesPayload()),_this5.selectSpecifiedStory()}))}},{key:"selectSpecifiedStory",value:(_selectSpecifiedStory=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee3(){var _this$urlStore$select,storySpecifier,viewMode,args,storyId;return regeneratorRuntime.wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(this.urlStore.selectionSpecifier){_context3.next=3;break}return this.renderMissingStory(),_context3.abrupt("return");case 3:if(_this$urlStore$select=this.urlStore.selectionSpecifier,storySpecifier=_this$urlStore$select.storySpecifier,viewMode=_this$urlStore$select.viewMode,args=_this$urlStore$select.args,storyId=this.storyStore.storyIndex.storyIdFromSpecifier(storySpecifier)){_context3.next=8;break}return"*"===storySpecifier?this.renderStoryLoadingException(storySpecifier,new Error((0,esm.C)(_templateObject3||(_templateObject3=PreviewWeb_taggedTemplateLiteral(["\n Couldn't find any stories in your Storybook.\n - Please check your stories field of your main.js config.\n - Also check the browser console and terminal for error messages.\n "]))))):this.renderStoryLoadingException(storySpecifier,new Error((0,esm.C)(_templateObject4||(_templateObject4=PreviewWeb_taggedTemplateLiteral(["\n Couldn't find story matching '","'.\n - Are you sure a story with that id exists?\n - Please check your stories field of your main.js config.\n - Also check the browser console and terminal for error messages.\n "])),storySpecifier))),_context3.abrupt("return");case 8:return this.urlStore.setSelection({storyId,viewMode}),this.channel.emit(core_events_dist_esm.default.STORY_SPECIFIED,this.urlStore.selection),this.channel.emit(core_events_dist_esm.default.CURRENT_STORY_WAS_SET,this.urlStore.selection),_context3.next=13,this.renderSelection({persistedArgs:args});case 13:case"end":return _context3.stop()}}),_callee3,this)}))),function selectSpecifiedStory(){return _selectSpecifiedStory.apply(this,arguments)})},{key:"onGetProjectAnnotationsChanged",value:(_onGetProjectAnnotationsChanged=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee4(_ref3){var getProjectAnnotations,projectAnnotations;return regeneratorRuntime.wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:return getProjectAnnotations=_ref3.getProjectAnnotations,delete this.previewEntryError,_context4.next=4,this.getProjectAnnotationsOrRenderError(getProjectAnnotations);case 4:if(projectAnnotations=_context4.sent,this.storyStore.projectAnnotations){_context4.next=9;break}return _context4.next=8,this.initializeWithProjectAnnotations(projectAnnotations);case 8:return _context4.abrupt("return");case 9:return _context4.next=11,this.storyStore.setProjectAnnotations(projectAnnotations);case 11:this.emitGlobals(),this.renderSelection();case 13:case"end":return _context4.stop()}}),_callee4,this)}))),function onGetProjectAnnotationsChanged(_x){return _onGetProjectAnnotationsChanged.apply(this,arguments)})},{key:"onStoryIndexChanged",value:(_onStoryIndexChanged=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee5(){var storyIndex;return regeneratorRuntime.wrap((function _callee5$(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:if(delete this.previewEntryError,this.storyStore.projectAnnotations){_context5.next=3;break}return _context5.abrupt("return");case 3:return _context5.prev=3,_context5.next=6,this.getStoryIndexFromServer();case 6:if(storyIndex=_context5.sent,this.storyStore.storyIndex){_context5.next=10;break}return _context5.next=10,this.initializeWithStoryIndex(storyIndex);case 10:return _context5.next=12,this.onStoriesChanged({storyIndex});case 12:_context5.next=18;break;case 14:throw _context5.prev=14,_context5.t0=_context5.catch(3),this.renderPreviewEntryError("Error loading story index:",_context5.t0),_context5.t0;case 18:case"end":return _context5.stop()}}),_callee5,this,[[3,14]])}))),function onStoryIndexChanged(){return _onStoryIndexChanged.apply(this,arguments)})},{key:"onStoriesChanged",value:(_onStoriesChanged=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee6(_ref4){var _global$FEATURES5,importFn,storyIndex;return regeneratorRuntime.wrap((function _callee6$(_context6){for(;;)switch(_context6.prev=_context6.next){case 0:return importFn=_ref4.importFn,storyIndex=_ref4.storyIndex,_context6.next=3,this.storyStore.onStoriesChanged({importFn,storyIndex});case 3:if(null!==(_global$FEATURES5=window_default().FEATURES)&&void 0!==_global$FEATURES5&&_global$FEATURES5.storyStoreV7){_context6.next=10;break}return _context6.t0=this.channel,_context6.t1=core_events_dist_esm.default.SET_STORIES,_context6.next=8,this.storyStore.getSetStoriesPayload();case 8:_context6.t2=_context6.sent,_context6.t0.emit.call(_context6.t0,_context6.t1,_context6.t2);case 10:if(!this.urlStore.selection){_context6.next=15;break}return _context6.next=13,this.renderSelection();case 13:_context6.next=17;break;case 15:return _context6.next=17,this.selectSpecifiedStory();case 17:case"end":return _context6.stop()}}),_callee6,this)}))),function onStoriesChanged(_x2){return _onStoriesChanged.apply(this,arguments)})},{key:"onKeydown",value:function onKeydown(event){if(!this.disableKeyListeners&&!function focusInInput(event){var target=event.target;return/input|textarea/i.test(target.tagName)||null!==target.getAttribute("contenteditable")}(event)){var altKey=event.altKey,ctrlKey=event.ctrlKey,metaKey=event.metaKey,shiftKey=event.shiftKey,key=event.key,code=event.code,keyCode=event.keyCode;this.channel.emit(core_events_dist_esm.default.PREVIEW_KEYDOWN,{event:{altKey,ctrlKey,metaKey,shiftKey,key,code,keyCode}})}}},{key:"onSetCurrentStory",value:function onSetCurrentStory(selection){this.urlStore.setSelection(selection),this.channel.emit(core_events_dist_esm.default.CURRENT_STORY_WAS_SET,this.urlStore.selection),this.renderSelection()}},{key:"onUpdateQueryParams",value:function onUpdateQueryParams(queryParams){this.urlStore.setQueryParams(queryParams)}},{key:"onUpdateGlobals",value:function onUpdateGlobals(_ref5){var globals=_ref5.globals;this.storyStore.globals.update(globals),this.channel.emit(core_events_dist_esm.default.GLOBALS_UPDATED,{globals:this.storyStore.globals.get(),initialGlobals:this.storyStore.globals.initialGlobals})}},{key:"onUpdateArgs",value:function onUpdateArgs(_ref6){var storyId=_ref6.storyId,updatedArgs=_ref6.updatedArgs;this.storyStore.args.update(storyId,updatedArgs),this.channel.emit(core_events_dist_esm.default.STORY_ARGS_UPDATED,{storyId,args:this.storyStore.args.get(storyId)})}},{key:"onResetArgs",value:(_onResetArgs=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee7(_ref7){var storyId,argNames,_ref8,initialArgs,argNamesToReset,updatedArgs;return regeneratorRuntime.wrap((function _callee7$(_context7){for(;;)switch(_context7.prev=_context7.next){case 0:if(storyId=_ref7.storyId,argNames=_ref7.argNames,storyId!==this.previousStory.id){_context7.next=5;break}_context7.t0=this.previousStory,_context7.next=8;break;case 5:return _context7.next=7,this.storyStore.loadStory({storyId});case 7:_context7.t0=_context7.sent;case 8:_ref8=_context7.t0,initialArgs=_ref8.initialArgs,argNamesToReset=argNames||Object.keys(this.storyStore.args.get(storyId)),updatedArgs=argNamesToReset.reduce((function(acc,argName){return acc[argName]=initialArgs[argName],acc}),{}),this.onUpdateArgs({storyId,updatedArgs});case 13:case"end":return _context7.stop()}}),_callee7,this)}))),function onResetArgs(_x3){return _onResetArgs.apply(this,arguments)})},{key:"renderSelection",value:(_renderSelection=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee8(){var _this$previousSelecti,_this$previousSelecti2,_global$FEATURES6,_ref9,persistedArgs,selection,storyId,storyIdChanged,viewModeChanged,story,implementationChanged,_this$storyStore$getS,parameters,initialArgs,argTypes,args,_args8=arguments;return regeneratorRuntime.wrap((function _callee8$(_context8){for(;;)switch(_context8.prev=_context8.next){case 0:if(_ref9=_args8.length>0&&void 0!==_args8[0]?_args8[0]:{},persistedArgs=_ref9.persistedArgs,selection=this.urlStore.selection){_context8.next=4;break}throw new Error("Cannot render story as no selection was made");case 4:return storyId=selection.storyId,storyIdChanged=(null===(_this$previousSelecti=this.previousSelection)||void 0===_this$previousSelecti?void 0:_this$previousSelecti.storyId)!==storyId,viewModeChanged=(null===(_this$previousSelecti2=this.previousSelection)||void 0===_this$previousSelecti2?void 0:_this$previousSelecti2.viewMode)!==selection.viewMode,"story"===selection.viewMode?this.view.showPreparingStory():this.view.showPreparingDocs(),_context8.prev=8,_context8.next=11,this.storyStore.loadStory({storyId});case 11:story=_context8.sent,_context8.next=21;break;case 14:return _context8.prev=14,_context8.t0=_context8.catch(8),_context8.next=18,this.cleanupPreviousRender();case 18:return this.previousStory=null,this.renderStoryLoadingException(storyId,_context8.t0),_context8.abrupt("return");case 21:if(implementationChanged=!storyIdChanged&&this.previousStory&&story!==this.previousStory,persistedArgs&&this.storyStore.args.updateFromPersisted(story,persistedArgs),!this.previousStory||storyIdChanged||implementationChanged||viewModeChanged){_context8.next=27;break}return this.channel.emit(core_events_dist_esm.default.STORY_UNCHANGED,storyId),this.view.showMain(),_context8.abrupt("return");case 27:return _context8.next=29,this.cleanupPreviousRender({unmountDocs:viewModeChanged});case 29:if(this.previousSelection&&(storyIdChanged||viewModeChanged)&&this.channel.emit(core_events_dist_esm.default.STORY_CHANGED,storyId),this.previousSelection=selection,this.previousStory=story,_this$storyStore$getS=this.storyStore.getStoryContext(story),parameters=_this$storyStore$getS.parameters,initialArgs=_this$storyStore$getS.initialArgs,argTypes=_this$storyStore$getS.argTypes,args=_this$storyStore$getS.args,null!==(_global$FEATURES6=window_default().FEATURES)&&void 0!==_global$FEATURES6&&_global$FEATURES6.storyStoreV7&&this.channel.emit(core_events_dist_esm.default.STORY_PREPARED,{id:storyId,parameters,initialArgs,argTypes,args}),(implementationChanged||persistedArgs)&&this.channel.emit(core_events_dist_esm.default.STORY_ARGS_UPDATED,{storyId,args}),"docs"!==selection.viewMode&&!story.parameters.docsOnly){_context8.next=41;break}return _context8.next=38,this.renderDocs({story});case 38:this.previousCleanup=_context8.sent,_context8.next=42;break;case 41:this.previousCleanup=this.renderStory({story});case 42:case"end":return _context8.stop()}}),_callee8,this,[[8,14]])}))),function renderSelection(){return _renderSelection.apply(this,arguments)})},{key:"renderDocs",value:(_renderDocs=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee11(_ref10){var _global$FEATURES8,story,id,title,name,csfFile,docsContext,render,_this6=this;return regeneratorRuntime.wrap((function _callee11$(_context11){for(;;)switch(_context11.prev=_context11.next){case 0:return story=_ref10.story,id=story.id,title=story.title,name=story.name,_context11.next=4,this.storyStore.loadCSFFileByStoryId(id);case 4:return csfFile=_context11.sent,docsContext={id,title,name,storyById:function storyById(storyId){return _this6.storyStore.storyFromCSFFile({storyId,csfFile})},componentStories:function componentStories(){return _this6.storyStore.componentStoriesFromCSFFile({csfFile})},loadStory:function loadStory(storyId){return _this6.storyStore.loadStory({storyId})},renderStoryToElement:this.renderStoryToElement.bind(this),getStoryContext:function getStoryContext(renderedStory){return Object.assign({},_this6.storyStore.getStoryContext(renderedStory),{viewMode:"docs"})}},render=function(){var _ref11=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee9(){var _global$FEATURES7,fullDocsContext,renderer,element;return regeneratorRuntime.wrap((function _callee9$(_context9){for(;;)switch(_context9.prev=_context9.next){case 0:return fullDocsContext=Object.assign({},docsContext,!(null!==(_global$FEATURES7=window_default().FEATURES)&&void 0!==_global$FEATURES7&&_global$FEATURES7.breakingChangesV7)&&_this6.storyStore.getStoryContext(story)),_context9.next=3,__webpack_require__.e(701).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/preview-web/dist/esm/renderDocs.js"));case 3:renderer=_context9.sent,element=_this6.view.prepareForDocs(),renderer.renderDocs(story,fullDocsContext,element,(function(){return _this6.channel.emit(core_events_dist_esm.default.DOCS_RENDERED,id)}));case 6:case"end":return _context9.stop()}}),_callee9)})));return function render(){return _ref11.apply(this,arguments)}}(),render(),null!==(_global$FEATURES8=window_default().FEATURES)&&void 0!==_global$FEATURES8&&_global$FEATURES8.modernInlineRender||(this.channel.on(core_events_dist_esm.default.UPDATE_GLOBALS,render),this.channel.on(core_events_dist_esm.default.UPDATE_STORY_ARGS,render),this.channel.on(core_events_dist_esm.default.RESET_STORY_ARGS,render)),_context11.abrupt("return",PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee10(){var _global$FEATURES9;return regeneratorRuntime.wrap((function _callee10$(_context10){for(;;)switch(_context10.prev=_context10.next){case 0:null!==(_global$FEATURES9=window_default().FEATURES)&&void 0!==_global$FEATURES9&&_global$FEATURES9.modernInlineRender||(_this6.channel.off(core_events_dist_esm.default.UPDATE_GLOBALS,render),_this6.channel.off(core_events_dist_esm.default.UPDATE_STORY_ARGS,render),_this6.channel.off(core_events_dist_esm.default.RESET_STORY_ARGS,render));case 1:case"end":return _context10.stop()}}),_callee10)}))));case 10:case"end":return _context11.stop()}}),_callee11,this)}))),function renderDocs(_x4){return _renderDocs.apply(this,arguments)})},{key:"renderStory",value:function renderStory(_ref13){var _this7=this,story=_ref13.story,element=this.view.prepareForStory(story),id=story.id,componentId=story.componentId,title=story.title,name=story.name,renderContext={componentId,title,kind:title,id,name,story:name,showMain:function showMain(){return _this7.view.showMain()},showError:function showError(err){return _this7.renderError(id,err)},showException:function showException(err){return _this7.renderException(id,err)}};return this.renderStoryToElement({story,renderContext,element,viewMode:"story"})}},{key:"renderStoryToElement",value:function renderStoryToElement(_ref14){var phase,_this8=this,story=_ref14.story,renderContextWithoutStoryContext=_ref14.renderContext,canvasElement=_ref14.element,viewMode=_ref14.viewMode,id=story.id,applyLoaders=story.applyLoaders,unboundStoryFn=story.unboundStoryFn,playFunction=story.playFunction,notYetRendered=!0,isPending=function isPending(){return["rendering","playing"].includes(phase)};this.abortController=createController();var render=function(){var _ref15=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee14(){var _ref16,_ref16$initial,initial,_ref16$forceRemount,forceRemount,abortSignal,runPhase,loadedContext,renderStoryContext,renderContext,_args14=arguments;return regeneratorRuntime.wrap((function _callee14$(_context14){for(;;)switch(_context14.prev=_context14.next){case 0:return _ref16=_args14.length>0&&void 0!==_args14[0]?_args14[0]:{},_ref16$initial=_ref16.initial,initial=void 0!==_ref16$initial&&_ref16$initial,_ref16$forceRemount=_ref16.forceRemount,(forceRemount=void 0!==_ref16$forceRemount&&_ref16$forceRemount)&&!initial&&(_this8.abortController.abort(),_this8.abortController=createController()),abortSignal=_this8.abortController.signal,runPhase=function(){var _ref17=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee12(phaseName,phaseFn){return regeneratorRuntime.wrap((function _callee12$(_context12){for(;;)switch(_context12.prev=_context12.next){case 0:if(phase=phaseName,_this8.channel.emit(core_events_dist_esm.default.STORY_RENDER_PHASE_CHANGED,{newPhase:phase,storyId:id}),!phaseFn){_context12.next=5;break}return _context12.next=5,phaseFn();case 5:abortSignal.aborted&&(phase="aborted",_this8.channel.emit(core_events_dist_esm.default.STORY_RENDER_PHASE_CHANGED,{newPhase:phase,storyId:id}));case 6:case"end":return _context12.stop()}}),_callee12)})));return function runPhase(_x5,_x6){return _ref17.apply(this,arguments)}}(),_context14.prev=4,_context14.next=7,runPhase("loading",PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee13(){return regeneratorRuntime.wrap((function _callee13$(_context13){for(;;)switch(_context13.prev=_context13.next){case 0:return _context13.next=2,applyLoaders(Object.assign({},_this8.storyStore.getStoryContext(story),{viewMode}));case 2:loadedContext=_context13.sent;case 3:case"end":return _context13.stop()}}),_callee13)}))));case 7:if(!abortSignal.aborted){_context14.next=9;break}return _context14.abrupt("return");case 9:return renderStoryContext=Object.assign({},loadedContext,_this8.storyStore.getStoryContext(story),{abortSignal,canvasElement}),renderContext=Object.assign({},renderContextWithoutStoryContext,{forceRemount:forceRemount||notYetRendered,storyContext:renderStoryContext,storyFn:function storyFn(){return unboundStoryFn(renderStoryContext)},unboundStoryFn}),_context14.next=13,runPhase("rendering",(function(){return _this8.renderToDOM(renderContext,canvasElement)}));case 13:if(notYetRendered=!1,!abortSignal.aborted){_context14.next=16;break}return _context14.abrupt("return");case 16:if(!forceRemount||!playFunction){_context14.next=25;break}return _this8.disableKeyListeners=!0,_context14.next=20,runPhase("playing",(function(){return playFunction(renderContext.storyContext)}));case 20:return _context14.next=22,runPhase("played");case 22:if(_this8.disableKeyListeners=!1,!abortSignal.aborted){_context14.next=25;break}return _context14.abrupt("return");case 25:return _context14.next=27,runPhase("completed",(function(){return _this8.channel.emit(core_events_dist_esm.default.STORY_RENDERED,id)}));case 27:_context14.next=32;break;case 29:_context14.prev=29,_context14.t0=_context14.catch(4),renderContextWithoutStoryContext.showException(_context14.t0);case 32:case"end":return _context14.stop()}}),_callee14,null,[[4,29]])})));return function render(){return _ref15.apply(this,arguments)}}();render({initial:!0,forceRemount:!0});var remountStoryIfMatches=function remountStoryIfMatches(_ref19){_ref19.storyId===story.id&&render({forceRemount:!0})},rerenderStoryIfMatches=function rerenderStoryIfMatches(_ref20){_ref20.storyId===story.id&&render()};return this.channel.on(core_events_dist_esm.default.UPDATE_GLOBALS,render),this.channel.on(core_events_dist_esm.default.FORCE_RE_RENDER,render),this.channel.on(core_events_dist_esm.default.FORCE_REMOUNT,remountStoryIfMatches),this.channel.on(core_events_dist_esm.default.UPDATE_STORY_ARGS,rerenderStoryIfMatches),this.channel.on(core_events_dist_esm.default.RESET_STORY_ARGS,rerenderStoryIfMatches),PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee15(){return regeneratorRuntime.wrap((function _callee15$(_context15){for(;;)switch(_context15.prev=_context15.next){case 0:if(_this8.abortController.abort(),_this8.storyStore.cleanupStory(story),_this8.channel.off(core_events_dist_esm.default.UPDATE_GLOBALS,render),_this8.channel.off(core_events_dist_esm.default.FORCE_RE_RENDER,render),_this8.channel.off(core_events_dist_esm.default.FORCE_REMOUNT,remountStoryIfMatches),_this8.channel.off(core_events_dist_esm.default.UPDATE_STORY_ARGS,rerenderStoryIfMatches),_this8.channel.off(core_events_dist_esm.default.RESET_STORY_ARGS,rerenderStoryIfMatches),isPending()){_context15.next=9;break}return _context15.abrupt("return");case 9:return _context15.next=11,new Promise((function(resolve){return setTimeout(resolve,0)}));case 11:if(isPending()){_context15.next=13;break}return _context15.abrupt("return");case 13:return _context15.next=15,new Promise((function(resolve){return setTimeout(resolve,0)}));case 15:if(isPending()){_context15.next=17;break}return _context15.abrupt("return");case 17:return _context15.next=19,new Promise((function(resolve){return setTimeout(resolve,0)}));case 19:if(isPending()){_context15.next=21;break}return _context15.abrupt("return");case 21:return window_default().window.location.reload(),_context15.next=24,new Promise((function(){}));case 24:case"end":return _context15.stop()}}),_callee15)})))}},{key:"extract",value:(_extract=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee16(options){var _global$FEATURES10;return regeneratorRuntime.wrap((function _callee16$(_context16){for(;;)switch(_context16.prev=_context16.next){case 0:if(!this.previewEntryError){_context16.next=2;break}throw this.previewEntryError;case 2:if(this.storyStore.projectAnnotations){_context16.next=4;break}throw new Error((0,esm.C)(_templateObject5||(_templateObject5=PreviewWeb_taggedTemplateLiteral(["Failed to initialize Storybook.\n \n Do you have an error in your `preview.js`? Check your Storybook's browser console for errors."],["Failed to initialize Storybook.\n \n Do you have an error in your \\`preview.js\\`? Check your Storybook's browser console for errors."]))));case 4:if(null===(_global$FEATURES10=window_default().FEATURES)||void 0===_global$FEATURES10||!_global$FEATURES10.storyStoreV7){_context16.next=7;break}return _context16.next=7,this.storyStore.cacheAllCSFFiles();case 7:return _context16.abrupt("return",this.storyStore.extract(options));case 8:case"end":return _context16.stop()}}),_callee16,this)}))),function extract(_x7){return _extract.apply(this,arguments)})},{key:"cleanupPreviousRender",value:(_cleanupPreviousRender=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee17(){var _this$previousStory,_this$previousStory$p,_this$previousSelecti3,_ref22,_ref22$unmountDocs,unmountDocs,previousViewMode,_args17=arguments;return regeneratorRuntime.wrap((function _callee17$(_context17){for(;;)switch(_context17.prev=_context17.next){case 0:if(_ref22=_args17.length>0&&void 0!==_args17[0]?_args17[0]:{},_ref22$unmountDocs=_ref22.unmountDocs,unmountDocs=void 0===_ref22$unmountDocs||_ref22$unmountDocs,previousViewMode=null!==(_this$previousStory=this.previousStory)&&void 0!==_this$previousStory&&null!==(_this$previousStory$p=_this$previousStory.parameters)&&void 0!==_this$previousStory$p&&_this$previousStory$p.docsOnly?"docs":null===(_this$previousSelecti3=this.previousSelection)||void 0===_this$previousSelecti3?void 0:_this$previousSelecti3.viewMode,!unmountDocs||"docs"!==previousViewMode){_context17.next=6;break}return _context17.next=5,__webpack_require__.e(701).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/preview-web/dist/esm/renderDocs.js"));case 5:_context17.sent.unmountDocs(this.view.docsRoot());case 6:if(!this.previousCleanup){_context17.next=9;break}return _context17.next=9,this.previousCleanup();case 9:case"end":return _context17.stop()}}),_callee17,this)}))),function cleanupPreviousRender(){return _cleanupPreviousRender.apply(this,arguments)})},{key:"renderPreviewEntryError",value:function renderPreviewEntryError(reason,err){this.previewEntryError=err,dist_esm.kg.error(reason),dist_esm.kg.error(err),this.view.showErrorDisplay(err),this.channel.emit(core_events_dist_esm.default.CONFIG_ERROR,err)}},{key:"renderMissingStory",value:function renderMissingStory(){this.view.showNoPreview(),this.channel.emit(core_events_dist_esm.default.STORY_MISSING)}},{key:"renderStoryLoadingException",value:function renderStoryLoadingException(storySpecifier,err){dist_esm.kg.error("Unable to load story '".concat(storySpecifier,"':")),dist_esm.kg.error(err),this.view.showErrorDisplay(err),this.channel.emit(core_events_dist_esm.default.STORY_MISSING,storySpecifier)}},{key:"renderException",value:function renderException(storyId,err){this.channel.emit(core_events_dist_esm.default.STORY_THREW_EXCEPTION,err),this.channel.emit(core_events_dist_esm.default.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId}),err!==core_events_dist_esm.IGNORED_EXCEPTION&&(this.view.showErrorDisplay(err),dist_esm.kg.error("Error rendering story '".concat(storyId,"':")),dist_esm.kg.error(err))}},{key:"renderError",value:function renderError(storyId,_ref23){var title=_ref23.title,description=_ref23.description;dist_esm.kg.error("Error rendering story ".concat(title,": ").concat(description)),this.channel.emit(core_events_dist_esm.default.STORY_ERRORED,{title,description}),this.channel.emit(core_events_dist_esm.default.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId}),this.view.showErrorDisplay({message:title,stack:description})}}]),PreviewWeb}();__webpack_require__("./node_modules/core-js/modules/es.object.from-entries.js"),__webpack_require__("./node_modules/core-js/modules/es.number.is-integer.js"),__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/core-js/modules/web.immediate.js");function esm_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}function esm_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function esm_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var generateRandomId=function generateRandomId(){return Math.random().toString(16).slice(2)};const channels_dist_esm=function(){function Channel(){var _this=this,_ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},transport=_ref.transport,_ref$async=_ref.async,async=void 0!==_ref$async&&_ref$async;esm_classCallCheck(this,Channel),this.isAsync=void 0,this.sender=generateRandomId(),this.events={},this.data={},this.transport=void 0,this.addPeerListener=browser_default()((function(eventName,listener){_this.addListener(eventName,listener)}),(0,esm.C)(esm_templateObject||(esm_templateObject=esm_taggedTemplateLiteral(["\n channel.addPeerListener is deprecated\n "])))),this.isAsync=async,transport&&(this.transport=transport,this.transport.setHandler((function(event){return _this.handleEvent(event)})))}return function esm_createClass(Constructor,protoProps,staticProps){return protoProps&&esm_defineProperties(Constructor.prototype,protoProps),staticProps&&esm_defineProperties(Constructor,staticProps),Constructor}(Channel,[{key:"hasTransport",get:function get(){return!!this.transport}},{key:"addListener",value:function addListener(eventName,listener){this.events[eventName]=this.events[eventName]||[],this.events[eventName].push(listener)}},{key:"emit",value:function emit(eventName){for(var _this2=this,_len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var event={type:eventName,args,from:this.sender},options={};args.length>=1&&args[0]&&args[0].options&&(options=args[0].options);var handler=function handler(){_this2.transport&&_this2.transport.send(event,options),_this2.handleEvent(event)};this.isAsync?setImmediate(handler):handler()}},{key:"last",value:function last(eventName){return this.data[eventName]}},{key:"eventNames",value:function eventNames(){return Object.keys(this.events)}},{key:"listenerCount",value:function listenerCount(eventName){var listeners=this.listeners(eventName);return listeners?listeners.length:0}},{key:"listeners",value:function listeners(eventName){var listeners=this.events[eventName];return listeners||void 0}},{key:"once",value:function once(eventName,listener){var onceListener=this.onceListener(eventName,listener);this.addListener(eventName,onceListener)}},{key:"removeAllListeners",value:function removeAllListeners(eventName){eventName?this.events[eventName]&&delete this.events[eventName]:this.events={}}},{key:"removeListener",value:function removeListener(eventName,listener){var listeners=this.listeners(eventName);listeners&&(this.events[eventName]=listeners.filter((function(l){return l!==listener})))}},{key:"on",value:function on(eventName,listener){this.addListener(eventName,listener)}},{key:"off",value:function off(eventName,listener){this.removeListener(eventName,listener)}},{key:"handleEvent",value:function handleEvent(event){var listeners=this.listeners(event.type);listeners&&listeners.length&&listeners.forEach((function(fn){fn.apply(event,event.args)})),this.data[event.type]=event.args}},{key:"onceListener",value:function onceListener(eventName,listener){var _this3=this,onceListener=function onceListener(){return _this3.removeListener(eventName,onceListener),listener.apply(void 0,arguments)};return onceListener}}]),Channel}();var telejson_dist_esm=__webpack_require__("./node_modules/telejson/dist/esm/index.js");function esm_toConsumableArray(arr){return function esm_arrayWithoutHoles(arr){if(Array.isArray(arr))return esm_arrayLikeToArray(arr)}(arr)||esm_iterableToArray(arr)||esm_unsupportedIterableToArray(arr)||function esm_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function esm_iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}function esm_slicedToArray(arr,i){return esm_arrayWithHoles(arr)||function esm_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||esm_unsupportedIterableToArray(arr,i)||esm_nonIterableRest()}function esm_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function esm_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return esm_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?esm_arrayLikeToArray(o,minLen):void 0}}function esm_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function esm_arrayWithHoles(arr){if(Array.isArray(arr))return arr}function dist_esm_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var esm_globalWindow=window_default().window,esm_document=window_default().document,esm_location=window_default().location,KEY="storybook-channel",defaultEventOptions={allowFunction:!0,maxDepth:25},PostmsgTransport=function(){function PostmsgTransport(config){if(function dist_esm_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,PostmsgTransport),this.config=config,this.buffer=void 0,this.handler=void 0,this.connected=void 0,this.buffer=[],this.handler=null,esm_globalWindow.addEventListener("message",this.handleEvent.bind(this),!1),"manager"!==config.page&&"preview"!==config.page)throw new Error('postmsg-channel: "config.page" cannot be "'.concat(config.page,'"'))}return function dist_esm_createClass(Constructor,protoProps,staticProps){return protoProps&&dist_esm_defineProperties(Constructor.prototype,protoProps),staticProps&&dist_esm_defineProperties(Constructor,staticProps),Constructor}(PostmsgTransport,[{key:"setHandler",value:function setHandler(handler){var _this=this;this.handler=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];handler.apply(_this,args),!_this.connected&&_this.getLocalFrame().length&&(_this.flush(),_this.connected=!0)}}},{key:"send",value:function send(event,options){var _this2=this,_ref=options||{},target=_ref.target,allowRegExp=_ref.allowRegExp,allowFunction=_ref.allowFunction,allowSymbol=_ref.allowSymbol,allowDate=_ref.allowDate,allowUndefined=_ref.allowUndefined,allowClass=_ref.allowClass,maxDepth=_ref.maxDepth,space=_ref.space,lazyEval=_ref.lazyEval,eventOptions=Object.fromEntries(Object.entries({allowRegExp,allowFunction,allowSymbol,allowDate,allowUndefined,allowClass,maxDepth,space,lazyEval}).filter((function(_ref2){var _ref3=esm_slicedToArray(_ref2,2);_ref3[0];return void 0!==_ref3[1]}))),stringifyOptions=Object.assign({},defaultEventOptions,window_default().CHANNEL_OPTIONS||{},eventOptions);options&&Number.isInteger(options.depth)&&(stringifyOptions.maxDepth=options.depth);var frames=this.getFrames(target),query=lib_default().parse(esm_location.search,{ignoreQueryPrefix:!0}),data=(0,telejson_dist_esm.Pz)({key:KEY,event,refId:query.refId},stringifyOptions);return frames.length?(this.buffer.length&&this.flush(),frames.forEach((function(f){try{f.postMessage(data,"*")}catch(e){console.error("sending over postmessage fail")}})),Promise.resolve(null)):new Promise((function(resolve,reject){_this2.buffer.push({event,resolve,reject})}))}},{key:"flush",value:function flush(){var _this3=this,buffer=this.buffer;this.buffer=[],buffer.forEach((function(item){_this3.send(item.event).then(item.resolve).catch(item.reject)}))}},{key:"getFrames",value:function getFrames(target){if("manager"===this.config.page){var list=esm_toConsumableArray(esm_document.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).filter((function(e){try{return!!e.contentWindow&&void 0!==e.dataset.isStorybook&&e.id===target}catch(er){return!1}})).map((function(e){return e.contentWindow}));return list.length?list:this.getCurrentFrames()}return esm_globalWindow&&esm_globalWindow.parent&&esm_globalWindow.parent!==esm_globalWindow?[esm_globalWindow.parent]:[]}},{key:"getCurrentFrames",value:function getCurrentFrames(){return"manager"===this.config.page?esm_toConsumableArray(esm_document.querySelectorAll('[data-is-storybook="true"]')).map((function(e){return e.contentWindow})):esm_globalWindow&&esm_globalWindow.parent?[esm_globalWindow.parent]:[]}},{key:"getLocalFrame",value:function getLocalFrame(){return"manager"===this.config.page?esm_toConsumableArray(esm_document.querySelectorAll("#storybook-preview-iframe")).map((function(e){return e.contentWindow})):esm_globalWindow&&esm_globalWindow.parent?[esm_globalWindow.parent]:[]}},{key:"handleEvent",value:function handleEvent(rawEvent){try{var data=rawEvent.data,_ref4="string"==typeof data&&(0,telejson_dist_esm.pM)(data)?(0,telejson_dist_esm.Qc)(data):data,key=_ref4.key,event=_ref4.event,refId=_ref4.refId;if(key===KEY){var pageString="manager"===this.config.page?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',eventString=Object.values(core_events_dist_esm).includes(event.type)?'<span style="color: #FF4785">'.concat(event.type,"</span>"):'<span style="color: #FFAE00">'.concat(event.type,"</span>");if(refId&&(event.refId=refId),event.source="preview"===this.config.page?rawEvent.origin:getEventSourceUrl(rawEvent),!event.source)return void dist_esm.IC.error("".concat(pageString," received ").concat(eventString," but was unable to determine the source of the event"));var message="".concat(pageString," received ").concat(eventString," (").concat(data.length,")");dist_esm.IC.debug.apply(dist_esm.IC,[esm_location.origin!==event.source?message:"".concat(message,' <span style="color: gray">(on ').concat(esm_location.origin," from ").concat(event.source,")</span>")].concat(esm_toConsumableArray(event.args))),this.handler(event)}}catch(error){dist_esm.kg.error(error)}}}]),PostmsgTransport}(),getEventSourceUrl=function getEventSourceUrl(event){var _frames$filter=esm_toConsumableArray(esm_document.querySelectorAll("iframe[data-is-storybook]")).filter((function(element){try{return element.contentWindow===event.source}catch(err){}var origin,src=element.getAttribute("src");try{origin=new URL(src,esm_document.location).origin}catch(err){return!1}return origin===event.origin})),_frames$filter2=function _toArray(arr){return esm_arrayWithHoles(arr)||esm_iterableToArray(arr)||esm_unsupportedIterableToArray(arr)||esm_nonIterableRest()}(_frames$filter),frame=_frames$filter2[0],remainder=_frames$filter2.slice(1);if(frame&&0===remainder.length){var src=frame.getAttribute("src"),_URL2=new URL(src,esm_document.location),protocol=_URL2.protocol,host=_URL2.host,pathname=_URL2.pathname;return"".concat(protocol,"//").concat(host).concat(pathname)}return remainder.length>0&&dist_esm.kg.error("found multiple candidates for event source"),null};function createChannel(_ref5){var page=_ref5.page,transport=new PostmsgTransport({page});return new channels_dist_esm({transport})}__webpack_require__("./node_modules/core-js/modules/es.map.js");function executeLoadable_slicedToArray(arr,i){return function executeLoadable_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function executeLoadable_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function executeLoadable_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return executeLoadable_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return executeLoadable_arrayLikeToArray(o,minLen)}(arr,i)||function executeLoadable_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function executeLoadable_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function executeLoadableForChanges(loadable,m){var _m$hot,_m$hot$data,_m$hot2,lastExportsMap=(null==m||null===(_m$hot=m.hot)||void 0===_m$hot||null===(_m$hot$data=_m$hot.data)||void 0===_m$hot$data?void 0:_m$hot$data.lastExportsMap)||new Map;null!=m&&null!==(_m$hot2=m.hot)&&void 0!==_m$hot2&&_m$hot2.dispose&&(m.hot.accept(),m.hot.dispose((function(data){data.lastExportsMap=lastExportsMap})));var exportsMap=function executeLoadable(loadable){var reqs=null;Array.isArray(loadable)?reqs=loadable:loadable.keys&&(reqs=[loadable]);var exportsMap=new Map;if(reqs)reqs.forEach((function(req){req.keys().forEach((function(filename){try{var fileExports=req(filename);exportsMap.set("function"==typeof req.resolve?req.resolve(filename):filename,fileExports)}catch(error){var errorString=error.message&&error.stack?"".concat(error.message,"\n ").concat(error.stack):error.toString();dist_esm.kg.error("Unexpected error while loading ".concat(filename,": ").concat(errorString))}}))}));else{var exported=loadable();Array.isArray(exported)&&exported.every((function(obj){return null!=obj.default}))?exportsMap=new Map(exported.map((function(fileExports,index){return["exports-map-".concat(index),fileExports]}))):exported&&dist_esm.kg.warn("Loader function passed to 'configure' should return void or an array of module exports that all contain a 'default' export. Received: ".concat(JSON.stringify(exported)))}return exportsMap}(loadable),added=new Map;Array.from(exportsMap.entries()).filter((function(_ref){return!!executeLoadable_slicedToArray(_ref,2)[1].default})).filter((function(_ref3){var _ref4=executeLoadable_slicedToArray(_ref3,2),fileName=_ref4[0],fileExports=_ref4[1];return lastExportsMap.get(fileName)!==fileExports})).forEach((function(_ref5){var _ref6=executeLoadable_slicedToArray(_ref5,2),fileName=_ref6[0],fileExports=_ref6[1];return added.set(fileName,fileExports)}));var removed=new Map;return Array.from(lastExportsMap.keys()).filter((function(fileName){return!exportsMap.has(fileName)})).forEach((function(fileName){return removed.set(fileName,lastExportsMap.get(fileName))})),lastExportsMap=exportsMap,{added,removed}}function start_slicedToArray(arr,i){return function start_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function start_iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function start_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return start_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return start_arrayLikeToArray(o,minLen)}(arr,i)||function start_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function start_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var start_globalWindow=window_default().window,FEATURES=window_default().FEATURES,configureDeprecationWarning=browser_default()((function(){}),"`configure()` is deprecated and will be removed in Storybook 7.0. \nPlease use the `stories` field of `main.js` to load stories.\nRead more at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-configure"),removedApi=function removedApi(name){return function(){throw new Error("@storybook/client-api:".concat(name," was removed in storyStoreV7."))}};function start(renderToDOM){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},decorateStory=_ref.decorateStory,render=_ref.render;if(null!=FEATURES&&FEATURES.storyStoreV7)return{forceReRender:removedApi("forceReRender"),getStorybook:removedApi("getStorybook"),configure:removedApi("configure"),clientApi:{addDecorator:removedApi("clientApi.addDecorator"),addParameters:removedApi("clientApi.addParameters"),clearDecorators:removedApi("clientApi.clearDecorators"),addLoader:removedApi("clientApi.addLoader"),setAddon:removedApi("clientApi.setAddon"),getStorybook:removedApi("clientApi.getStorybook"),storiesOf:removedApi("clientApi.storiesOf"),raw:removedApi("raw")}};var channel=createChannel({page:"preview"});addons_dist_esm.KP.setChannel(channel);var clientApi=new ClientApi.ti,preview=new PreviewWeb,initialized=!1,importFn=function importFn(path){return clientApi.importFn(path)};function onStoriesChanged(){var storyIndex=clientApi.getStoryIndex();preview.onStoriesChanged({storyIndex,importFn})}return clientApi.onImportFnChanged=onStoriesChanged,clientApi.storyStore=preview.storyStore,start_globalWindow&&(start_globalWindow.__STORYBOOK_CLIENT_API__=clientApi,start_globalWindow.__STORYBOOK_ADDONS_CHANNEL__=channel,start_globalWindow.__STORYBOOK_PREVIEW__=preview,start_globalWindow.__STORYBOOK_STORY_STORE__=preview.storyStore),{forceReRender:function forceReRender(){return channel.emit(core_events_dist_esm.default.FORCE_RE_RENDER)},getStorybook:function getStorybook(){return[]},raw:function raw(){},clientApi,configure:function configure(framework,loadable,m){var showDeprecationWarning=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];showDeprecationWarning&&configureDeprecationWarning(),clientApi.addParameters({framework});var getProjectAnnotations=function getProjectAnnotations(){var _executeLoadableForCh=executeLoadableForChanges(loadable,m),added=_executeLoadableForCh.added,removed=_executeLoadableForCh.removed;return Array.from(added.entries()).forEach((function(_ref2){var _ref3=start_slicedToArray(_ref2,2),fileName=_ref3[0],fileExports=_ref3[1];return clientApi.facade.addStoriesFromExports(fileName,fileExports)})),Array.from(removed.entries()).forEach((function(_ref4){var fileName=start_slicedToArray(_ref4,1)[0];return clientApi.facade.clearFilenameExports(fileName)})),Object.assign({},clientApi.facade.projectAnnotations,{render,renderToDOM,applyDecorators:decorateStory})};initialized?(getProjectAnnotations(),onStoriesChanged()):(preview.initialize({getStoryIndex:function getStoryIndex(){return clientApi.getStoryIndex()},importFn,getProjectAnnotations}),initialized=!0)}}}dist.toId,ClientApi.ti;var globals_globalWindow=window_default().window;globals_globalWindow&&(globals_globalWindow.STORYBOOK_ENV="react");var render=__webpack_require__("./node_modules/@storybook/react/dist/esm/client/preview/render.js"),framework="react",api=start(render.A,{render:render.s}),storiesOf=function storiesOf(kind,m){return api.clientApi.storiesOf(kind,m).addParameters({framework})},configure=function configure(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return api.configure.apply(api,[framework].concat(args))},addDecorator=api.clientApi.addDecorator,addParameters=api.clientApi.addParameters,setAddon=(api.clientApi.clearDecorators,api.clientApi.setAddon),forceReRender=api.forceReRender,getStorybook=api.clientApi.getStorybook,raw=api.clientApi.raw},"./node_modules/@storybook/react/dist/esm/client/preview/render.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>renderToDOM,s:()=>render});__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js");var global__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/global/window.js"),global__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_12__),react__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/react/index.js"),react_dom__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/react-dom/index.js");function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}var FRAMEWORK_OPTIONS=global__WEBPACK_IMPORTED_MODULE_12___default().FRAMEWORK_OPTIONS,render=function render(args,context){var id=context.id,Component=context.component;if(!Component)throw new Error("Unable to render story ".concat(id," as the component annotation is missing from the default export"));return react__WEBPACK_IMPORTED_MODULE_13__.createElement(Component,args)},renderElement=function(){var _ref=_asyncToGenerator(regeneratorRuntime.mark((function _callee(node,el){return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.abrupt("return",new Promise((function(resolve){react_dom__WEBPACK_IMPORTED_MODULE_14__.render(node,el,(function(){return resolve(null)}))})));case 1:case"end":return _context.stop()}}),_callee)})));return function renderElement(_x,_x2){return _ref.apply(this,arguments)}}(),ErrorBoundary=function(_ReactComponent){!function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ErrorBoundary,_ReactComponent);var _super=_createSuper(ErrorBoundary);function ErrorBoundary(){var _this;_classCallCheck(this,ErrorBoundary);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).state={hasError:!1},_this}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(ErrorBoundary,[{key:"componentDidMount",value:function componentDidMount(){var hasError=this.state.hasError,showMain=this.props.showMain;hasError||showMain()}},{key:"componentDidCatch",value:function componentDidCatch(err){(0,this.props.showException)(err)}},{key:"render",value:function render(){var hasError=this.state.hasError,children=this.props.children;return hasError?null:children}}],[{key:"getDerivedStateFromError",value:function getDerivedStateFromError(){return{hasError:!0}}}]),ErrorBoundary}(react__WEBPACK_IMPORTED_MODULE_13__.Component),Wrapper=null!=FRAMEWORK_OPTIONS&&FRAMEWORK_OPTIONS.strictMode?react__WEBPACK_IMPORTED_MODULE_13__.StrictMode:react__WEBPACK_IMPORTED_MODULE_13__.Fragment;function renderToDOM(_x3,_x4){return _renderToDOM.apply(this,arguments)}function _renderToDOM(){return(_renderToDOM=_asyncToGenerator(regeneratorRuntime.mark((function _callee2(_ref2,domElement){var storyContext,unboundStoryFn,showMain,showException,forceRemount,Story,content,element;return regeneratorRuntime.wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return storyContext=_ref2.storyContext,unboundStoryFn=_ref2.unboundStoryFn,showMain=_ref2.showMain,showException=_ref2.showException,forceRemount=_ref2.forceRemount,Story=unboundStoryFn,content=react__WEBPACK_IMPORTED_MODULE_13__.createElement(ErrorBoundary,{showMain,showException},react__WEBPACK_IMPORTED_MODULE_13__.createElement(Story,storyContext)),element=Wrapper?react__WEBPACK_IMPORTED_MODULE_13__.createElement(Wrapper,null,content):content,forceRemount&&react_dom__WEBPACK_IMPORTED_MODULE_14__.unmountComponentAtNode(domElement),_context2.next=7,renderElement(element,domElement);case 7:case"end":return _context2.stop()}}),_callee2)})))).apply(this,arguments)}},"./node_modules/@storybook/react/dist/esm/client/preview/types-6-0.js":()=>{},"./node_modules/@storybook/react/dist/esm/client/preview/types-6-3.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__);var _types_6_0__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/react/dist/esm/client/preview/types-6-0.js"),__WEBPACK_REEXPORT_OBJECT__={};for(const __WEBPACK_IMPORT_KEY__ in _types_6_0__WEBPACK_IMPORTED_MODULE_0__)"default"!==__WEBPACK_IMPORT_KEY__&&(__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__]=()=>_types_6_0__WEBPACK_IMPORTED_MODULE_0__[__WEBPACK_IMPORT_KEY__]);__webpack_require__.d(__webpack_exports__,__WEBPACK_REEXPORT_OBJECT__)},"./node_modules/@storybook/store/dist/esm/filterArgTypes.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>filterArgTypes});__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js");var lodash_pickBy__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/lodash/pickBy.js"),lodash_pickBy__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_5__),matches=function matches(name,descriptor){return Array.isArray(descriptor)?descriptor.includes(name):name.match(descriptor)},filterArgTypes=function filterArgTypes(argTypes,include,exclude){return include||exclude?argTypes&&lodash_pickBy__WEBPACK_IMPORTED_MODULE_5___default()(argTypes,(function(argType,key){var name=argType.name||key;return(!include||matches(name,include))&&(!exclude||!matches(name,exclude))})):argTypes}},"./node_modules/@storybook/store/dist/esm/normalizeInputTypes.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{x:()=>normalizeInputTypes});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var lodash_mapValues__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/lodash/mapValues.js"),lodash_mapValues__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(lodash_mapValues__WEBPACK_IMPORTED_MODULE_3__);function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var normalizeInputType=function normalizeInputType(inputType,key){var type=inputType.type,control=inputType.control,rest=_objectWithoutProperties(inputType,["type","control"]),normalized=Object.assign({name:key},rest);return type&&(normalized.type=function normalizeType(type){return"string"==typeof type?{name:type}:type}(type)),control?normalized.control=function normalizeControl(control){return"string"==typeof control?{type:control}:control}(control):!1===control&&(normalized.control={disable:!0}),normalized},normalizeInputTypes=function normalizeInputTypes(inputTypes){return lodash_mapValues__WEBPACK_IMPORTED_MODULE_3___default()(inputTypes,normalizeInputType)}},"./node_modules/@storybook/store/dist/esm/parameters.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{f:()=>combineParameters});__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/lodash/isPlainObject.js"),lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_15__);function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var combineParameters=function combineParameters(){for(var _len=arguments.length,parameterSets=new Array(_len),_key=0;_key<_len;_key++)parameterSets[_key]=arguments[_key];var mergeKeys={},combined=parameterSets.filter(Boolean).reduce((function(acc,p){return Object.entries(p).forEach((function(_ref){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1],existing=acc[key];Array.isArray(value)||void 0===existing?acc[key]=value:lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_15___default()(value)&&lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_15___default()(existing)?mergeKeys[key]=!0:void 0!==value&&(acc[key]=value)})),acc}),{});return Object.keys(mergeKeys).forEach((function(key){var mergeValues=parameterSets.filter(Boolean).map((function(p){return p[key]})).filter((function(value){return void 0!==value}));mergeValues.every((function(value){return lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_15___default()(value)}))?combined[key]=combineParameters.apply(void 0,_toConsumableArray(mergeValues)):combined[key]=mergeValues[mergeValues.length-1]})),combined}},"./node_modules/@storybook/theming/dist/esm/base.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$_:()=>color,Oq:()=>background,cp:()=>typography});__webpack_require__("./node_modules/core-js/modules/es.array.join.js");var polished__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),color={primary:"#FF4785",secondary:"#1EA7FD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F8F8F8",light:"#F3F3F3",mediumlight:"#EEEEEE",medium:"#DDDDDD",mediumdark:"#999999",dark:"#666666",darker:"#444444",darkest:"#333333",border:"rgba(0,0,0,.1)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#333333",inverseText:"#FFFFFF"},background={app:"#F6F9FC",bar:"#FFFFFF",content:color.lightest,gridCellSize:10,hoverable:(0,polished__WEBPACK_IMPORTED_MODULE_1__.DZ)(.93,color.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},typography={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700,black:900},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}}},"./node_modules/@storybook/theming/dist/esm/convert.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{O:()=>convert});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var _templateObject,_templateObject2,_templateObject3,_templateObject4,polished_esm=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),esm_base=__webpack_require__("./node_modules/@storybook/theming/dist/esm/base.js"),core_browser_esm=(__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/@emotion/core/dist/core.browser.esm.js"));function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var easing={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},rotate360=(0,core_browser_esm.F4)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\tfrom {\n\t\ttransform: rotate(0deg);\n\t}\n\tto {\n\t\ttransform: rotate(360deg);\n\t}\n"]))),glow=(0,core_browser_esm.F4)(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n 0%, 100% { opacity: 1; }\n 50% { opacity: .4; }\n"]))),animation={rotate360,glow,float:(0,core_browser_esm.F4)(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n 0% { transform: translateY(1px); }\n 25% { transform: translateY(0px); }\n 50% { transform: translateY(-3px); }\n 100% { transform: translateY(1px); }\n"]))),jiggle:(0,core_browser_esm.F4)(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n 0%, 100% { transform:translate3d(0,0,0); }\n 12.5%, 62.5% { transform:translate3d(-4px,0,0); }\n 37.5%, 87.5% { transform: translate3d(4px,0,0); }\n"]))),inlineGlow:(0,core_browser_esm.iv)("animation:",glow," 1.5s ease-in-out infinite;color:transparent;cursor:progress;;label:inlineGlow;"),hoverable:{name:"1o7rzh8-hoverable",styles:"transition:all 150ms ease-out;transform:translate3d(0,0,0);&:hover{transform:translate3d(0,-2px,0);}&:active{transform:translate3d(0,0,0);};label:hoverable;"}},utils=(__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/@storybook/theming/dist/esm/utils.js"));function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var chromeDark={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},chromeLight={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},convertColors=function convertColors(colors){return Object.entries(colors).reduce((function(acc,_ref){var _ref2=_slicedToArray(_ref,2),k=_ref2[0],v=_ref2[1];return Object.assign({},acc,function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},k,(0,utils.TE)(v)))}),{})},create=function create(_ref3){var colors=_ref3.colors,mono=_ref3.mono,colorsObjs=convertColors(colors);return{token:{fontFamily:mono,WebkitFontSmoothing:"antialiased","&.tag":colorsObjs.red3,"&.comment":Object.assign({},colorsObjs.green1,{fontStyle:"italic"}),"&.prolog":Object.assign({},colorsObjs.green1,{fontStyle:"italic"}),"&.doctype":Object.assign({},colorsObjs.green1,{fontStyle:"italic"}),"&.cdata":Object.assign({},colorsObjs.green1,{fontStyle:"italic"}),"&.string":colorsObjs.red1,"&.url":colorsObjs.cyan1,"&.symbol":colorsObjs.cyan1,"&.number":colorsObjs.cyan1,"&.boolean":colorsObjs.cyan1,"&.variable":colorsObjs.cyan1,"&.constant":colorsObjs.cyan1,"&.inserted":colorsObjs.cyan1,"&.atrule":colorsObjs.blue1,"&.keyword":colorsObjs.blue1,"&.attr-value":colorsObjs.blue1,"&.punctuation":colorsObjs.gray1,"&.operator":colorsObjs.gray1,"&.function":colorsObjs.gray1,"&.deleted":colorsObjs.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":colorsObjs.cyan2,"&.selector":colorsObjs.red3,"&.attr-name":colorsObjs.red4,"&.property":colorsObjs.red4,"&.regex":colorsObjs.red4,"&.entity":colorsObjs.red4,"&.directive.tag .tag":Object.assign({background:"#ffff00"},colorsObjs.gray1)},"language-json .token.boolean":colorsObjs.blue1,"language-json .token.number":colorsObjs.blue1,"language-json .token.property":colorsObjs.cyan2,namespace:{opacity:.7}}},esm_create=__webpack_require__("./node_modules/@storybook/theming/dist/esm/create.js");function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var lightSyntaxColors={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},darkSyntaxColors={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},createColors=function createColors(vars){return{primary:vars.colorPrimary,secondary:vars.colorSecondary,tertiary:esm_base.$_.tertiary,ancillary:esm_base.$_.ancillary,orange:esm_base.$_.orange,gold:esm_base.$_.gold,green:esm_base.$_.green,seafoam:esm_base.$_.seafoam,purple:esm_base.$_.purple,ultraviolet:esm_base.$_.ultraviolet,lightest:esm_base.$_.lightest,lighter:esm_base.$_.lighter,light:esm_base.$_.light,mediumlight:esm_base.$_.mediumlight,medium:esm_base.$_.medium,mediumdark:esm_base.$_.mediumdark,dark:esm_base.$_.dark,darker:esm_base.$_.darker,darkest:esm_base.$_.darkest,border:esm_base.$_.border,positive:esm_base.$_.positive,negative:esm_base.$_.negative,warning:esm_base.$_.warning,critical:esm_base.$_.critical,defaultText:vars.textColor||esm_base.$_.darkest,inverseText:vars.textInverseColor||esm_base.$_.lightest}},convert=function convert(){var inherit=arguments.length>0&&void 0!==arguments[0]?arguments[0]:esm_create.n[(0,utils.Q$)()],base=inherit.base,colorSecondary=(inherit.colorPrimary,inherit.colorSecondary),appBg=inherit.appBg,appContentBg=inherit.appContentBg,appBorderColor=inherit.appBorderColor,appBorderRadius=inherit.appBorderRadius,fontBase=inherit.fontBase,fontCode=inherit.fontCode,textColor=inherit.textColor,barTextColor=(inherit.textInverseColor,inherit.barTextColor),barSelectedColor=inherit.barSelectedColor,barBg=inherit.barBg,inputBg=inherit.inputBg,inputBorder=inherit.inputBorder,inputTextColor=inherit.inputTextColor,inputBorderRadius=inherit.inputBorderRadius,brandTitle=inherit.brandTitle,brandUrl=inherit.brandUrl,brandImage=inherit.brandImage,gridCellSize=inherit.gridCellSize,rest=_objectWithoutProperties(inherit,["base","colorPrimary","colorSecondary","appBg","appContentBg","appBorderColor","appBorderRadius","fontBase","fontCode","textColor","textInverseColor","barTextColor","barSelectedColor","barBg","inputBg","inputBorder","inputTextColor","inputBorderRadius","brandTitle","brandUrl","brandImage","gridCellSize"]);return Object.assign({},rest||{},{base,color:createColors(inherit),background:{app:appBg,bar:barBg,content:appContentBg,gridCellSize:gridCellSize||esm_base.Oq.gridCellSize,hoverable:esm_base.Oq.hoverable,positive:esm_base.Oq.positive,negative:esm_base.Oq.negative,warning:esm_base.Oq.warning,critical:esm_base.Oq.critical},typography:{fonts:{base:fontBase,mono:fontCode},weight:esm_base.cp.weight,size:esm_base.cp.size},animation,easing,input:{border:inputBorder,background:inputBg,color:inputTextColor,borderRadius:inputBorderRadius},layoutMargin:10,appBorderColor,appBorderRadius,barTextColor,barSelectedColor:barSelectedColor||colorSecondary,barBg,brand:{title:brandTitle,url:brandUrl,image:brandImage||(brandTitle?null:void 0)},code:create({colors:"light"===base?lightSyntaxColors:darkSyntaxColors,mono:fontCode}),addonActionsTheme:Object.assign({},"light"===base?chromeLight:chromeDark,{BASE_FONT_FAMILY:fontCode,BASE_FONT_SIZE:esm_base.cp.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:textColor,ARROW_COLOR:(0,polished_esm.jb)(.2,appBorderColor),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:fontCode,TREENODE_FONT_SIZE:esm_base.cp.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12})})}},"./node_modules/@storybook/theming/dist/esm/create.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{n:()=>themes});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var light=__webpack_require__("./node_modules/@storybook/theming/dist/esm/themes/light.js"),base=__webpack_require__("./node_modules/@storybook/theming/dist/esm/base.js");const dark={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:"#2f2f2f",appContentBg:base.$_.darkest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:base.cp.fonts.base,fontCode:base.cp.fonts.mono,textColor:base.$_.lightest,textInverseColor:base.$_.darkest,textMutedColor:base.$_.mediumdark,barTextColor:"#999999",barSelectedColor:base.$_.secondary,barBg:base.$_.darkest,inputBg:"#3f3f3f",inputBorder:"rgba(0,0,0,.3)",inputTextColor:base.$_.lightest,inputBorderRadius:4};var utils=__webpack_require__("./node_modules/@storybook/theming/dist/esm/utils.js"),themes={light:light.Z,dark,normal:light.Z};(0,utils.Q$)()},"./node_modules/@storybook/theming/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ignoreSsrWarning:()=>ignoreSsrWarning,styled:()=>styled});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),react=__webpack_require__("./node_modules/react/index.js"),is_prop_valid_browser_esm=__webpack_require__("./node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js"),core_browser_esm=__webpack_require__("./node_modules/@emotion/core/dist/core.browser.esm.js"),utils_browser_esm=__webpack_require__("./node_modules/@emotion/utils/dist/utils.browser.esm.js"),serialize_browser_esm=__webpack_require__("./node_modules/@emotion/serialize/dist/serialize.browser.esm.js"),testOmitPropsOnStringTag=is_prop_valid_browser_esm.Z,testOmitPropsOnComponent=function testOmitPropsOnComponent(key){return"theme"!==key&&"innerRef"!==key},getDefaultShouldForwardProp=function getDefaultShouldForwardProp(tag){return"string"==typeof tag&&tag.charCodeAt(0)>96?testOmitPropsOnStringTag:testOmitPropsOnComponent};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){(0,defineProperty.Z)(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var Noop=function Noop(){return null};const styled_base_browser_esm=function createStyled(tag,options){var identifierName,shouldForwardProp,targetClassName;void 0!==options&&(identifierName=options.label,targetClassName=options.target,shouldForwardProp=tag.__emotion_forwardProp&&options.shouldForwardProp?function(propName){return tag.__emotion_forwardProp(propName)&&options.shouldForwardProp(propName)}:options.shouldForwardProp);var isReal=tag.__emotion_real===tag,baseTag=isReal&&tag.__emotion_base||tag;"function"!=typeof shouldForwardProp&&isReal&&(shouldForwardProp=tag.__emotion_forwardProp);var defaultShouldForwardProp=shouldForwardProp||getDefaultShouldForwardProp(baseTag),shouldUseAs=!defaultShouldForwardProp("as");return function(){var args=arguments,styles=isReal&&void 0!==tag.__emotion_styles?tag.__emotion_styles.slice(0):[];if(void 0!==identifierName&&styles.push("label:"+identifierName+";"),null==args[0]||void 0===args[0].raw)styles.push.apply(styles,args);else{0,styles.push(args[0][0]);for(var len=args.length,i=1;i<len;i++)styles.push(args[i],args[0][i])}var Styled=(0,core_browser_esm.Xn)((function(props,context,ref){return(0,react.createElement)(core_browser_esm.Ni.Consumer,null,(function(theme){var finalTag=shouldUseAs&&props.as||baseTag,className="",classInterpolations=[],mergedProps=props;if(null==props.theme){for(var key in mergedProps={},props)mergedProps[key]=props[key];mergedProps.theme=theme}"string"==typeof props.className?className=(0,utils_browser_esm.f)(context.registered,classInterpolations,props.className):null!=props.className&&(className=props.className+" ");var serialized=(0,serialize_browser_esm.O)(styles.concat(classInterpolations),context.registered,mergedProps);(0,utils_browser_esm.M)(context,serialized,"string"==typeof finalTag);className+=context.key+"-"+serialized.name,void 0!==targetClassName&&(className+=" "+targetClassName);var finalShouldForwardProp=shouldUseAs&&void 0===shouldForwardProp?getDefaultShouldForwardProp(finalTag):defaultShouldForwardProp,newProps={};for(var _key in props)shouldUseAs&&"as"===_key||finalShouldForwardProp(_key)&&(newProps[_key]=props[_key]);newProps.className=className,newProps.ref=ref||props.innerRef;var ele=(0,react.createElement)(finalTag,newProps),possiblyStyleElement=(0,react.createElement)(Noop,null);return(0,react.createElement)(react.Fragment,null,possiblyStyleElement,ele)}))}));return Styled.displayName=void 0!==identifierName?identifierName:"Styled("+("string"==typeof baseTag?baseTag:baseTag.displayName||baseTag.name||"Component")+")",Styled.defaultProps=tag.defaultProps,Styled.__emotion_real=Styled,Styled.__emotion_base=baseTag,Styled.__emotion_styles=styles,Styled.__emotion_forwardProp=shouldForwardProp,Object.defineProperty(Styled,"toString",{value:function value(){return"."+targetClassName}}),Styled.withComponent=function(nextTag,nextOptions){return createStyled(nextTag,void 0!==nextOptions?_objectSpread({},options||{},{},nextOptions):options).apply(void 0,styles)},Styled}};var newStyled=styled_base_browser_esm.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(tagName){newStyled[tagName]=newStyled(tagName)}));const styled_browser_esm=newStyled;__webpack_require__("./node_modules/emotion-theming/dist/emotion-theming.browser.esm.js");var styled=styled_browser_esm,ignoreSsrWarning="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */"},"./node_modules/@storybook/theming/dist/esm/themes/light.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _base__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/base.js");const __WEBPACK_DEFAULT_EXPORT__={base:"light",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:_base__WEBPACK_IMPORTED_MODULE_0__.Oq.app,appContentBg:_base__WEBPACK_IMPORTED_MODULE_0__.$_.lightest,appBorderColor:_base__WEBPACK_IMPORTED_MODULE_0__.$_.border,appBorderRadius:4,fontBase:_base__WEBPACK_IMPORTED_MODULE_0__.cp.fonts.base,fontCode:_base__WEBPACK_IMPORTED_MODULE_0__.cp.fonts.mono,textColor:_base__WEBPACK_IMPORTED_MODULE_0__.$_.darkest,textInverseColor:_base__WEBPACK_IMPORTED_MODULE_0__.$_.lightest,textMutedColor:_base__WEBPACK_IMPORTED_MODULE_0__.$_.dark,barTextColor:_base__WEBPACK_IMPORTED_MODULE_0__.$_.mediumdark,barSelectedColor:_base__WEBPACK_IMPORTED_MODULE_0__.$_.secondary,barBg:_base__WEBPACK_IMPORTED_MODULE_0__.$_.lightest,inputBg:_base__WEBPACK_IMPORTED_MODULE_0__.$_.lightest,inputBorder:_base__WEBPACK_IMPORTED_MODULE_0__.$_.border,inputTextColor:_base__WEBPACK_IMPORTED_MODULE_0__.$_.darkest,inputBorderRadius:4}},"./node_modules/@storybook/theming/dist/esm/utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Q$:()=>getPreferredColorScheme,TE:()=>mkColor,r5:()=>darkenColor,tG:()=>lightenColor});__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js");var polished__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),global__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/global/window.js"),global__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_8__),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js");function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var globalWindow=global__WEBPACK_IMPORTED_MODULE_8___default().window,mkColor=function mkColor(color){return{color}},colorFactory=function colorFactory(type){return function(color){if(!function isColorString(color){return"string"==typeof color||(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_9__.kg.warn("Color passed to theme object should be a string. Instead "+"".concat(color,"(").concat(_typeof(color),") was passed.")),!1)}(color))return color;if(!function isValidColorForPolished(color){return!/(gradient|var|calc)/.test(color)}(color))return color;try{return function applyPolished(type,color){return"darken"===type?(0,polished__WEBPACK_IMPORTED_MODULE_10__.m4)("".concat((0,polished__WEBPACK_IMPORTED_MODULE_10__._j)(1,color)),.95):"lighten"===type?(0,polished__WEBPACK_IMPORTED_MODULE_10__.m4)("".concat((0,polished__WEBPACK_IMPORTED_MODULE_10__.$n)(1,color)),.95):color}(type,color)}catch(error){return color}}},lightenColor=colorFactory("lighten"),darkenColor=colorFactory("darken"),getPreferredColorScheme=function getPreferredColorScheme(){return globalWindow&&globalWindow.matchMedia&&globalWindow.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}},"./node_modules/@videojs/xhr/lib/http-handler.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var window=__webpack_require__("./node_modules/global/window.js");module.exports=function httpResponseHandler(callback,decodeResponseBody){return void 0===decodeResponseBody&&(decodeResponseBody=!1),function(err,response,responseBody){if(err)callback(err);else if(response.statusCode>=400&&response.statusCode<=599){var cause=responseBody;if(decodeResponseBody)if(window.TextDecoder){var charset=function getCharset(contentTypeHeader){void 0===contentTypeHeader&&(contentTypeHeader="");return contentTypeHeader.toLowerCase().split(";").reduce((function(charset,contentType){var _contentType$split=contentType.split("="),type=_contentType$split[0],value=_contentType$split[1];return"charset"===type.trim()?value.trim():charset}),"utf-8")}(response.headers&&response.headers["content-type"]);try{cause=new TextDecoder(charset).decode(responseBody)}catch(e){}}else cause=String.fromCharCode.apply(null,new Uint8Array(responseBody));callback({cause})}else callback(null,responseBody)}}},"./node_modules/@videojs/xhr/lib/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var window=__webpack_require__("./node_modules/global/window.js"),_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/extends.js"),isFunction=__webpack_require__("./node_modules/is-function/index.js");createXHR.httpHandler=__webpack_require__("./node_modules/@videojs/xhr/lib/http-handler.js");function initParams(uri,options,callback){var params=uri;return isFunction(options)?(callback=options,"string"==typeof uri&&(params={uri})):params=_extends({},options,{uri}),params.callback=callback,params}function createXHR(uri,options,callback){return _createXHR(options=initParams(uri,options,callback))}function _createXHR(options){if(void 0===options.callback)throw new Error("callback argument missing");var called=!1,callback=function cbOnce(err,response,body){called||(called=!0,options.callback(err,response,body))};function getBody(){var body=void 0;if(body=xhr.response?xhr.response:xhr.responseText||function getXml(xhr){try{if("document"===xhr.responseType)return xhr.responseXML;var firefoxBugTakenEffect=xhr.responseXML&&"parsererror"===xhr.responseXML.documentElement.nodeName;if(""===xhr.responseType&&!firefoxBugTakenEffect)return xhr.responseXML}catch(e){}return null}(xhr),isJson)try{body=JSON.parse(body)}catch(e){}return body}function errorFunc(evt){return clearTimeout(timeoutTimer),evt instanceof Error||(evt=new Error(""+(evt||"Unknown XMLHttpRequest Error"))),evt.statusCode=0,callback(evt,failureResponse)}function loadFunc(){if(!aborted){var status;clearTimeout(timeoutTimer),status=options.useXDR&&void 0===xhr.status?200:1223===xhr.status?204:xhr.status;var response=failureResponse,err=null;return 0!==status?(response={body:getBody(),statusCode:status,method,headers:{},url:uri,rawRequest:xhr},xhr.getAllResponseHeaders&&(response.headers=function parseHeaders(headers){var result={};return headers?(headers.trim().split("\n").forEach((function(row){var index=row.indexOf(":"),key=row.slice(0,index).trim().toLowerCase(),value=row.slice(index+1).trim();void 0===result[key]?result[key]=value:Array.isArray(result[key])?result[key].push(value):result[key]=[result[key],value]})),result):result}(xhr.getAllResponseHeaders()))):err=new Error("Internal XMLHttpRequest Error"),callback(err,response,response.body)}}var key,aborted,xhr=options.xhr||null;xhr||(xhr=options.cors||options.useXDR?new createXHR.XDomainRequest:new createXHR.XMLHttpRequest);var timeoutTimer,uri=xhr.url=options.uri||options.url,method=xhr.method=options.method||"GET",body=options.body||options.data,headers=xhr.headers=options.headers||{},sync=!!options.sync,isJson=!1,failureResponse={body:void 0,headers:{},statusCode:0,method,url:uri,rawRequest:xhr};if("json"in options&&!1!==options.json&&(isJson=!0,headers.accept||headers.Accept||(headers.Accept="application/json"),"GET"!==method&&"HEAD"!==method&&(headers["content-type"]||headers["Content-Type"]||(headers["Content-Type"]="application/json"),body=JSON.stringify(!0===options.json?body:options.json))),xhr.onreadystatechange=function readystatechange(){4===xhr.readyState&&setTimeout(loadFunc,0)},xhr.onload=loadFunc,xhr.onerror=errorFunc,xhr.onprogress=function(){},xhr.onabort=function(){aborted=!0},xhr.ontimeout=errorFunc,xhr.open(method,uri,!sync,options.username,options.password),sync||(xhr.withCredentials=!!options.withCredentials),!sync&&options.timeout>0&&(timeoutTimer=setTimeout((function(){if(!aborted){aborted=!0,xhr.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",errorFunc(e)}}),options.timeout)),xhr.setRequestHeader)for(key in headers)headers.hasOwnProperty(key)&&xhr.setRequestHeader(key,headers[key]);else if(options.headers&&!function isEmpty(obj){for(var i in obj)if(obj.hasOwnProperty(i))return!1;return!0}(options.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in options&&(xhr.responseType=options.responseType),"beforeSend"in options&&"function"==typeof options.beforeSend&&options.beforeSend(xhr),xhr.send(body||null),xhr}module.exports=createXHR,module.exports.default=createXHR,createXHR.XMLHttpRequest=window.XMLHttpRequest||function noop(){},createXHR.XDomainRequest="withCredentials"in new createXHR.XMLHttpRequest?createXHR.XMLHttpRequest:window.XDomainRequest,function forEachArray(array,iterator){for(var i=0;i<array.length;i++)iterator(array[i])}(["get","put","post","patch","head","delete"],(function(method){createXHR["delete"===method?"del":method]=function(uri,options,callback){return(options=initParams(uri,options,callback)).method=method.toUpperCase(),_createXHR(options)}}))},"./node_modules/@xmldom/xmldom/lib/conventions.js":(__unused_webpack_module,exports)=>{"use strict";function freeze(object,oc){return void 0===oc&&(oc=Object),oc&&"function"==typeof oc.freeze?oc.freeze(object):object}var MIME_TYPE=freeze({HTML:"text/html",isHTML:function(value){return value===MIME_TYPE.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),NAMESPACE=freeze({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(uri){return uri===NAMESPACE.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});exports.freeze=freeze,exports.MIME_TYPE=MIME_TYPE,exports.NAMESPACE=NAMESPACE},"./node_modules/@xmldom/xmldom/lib/dom-parser.js":(__unused_webpack_module,exports,__webpack_require__)=>{var conventions=__webpack_require__("./node_modules/@xmldom/xmldom/lib/conventions.js"),dom=__webpack_require__("./node_modules/@xmldom/xmldom/lib/dom.js"),entities=__webpack_require__("./node_modules/@xmldom/xmldom/lib/entities.js"),sax=__webpack_require__("./node_modules/@xmldom/xmldom/lib/sax.js"),DOMImplementation=dom.DOMImplementation,NAMESPACE=conventions.NAMESPACE,ParseError=sax.ParseError,XMLReader=sax.XMLReader;function DOMParser(options){this.options=options||{locator:{}}}function DOMHandler(){this.cdata=!1}function position(locator,node){node.lineNumber=locator.lineNumber,node.columnNumber=locator.columnNumber}function _locator(l){if(l)return"\n@"+(l.systemId||"")+"#[line:"+l.lineNumber+",col:"+l.columnNumber+"]"}function _toString(chars,start,length){return"string"==typeof chars?chars.substr(start,length):chars.length>=start+length||start?new java.lang.String(chars,start,length)+"":chars}function appendElement(hander,node){hander.currentElement?hander.currentElement.appendChild(node):hander.doc.appendChild(node)}DOMParser.prototype.parseFromString=function(source,mimeType){var options=this.options,sax=new XMLReader,domBuilder=options.domBuilder||new DOMHandler,errorHandler=options.errorHandler,locator=options.locator,defaultNSMap=options.xmlns||{},isHTML=/\/x?html?$/.test(mimeType),entityMap=isHTML?entities.HTML_ENTITIES:entities.XML_ENTITIES;return locator&&domBuilder.setDocumentLocator(locator),sax.errorHandler=function buildErrorHandler(errorImpl,domBuilder,locator){if(!errorImpl){if(domBuilder instanceof DOMHandler)return domBuilder;errorImpl=domBuilder}var errorHandler={},isCallback=errorImpl instanceof Function;function build(key){var fn=errorImpl[key];!fn&&isCallback&&(fn=2==errorImpl.length?function(msg){errorImpl(key,msg)}:errorImpl),errorHandler[key]=fn&&function(msg){fn("[xmldom "+key+"]\t"+msg+_locator(locator))}||function(){}}return locator=locator||{},build("warning"),build("error"),build("fatalError"),errorHandler}(errorHandler,domBuilder,locator),sax.domBuilder=options.domBuilder||domBuilder,isHTML&&(defaultNSMap[""]=NAMESPACE.HTML),defaultNSMap.xml=defaultNSMap.xml||NAMESPACE.XML,source&&"string"==typeof source?sax.parse(source,defaultNSMap,entityMap):sax.errorHandler.error("invalid doc source"),domBuilder.doc},DOMHandler.prototype={startDocument:function(){this.doc=(new DOMImplementation).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(namespaceURI,localName,qName,attrs){var doc=this.doc,el=doc.createElementNS(namespaceURI,qName||localName),len=attrs.length;appendElement(this,el),this.currentElement=el,this.locator&&position(this.locator,el);for(var i=0;i<len;i++){namespaceURI=attrs.getURI(i);var value=attrs.getValue(i),attr=(qName=attrs.getQName(i),doc.createAttributeNS(namespaceURI,qName));this.locator&&position(attrs.getLocator(i),attr),attr.value=attr.nodeValue=value,el.setAttributeNode(attr)}},endElement:function(namespaceURI,localName,qName){var current=this.currentElement;current.tagName;this.currentElement=current.parentNode},startPrefixMapping:function(prefix,uri){},endPrefixMapping:function(prefix){},processingInstruction:function(target,data){var ins=this.doc.createProcessingInstruction(target,data);this.locator&&position(this.locator,ins),appendElement(this,ins)},ignorableWhitespace:function(ch,start,length){},characters:function(chars,start,length){if(chars=_toString.apply(this,arguments)){if(this.cdata)var charNode=this.doc.createCDATASection(chars);else charNode=this.doc.createTextNode(chars);this.currentElement?this.currentElement.appendChild(charNode):/^\s*$/.test(chars)&&this.doc.appendChild(charNode),this.locator&&position(this.locator,charNode)}},skippedEntity:function(name){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(locator){(this.locator=locator)&&(locator.lineNumber=0)},comment:function(chars,start,length){chars=_toString.apply(this,arguments);var comm=this.doc.createComment(chars);this.locator&&position(this.locator,comm),appendElement(this,comm)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(name,publicId,systemId){var impl=this.doc.implementation;if(impl&&impl.createDocumentType){var dt=impl.createDocumentType(name,publicId,systemId);this.locator&&position(this.locator,dt),appendElement(this,dt),this.doc.doctype=dt}},warning:function(error){console.warn("[xmldom warning]\t"+error,_locator(this.locator))},error:function(error){console.error("[xmldom error]\t"+error,_locator(this.locator))},fatalError:function(error){throw new ParseError(error,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(key){DOMHandler.prototype[key]=function(){return null}})),exports.DOMParser=DOMParser,dom.DOMImplementation,dom.XMLSerializer},"./node_modules/@xmldom/xmldom/lib/dom.js":(__unused_webpack_module,exports,__webpack_require__)=>{var NAMESPACE=__webpack_require__("./node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE;function notEmptyString(input){return""!==input}function orderedSetReducer(current,element){return current.hasOwnProperty(element)||(current[element]=!0),current}function toOrderedSet(input){if(!input)return[];var list=function splitOnASCIIWhitespace(input){return input?input.split(/[\t\n\f\r ]+/).filter(notEmptyString):[]}(input);return Object.keys(list.reduce(orderedSetReducer,{}))}function copy(src,dest){for(var p in src)dest[p]=src[p]}function _extends(Class,Super){var pt=Class.prototype;if(!(pt instanceof Super)){function t(){}t.prototype=Super.prototype,copy(pt,t=new t),Class.prototype=pt=t}pt.constructor!=Class&&("function"!=typeof Class&&console.error("unknown Class:"+Class),pt.constructor=Class)}var NodeType={},ELEMENT_NODE=NodeType.ELEMENT_NODE=1,ATTRIBUTE_NODE=NodeType.ATTRIBUTE_NODE=2,TEXT_NODE=NodeType.TEXT_NODE=3,CDATA_SECTION_NODE=NodeType.CDATA_SECTION_NODE=4,ENTITY_REFERENCE_NODE=NodeType.ENTITY_REFERENCE_NODE=5,ENTITY_NODE=NodeType.ENTITY_NODE=6,PROCESSING_INSTRUCTION_NODE=NodeType.PROCESSING_INSTRUCTION_NODE=7,COMMENT_NODE=NodeType.COMMENT_NODE=8,DOCUMENT_NODE=NodeType.DOCUMENT_NODE=9,DOCUMENT_TYPE_NODE=NodeType.DOCUMENT_TYPE_NODE=10,DOCUMENT_FRAGMENT_NODE=NodeType.DOCUMENT_FRAGMENT_NODE=11,NOTATION_NODE=NodeType.NOTATION_NODE=12,ExceptionCode={},ExceptionMessage={},HIERARCHY_REQUEST_ERR=(ExceptionCode.INDEX_SIZE_ERR=(ExceptionMessage[1]="Index size error",1),ExceptionCode.DOMSTRING_SIZE_ERR=(ExceptionMessage[2]="DOMString size error",2),ExceptionCode.HIERARCHY_REQUEST_ERR=(ExceptionMessage[3]="Hierarchy request error",3)),NOT_FOUND_ERR=(ExceptionCode.WRONG_DOCUMENT_ERR=(ExceptionMessage[4]="Wrong document",4),ExceptionCode.INVALID_CHARACTER_ERR=(ExceptionMessage[5]="Invalid character",5),ExceptionCode.NO_DATA_ALLOWED_ERR=(ExceptionMessage[6]="No data allowed",6),ExceptionCode.NO_MODIFICATION_ALLOWED_ERR=(ExceptionMessage[7]="No modification allowed",7),ExceptionCode.NOT_FOUND_ERR=(ExceptionMessage[8]="Not found",8)),INUSE_ATTRIBUTE_ERR=(ExceptionCode.NOT_SUPPORTED_ERR=(ExceptionMessage[9]="Not supported",9),ExceptionCode.INUSE_ATTRIBUTE_ERR=(ExceptionMessage[10]="Attribute in use",10));ExceptionCode.INVALID_STATE_ERR=(ExceptionMessage[11]="Invalid state",11),ExceptionCode.SYNTAX_ERR=(ExceptionMessage[12]="Syntax error",12),ExceptionCode.INVALID_MODIFICATION_ERR=(ExceptionMessage[13]="Invalid modification",13),ExceptionCode.NAMESPACE_ERR=(ExceptionMessage[14]="Invalid namespace",14),ExceptionCode.INVALID_ACCESS_ERR=(ExceptionMessage[15]="Invalid access",15);function DOMException(code,message){if(message instanceof Error)var error=message;else error=this,Error.call(this,ExceptionMessage[code]),this.message=ExceptionMessage[code],Error.captureStackTrace&&Error.captureStackTrace(this,DOMException);return error.code=code,message&&(this.message=this.message+": "+message),error}function NodeList(){}function LiveNodeList(node,refresh){this._node=node,this._refresh=refresh,_updateLiveList(this)}function _updateLiveList(list){var inc=list._node._inc||list._node.ownerDocument._inc;if(list._inc!=inc){var ls=list._refresh(list._node);__set__(list,"length",ls.length),copy(ls,list),list._inc=inc}}function NamedNodeMap(){}function _findNodeIndex(list,node){for(var i=list.length;i--;)if(list[i]===node)return i}function _addNamedNode(el,list,newAttr,oldAttr){if(oldAttr?list[_findNodeIndex(list,oldAttr)]=newAttr:list[list.length++]=newAttr,el){newAttr.ownerElement=el;var doc=el.ownerDocument;doc&&(oldAttr&&_onRemoveAttribute(doc,el,oldAttr),function _onAddAttribute(doc,el,newAttr){doc&&doc._inc++,newAttr.namespaceURI===NAMESPACE.XMLNS&&(el._nsMap[newAttr.prefix?newAttr.localName:""]=newAttr.value)}(doc,el,newAttr))}}function _removeNamedNode(el,list,attr){var i=_findNodeIndex(list,attr);if(!(i>=0))throw DOMException(NOT_FOUND_ERR,new Error(el.tagName+"@"+attr));for(var lastIndex=list.length-1;i<lastIndex;)list[i]=list[++i];if(list.length=lastIndex,el){var doc=el.ownerDocument;doc&&(_onRemoveAttribute(doc,el,attr),attr.ownerElement=null)}}function DOMImplementation(){}function Node(){}function _xmlEncoder(c){return("<"==c?"<":">"==c&&">")||"&"==c&&"&"||'"'==c&&"""||"&#"+c.charCodeAt()+";"}function _visitNode(node,callback){if(callback(node))return!0;if(node=node.firstChild)do{if(_visitNode(node,callback))return!0}while(node=node.nextSibling)}function Document(){}function _onRemoveAttribute(doc,el,newAttr,remove){doc&&doc._inc++,newAttr.namespaceURI===NAMESPACE.XMLNS&&delete el._nsMap[newAttr.prefix?newAttr.localName:""]}function _onUpdateChild(doc,el,newChild){if(doc&&doc._inc){doc._inc++;var cs=el.childNodes;if(newChild)cs[cs.length++]=newChild;else{for(var child=el.firstChild,i=0;child;)cs[i++]=child,child=child.nextSibling;cs.length=i}}}function _removeChild(parentNode,child){var previous=child.previousSibling,next=child.nextSibling;return previous?previous.nextSibling=next:parentNode.firstChild=next,next?next.previousSibling=previous:parentNode.lastChild=previous,_onUpdateChild(parentNode.ownerDocument,parentNode),child}function _insertBefore(parentNode,newChild,nextChild){var cp=newChild.parentNode;if(cp&&cp.removeChild(newChild),newChild.nodeType===DOCUMENT_FRAGMENT_NODE){var newFirst=newChild.firstChild;if(null==newFirst)return newChild;var newLast=newChild.lastChild}else newFirst=newLast=newChild;var pre=nextChild?nextChild.previousSibling:parentNode.lastChild;newFirst.previousSibling=pre,newLast.nextSibling=nextChild,pre?pre.nextSibling=newFirst:parentNode.firstChild=newFirst,null==nextChild?parentNode.lastChild=newLast:nextChild.previousSibling=newLast;do{newFirst.parentNode=parentNode}while(newFirst!==newLast&&(newFirst=newFirst.nextSibling));return _onUpdateChild(parentNode.ownerDocument||parentNode,parentNode),newChild.nodeType==DOCUMENT_FRAGMENT_NODE&&(newChild.firstChild=newChild.lastChild=null),newChild}function Element(){this._nsMap={}}function Attr(){}function CharacterData(){}function Text(){}function Comment(){}function CDATASection(){}function DocumentType(){}function Notation(){}function Entity(){}function EntityReference(){}function DocumentFragment(){}function ProcessingInstruction(){}function XMLSerializer(){}function nodeSerializeToString(isHtml,nodeFilter){var buf=[],refNode=9==this.nodeType&&this.documentElement||this,prefix=refNode.prefix,uri=refNode.namespaceURI;if(uri&&null==prefix&&null==(prefix=refNode.lookupPrefix(uri)))var visibleNamespaces=[{namespace:uri,prefix:null}];return serializeToString(this,buf,isHtml,nodeFilter,visibleNamespaces),buf.join("")}function needNamespaceDefine(node,isHTML,visibleNamespaces){var prefix=node.prefix||"",uri=node.namespaceURI;if(!uri)return!1;if("xml"===prefix&&uri===NAMESPACE.XML||uri===NAMESPACE.XMLNS)return!1;for(var i=visibleNamespaces.length;i--;){var ns=visibleNamespaces[i];if(ns.prefix===prefix)return ns.namespace!==uri}return!0}function addSerializedAttribute(buf,qualifiedName,value){buf.push(" ",qualifiedName,'="',value.replace(/[<&"]/g,_xmlEncoder),'"')}function serializeToString(node,buf,isHTML,nodeFilter,visibleNamespaces){if(visibleNamespaces||(visibleNamespaces=[]),nodeFilter){if(!(node=nodeFilter(node)))return;if("string"==typeof node)return void buf.push(node)}switch(node.nodeType){case ELEMENT_NODE:var attrs=node.attributes,len=attrs.length,child=node.firstChild,nodeName=node.tagName,prefixedNodeName=nodeName;if(!(isHTML=NAMESPACE.isHTML(node.namespaceURI)||isHTML)&&!node.prefix&&node.namespaceURI){for(var defaultNS,ai=0;ai<attrs.length;ai++)if("xmlns"===attrs.item(ai).name){defaultNS=attrs.item(ai).value;break}if(!defaultNS)for(var nsi=visibleNamespaces.length-1;nsi>=0;nsi--){if(""===(namespace=visibleNamespaces[nsi]).prefix&&namespace.namespace===node.namespaceURI){defaultNS=namespace.namespace;break}}if(defaultNS!==node.namespaceURI)for(nsi=visibleNamespaces.length-1;nsi>=0;nsi--){var namespace;if((namespace=visibleNamespaces[nsi]).namespace===node.namespaceURI){namespace.prefix&&(prefixedNodeName=namespace.prefix+":"+nodeName);break}}}buf.push("<",prefixedNodeName);for(var i=0;i<len;i++){"xmlns"==(attr=attrs.item(i)).prefix?visibleNamespaces.push({prefix:attr.localName,namespace:attr.value}):"xmlns"==attr.nodeName&&visibleNamespaces.push({prefix:"",namespace:attr.value})}for(i=0;i<len;i++){var attr,prefix,uri;if(needNamespaceDefine(attr=attrs.item(i),0,visibleNamespaces))addSerializedAttribute(buf,(prefix=attr.prefix||"")?"xmlns:"+prefix:"xmlns",uri=attr.namespaceURI),visibleNamespaces.push({prefix,namespace:uri});serializeToString(attr,buf,isHTML,nodeFilter,visibleNamespaces)}if(nodeName===prefixedNodeName&&needNamespaceDefine(node,0,visibleNamespaces))addSerializedAttribute(buf,(prefix=node.prefix||"")?"xmlns:"+prefix:"xmlns",uri=node.namespaceURI),visibleNamespaces.push({prefix,namespace:uri});if(child||isHTML&&!/^(?:meta|link|img|br|hr|input)$/i.test(nodeName)){if(buf.push(">"),isHTML&&/^script$/i.test(nodeName))for(;child;)child.data?buf.push(child.data):serializeToString(child,buf,isHTML,nodeFilter,visibleNamespaces.slice()),child=child.nextSibling;else for(;child;)serializeToString(child,buf,isHTML,nodeFilter,visibleNamespaces.slice()),child=child.nextSibling;buf.push("</",prefixedNodeName,">")}else buf.push("/>");return;case DOCUMENT_NODE:case DOCUMENT_FRAGMENT_NODE:for(child=node.firstChild;child;)serializeToString(child,buf,isHTML,nodeFilter,visibleNamespaces.slice()),child=child.nextSibling;return;case ATTRIBUTE_NODE:return addSerializedAttribute(buf,node.name,node.value);case TEXT_NODE:return buf.push(node.data.replace(/[<&]/g,_xmlEncoder).replace(/]]>/g,"]]>"));case CDATA_SECTION_NODE:return buf.push("<![CDATA[",node.data,"]]>");case COMMENT_NODE:return buf.push("\x3c!--",node.data,"--\x3e");case DOCUMENT_TYPE_NODE:var pubid=node.publicId,sysid=node.systemId;if(buf.push("<!DOCTYPE ",node.name),pubid)buf.push(" PUBLIC ",pubid),sysid&&"."!=sysid&&buf.push(" ",sysid),buf.push(">");else if(sysid&&"."!=sysid)buf.push(" SYSTEM ",sysid,">");else{var sub=node.internalSubset;sub&&buf.push(" [",sub,"]"),buf.push(">")}return;case PROCESSING_INSTRUCTION_NODE:return buf.push("<?",node.target," ",node.data,"?>");case ENTITY_REFERENCE_NODE:return buf.push("&",node.nodeName,";");default:buf.push("??",node.nodeName)}}function importNode(doc,node,deep){var node2;switch(node.nodeType){case ELEMENT_NODE:(node2=node.cloneNode(!1)).ownerDocument=doc;case DOCUMENT_FRAGMENT_NODE:break;case ATTRIBUTE_NODE:deep=!0}if(node2||(node2=node.cloneNode(!1)),node2.ownerDocument=doc,node2.parentNode=null,deep)for(var child=node.firstChild;child;)node2.appendChild(importNode(doc,child,deep)),child=child.nextSibling;return node2}function cloneNode(doc,node,deep){var node2=new node.constructor;for(var n in node){var v=node[n];"object"!=typeof v&&v!=node2[n]&&(node2[n]=v)}switch(node.childNodes&&(node2.childNodes=new NodeList),node2.ownerDocument=doc,node2.nodeType){case ELEMENT_NODE:var attrs=node.attributes,attrs2=node2.attributes=new NamedNodeMap,len=attrs.length;attrs2._ownerElement=node2;for(var i=0;i<len;i++)node2.setAttributeNode(cloneNode(doc,attrs.item(i),!0));break;case ATTRIBUTE_NODE:deep=!0}if(deep)for(var child=node.firstChild;child;)node2.appendChild(cloneNode(doc,child,deep)),child=child.nextSibling;return node2}function __set__(object,key,value){object[key]=value}DOMException.prototype=Error.prototype,copy(ExceptionCode,DOMException),NodeList.prototype={length:0,item:function(index){return this[index]||null},toString:function(isHTML,nodeFilter){for(var buf=[],i=0;i<this.length;i++)serializeToString(this[i],buf,isHTML,nodeFilter);return buf.join("")}},LiveNodeList.prototype.item=function(i){return _updateLiveList(this),this[i]},_extends(LiveNodeList,NodeList),NamedNodeMap.prototype={length:0,item:NodeList.prototype.item,getNamedItem:function(key){for(var i=this.length;i--;){var attr=this[i];if(attr.nodeName==key)return attr}},setNamedItem:function(attr){var el=attr.ownerElement;if(el&&el!=this._ownerElement)throw new DOMException(INUSE_ATTRIBUTE_ERR);var oldAttr=this.getNamedItem(attr.nodeName);return _addNamedNode(this._ownerElement,this,attr,oldAttr),oldAttr},setNamedItemNS:function(attr){var oldAttr,el=attr.ownerElement;if(el&&el!=this._ownerElement)throw new DOMException(INUSE_ATTRIBUTE_ERR);return oldAttr=this.getNamedItemNS(attr.namespaceURI,attr.localName),_addNamedNode(this._ownerElement,this,attr,oldAttr),oldAttr},removeNamedItem:function(key){var attr=this.getNamedItem(key);return _removeNamedNode(this._ownerElement,this,attr),attr},removeNamedItemNS:function(namespaceURI,localName){var attr=this.getNamedItemNS(namespaceURI,localName);return _removeNamedNode(this._ownerElement,this,attr),attr},getNamedItemNS:function(namespaceURI,localName){for(var i=this.length;i--;){var node=this[i];if(node.localName==localName&&node.namespaceURI==namespaceURI)return node}return null}},DOMImplementation.prototype={hasFeature:function(feature,version){return!0},createDocument:function(namespaceURI,qualifiedName,doctype){var doc=new Document;if(doc.implementation=this,doc.childNodes=new NodeList,doc.doctype=doctype||null,doctype&&doc.appendChild(doctype),qualifiedName){var root=doc.createElementNS(namespaceURI,qualifiedName);doc.appendChild(root)}return doc},createDocumentType:function(qualifiedName,publicId,systemId){var node=new DocumentType;return node.name=qualifiedName,node.nodeName=qualifiedName,node.publicId=publicId||"",node.systemId=systemId||"",node}},Node.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(newChild,refChild){return _insertBefore(this,newChild,refChild)},replaceChild:function(newChild,oldChild){this.insertBefore(newChild,oldChild),oldChild&&this.removeChild(oldChild)},removeChild:function(oldChild){return _removeChild(this,oldChild)},appendChild:function(newChild){return this.insertBefore(newChild,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(deep){return cloneNode(this.ownerDocument||this,this,deep)},normalize:function(){for(var child=this.firstChild;child;){var next=child.nextSibling;next&&next.nodeType==TEXT_NODE&&child.nodeType==TEXT_NODE?(this.removeChild(next),child.appendData(next.data)):(child.normalize(),child=next)}},isSupported:function(feature,version){return this.ownerDocument.implementation.hasFeature(feature,version)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(namespaceURI){for(var el=this;el;){var map=el._nsMap;if(map)for(var n in map)if(map[n]==namespaceURI)return n;el=el.nodeType==ATTRIBUTE_NODE?el.ownerDocument:el.parentNode}return null},lookupNamespaceURI:function(prefix){for(var el=this;el;){var map=el._nsMap;if(map&&prefix in map)return map[prefix];el=el.nodeType==ATTRIBUTE_NODE?el.ownerDocument:el.parentNode}return null},isDefaultNamespace:function(namespaceURI){return null==this.lookupPrefix(namespaceURI)}},copy(NodeType,Node),copy(NodeType,Node.prototype),Document.prototype={nodeName:"#document",nodeType:DOCUMENT_NODE,doctype:null,documentElement:null,_inc:1,insertBefore:function(newChild,refChild){if(newChild.nodeType==DOCUMENT_FRAGMENT_NODE){for(var child=newChild.firstChild;child;){var next=child.nextSibling;this.insertBefore(child,refChild),child=next}return newChild}return null==this.documentElement&&newChild.nodeType==ELEMENT_NODE&&(this.documentElement=newChild),_insertBefore(this,newChild,refChild),newChild.ownerDocument=this,newChild},removeChild:function(oldChild){return this.documentElement==oldChild&&(this.documentElement=null),_removeChild(this,oldChild)},importNode:function(importedNode,deep){return importNode(this,importedNode,deep)},getElementById:function(id){var rtv=null;return _visitNode(this.documentElement,(function(node){if(node.nodeType==ELEMENT_NODE&&node.getAttribute("id")==id)return rtv=node,!0})),rtv},getElementsByClassName:function(classNames){var classNamesSet=toOrderedSet(classNames);return new LiveNodeList(this,(function(base){var ls=[];return classNamesSet.length>0&&_visitNode(base.documentElement,(function(node){if(node!==base&&node.nodeType===ELEMENT_NODE){var nodeClassNames=node.getAttribute("class");if(nodeClassNames){var matches=classNames===nodeClassNames;if(!matches){var nodeClassNamesSet=toOrderedSet(nodeClassNames);matches=classNamesSet.every(function arrayIncludes(list){return function(element){return list&&-1!==list.indexOf(element)}}(nodeClassNamesSet))}matches&&ls.push(node)}}})),ls}))},createElement:function(tagName){var node=new Element;return node.ownerDocument=this,node.nodeName=tagName,node.tagName=tagName,node.localName=tagName,node.childNodes=new NodeList,(node.attributes=new NamedNodeMap)._ownerElement=node,node},createDocumentFragment:function(){var node=new DocumentFragment;return node.ownerDocument=this,node.childNodes=new NodeList,node},createTextNode:function(data){var node=new Text;return node.ownerDocument=this,node.appendData(data),node},createComment:function(data){var node=new Comment;return node.ownerDocument=this,node.appendData(data),node},createCDATASection:function(data){var node=new CDATASection;return node.ownerDocument=this,node.appendData(data),node},createProcessingInstruction:function(target,data){var node=new ProcessingInstruction;return node.ownerDocument=this,node.tagName=node.target=target,node.nodeValue=node.data=data,node},createAttribute:function(name){var node=new Attr;return node.ownerDocument=this,node.name=name,node.nodeName=name,node.localName=name,node.specified=!0,node},createEntityReference:function(name){var node=new EntityReference;return node.ownerDocument=this,node.nodeName=name,node},createElementNS:function(namespaceURI,qualifiedName){var node=new Element,pl=qualifiedName.split(":"),attrs=node.attributes=new NamedNodeMap;return node.childNodes=new NodeList,node.ownerDocument=this,node.nodeName=qualifiedName,node.tagName=qualifiedName,node.namespaceURI=namespaceURI,2==pl.length?(node.prefix=pl[0],node.localName=pl[1]):node.localName=qualifiedName,attrs._ownerElement=node,node},createAttributeNS:function(namespaceURI,qualifiedName){var node=new Attr,pl=qualifiedName.split(":");return node.ownerDocument=this,node.nodeName=qualifiedName,node.name=qualifiedName,node.namespaceURI=namespaceURI,node.specified=!0,2==pl.length?(node.prefix=pl[0],node.localName=pl[1]):node.localName=qualifiedName,node}},_extends(Document,Node),Element.prototype={nodeType:ELEMENT_NODE,hasAttribute:function(name){return null!=this.getAttributeNode(name)},getAttribute:function(name){var attr=this.getAttributeNode(name);return attr&&attr.value||""},getAttributeNode:function(name){return this.attributes.getNamedItem(name)},setAttribute:function(name,value){var attr=this.ownerDocument.createAttribute(name);attr.value=attr.nodeValue=""+value,this.setAttributeNode(attr)},removeAttribute:function(name){var attr=this.getAttributeNode(name);attr&&this.removeAttributeNode(attr)},appendChild:function(newChild){return newChild.nodeType===DOCUMENT_FRAGMENT_NODE?this.insertBefore(newChild,null):function _appendSingleChild(parentNode,newChild){var cp=newChild.parentNode;if(cp){var pre=parentNode.lastChild;cp.removeChild(newChild),pre=parentNode.lastChild}return pre=parentNode.lastChild,newChild.parentNode=parentNode,newChild.previousSibling=pre,newChild.nextSibling=null,pre?pre.nextSibling=newChild:parentNode.firstChild=newChild,parentNode.lastChild=newChild,_onUpdateChild(parentNode.ownerDocument,parentNode,newChild),newChild}(this,newChild)},setAttributeNode:function(newAttr){return this.attributes.setNamedItem(newAttr)},setAttributeNodeNS:function(newAttr){return this.attributes.setNamedItemNS(newAttr)},removeAttributeNode:function(oldAttr){return this.attributes.removeNamedItem(oldAttr.nodeName)},removeAttributeNS:function(namespaceURI,localName){var old=this.getAttributeNodeNS(namespaceURI,localName);old&&this.removeAttributeNode(old)},hasAttributeNS:function(namespaceURI,localName){return null!=this.getAttributeNodeNS(namespaceURI,localName)},getAttributeNS:function(namespaceURI,localName){var attr=this.getAttributeNodeNS(namespaceURI,localName);return attr&&attr.value||""},setAttributeNS:function(namespaceURI,qualifiedName,value){var attr=this.ownerDocument.createAttributeNS(namespaceURI,qualifiedName);attr.value=attr.nodeValue=""+value,this.setAttributeNode(attr)},getAttributeNodeNS:function(namespaceURI,localName){return this.attributes.getNamedItemNS(namespaceURI,localName)},getElementsByTagName:function(tagName){return new LiveNodeList(this,(function(base){var ls=[];return _visitNode(base,(function(node){node===base||node.nodeType!=ELEMENT_NODE||"*"!==tagName&&node.tagName!=tagName||ls.push(node)})),ls}))},getElementsByTagNameNS:function(namespaceURI,localName){return new LiveNodeList(this,(function(base){var ls=[];return _visitNode(base,(function(node){node===base||node.nodeType!==ELEMENT_NODE||"*"!==namespaceURI&&node.namespaceURI!==namespaceURI||"*"!==localName&&node.localName!=localName||ls.push(node)})),ls}))}},Document.prototype.getElementsByTagName=Element.prototype.getElementsByTagName,Document.prototype.getElementsByTagNameNS=Element.prototype.getElementsByTagNameNS,_extends(Element,Node),Attr.prototype.nodeType=ATTRIBUTE_NODE,_extends(Attr,Node),CharacterData.prototype={data:"",substringData:function(offset,count){return this.data.substring(offset,offset+count)},appendData:function(text){text=this.data+text,this.nodeValue=this.data=text,this.length=text.length},insertData:function(offset,text){this.replaceData(offset,0,text)},appendChild:function(newChild){throw new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR])},deleteData:function(offset,count){this.replaceData(offset,count,"")},replaceData:function(offset,count,text){text=this.data.substring(0,offset)+text+this.data.substring(offset+count),this.nodeValue=this.data=text,this.length=text.length}},_extends(CharacterData,Node),Text.prototype={nodeName:"#text",nodeType:TEXT_NODE,splitText:function(offset){var text=this.data,newText=text.substring(offset);text=text.substring(0,offset),this.data=this.nodeValue=text,this.length=text.length;var newNode=this.ownerDocument.createTextNode(newText);return this.parentNode&&this.parentNode.insertBefore(newNode,this.nextSibling),newNode}},_extends(Text,CharacterData),Comment.prototype={nodeName:"#comment",nodeType:COMMENT_NODE},_extends(Comment,CharacterData),CDATASection.prototype={nodeName:"#cdata-section",nodeType:CDATA_SECTION_NODE},_extends(CDATASection,CharacterData),DocumentType.prototype.nodeType=DOCUMENT_TYPE_NODE,_extends(DocumentType,Node),Notation.prototype.nodeType=NOTATION_NODE,_extends(Notation,Node),Entity.prototype.nodeType=ENTITY_NODE,_extends(Entity,Node),EntityReference.prototype.nodeType=ENTITY_REFERENCE_NODE,_extends(EntityReference,Node),DocumentFragment.prototype.nodeName="#document-fragment",DocumentFragment.prototype.nodeType=DOCUMENT_FRAGMENT_NODE,_extends(DocumentFragment,Node),ProcessingInstruction.prototype.nodeType=PROCESSING_INSTRUCTION_NODE,_extends(ProcessingInstruction,Node),XMLSerializer.prototype.serializeToString=function(node,isHtml,nodeFilter){return nodeSerializeToString.call(node,isHtml,nodeFilter)},Node.prototype.toString=nodeSerializeToString;try{if(Object.defineProperty){function getTextContent(node){switch(node.nodeType){case ELEMENT_NODE:case DOCUMENT_FRAGMENT_NODE:var buf=[];for(node=node.firstChild;node;)7!==node.nodeType&&8!==node.nodeType&&buf.push(getTextContent(node)),node=node.nextSibling;return buf.join("");default:return node.nodeValue}}Object.defineProperty(LiveNodeList.prototype,"length",{get:function(){return _updateLiveList(this),this.$$length}}),Object.defineProperty(Node.prototype,"textContent",{get:function(){return getTextContent(this)},set:function(data){switch(this.nodeType){case ELEMENT_NODE:case DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(data||String(data))&&this.appendChild(this.ownerDocument.createTextNode(data));break;default:this.data=data,this.value=data,this.nodeValue=data}}}),__set__=function(object,key,value){object["$$"+key]=value}}}catch(e){}exports.DocumentType=DocumentType,exports.DOMException=DOMException,exports.DOMImplementation=DOMImplementation,exports.Element=Element,exports.Node=Node,exports.NodeList=NodeList,exports.XMLSerializer=XMLSerializer},"./node_modules/@xmldom/xmldom/lib/entities.js":(__unused_webpack_module,exports,__webpack_require__)=>{var freeze=__webpack_require__("./node_modules/@xmldom/xmldom/lib/conventions.js").freeze;exports.XML_ENTITIES=freeze({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),exports.HTML_ENTITIES=freeze({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),exports.entityMap=exports.HTML_ENTITIES},"./node_modules/@xmldom/xmldom/lib/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{var dom=__webpack_require__("./node_modules/@xmldom/xmldom/lib/dom.js");dom.DOMImplementation,dom.XMLSerializer,exports.DOMParser=__webpack_require__("./node_modules/@xmldom/xmldom/lib/dom-parser.js").DOMParser},"./node_modules/@xmldom/xmldom/lib/sax.js":(__unused_webpack_module,exports,__webpack_require__)=>{var NAMESPACE=__webpack_require__("./node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE,nameStartChar=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,nameChar=new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),tagNamePattern=new RegExp("^"+nameStartChar.source+nameChar.source+"*(?::"+nameStartChar.source+nameChar.source+"*)?$");function ParseError(message,locator){this.message=message,this.locator=locator,Error.captureStackTrace&&Error.captureStackTrace(this,ParseError)}function XMLReader(){}function copyLocator(f,t){return t.lineNumber=f.lineNumber,t.columnNumber=f.columnNumber,t}function parseElementStartPart(source,start,el,currentNSMap,entityReplacer,errorHandler){function addAttribute(qname,value,startIndex){el.attributeNames.hasOwnProperty(qname)&&errorHandler.fatalError("Attribute "+qname+" redefined"),el.addValue(qname,value,startIndex)}for(var attrName,p=++start,s=0;;){var c=source.charAt(p);switch(c){case"=":if(1===s)attrName=source.slice(start,p),s=3;else{if(2!==s)throw new Error("attribute equal must after attrName");s=3}break;case"'":case'"':if(3===s||1===s){if(1===s&&(errorHandler.warning('attribute value must after "="'),attrName=source.slice(start,p)),start=p+1,!((p=source.indexOf(c,start))>0))throw new Error("attribute value no end '"+c+"' match");addAttribute(attrName,value=source.slice(start,p).replace(/&#?\w+;/g,entityReplacer),start-1),s=5}else{if(4!=s)throw new Error('attribute value must after "="');addAttribute(attrName,value=source.slice(start,p).replace(/&#?\w+;/g,entityReplacer),start),errorHandler.warning('attribute "'+attrName+'" missed start quot('+c+")!!"),start=p+1,s=5}break;case"/":switch(s){case 0:el.setTagName(source.slice(start,p));case 5:case 6:case 7:s=7,el.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return errorHandler.error("unexpected end of input"),0==s&&el.setTagName(source.slice(start,p)),p;case">":switch(s){case 0:el.setTagName(source.slice(start,p));case 5:case 6:case 7:break;case 4:case 1:"/"===(value=source.slice(start,p)).slice(-1)&&(el.closed=!0,value=value.slice(0,-1));case 2:2===s&&(value=attrName),4==s?(errorHandler.warning('attribute "'+value+'" missed quot(")!'),addAttribute(attrName,value.replace(/&#?\w+;/g,entityReplacer),start)):(NAMESPACE.isHTML(currentNSMap[""])&&value.match(/^(?:disabled|checked|selected)$/i)||errorHandler.warning('attribute "'+value+'" missed value!! "'+value+'" instead!!'),addAttribute(value,value,start));break;case 3:throw new Error("attribute value missed!!")}return p;case"":c=" ";default:if(c<=" ")switch(s){case 0:el.setTagName(source.slice(start,p)),s=6;break;case 1:attrName=source.slice(start,p),s=2;break;case 4:var value=source.slice(start,p).replace(/&#?\w+;/g,entityReplacer);errorHandler.warning('attribute "'+value+'" missed quot(")!!'),addAttribute(attrName,value,start);case 5:s=6}else switch(s){case 2:el.tagName;NAMESPACE.isHTML(currentNSMap[""])&&attrName.match(/^(?:disabled|checked|selected)$/i)||errorHandler.warning('attribute "'+attrName+'" missed value!! "'+attrName+'" instead2!!'),addAttribute(attrName,attrName,start),start=p,s=1;break;case 5:errorHandler.warning('attribute space is required"'+attrName+'"!!');case 6:s=1,start=p;break;case 3:s=4,start=p;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}p++}}function appendElement(el,domBuilder,currentNSMap){for(var tagName=el.tagName,localNSMap=null,i=el.length;i--;){var a=el[i],qName=a.qName,value=a.value;if((nsp=qName.indexOf(":"))>0)var prefix=a.prefix=qName.slice(0,nsp),localName=qName.slice(nsp+1),nsPrefix="xmlns"===prefix&&localName;else localName=qName,prefix=null,nsPrefix="xmlns"===qName&&"";a.localName=localName,!1!==nsPrefix&&(null==localNSMap&&(localNSMap={},_copy(currentNSMap,currentNSMap={})),currentNSMap[nsPrefix]=localNSMap[nsPrefix]=value,a.uri=NAMESPACE.XMLNS,domBuilder.startPrefixMapping(nsPrefix,value))}for(i=el.length;i--;){(prefix=(a=el[i]).prefix)&&("xml"===prefix&&(a.uri=NAMESPACE.XML),"xmlns"!==prefix&&(a.uri=currentNSMap[prefix||""]))}var nsp;(nsp=tagName.indexOf(":"))>0?(prefix=el.prefix=tagName.slice(0,nsp),localName=el.localName=tagName.slice(nsp+1)):(prefix=null,localName=el.localName=tagName);var ns=el.uri=currentNSMap[prefix||""];if(domBuilder.startElement(ns,localName,tagName,el),!el.closed)return el.currentNSMap=currentNSMap,el.localNSMap=localNSMap,!0;if(domBuilder.endElement(ns,localName,tagName),localNSMap)for(prefix in localNSMap)domBuilder.endPrefixMapping(prefix)}function parseHtmlSpecialContent(source,elStartEnd,tagName,entityReplacer,domBuilder){if(/^(?:script|textarea)$/i.test(tagName)){var elEndStart=source.indexOf("</"+tagName+">",elStartEnd),text=source.substring(elStartEnd+1,elEndStart);if(/[&<]/.test(text))return/^script$/i.test(tagName)?(domBuilder.characters(text,0,text.length),elEndStart):(text=text.replace(/&#?\w+;/g,entityReplacer),domBuilder.characters(text,0,text.length),elEndStart)}return elStartEnd+1}function fixSelfClosed(source,elStartEnd,tagName,closeMap){var pos=closeMap[tagName];return null==pos&&((pos=source.lastIndexOf("</"+tagName+">"))<elStartEnd&&(pos=source.lastIndexOf("</"+tagName)),closeMap[tagName]=pos),pos<elStartEnd}function _copy(source,target){for(var n in source)target[n]=source[n]}function parseDCC(source,start,domBuilder,errorHandler){if("-"===source.charAt(start+2))return"-"===source.charAt(start+3)?(end=source.indexOf("--\x3e",start+4))>start?(domBuilder.comment(source,start+4,end-start-4),end+3):(errorHandler.error("Unclosed comment"),-1):-1;if("CDATA["==source.substr(start+3,6)){var end=source.indexOf("]]>",start+9);return domBuilder.startCDATA(),domBuilder.characters(source,start+9,end-start-9),domBuilder.endCDATA(),end+3}var matchs=function split(source,start){var match,buf=[],reg=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;reg.lastIndex=start,reg.exec(source);for(;match=reg.exec(source);)if(buf.push(match),match[1])return buf}(source,start),len=matchs.length;if(len>1&&/!doctype/i.test(matchs[0][0])){var name=matchs[1][0],pubid=!1,sysid=!1;len>3&&(/^public$/i.test(matchs[2][0])?(pubid=matchs[3][0],sysid=len>4&&matchs[4][0]):/^system$/i.test(matchs[2][0])&&(sysid=matchs[3][0]));var lastMatch=matchs[len-1];return domBuilder.startDTD(name,pubid,sysid),domBuilder.endDTD(),lastMatch.index+lastMatch[0].length}return-1}function parseInstruction(source,start,domBuilder){var end=source.indexOf("?>",start);if(end){var match=source.substring(start,end).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(match){match[0].length;return domBuilder.processingInstruction(match[1],match[2]),end+2}return-1}return-1}function ElementAttributes(){this.attributeNames={}}ParseError.prototype=new Error,ParseError.prototype.name=ParseError.name,XMLReader.prototype={parse:function(source,defaultNSMap,entityMap){var domBuilder=this.domBuilder;domBuilder.startDocument(),_copy(defaultNSMap,defaultNSMap={}),function parse(source,defaultNSMapCopy,entityMap,domBuilder,errorHandler){function fixedFromCharCode(code){if(code>65535){var surrogate1=55296+((code-=65536)>>10),surrogate2=56320+(1023&code);return String.fromCharCode(surrogate1,surrogate2)}return String.fromCharCode(code)}function entityReplacer(a){var k=a.slice(1,-1);return k in entityMap?entityMap[k]:"#"===k.charAt(0)?fixedFromCharCode(parseInt(k.substr(1).replace("x","0x"))):(errorHandler.error("entity not found:"+a),a)}function appendText(end){if(end>start){var xt=source.substring(start,end).replace(/&#?\w+;/g,entityReplacer);locator&&position(start),domBuilder.characters(xt,0,end-start),start=end}}function position(p,m){for(;p>=lineEnd&&(m=linePattern.exec(source));)lineStart=m.index,lineEnd=lineStart+m[0].length,locator.lineNumber++;locator.columnNumber=p-lineStart+1}var lineStart=0,lineEnd=0,linePattern=/.*(?:\r\n?|\n)|.*$/g,locator=domBuilder.locator,parseStack=[{currentNSMap:defaultNSMapCopy}],closeMap={},start=0;for(;;){try{var tagStart=source.indexOf("<",start);if(tagStart<0){if(!source.substr(start).match(/^\s*$/)){var doc=domBuilder.doc,text=doc.createTextNode(source.substr(start));doc.appendChild(text),domBuilder.currentElement=text}return}switch(tagStart>start&&appendText(tagStart),source.charAt(tagStart+1)){case"/":var end=source.indexOf(">",tagStart+3),tagName=source.substring(tagStart+2,end).replace(/[ \t\n\r]+$/g,""),config=parseStack.pop();end<0?(tagName=source.substring(tagStart+2).replace(/[\s<].*/,""),errorHandler.error("end tag name: "+tagName+" is not complete:"+config.tagName),end=tagStart+1+tagName.length):tagName.match(/\s</)&&(tagName=tagName.replace(/[\s<].*/,""),errorHandler.error("end tag name: "+tagName+" maybe not complete"),end=tagStart+1+tagName.length);var localNSMap=config.localNSMap,endMatch=config.tagName==tagName;if(endMatch||config.tagName&&config.tagName.toLowerCase()==tagName.toLowerCase()){if(domBuilder.endElement(config.uri,config.localName,tagName),localNSMap)for(var prefix in localNSMap)domBuilder.endPrefixMapping(prefix);endMatch||errorHandler.fatalError("end tag name: "+tagName+" is not match the current start tagName:"+config.tagName)}else parseStack.push(config);end++;break;case"?":locator&&position(tagStart),end=parseInstruction(source,tagStart,domBuilder);break;case"!":locator&&position(tagStart),end=parseDCC(source,tagStart,domBuilder,errorHandler);break;default:locator&&position(tagStart);var el=new ElementAttributes,currentNSMap=parseStack[parseStack.length-1].currentNSMap,len=(end=parseElementStartPart(source,tagStart,el,currentNSMap,entityReplacer,errorHandler),el.length);if(!el.closed&&fixSelfClosed(source,end,el.tagName,closeMap)&&(el.closed=!0,entityMap.nbsp||errorHandler.warning("unclosed xml attribute")),locator&&len){for(var locator2=copyLocator(locator,{}),i=0;i<len;i++){var a=el[i];position(a.offset),a.locator=copyLocator(locator,{})}domBuilder.locator=locator2,appendElement(el,domBuilder,currentNSMap)&&parseStack.push(el),domBuilder.locator=locator}else appendElement(el,domBuilder,currentNSMap)&&parseStack.push(el);NAMESPACE.isHTML(el.uri)&&!el.closed?end=parseHtmlSpecialContent(source,end,el.tagName,entityReplacer,domBuilder):end++}}catch(e){if(e instanceof ParseError)throw e;errorHandler.error("element parse error: "+e),end=-1}end>start?start=end:appendText(Math.max(tagStart,start)+1)}}(source,defaultNSMap,entityMap,domBuilder,this.errorHandler),domBuilder.endDocument()}},ElementAttributes.prototype={setTagName:function(tagName){if(!tagNamePattern.test(tagName))throw new Error("invalid tagName:"+tagName);this.tagName=tagName},addValue:function(qName,value,offset){if(!tagNamePattern.test(qName))throw new Error("invalid attribute:"+qName);this.attributeNames[qName]=this.length,this[this.length++]={qName,value,offset}},length:0,getLocalName:function(i){return this[i].localName},getLocator:function(i){return this[i].locator},getQName:function(i){return this[i].qName},getURI:function(i){return this[i].uri},getValue:function(i){return this[i].value}},exports.XMLReader=XMLReader,exports.ParseError=ParseError},"./node_modules/acorn/dist/acorn.js":function(__unused_webpack_module,exports){!function(exports){"use strict";var reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",keywords$1={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",nonASCIIidentifierChars="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");nonASCIIidentifierStartChars=nonASCIIidentifierChars=null;var astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(code,set){for(var pos=65536,i=0;i<set.length;i+=2){if((pos+=set[i])>code)return!1;if((pos+=set[i+1])>=code)return!0}}function isIdentifierStart(code,astral){return code<65?36===code:code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifierStart.test(String.fromCharCode(code)):!1!==astral&&isInAstralSet(code,astralIdentifierStartCodes)))}function isIdentifierChar(code,astral){return code<48?36===code:code<58||!(code<65)&&(code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifier.test(String.fromCharCode(code)):!1!==astral&&(isInAstralSet(code,astralIdentifierStartCodes)||isInAstralSet(code,astralIdentifierCodes)))))}var TokenType=function TokenType(label,conf){void 0===conf&&(conf={}),this.label=label,this.keyword=conf.keyword,this.beforeExpr=!!conf.beforeExpr,this.startsExpr=!!conf.startsExpr,this.isLoop=!!conf.isLoop,this.isAssign=!!conf.isAssign,this.prefix=!!conf.prefix,this.postfix=!!conf.postfix,this.binop=conf.binop||null,this.updateContext=null};function binop(name,prec){return new TokenType(name,{beforeExpr:!0,binop:prec})}var beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords={};function kw(name,options){return void 0===options&&(options={}),options.keyword=name,keywords[name]=new TokenType(name,options)}var types$1={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),privateId:new TokenType("privateId",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(code){return 10===code||13===code||8232===code||8233===code}function nextLineBreak(code,from,end){void 0===end&&(end=code.length);for(var i=from;i<end;i++){var next=code.charCodeAt(i);if(isNewLine(next))return i<end-1&&13===next&&10===code.charCodeAt(i+1)?i+2:i+1}return-1}var nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ref=Object.prototype,hasOwnProperty=ref.hasOwnProperty,toString=ref.toString,hasOwn=Object.hasOwn||function(obj,propName){return hasOwnProperty.call(obj,propName)},isArray=Array.isArray||function(obj){return"[object Array]"===toString.call(obj)};function wordsRegexp(words){return new RegExp("^(?:"+words.replace(/ /g,"|")+")$")}var loneSurrogate=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Position=function Position(line,col){this.line=line,this.column=col};Position.prototype.offset=function offset(n){return new Position(this.line,this.column+n)};var SourceLocation=function SourceLocation(p,start,end){this.start=start,this.end=end,null!==p.sourceFile&&(this.source=p.sourceFile)};function getLineInfo(input,offset){for(var line=1,cur=0;;){var nextBreak=nextLineBreak(input,cur,offset);if(nextBreak<0)return new Position(line,offset-cur);++line,cur=nextBreak}}var defaultOptions={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},warnedAboutEcmaVersion=!1;function getOptions(opts){var options={};for(var opt in defaultOptions)options[opt]=opts&&hasOwn(opts,opt)?opts[opt]:defaultOptions[opt];if("latest"===options.ecmaVersion?options.ecmaVersion=1e8:null==options.ecmaVersion?(!warnedAboutEcmaVersion&&"object"==typeof console&&console.warn&&(warnedAboutEcmaVersion=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),options.ecmaVersion=11):options.ecmaVersion>=2015&&(options.ecmaVersion-=2009),null==options.allowReserved&&(options.allowReserved=options.ecmaVersion<5),isArray(options.onToken)){var tokens=options.onToken;options.onToken=function(token){return tokens.push(token)}}return isArray(options.onComment)&&(options.onComment=pushComment(options,options.onComment)),options}function pushComment(options,array){return function(block,text,start,end,startLoc,endLoc){var comment={type:block?"Block":"Line",value:text,start,end};options.locations&&(comment.loc=new SourceLocation(this,startLoc,endLoc)),options.ranges&&(comment.range=[start,end]),array.push(comment)}}var SCOPE_TOP=1,SCOPE_FUNCTION=2,SCOPE_ASYNC=4,SCOPE_GENERATOR=8,SCOPE_ARROW=16,SCOPE_SIMPLE_CATCH=32,SCOPE_SUPER=64,SCOPE_DIRECT_SUPER=128,SCOPE_CLASS_STATIC_BLOCK=256,SCOPE_VAR=SCOPE_TOP|SCOPE_FUNCTION|SCOPE_CLASS_STATIC_BLOCK;function functionFlags(async,generator){return SCOPE_FUNCTION|(async?SCOPE_ASYNC:0)|(generator?SCOPE_GENERATOR:0)}var BIND_NONE=0,BIND_VAR=1,BIND_LEXICAL=2,BIND_FUNCTION=3,BIND_SIMPLE_CATCH=4,BIND_OUTSIDE=5,Parser=function Parser(options,input,startPos){this.options=options=getOptions(options),this.sourceFile=options.sourceFile,this.keywords=wordsRegexp(keywords$1[options.ecmaVersion>=6?6:"module"===options.sourceType?"5module":5]);var reserved="";!0!==options.allowReserved&&(reserved=reservedWords[options.ecmaVersion>=6?6:5===options.ecmaVersion?5:3],"module"===options.sourceType&&(reserved+=" await")),this.reservedWords=wordsRegexp(reserved);var reservedStrict=(reserved?reserved+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(reservedStrict),this.reservedWordsStrictBind=wordsRegexp(reservedStrict+" "+reservedWords.strictBind),this.input=String(input),this.containsEsc=!1,startPos?(this.pos=startPos,this.lineStart=this.input.lastIndexOf("\n",startPos-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=types$1.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===options.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&options.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(SCOPE_TOP),this.regexpState=null,this.privateNameStack=[]},prototypeAccessors={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Parser.prototype.parse=function parse(){var node=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(node)},prototypeAccessors.inFunction.get=function(){return(this.currentVarScope().flags&SCOPE_FUNCTION)>0},prototypeAccessors.inGenerator.get=function(){return(this.currentVarScope().flags&SCOPE_GENERATOR)>0&&!this.currentVarScope().inClassFieldInit},prototypeAccessors.inAsync.get=function(){return(this.currentVarScope().flags&SCOPE_ASYNC)>0&&!this.currentVarScope().inClassFieldInit},prototypeAccessors.canAwait.get=function(){for(var i=this.scopeStack.length-1;i>=0;i--){var scope=this.scopeStack[i];if(scope.inClassFieldInit||scope.flags&SCOPE_CLASS_STATIC_BLOCK)return!1;if(scope.flags&SCOPE_FUNCTION)return(scope.flags&SCOPE_ASYNC)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},prototypeAccessors.allowSuper.get=function(){var ref=this.currentThisScope(),flags=ref.flags,inClassFieldInit=ref.inClassFieldInit;return(flags&SCOPE_SUPER)>0||inClassFieldInit||this.options.allowSuperOutsideMethod},prototypeAccessors.allowDirectSuper.get=function(){return(this.currentThisScope().flags&SCOPE_DIRECT_SUPER)>0},prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},prototypeAccessors.allowNewDotTarget.get=function(){var ref=this.currentThisScope(),flags=ref.flags,inClassFieldInit=ref.inClassFieldInit;return(flags&(SCOPE_FUNCTION|SCOPE_CLASS_STATIC_BLOCK))>0||inClassFieldInit},prototypeAccessors.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&SCOPE_CLASS_STATIC_BLOCK)>0},Parser.extend=function extend(){for(var plugins=[],len=arguments.length;len--;)plugins[len]=arguments[len];for(var cls=this,i=0;i<plugins.length;i++)cls=plugins[i](cls);return cls},Parser.parse=function parse(input,options){return new this(options,input).parse()},Parser.parseExpressionAt=function parseExpressionAt(input,pos,options){var parser=new this(options,input,pos);return parser.nextToken(),parser.parseExpression()},Parser.tokenizer=function tokenizer(input,options){return new this(options,input)},Object.defineProperties(Parser.prototype,prototypeAccessors);var pp$9=Parser.prototype,literal=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}pp$9.strictDirective=function(start){for(;;){skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length;var match=literal.exec(this.input.slice(start));if(!match)return!1;if("use strict"===(match[1]||match[2])){skipWhiteSpace.lastIndex=start+match[0].length;var spaceAfter=skipWhiteSpace.exec(this.input),end=spaceAfter.index+spaceAfter[0].length,next=this.input.charAt(end);return";"===next||"}"===next||lineBreak.test(spaceAfter[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(next)||"!"===next&&"="===this.input.charAt(end+1))}start+=match[0].length,skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length,";"===this.input[start]&&start++}},pp$9.eat=function(type){return this.type===type&&(this.next(),!0)},pp$9.isContextual=function(name){return this.type===types$1.name&&this.value===name&&!this.containsEsc},pp$9.eatContextual=function(name){return!!this.isContextual(name)&&(this.next(),!0)},pp$9.expectContextual=function(name){this.eatContextual(name)||this.unexpected()},pp$9.canInsertSemicolon=function(){return this.type===types$1.eof||this.type===types$1.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp$9.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},pp$9.semicolon=function(){this.eat(types$1.semi)||this.insertSemicolon()||this.unexpected()},pp$9.afterTrailingComma=function(tokType,notNext){if(this.type===tokType)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),notNext||this.next(),!0},pp$9.expect=function(type){this.eat(type)||this.unexpected()},pp$9.unexpected=function(pos){this.raise(null!=pos?pos:this.start,"Unexpected token")},pp$9.checkPatternErrors=function(refDestructuringErrors,isAssign){if(refDestructuringErrors){refDestructuringErrors.trailingComma>-1&&this.raiseRecoverable(refDestructuringErrors.trailingComma,"Comma is not permitted after the rest element");var parens=isAssign?refDestructuringErrors.parenthesizedAssign:refDestructuringErrors.parenthesizedBind;parens>-1&&this.raiseRecoverable(parens,"Parenthesized pattern")}},pp$9.checkExpressionErrors=function(refDestructuringErrors,andThrow){if(!refDestructuringErrors)return!1;var shorthandAssign=refDestructuringErrors.shorthandAssign,doubleProto=refDestructuringErrors.doubleProto;if(!andThrow)return shorthandAssign>=0||doubleProto>=0;shorthandAssign>=0&&this.raise(shorthandAssign,"Shorthand property assignments are valid only in destructuring patterns"),doubleProto>=0&&this.raiseRecoverable(doubleProto,"Redefinition of __proto__ property")},pp$9.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},pp$9.isSimpleAssignTarget=function(expr){return"ParenthesizedExpression"===expr.type?this.isSimpleAssignTarget(expr.expression):"Identifier"===expr.type||"MemberExpression"===expr.type};var pp$8=Parser.prototype;pp$8.parseTopLevel=function(node){var exports=Object.create(null);for(node.body||(node.body=[]);this.type!==types$1.eof;){var stmt=this.parseStatement(null,!0,exports);node.body.push(stmt)}if(this.inModule)for(var i=0,list=Object.keys(this.undefinedExports);i<list.length;i+=1){var name=list[i];this.raiseRecoverable(this.undefinedExports[name].start,"Export '"+name+"' is not defined")}return this.adaptDirectivePrologue(node.body),this.next(),node.sourceType=this.options.sourceType,this.finishNode(node,"Program")};var loopLabel={kind:"loop"},switchLabel={kind:"switch"};pp$8.isLet=function(context){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(91===nextCh||92===nextCh||nextCh>55295&&nextCh<56320)return!0;if(context)return!1;if(123===nextCh)return!0;if(isIdentifierStart(nextCh,!0)){for(var pos=next+1;isIdentifierChar(nextCh=this.input.charCodeAt(pos),!0);)++pos;if(92===nextCh||nextCh>55295&&nextCh<56320)return!0;var ident=this.input.slice(next,pos);if(!keywordRelationalOperator.test(ident))return!0}return!1},pp$8.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;skipWhiteSpace.lastIndex=this.pos;var after,skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length;return!(lineBreak.test(this.input.slice(this.pos,next))||"function"!==this.input.slice(next,next+8)||next+8!==this.input.length&&(isIdentifierChar(after=this.input.charCodeAt(next+8))||after>55295&&after<56320))},pp$8.parseStatement=function(context,topLevel,exports){var kind,starttype=this.type,node=this.startNode();switch(this.isLet(context)&&(starttype=types$1._var,kind="let"),starttype){case types$1._break:case types$1._continue:return this.parseBreakContinueStatement(node,starttype.keyword);case types$1._debugger:return this.parseDebuggerStatement(node);case types$1._do:return this.parseDoStatement(node);case types$1._for:return this.parseForStatement(node);case types$1._function:return context&&(this.strict||"if"!==context&&"label"!==context)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(node,!1,!context);case types$1._class:return context&&this.unexpected(),this.parseClass(node,!0);case types$1._if:return this.parseIfStatement(node);case types$1._return:return this.parseReturnStatement(node);case types$1._switch:return this.parseSwitchStatement(node);case types$1._throw:return this.parseThrowStatement(node);case types$1._try:return this.parseTryStatement(node);case types$1._const:case types$1._var:return kind=kind||this.value,context&&"var"!==kind&&this.unexpected(),this.parseVarStatement(node,kind);case types$1._while:return this.parseWhileStatement(node);case types$1._with:return this.parseWithStatement(node);case types$1.braceL:return this.parseBlock(!0,node);case types$1.semi:return this.parseEmptyStatement(node);case types$1._export:case types$1._import:if(this.options.ecmaVersion>10&&starttype===types$1._import){skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(40===nextCh||46===nextCh)return this.parseExpressionStatement(node,this.parseExpression())}return this.options.allowImportExportEverywhere||(topLevel||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),starttype===types$1._import?this.parseImport(node):this.parseExport(node,exports);default:if(this.isAsyncFunction())return context&&this.unexpected(),this.next(),this.parseFunctionStatement(node,!0,!context);var maybeName=this.value,expr=this.parseExpression();return starttype===types$1.name&&"Identifier"===expr.type&&this.eat(types$1.colon)?this.parseLabeledStatement(node,maybeName,expr,context):this.parseExpressionStatement(node,expr)}},pp$8.parseBreakContinueStatement=function(node,keyword){var isBreak="break"===keyword;this.next(),this.eat(types$1.semi)||this.insertSemicolon()?node.label=null:this.type!==types$1.name?this.unexpected():(node.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var lab=this.labels[i];if(null==node.label||lab.name===node.label.name){if(null!=lab.kind&&(isBreak||"loop"===lab.kind))break;if(node.label&&isBreak)break}}return i===this.labels.length&&this.raise(node.start,"Unsyntactic "+keyword),this.finishNode(node,isBreak?"BreakStatement":"ContinueStatement")},pp$8.parseDebuggerStatement=function(node){return this.next(),this.semicolon(),this.finishNode(node,"DebuggerStatement")},pp$8.parseDoStatement=function(node){return this.next(),this.labels.push(loopLabel),node.body=this.parseStatement("do"),this.labels.pop(),this.expect(types$1._while),node.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(types$1.semi):this.semicolon(),this.finishNode(node,"DoWhileStatement")},pp$8.parseForStatement=function(node){this.next();var awaitAt=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(loopLabel),this.enterScope(0),this.expect(types$1.parenL),this.type===types$1.semi)return awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,null);var isLet=this.isLet();if(this.type===types$1._var||this.type===types$1._const||isLet){var init$1=this.startNode(),kind=isLet?"let":this.value;return this.next(),this.parseVar(init$1,!0,kind),this.finishNode(init$1,"VariableDeclaration"),(this.type===types$1._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===init$1.declarations.length?(this.options.ecmaVersion>=9&&(this.type===types$1._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.parseForIn(node,init$1)):(awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init$1))}var startsWithLet=this.isContextual("let"),isForOf=!1,refDestructuringErrors=new DestructuringErrors,init=this.parseExpression(!(awaitAt>-1)||"await",refDestructuringErrors);return this.type===types$1._in||(isForOf=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===types$1._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),startsWithLet&&isForOf&&this.raise(init.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(init,!1,refDestructuringErrors),this.checkLValPattern(init),this.parseForIn(node,init)):(this.checkExpressionErrors(refDestructuringErrors,!0),awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init))},pp$8.parseFunctionStatement=function(node,isAsync,declarationPosition){return this.next(),this.parseFunction(node,FUNC_STATEMENT|(declarationPosition?0:FUNC_HANGING_STATEMENT),!1,isAsync)},pp$8.parseIfStatement=function(node){return this.next(),node.test=this.parseParenExpression(),node.consequent=this.parseStatement("if"),node.alternate=this.eat(types$1._else)?this.parseStatement("if"):null,this.finishNode(node,"IfStatement")},pp$8.parseReturnStatement=function(node){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(types$1.semi)||this.insertSemicolon()?node.argument=null:(node.argument=this.parseExpression(),this.semicolon()),this.finishNode(node,"ReturnStatement")},pp$8.parseSwitchStatement=function(node){var cur;this.next(),node.discriminant=this.parseParenExpression(),node.cases=[],this.expect(types$1.braceL),this.labels.push(switchLabel),this.enterScope(0);for(var sawDefault=!1;this.type!==types$1.braceR;)if(this.type===types$1._case||this.type===types$1._default){var isCase=this.type===types$1._case;cur&&this.finishNode(cur,"SwitchCase"),node.cases.push(cur=this.startNode()),cur.consequent=[],this.next(),isCase?cur.test=this.parseExpression():(sawDefault&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),sawDefault=!0,cur.test=null),this.expect(types$1.colon)}else cur||this.unexpected(),cur.consequent.push(this.parseStatement(null));return this.exitScope(),cur&&this.finishNode(cur,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(node,"SwitchStatement")},pp$8.parseThrowStatement=function(node){return this.next(),lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),node.argument=this.parseExpression(),this.semicolon(),this.finishNode(node,"ThrowStatement")};var empty$1=[];pp$8.parseTryStatement=function(node){if(this.next(),node.block=this.parseBlock(),node.handler=null,this.type===types$1._catch){var clause=this.startNode();if(this.next(),this.eat(types$1.parenL)){clause.param=this.parseBindingAtom();var simple="Identifier"===clause.param.type;this.enterScope(simple?SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(clause.param,simple?BIND_SIMPLE_CATCH:BIND_LEXICAL),this.expect(types$1.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),clause.param=null,this.enterScope(0);clause.body=this.parseBlock(!1),this.exitScope(),node.handler=this.finishNode(clause,"CatchClause")}return node.finalizer=this.eat(types$1._finally)?this.parseBlock():null,node.handler||node.finalizer||this.raise(node.start,"Missing catch or finally clause"),this.finishNode(node,"TryStatement")},pp$8.parseVarStatement=function(node,kind){return this.next(),this.parseVar(node,!1,kind),this.semicolon(),this.finishNode(node,"VariableDeclaration")},pp$8.parseWhileStatement=function(node){return this.next(),node.test=this.parseParenExpression(),this.labels.push(loopLabel),node.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(node,"WhileStatement")},pp$8.parseWithStatement=function(node){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),node.object=this.parseParenExpression(),node.body=this.parseStatement("with"),this.finishNode(node,"WithStatement")},pp$8.parseEmptyStatement=function(node){return this.next(),this.finishNode(node,"EmptyStatement")},pp$8.parseLabeledStatement=function(node,maybeName,expr,context){for(var i$1=0,list=this.labels;i$1<list.length;i$1+=1)list[i$1].name===maybeName&&this.raise(expr.start,"Label '"+maybeName+"' is already declared");for(var kind=this.type.isLoop?"loop":this.type===types$1._switch?"switch":null,i=this.labels.length-1;i>=0;i--){var label$1=this.labels[i];if(label$1.statementStart!==node.start)break;label$1.statementStart=this.start,label$1.kind=kind}return this.labels.push({name:maybeName,kind,statementStart:this.start}),node.body=this.parseStatement(context?-1===context.indexOf("label")?context+"label":context:"label"),this.labels.pop(),node.label=expr,this.finishNode(node,"LabeledStatement")},pp$8.parseExpressionStatement=function(node,expr){return node.expression=expr,this.semicolon(),this.finishNode(node,"ExpressionStatement")},pp$8.parseBlock=function(createNewLexicalScope,node,exitStrict){for(void 0===createNewLexicalScope&&(createNewLexicalScope=!0),void 0===node&&(node=this.startNode()),node.body=[],this.expect(types$1.braceL),createNewLexicalScope&&this.enterScope(0);this.type!==types$1.braceR;){var stmt=this.parseStatement(null);node.body.push(stmt)}return exitStrict&&(this.strict=!1),this.next(),createNewLexicalScope&&this.exitScope(),this.finishNode(node,"BlockStatement")},pp$8.parseFor=function(node,init){return node.init=init,this.expect(types$1.semi),node.test=this.type===types$1.semi?null:this.parseExpression(),this.expect(types$1.semi),node.update=this.type===types$1.parenR?null:this.parseExpression(),this.expect(types$1.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,"ForStatement")},pp$8.parseForIn=function(node,init){var isForIn=this.type===types$1._in;return this.next(),"VariableDeclaration"===init.type&&null!=init.declarations[0].init&&(!isForIn||this.options.ecmaVersion<8||this.strict||"var"!==init.kind||"Identifier"!==init.declarations[0].id.type)&&this.raise(init.start,(isForIn?"for-in":"for-of")+" loop variable declaration may not have an initializer"),node.left=init,node.right=isForIn?this.parseExpression():this.parseMaybeAssign(),this.expect(types$1.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,isForIn?"ForInStatement":"ForOfStatement")},pp$8.parseVar=function(node,isFor,kind){for(node.declarations=[],node.kind=kind;;){var decl=this.startNode();if(this.parseVarId(decl,kind),this.eat(types$1.eq)?decl.init=this.parseMaybeAssign(isFor):"const"!==kind||this.type===types$1._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===decl.id.type||isFor&&(this.type===types$1._in||this.isContextual("of"))?decl.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),node.declarations.push(this.finishNode(decl,"VariableDeclarator")),!this.eat(types$1.comma))break}return node},pp$8.parseVarId=function(decl,kind){decl.id=this.parseBindingAtom(),this.checkLValPattern(decl.id,"var"===kind?BIND_VAR:BIND_LEXICAL,!1)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2,FUNC_NULLABLE_ID=4;function isPrivateNameConflicted(privateNameMap,element){var name=element.key.name,curr=privateNameMap[name],next="true";return"MethodDefinition"!==element.type||"get"!==element.kind&&"set"!==element.kind||(next=(element.static?"s":"i")+element.kind),"iget"===curr&&"iset"===next||"iset"===curr&&"iget"===next||"sget"===curr&&"sset"===next||"sset"===curr&&"sget"===next?(privateNameMap[name]="true",!1):!!curr||(privateNameMap[name]=next,!1)}function checkKeyName(node,name){var computed=node.computed,key=node.key;return!computed&&("Identifier"===key.type&&key.name===name||"Literal"===key.type&&key.value===name)}pp$8.parseFunction=function(node,statement,allowExpressionBody,isAsync,forInit){this.initFunction(node),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!isAsync)&&(this.type===types$1.star&&statement&FUNC_HANGING_STATEMENT&&this.unexpected(),node.generator=this.eat(types$1.star)),this.options.ecmaVersion>=8&&(node.async=!!isAsync),statement&FUNC_STATEMENT&&(node.id=statement&FUNC_NULLABLE_ID&&this.type!==types$1.name?null:this.parseIdent(),!node.id||statement&FUNC_HANGING_STATEMENT||this.checkLValSimple(node.id,this.strict||node.generator||node.async?this.treatFunctionsAsVar?BIND_VAR:BIND_LEXICAL:BIND_FUNCTION));var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(node.async,node.generator)),statement&FUNC_STATEMENT||(node.id=this.type===types$1.name?this.parseIdent():null),this.parseFunctionParams(node),this.parseFunctionBody(node,allowExpressionBody,!1,forInit),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,statement&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")},pp$8.parseFunctionParams=function(node){this.expect(types$1.parenL),node.params=this.parseBindingList(types$1.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},pp$8.parseClass=function(node,isStatement){this.next();var oldStrict=this.strict;this.strict=!0,this.parseClassId(node,isStatement),this.parseClassSuper(node);var privateNameMap=this.enterClassBody(),classBody=this.startNode(),hadConstructor=!1;for(classBody.body=[],this.expect(types$1.braceL);this.type!==types$1.braceR;){var element=this.parseClassElement(null!==node.superClass);element&&(classBody.body.push(element),"MethodDefinition"===element.type&&"constructor"===element.kind?(hadConstructor&&this.raise(element.start,"Duplicate constructor in the same class"),hadConstructor=!0):element.key&&"PrivateIdentifier"===element.key.type&&isPrivateNameConflicted(privateNameMap,element)&&this.raiseRecoverable(element.key.start,"Identifier '#"+element.key.name+"' has already been declared"))}return this.strict=oldStrict,this.next(),node.body=this.finishNode(classBody,"ClassBody"),this.exitClassBody(),this.finishNode(node,isStatement?"ClassDeclaration":"ClassExpression")},pp$8.parseClassElement=function(constructorAllowsSuper){if(this.eat(types$1.semi))return null;var ecmaVersion=this.options.ecmaVersion,node=this.startNode(),keyName="",isGenerator=!1,isAsync=!1,kind="method",isStatic=!1;if(this.eatContextual("static")){if(ecmaVersion>=13&&this.eat(types$1.braceL))return this.parseClassStaticBlock(node),node;this.isClassElementNameStart()||this.type===types$1.star?isStatic=!0:keyName="static"}if(node.static=isStatic,!keyName&&ecmaVersion>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==types$1.star||this.canInsertSemicolon()?keyName="async":isAsync=!0),!keyName&&(ecmaVersion>=9||!isAsync)&&this.eat(types$1.star)&&(isGenerator=!0),!keyName&&!isAsync&&!isGenerator){var lastValue=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?kind=lastValue:keyName=lastValue)}if(keyName?(node.computed=!1,node.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),node.key.name=keyName,this.finishNode(node.key,"Identifier")):this.parseClassElementName(node),ecmaVersion<13||this.type===types$1.parenL||"method"!==kind||isGenerator||isAsync){var isConstructor=!node.static&&checkKeyName(node,"constructor"),allowsDirectSuper=isConstructor&&constructorAllowsSuper;isConstructor&&"method"!==kind&&this.raise(node.key.start,"Constructor can't have get/set modifier"),node.kind=isConstructor?"constructor":kind,this.parseClassMethod(node,isGenerator,isAsync,allowsDirectSuper)}else this.parseClassField(node);return node},pp$8.isClassElementNameStart=function(){return this.type===types$1.name||this.type===types$1.privateId||this.type===types$1.num||this.type===types$1.string||this.type===types$1.bracketL||this.type.keyword},pp$8.parseClassElementName=function(element){this.type===types$1.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),element.computed=!1,element.key=this.parsePrivateIdent()):this.parsePropertyName(element)},pp$8.parseClassMethod=function(method,isGenerator,isAsync,allowsDirectSuper){var key=method.key;"constructor"===method.kind?(isGenerator&&this.raise(key.start,"Constructor can't be a generator"),isAsync&&this.raise(key.start,"Constructor can't be an async method")):method.static&&checkKeyName(method,"prototype")&&this.raise(key.start,"Classes may not have a static property named prototype");var value=method.value=this.parseMethod(isGenerator,isAsync,allowsDirectSuper);return"get"===method.kind&&0!==value.params.length&&this.raiseRecoverable(value.start,"getter should have no params"),"set"===method.kind&&1!==value.params.length&&this.raiseRecoverable(value.start,"setter should have exactly one param"),"set"===method.kind&&"RestElement"===value.params[0].type&&this.raiseRecoverable(value.params[0].start,"Setter cannot use rest params"),this.finishNode(method,"MethodDefinition")},pp$8.parseClassField=function(field){if(checkKeyName(field,"constructor")?this.raise(field.key.start,"Classes can't have a field named 'constructor'"):field.static&&checkKeyName(field,"prototype")&&this.raise(field.key.start,"Classes can't have a static field named 'prototype'"),this.eat(types$1.eq)){var scope=this.currentThisScope(),inClassFieldInit=scope.inClassFieldInit;scope.inClassFieldInit=!0,field.value=this.parseMaybeAssign(),scope.inClassFieldInit=inClassFieldInit}else field.value=null;return this.semicolon(),this.finishNode(field,"PropertyDefinition")},pp$8.parseClassStaticBlock=function(node){node.body=[];var oldLabels=this.labels;for(this.labels=[],this.enterScope(SCOPE_CLASS_STATIC_BLOCK|SCOPE_SUPER);this.type!==types$1.braceR;){var stmt=this.parseStatement(null);node.body.push(stmt)}return this.next(),this.exitScope(),this.labels=oldLabels,this.finishNode(node,"StaticBlock")},pp$8.parseClassId=function(node,isStatement){this.type===types$1.name?(node.id=this.parseIdent(),isStatement&&this.checkLValSimple(node.id,BIND_LEXICAL,!1)):(!0===isStatement&&this.unexpected(),node.id=null)},pp$8.parseClassSuper=function(node){node.superClass=this.eat(types$1._extends)?this.parseExprSubscripts(!1):null},pp$8.enterClassBody=function(){var element={declared:Object.create(null),used:[]};return this.privateNameStack.push(element),element.declared},pp$8.exitClassBody=function(){for(var ref=this.privateNameStack.pop(),declared=ref.declared,used=ref.used,len=this.privateNameStack.length,parent=0===len?null:this.privateNameStack[len-1],i=0;i<used.length;++i){var id=used[i];hasOwn(declared,id.name)||(parent?parent.used.push(id):this.raiseRecoverable(id.start,"Private field '#"+id.name+"' must be declared in an enclosing class"))}},pp$8.parseExport=function(node,exports){if(this.next(),this.eat(types$1.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(node.exported=this.parseModuleExportName(),this.checkExport(exports,node.exported.name,this.lastTokStart)):node.exported=null),this.expectContextual("from"),this.type!==types$1.string&&this.unexpected(),node.source=this.parseExprAtom(),this.semicolon(),this.finishNode(node,"ExportAllDeclaration");if(this.eat(types$1._default)){var isAsync;if(this.checkExport(exports,"default",this.lastTokStart),this.type===types$1._function||(isAsync=this.isAsyncFunction())){var fNode=this.startNode();this.next(),isAsync&&this.next(),node.declaration=this.parseFunction(fNode,FUNC_STATEMENT|FUNC_NULLABLE_ID,!1,isAsync)}else if(this.type===types$1._class){var cNode=this.startNode();node.declaration=this.parseClass(cNode,"nullableID")}else node.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(node,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())node.declaration=this.parseStatement(null),"VariableDeclaration"===node.declaration.type?this.checkVariableExport(exports,node.declaration.declarations):this.checkExport(exports,node.declaration.id.name,node.declaration.id.start),node.specifiers=[],node.source=null;else{if(node.declaration=null,node.specifiers=this.parseExportSpecifiers(exports),this.eatContextual("from"))this.type!==types$1.string&&this.unexpected(),node.source=this.parseExprAtom();else{for(var i=0,list=node.specifiers;i<list.length;i+=1){var spec=list[i];this.checkUnreserved(spec.local),this.checkLocalExport(spec.local),"Literal"===spec.local.type&&this.raise(spec.local.start,"A string literal cannot be used as an exported binding without `from`.")}node.source=null}this.semicolon()}return this.finishNode(node,"ExportNamedDeclaration")},pp$8.checkExport=function(exports,name,pos){exports&&(hasOwn(exports,name)&&this.raiseRecoverable(pos,"Duplicate export '"+name+"'"),exports[name]=!0)},pp$8.checkPatternExport=function(exports,pat){var type=pat.type;if("Identifier"===type)this.checkExport(exports,pat.name,pat.start);else if("ObjectPattern"===type)for(var i=0,list=pat.properties;i<list.length;i+=1){var prop=list[i];this.checkPatternExport(exports,prop)}else if("ArrayPattern"===type)for(var i$1=0,list$1=pat.elements;i$1<list$1.length;i$1+=1){var elt=list$1[i$1];elt&&this.checkPatternExport(exports,elt)}else"Property"===type?this.checkPatternExport(exports,pat.value):"AssignmentPattern"===type?this.checkPatternExport(exports,pat.left):"RestElement"===type?this.checkPatternExport(exports,pat.argument):"ParenthesizedExpression"===type&&this.checkPatternExport(exports,pat.expression)},pp$8.checkVariableExport=function(exports,decls){if(exports)for(var i=0,list=decls;i<list.length;i+=1){var decl=list[i];this.checkPatternExport(exports,decl.id)}},pp$8.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},pp$8.parseExportSpecifiers=function(exports){var nodes=[],first=!0;for(this.expect(types$1.braceL);!this.eat(types$1.braceR);){if(first)first=!1;else if(this.expect(types$1.comma),this.afterTrailingComma(types$1.braceR))break;var node=this.startNode();node.local=this.parseModuleExportName(),node.exported=this.eatContextual("as")?this.parseModuleExportName():node.local,this.checkExport(exports,node.exported["Identifier"===node.exported.type?"name":"value"],node.exported.start),nodes.push(this.finishNode(node,"ExportSpecifier"))}return nodes},pp$8.parseImport=function(node){return this.next(),this.type===types$1.string?(node.specifiers=empty$1,node.source=this.parseExprAtom()):(node.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),node.source=this.type===types$1.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(node,"ImportDeclaration")},pp$8.parseImportSpecifiers=function(){var nodes=[],first=!0;if(this.type===types$1.name){var node=this.startNode();if(node.local=this.parseIdent(),this.checkLValSimple(node.local,BIND_LEXICAL),nodes.push(this.finishNode(node,"ImportDefaultSpecifier")),!this.eat(types$1.comma))return nodes}if(this.type===types$1.star){var node$1=this.startNode();return this.next(),this.expectContextual("as"),node$1.local=this.parseIdent(),this.checkLValSimple(node$1.local,BIND_LEXICAL),nodes.push(this.finishNode(node$1,"ImportNamespaceSpecifier")),nodes}for(this.expect(types$1.braceL);!this.eat(types$1.braceR);){if(first)first=!1;else if(this.expect(types$1.comma),this.afterTrailingComma(types$1.braceR))break;var node$2=this.startNode();node$2.imported=this.parseModuleExportName(),this.eatContextual("as")?node$2.local=this.parseIdent():(this.checkUnreserved(node$2.imported),node$2.local=node$2.imported),this.checkLValSimple(node$2.local,BIND_LEXICAL),nodes.push(this.finishNode(node$2,"ImportSpecifier"))}return nodes},pp$8.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===types$1.string){var stringLiteral=this.parseLiteral(this.value);return loneSurrogate.test(stringLiteral.value)&&this.raise(stringLiteral.start,"An export name cannot include a lone surrogate."),stringLiteral}return this.parseIdent(!0)},pp$8.adaptDirectivePrologue=function(statements){for(var i=0;i<statements.length&&this.isDirectiveCandidate(statements[i]);++i)statements[i].directive=statements[i].expression.raw.slice(1,-1)},pp$8.isDirectiveCandidate=function(statement){return"ExpressionStatement"===statement.type&&"Literal"===statement.expression.type&&"string"==typeof statement.expression.value&&('"'===this.input[statement.start]||"'"===this.input[statement.start])};var pp$7=Parser.prototype;pp$7.toAssignable=function(node,isBinding,refDestructuringErrors){if(this.options.ecmaVersion>=6&&node)switch(node.type){case"Identifier":this.inAsync&&"await"===node.name&&this.raise(node.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":node.type="ObjectPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);for(var i=0,list=node.properties;i<list.length;i+=1){var prop=list[i];this.toAssignable(prop,isBinding),"RestElement"!==prop.type||"ArrayPattern"!==prop.argument.type&&"ObjectPattern"!==prop.argument.type||this.raise(prop.argument.start,"Unexpected token")}break;case"Property":"init"!==node.kind&&this.raise(node.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(node.value,isBinding);break;case"ArrayExpression":node.type="ArrayPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0),this.toAssignableList(node.elements,isBinding);break;case"SpreadElement":node.type="RestElement",this.toAssignable(node.argument,isBinding),"AssignmentPattern"===node.argument.type&&this.raise(node.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==node.operator&&this.raise(node.left.end,"Only '=' operator can be used for specifying default value."),node.type="AssignmentPattern",delete node.operator,this.toAssignable(node.left,isBinding);break;case"ParenthesizedExpression":this.toAssignable(node.expression,isBinding,refDestructuringErrors);break;case"ChainExpression":this.raiseRecoverable(node.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!isBinding)break;default:this.raise(node.start,"Assigning to rvalue")}else refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);return node},pp$7.toAssignableList=function(exprList,isBinding){for(var end=exprList.length,i=0;i<end;i++){var elt=exprList[i];elt&&this.toAssignable(elt,isBinding)}if(end){var last=exprList[end-1];6===this.options.ecmaVersion&&isBinding&&last&&"RestElement"===last.type&&"Identifier"!==last.argument.type&&this.unexpected(last.argument.start)}return exprList},pp$7.parseSpread=function(refDestructuringErrors){var node=this.startNode();return this.next(),node.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.finishNode(node,"SpreadElement")},pp$7.parseRestBinding=function(){var node=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==types$1.name&&this.unexpected(),node.argument=this.parseBindingAtom(),this.finishNode(node,"RestElement")},pp$7.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case types$1.bracketL:var node=this.startNode();return this.next(),node.elements=this.parseBindingList(types$1.bracketR,!0,!0),this.finishNode(node,"ArrayPattern");case types$1.braceL:return this.parseObj(!0)}return this.parseIdent()},pp$7.parseBindingList=function(close,allowEmpty,allowTrailingComma){for(var elts=[],first=!0;!this.eat(close);)if(first?first=!1:this.expect(types$1.comma),allowEmpty&&this.type===types$1.comma)elts.push(null);else{if(allowTrailingComma&&this.afterTrailingComma(close))break;if(this.type===types$1.ellipsis){var rest=this.parseRestBinding();this.parseBindingListItem(rest),elts.push(rest),this.type===types$1.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(close);break}var elem=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(elem),elts.push(elem)}return elts},pp$7.parseBindingListItem=function(param){return param},pp$7.parseMaybeDefault=function(startPos,startLoc,left){if(left=left||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(types$1.eq))return left;var node=this.startNodeAt(startPos,startLoc);return node.left=left,node.right=this.parseMaybeAssign(),this.finishNode(node,"AssignmentPattern")},pp$7.checkLValSimple=function(expr,bindingType,checkClashes){void 0===bindingType&&(bindingType=BIND_NONE);var isBind=bindingType!==BIND_NONE;switch(expr.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(expr.name)&&this.raiseRecoverable(expr.start,(isBind?"Binding ":"Assigning to ")+expr.name+" in strict mode"),isBind&&(bindingType===BIND_LEXICAL&&"let"===expr.name&&this.raiseRecoverable(expr.start,"let is disallowed as a lexically bound name"),checkClashes&&(hasOwn(checkClashes,expr.name)&&this.raiseRecoverable(expr.start,"Argument name clash"),checkClashes[expr.name]=!0),bindingType!==BIND_OUTSIDE&&this.declareName(expr.name,bindingType,expr.start));break;case"ChainExpression":this.raiseRecoverable(expr.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":isBind&&this.raiseRecoverable(expr.start,"Binding member expression");break;case"ParenthesizedExpression":return isBind&&this.raiseRecoverable(expr.start,"Binding parenthesized expression"),this.checkLValSimple(expr.expression,bindingType,checkClashes);default:this.raise(expr.start,(isBind?"Binding":"Assigning to")+" rvalue")}},pp$7.checkLValPattern=function(expr,bindingType,checkClashes){switch(void 0===bindingType&&(bindingType=BIND_NONE),expr.type){case"ObjectPattern":for(var i=0,list=expr.properties;i<list.length;i+=1){var prop=list[i];this.checkLValInnerPattern(prop,bindingType,checkClashes)}break;case"ArrayPattern":for(var i$1=0,list$1=expr.elements;i$1<list$1.length;i$1+=1){var elem=list$1[i$1];elem&&this.checkLValInnerPattern(elem,bindingType,checkClashes)}break;default:this.checkLValSimple(expr,bindingType,checkClashes)}},pp$7.checkLValInnerPattern=function(expr,bindingType,checkClashes){switch(void 0===bindingType&&(bindingType=BIND_NONE),expr.type){case"Property":this.checkLValInnerPattern(expr.value,bindingType,checkClashes);break;case"AssignmentPattern":this.checkLValPattern(expr.left,bindingType,checkClashes);break;case"RestElement":this.checkLValPattern(expr.argument,bindingType,checkClashes);break;default:this.checkLValPattern(expr,bindingType,checkClashes)}};var TokContext=function TokContext(token,isExpr,preserveSpace,override,generator){this.token=token,this.isExpr=!!isExpr,this.preserveSpace=!!preserveSpace,this.override=override,this.generator=!!generator},types={b_stat:new TokContext("{",!1),b_expr:new TokContext("{",!0),b_tmpl:new TokContext("${",!1),p_stat:new TokContext("(",!1),p_expr:new TokContext("(",!0),q_tmpl:new TokContext("`",!0,!0,(function(p){return p.tryReadTemplateToken()})),f_stat:new TokContext("function",!1),f_expr:new TokContext("function",!0),f_expr_gen:new TokContext("function",!0,!1,null,!0),f_gen:new TokContext("function",!1,!1,null,!0)},pp$6=Parser.prototype;pp$6.initialContext=function(){return[types.b_stat]},pp$6.curContext=function(){return this.context[this.context.length-1]},pp$6.braceIsBlock=function(prevType){var parent=this.curContext();return parent===types.f_expr||parent===types.f_stat||(prevType!==types$1.colon||parent!==types.b_stat&&parent!==types.b_expr?prevType===types$1._return||prevType===types$1.name&&this.exprAllowed?lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):prevType===types$1._else||prevType===types$1.semi||prevType===types$1.eof||prevType===types$1.parenR||prevType===types$1.arrow||(prevType===types$1.braceL?parent===types.b_stat:prevType!==types$1._var&&prevType!==types$1._const&&prevType!==types$1.name&&!this.exprAllowed):!parent.isExpr)},pp$6.inGeneratorContext=function(){for(var i=this.context.length-1;i>=1;i--){var context=this.context[i];if("function"===context.token)return context.generator}return!1},pp$6.updateContext=function(prevType){var update,type=this.type;type.keyword&&prevType===types$1.dot?this.exprAllowed=!1:(update=type.updateContext)?update.call(this,prevType):this.exprAllowed=type.beforeExpr},pp$6.overrideContext=function(tokenCtx){this.curContext()!==tokenCtx&&(this.context[this.context.length-1]=tokenCtx)},types$1.parenR.updateContext=types$1.braceR.updateContext=function(){if(1!==this.context.length){var out=this.context.pop();out===types.b_stat&&"function"===this.curContext().token&&(out=this.context.pop()),this.exprAllowed=!out.isExpr}else this.exprAllowed=!0},types$1.braceL.updateContext=function(prevType){this.context.push(this.braceIsBlock(prevType)?types.b_stat:types.b_expr),this.exprAllowed=!0},types$1.dollarBraceL.updateContext=function(){this.context.push(types.b_tmpl),this.exprAllowed=!0},types$1.parenL.updateContext=function(prevType){var statementParens=prevType===types$1._if||prevType===types$1._for||prevType===types$1._with||prevType===types$1._while;this.context.push(statementParens?types.p_stat:types.p_expr),this.exprAllowed=!0},types$1.incDec.updateContext=function(){},types$1._function.updateContext=types$1._class.updateContext=function(prevType){!prevType.beforeExpr||prevType===types$1._else||prevType===types$1.semi&&this.curContext()!==types.p_stat||prevType===types$1._return&&lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(prevType===types$1.colon||prevType===types$1.braceL)&&this.curContext()===types.b_stat?this.context.push(types.f_stat):this.context.push(types.f_expr),this.exprAllowed=!1},types$1.backQuote.updateContext=function(){this.curContext()===types.q_tmpl?this.context.pop():this.context.push(types.q_tmpl),this.exprAllowed=!1},types$1.star.updateContext=function(prevType){if(prevType===types$1._function){var index=this.context.length-1;this.context[index]===types.f_expr?this.context[index]=types.f_expr_gen:this.context[index]=types.f_gen}this.exprAllowed=!0},types$1.name.updateContext=function(prevType){var allowed=!1;this.options.ecmaVersion>=6&&prevType!==types$1.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(allowed=!0),this.exprAllowed=allowed};var pp$5=Parser.prototype;function isPrivateFieldAccess(node){return"MemberExpression"===node.type&&"PrivateIdentifier"===node.property.type||"ChainExpression"===node.type&&isPrivateFieldAccess(node.expression)}pp$5.checkPropClash=function(prop,propHash,refDestructuringErrors){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===prop.type||this.options.ecmaVersion>=6&&(prop.computed||prop.method||prop.shorthand))){var name,key=prop.key;switch(key.type){case"Identifier":name=key.name;break;case"Literal":name=String(key.value);break;default:return}var kind=prop.kind;if(this.options.ecmaVersion>=6)"__proto__"===name&&"init"===kind&&(propHash.proto&&(refDestructuringErrors?refDestructuringErrors.doubleProto<0&&(refDestructuringErrors.doubleProto=key.start):this.raiseRecoverable(key.start,"Redefinition of __proto__ property")),propHash.proto=!0);else{var other=propHash[name="$"+name];other?("init"===kind?this.strict&&other.init||other.get||other.set:other.init||other[kind])&&this.raiseRecoverable(key.start,"Redefinition of property"):other=propHash[name]={init:!1,get:!1,set:!1},other[kind]=!0}}},pp$5.parseExpression=function(forInit,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseMaybeAssign(forInit,refDestructuringErrors);if(this.type===types$1.comma){var node=this.startNodeAt(startPos,startLoc);for(node.expressions=[expr];this.eat(types$1.comma);)node.expressions.push(this.parseMaybeAssign(forInit,refDestructuringErrors));return this.finishNode(node,"SequenceExpression")}return expr},pp$5.parseMaybeAssign=function(forInit,refDestructuringErrors,afterLeftParse){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(forInit);this.exprAllowed=!1}var ownDestructuringErrors=!1,oldParenAssign=-1,oldTrailingComma=-1,oldDoubleProto=-1;refDestructuringErrors?(oldParenAssign=refDestructuringErrors.parenthesizedAssign,oldTrailingComma=refDestructuringErrors.trailingComma,oldDoubleProto=refDestructuringErrors.doubleProto,refDestructuringErrors.parenthesizedAssign=refDestructuringErrors.trailingComma=-1):(refDestructuringErrors=new DestructuringErrors,ownDestructuringErrors=!0);var startPos=this.start,startLoc=this.startLoc;this.type!==types$1.parenL&&this.type!==types$1.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===forInit);var left=this.parseMaybeConditional(forInit,refDestructuringErrors);if(afterLeftParse&&(left=afterLeftParse.call(this,left,startPos,startLoc)),this.type.isAssign){var node=this.startNodeAt(startPos,startLoc);return node.operator=this.value,this.type===types$1.eq&&(left=this.toAssignable(left,!1,refDestructuringErrors)),ownDestructuringErrors||(refDestructuringErrors.parenthesizedAssign=refDestructuringErrors.trailingComma=refDestructuringErrors.doubleProto=-1),refDestructuringErrors.shorthandAssign>=left.start&&(refDestructuringErrors.shorthandAssign=-1),this.type===types$1.eq?this.checkLValPattern(left):this.checkLValSimple(left),node.left=left,this.next(),node.right=this.parseMaybeAssign(forInit),oldDoubleProto>-1&&(refDestructuringErrors.doubleProto=oldDoubleProto),this.finishNode(node,"AssignmentExpression")}return ownDestructuringErrors&&this.checkExpressionErrors(refDestructuringErrors,!0),oldParenAssign>-1&&(refDestructuringErrors.parenthesizedAssign=oldParenAssign),oldTrailingComma>-1&&(refDestructuringErrors.trailingComma=oldTrailingComma),left},pp$5.parseMaybeConditional=function(forInit,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseExprOps(forInit,refDestructuringErrors);if(this.checkExpressionErrors(refDestructuringErrors))return expr;if(this.eat(types$1.question)){var node=this.startNodeAt(startPos,startLoc);return node.test=expr,node.consequent=this.parseMaybeAssign(),this.expect(types$1.colon),node.alternate=this.parseMaybeAssign(forInit),this.finishNode(node,"ConditionalExpression")}return expr},pp$5.parseExprOps=function(forInit,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc,expr=this.parseMaybeUnary(refDestructuringErrors,!1,!1,forInit);return this.checkExpressionErrors(refDestructuringErrors)||expr.start===startPos&&"ArrowFunctionExpression"===expr.type?expr:this.parseExprOp(expr,startPos,startLoc,-1,forInit)},pp$5.parseExprOp=function(left,leftStartPos,leftStartLoc,minPrec,forInit){var prec=this.type.binop;if(null!=prec&&(!forInit||this.type!==types$1._in)&&prec>minPrec){var logical=this.type===types$1.logicalOR||this.type===types$1.logicalAND,coalesce=this.type===types$1.coalesce;coalesce&&(prec=types$1.logicalAND.binop);var op=this.value;this.next();var startPos=this.start,startLoc=this.startLoc,right=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,forInit),startPos,startLoc,prec,forInit),node=this.buildBinary(leftStartPos,leftStartLoc,left,right,op,logical||coalesce);return(logical&&this.type===types$1.coalesce||coalesce&&(this.type===types$1.logicalOR||this.type===types$1.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(node,leftStartPos,leftStartLoc,minPrec,forInit)}return left},pp$5.buildBinary=function(startPos,startLoc,left,right,op,logical){"PrivateIdentifier"===right.type&&this.raise(right.start,"Private identifier can only be left side of binary expression");var node=this.startNodeAt(startPos,startLoc);return node.left=left,node.operator=op,node.right=right,this.finishNode(node,logical?"LogicalExpression":"BinaryExpression")},pp$5.parseMaybeUnary=function(refDestructuringErrors,sawUnary,incDec,forInit){var expr,startPos=this.start,startLoc=this.startLoc;if(this.isContextual("await")&&this.canAwait)expr=this.parseAwait(forInit),sawUnary=!0;else if(this.type.prefix){var node=this.startNode(),update=this.type===types$1.incDec;node.operator=this.value,node.prefix=!0,this.next(),node.argument=this.parseMaybeUnary(null,!0,update,forInit),this.checkExpressionErrors(refDestructuringErrors,!0),update?this.checkLValSimple(node.argument):this.strict&&"delete"===node.operator&&"Identifier"===node.argument.type?this.raiseRecoverable(node.start,"Deleting local variable in strict mode"):"delete"===node.operator&&isPrivateFieldAccess(node.argument)?this.raiseRecoverable(node.start,"Private fields can not be deleted"):sawUnary=!0,expr=this.finishNode(node,update?"UpdateExpression":"UnaryExpression")}else if(sawUnary||this.type!==types$1.privateId){if(expr=this.parseExprSubscripts(refDestructuringErrors,forInit),this.checkExpressionErrors(refDestructuringErrors))return expr;for(;this.type.postfix&&!this.canInsertSemicolon();){var node$1=this.startNodeAt(startPos,startLoc);node$1.operator=this.value,node$1.prefix=!1,node$1.argument=expr,this.checkLValSimple(expr),this.next(),expr=this.finishNode(node$1,"UpdateExpression")}}else(forInit||0===this.privateNameStack.length)&&this.unexpected(),expr=this.parsePrivateIdent(),this.type!==types$1._in&&this.unexpected();return incDec||!this.eat(types$1.starstar)?expr:sawUnary?void this.unexpected(this.lastTokStart):this.buildBinary(startPos,startLoc,expr,this.parseMaybeUnary(null,!1,!1,forInit),"**",!1)},pp$5.parseExprSubscripts=function(refDestructuringErrors,forInit){var startPos=this.start,startLoc=this.startLoc,expr=this.parseExprAtom(refDestructuringErrors,forInit);if("ArrowFunctionExpression"===expr.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return expr;var result=this.parseSubscripts(expr,startPos,startLoc,!1,forInit);return refDestructuringErrors&&"MemberExpression"===result.type&&(refDestructuringErrors.parenthesizedAssign>=result.start&&(refDestructuringErrors.parenthesizedAssign=-1),refDestructuringErrors.parenthesizedBind>=result.start&&(refDestructuringErrors.parenthesizedBind=-1),refDestructuringErrors.trailingComma>=result.start&&(refDestructuringErrors.trailingComma=-1)),result},pp$5.parseSubscripts=function(base,startPos,startLoc,noCalls,forInit){for(var maybeAsyncArrow=this.options.ecmaVersion>=8&&"Identifier"===base.type&&"async"===base.name&&this.lastTokEnd===base.end&&!this.canInsertSemicolon()&&base.end-base.start==5&&this.potentialArrowAt===base.start,optionalChained=!1;;){var element=this.parseSubscript(base,startPos,startLoc,noCalls,maybeAsyncArrow,optionalChained,forInit);if(element.optional&&(optionalChained=!0),element===base||"ArrowFunctionExpression"===element.type){if(optionalChained){var chainNode=this.startNodeAt(startPos,startLoc);chainNode.expression=element,element=this.finishNode(chainNode,"ChainExpression")}return element}base=element}},pp$5.parseSubscript=function(base,startPos,startLoc,noCalls,maybeAsyncArrow,optionalChained,forInit){var optionalSupported=this.options.ecmaVersion>=11,optional=optionalSupported&&this.eat(types$1.questionDot);noCalls&&optional&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var computed=this.eat(types$1.bracketL);if(computed||optional&&this.type!==types$1.parenL&&this.type!==types$1.backQuote||this.eat(types$1.dot)){var node=this.startNodeAt(startPos,startLoc);node.object=base,computed?(node.property=this.parseExpression(),this.expect(types$1.bracketR)):this.type===types$1.privateId&&"Super"!==base.type?node.property=this.parsePrivateIdent():node.property=this.parseIdent("never"!==this.options.allowReserved),node.computed=!!computed,optionalSupported&&(node.optional=optional),base=this.finishNode(node,"MemberExpression")}else if(!noCalls&&this.eat(types$1.parenL)){var refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var exprList=this.parseExprList(types$1.parenR,this.options.ecmaVersion>=8,!1,refDestructuringErrors);if(maybeAsyncArrow&&!optional&&!this.canInsertSemicolon()&&this.eat(types$1.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList,!0,forInit);this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,this.awaitIdentPos=oldAwaitIdentPos||this.awaitIdentPos;var node$1=this.startNodeAt(startPos,startLoc);node$1.callee=base,node$1.arguments=exprList,optionalSupported&&(node$1.optional=optional),base=this.finishNode(node$1,"CallExpression")}else if(this.type===types$1.backQuote){(optional||optionalChained)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var node$2=this.startNodeAt(startPos,startLoc);node$2.tag=base,node$2.quasi=this.parseTemplate({isTagged:!0}),base=this.finishNode(node$2,"TaggedTemplateExpression")}return base},pp$5.parseExprAtom=function(refDestructuringErrors,forInit){this.type===types$1.slash&&this.readRegexp();var node,canBeArrow=this.potentialArrowAt===this.start;switch(this.type){case types$1._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),node=this.startNode(),this.next(),this.type!==types$1.parenL||this.allowDirectSuper||this.raise(node.start,"super() call outside constructor of a subclass"),this.type!==types$1.dot&&this.type!==types$1.bracketL&&this.type!==types$1.parenL&&this.unexpected(),this.finishNode(node,"Super");case types$1._this:return node=this.startNode(),this.next(),this.finishNode(node,"ThisExpression");case types$1.name:var startPos=this.start,startLoc=this.startLoc,containsEsc=this.containsEsc,id=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!containsEsc&&"async"===id.name&&!this.canInsertSemicolon()&&this.eat(types$1._function))return this.overrideContext(types.f_expr),this.parseFunction(this.startNodeAt(startPos,startLoc),0,!1,!0,forInit);if(canBeArrow&&!this.canInsertSemicolon()){if(this.eat(types$1.arrow))return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!1,forInit);if(this.options.ecmaVersion>=8&&"async"===id.name&&this.type===types$1.name&&!containsEsc&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return id=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(types$1.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!0,forInit)}return id;case types$1.regexp:var value=this.value;return(node=this.parseLiteral(value.value)).regex={pattern:value.pattern,flags:value.flags},node;case types$1.num:case types$1.string:return this.parseLiteral(this.value);case types$1._null:case types$1._true:case types$1._false:return(node=this.startNode()).value=this.type===types$1._null?null:this.type===types$1._true,node.raw=this.type.keyword,this.next(),this.finishNode(node,"Literal");case types$1.parenL:var start=this.start,expr=this.parseParenAndDistinguishExpression(canBeArrow,forInit);return refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&!this.isSimpleAssignTarget(expr)&&(refDestructuringErrors.parenthesizedAssign=start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=start)),expr;case types$1.bracketL:return node=this.startNode(),this.next(),node.elements=this.parseExprList(types$1.bracketR,!0,!0,refDestructuringErrors),this.finishNode(node,"ArrayExpression");case types$1.braceL:return this.overrideContext(types.b_expr),this.parseObj(!1,refDestructuringErrors);case types$1._function:return node=this.startNode(),this.next(),this.parseFunction(node,0);case types$1._class:return this.parseClass(this.startNode(),!1);case types$1._new:return this.parseNew();case types$1.backQuote:return this.parseTemplate();case types$1._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},pp$5.parseExprImport=function(){var node=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var meta=this.parseIdent(!0);switch(this.type){case types$1.parenL:return this.parseDynamicImport(node);case types$1.dot:return node.meta=meta,this.parseImportMeta(node);default:this.unexpected()}},pp$5.parseDynamicImport=function(node){if(this.next(),node.source=this.parseMaybeAssign(),!this.eat(types$1.parenR)){var errorPos=this.start;this.eat(types$1.comma)&&this.eat(types$1.parenR)?this.raiseRecoverable(errorPos,"Trailing comma is not allowed in import()"):this.unexpected(errorPos)}return this.finishNode(node,"ImportExpression")},pp$5.parseImportMeta=function(node){this.next();var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"meta"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for import is 'import.meta'"),containsEsc&&this.raiseRecoverable(node.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(node.start,"Cannot use 'import.meta' outside a module"),this.finishNode(node,"MetaProperty")},pp$5.parseLiteral=function(value){var node=this.startNode();return node.value=value,node.raw=this.input.slice(this.start,this.end),110===node.raw.charCodeAt(node.raw.length-1)&&(node.bigint=node.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(node,"Literal")},pp$5.parseParenExpression=function(){this.expect(types$1.parenL);var val=this.parseExpression();return this.expect(types$1.parenR),val},pp$5.parseParenAndDistinguishExpression=function(canBeArrow,forInit){var val,startPos=this.start,startLoc=this.startLoc,allowTrailingComma=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var spreadStart,innerStartPos=this.start,innerStartLoc=this.startLoc,exprList=[],first=!0,lastIsComma=!1,refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==types$1.parenR;){if(first?first=!1:this.expect(types$1.comma),allowTrailingComma&&this.afterTrailingComma(types$1.parenR,!0)){lastIsComma=!0;break}if(this.type===types$1.ellipsis){spreadStart=this.start,exprList.push(this.parseParenItem(this.parseRestBinding())),this.type===types$1.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}exprList.push(this.parseMaybeAssign(!1,refDestructuringErrors,this.parseParenItem))}var innerEndPos=this.lastTokEnd,innerEndLoc=this.lastTokEndLoc;if(this.expect(types$1.parenR),canBeArrow&&!this.canInsertSemicolon()&&this.eat(types$1.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.parseParenArrowList(startPos,startLoc,exprList,forInit);exprList.length&&!lastIsComma||this.unexpected(this.lastTokStart),spreadStart&&this.unexpected(spreadStart),this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,exprList.length>1?((val=this.startNodeAt(innerStartPos,innerStartLoc)).expressions=exprList,this.finishNodeAt(val,"SequenceExpression",innerEndPos,innerEndLoc)):val=exprList[0]}else val=this.parseParenExpression();if(this.options.preserveParens){var par=this.startNodeAt(startPos,startLoc);return par.expression=val,this.finishNode(par,"ParenthesizedExpression")}return val},pp$5.parseParenItem=function(item){return item},pp$5.parseParenArrowList=function(startPos,startLoc,exprList,forInit){return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList,!1,forInit)};var empty=[];pp$5.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var node=this.startNode(),meta=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(types$1.dot)){node.meta=meta;var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"target"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for new is 'new.target'"),containsEsc&&this.raiseRecoverable(node.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(node.start,"'new.target' can only be used in functions and class static block"),this.finishNode(node,"MetaProperty")}var startPos=this.start,startLoc=this.startLoc,isImport=this.type===types$1._import;return node.callee=this.parseSubscripts(this.parseExprAtom(),startPos,startLoc,!0,!1),isImport&&"ImportExpression"===node.callee.type&&this.raise(startPos,"Cannot use new with import()"),this.eat(types$1.parenL)?node.arguments=this.parseExprList(types$1.parenR,this.options.ecmaVersion>=8,!1):node.arguments=empty,this.finishNode(node,"NewExpression")},pp$5.parseTemplateElement=function(ref){var isTagged=ref.isTagged,elem=this.startNode();return this.type===types$1.invalidTemplate?(isTagged||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),elem.value={raw:this.value,cooked:null}):elem.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),elem.tail=this.type===types$1.backQuote,this.finishNode(elem,"TemplateElement")},pp$5.parseTemplate=function(ref){void 0===ref&&(ref={});var isTagged=ref.isTagged;void 0===isTagged&&(isTagged=!1);var node=this.startNode();this.next(),node.expressions=[];var curElt=this.parseTemplateElement({isTagged});for(node.quasis=[curElt];!curElt.tail;)this.type===types$1.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(types$1.dollarBraceL),node.expressions.push(this.parseExpression()),this.expect(types$1.braceR),node.quasis.push(curElt=this.parseTemplateElement({isTagged}));return this.next(),this.finishNode(node,"TemplateLiteral")},pp$5.isAsyncProp=function(prop){return!prop.computed&&"Identifier"===prop.key.type&&"async"===prop.key.name&&(this.type===types$1.name||this.type===types$1.num||this.type===types$1.string||this.type===types$1.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types$1.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp$5.parseObj=function(isPattern,refDestructuringErrors){var node=this.startNode(),first=!0,propHash={};for(node.properties=[],this.next();!this.eat(types$1.braceR);){if(first)first=!1;else if(this.expect(types$1.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(types$1.braceR))break;var prop=this.parseProperty(isPattern,refDestructuringErrors);isPattern||this.checkPropClash(prop,propHash,refDestructuringErrors),node.properties.push(prop)}return this.finishNode(node,isPattern?"ObjectPattern":"ObjectExpression")},pp$5.parseProperty=function(isPattern,refDestructuringErrors){var isGenerator,isAsync,startPos,startLoc,prop=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(types$1.ellipsis))return isPattern?(prop.argument=this.parseIdent(!1),this.type===types$1.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(prop,"RestElement")):(this.type===types$1.parenL&&refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&(refDestructuringErrors.parenthesizedAssign=this.start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=this.start)),prop.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.type===types$1.comma&&refDestructuringErrors&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start),this.finishNode(prop,"SpreadElement"));this.options.ecmaVersion>=6&&(prop.method=!1,prop.shorthand=!1,(isPattern||refDestructuringErrors)&&(startPos=this.start,startLoc=this.startLoc),isPattern||(isGenerator=this.eat(types$1.star)));var containsEsc=this.containsEsc;return this.parsePropertyName(prop),!isPattern&&!containsEsc&&this.options.ecmaVersion>=8&&!isGenerator&&this.isAsyncProp(prop)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types$1.star),this.parsePropertyName(prop,refDestructuringErrors)):isAsync=!1,this.parsePropertyValue(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc),this.finishNode(prop,"Property")},pp$5.parsePropertyValue=function(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc){if((isGenerator||isAsync)&&this.type===types$1.colon&&this.unexpected(),this.eat(types$1.colon))prop.value=isPattern?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,refDestructuringErrors),prop.kind="init";else if(this.options.ecmaVersion>=6&&this.type===types$1.parenL)isPattern&&this.unexpected(),prop.kind="init",prop.method=!0,prop.value=this.parseMethod(isGenerator,isAsync);else if(isPattern||containsEsc||!(this.options.ecmaVersion>=5)||prop.computed||"Identifier"!==prop.key.type||"get"!==prop.key.name&&"set"!==prop.key.name||this.type===types$1.comma||this.type===types$1.braceR||this.type===types$1.eq)this.options.ecmaVersion>=6&&!prop.computed&&"Identifier"===prop.key.type?((isGenerator||isAsync)&&this.unexpected(),this.checkUnreserved(prop.key),"await"!==prop.key.name||this.awaitIdentPos||(this.awaitIdentPos=startPos),prop.kind="init",isPattern?prop.value=this.parseMaybeDefault(startPos,startLoc,this.copyNode(prop.key)):this.type===types$1.eq&&refDestructuringErrors?(refDestructuringErrors.shorthandAssign<0&&(refDestructuringErrors.shorthandAssign=this.start),prop.value=this.parseMaybeDefault(startPos,startLoc,this.copyNode(prop.key))):prop.value=this.copyNode(prop.key),prop.shorthand=!0):this.unexpected();else{(isGenerator||isAsync)&&this.unexpected(),prop.kind=prop.key.name,this.parsePropertyName(prop),prop.value=this.parseMethod(!1);var paramCount="get"===prop.kind?0:1;if(prop.value.params.length!==paramCount){var start=prop.value.start;"get"===prop.kind?this.raiseRecoverable(start,"getter should have no params"):this.raiseRecoverable(start,"setter should have exactly one param")}else"set"===prop.kind&&"RestElement"===prop.value.params[0].type&&this.raiseRecoverable(prop.value.params[0].start,"Setter cannot use rest params")}},pp$5.parsePropertyName=function(prop){if(this.options.ecmaVersion>=6){if(this.eat(types$1.bracketL))return prop.computed=!0,prop.key=this.parseMaybeAssign(),this.expect(types$1.bracketR),prop.key;prop.computed=!1}return prop.key=this.type===types$1.num||this.type===types$1.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},pp$5.initFunction=function(node){node.id=null,this.options.ecmaVersion>=6&&(node.generator=node.expression=!1),this.options.ecmaVersion>=8&&(node.async=!1)},pp$5.parseMethod=function(isGenerator,isAsync,allowDirectSuper){var node=this.startNode(),oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.initFunction(node),this.options.ecmaVersion>=6&&(node.generator=isGenerator),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(isAsync,node.generator)|SCOPE_SUPER|(allowDirectSuper?SCOPE_DIRECT_SUPER:0)),this.expect(types$1.parenL),node.params=this.parseBindingList(types$1.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(node,!1,!0,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"FunctionExpression")},pp$5.parseArrowExpression=function(node,params,isAsync,forInit){var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.enterScope(functionFlags(isAsync,!1)|SCOPE_ARROW),this.initFunction(node),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,node.params=this.toAssignableList(params,!0),this.parseFunctionBody(node,!0,!1,forInit),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"ArrowFunctionExpression")},pp$5.parseFunctionBody=function(node,isArrowFunction,isMethod,forInit){var isExpression=isArrowFunction&&this.type!==types$1.braceL,oldStrict=this.strict,useStrict=!1;if(isExpression)node.body=this.parseMaybeAssign(forInit),node.expression=!0,this.checkParams(node,!1);else{var nonSimple=this.options.ecmaVersion>=7&&!this.isSimpleParamList(node.params);oldStrict&&!nonSimple||(useStrict=this.strictDirective(this.end))&&nonSimple&&this.raiseRecoverable(node.start,"Illegal 'use strict' directive in function with non-simple parameter list");var oldLabels=this.labels;this.labels=[],useStrict&&(this.strict=!0),this.checkParams(node,!oldStrict&&!useStrict&&!isArrowFunction&&!isMethod&&this.isSimpleParamList(node.params)),this.strict&&node.id&&this.checkLValSimple(node.id,BIND_OUTSIDE),node.body=this.parseBlock(!1,void 0,useStrict&&!oldStrict),node.expression=!1,this.adaptDirectivePrologue(node.body.body),this.labels=oldLabels}this.exitScope()},pp$5.isSimpleParamList=function(params){for(var i=0,list=params;i<list.length;i+=1)if("Identifier"!==list[i].type)return!1;return!0},pp$5.checkParams=function(node,allowDuplicates){for(var nameHash=Object.create(null),i=0,list=node.params;i<list.length;i+=1){var param=list[i];this.checkLValInnerPattern(param,BIND_VAR,allowDuplicates?null:nameHash)}},pp$5.parseExprList=function(close,allowTrailingComma,allowEmpty,refDestructuringErrors){for(var elts=[],first=!0;!this.eat(close);){if(first)first=!1;else if(this.expect(types$1.comma),allowTrailingComma&&this.afterTrailingComma(close))break;var elt=void 0;allowEmpty&&this.type===types$1.comma?elt=null:this.type===types$1.ellipsis?(elt=this.parseSpread(refDestructuringErrors),refDestructuringErrors&&this.type===types$1.comma&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start)):elt=this.parseMaybeAssign(!1,refDestructuringErrors),elts.push(elt)}return elts},pp$5.checkUnreserved=function(ref){var start=ref.start,end=ref.end,name=ref.name;this.inGenerator&&"yield"===name&&this.raiseRecoverable(start,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===name&&this.raiseRecoverable(start,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===name&&this.raiseRecoverable(start,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==name&&"await"!==name||this.raise(start,"Cannot use "+name+" in class static initialization block"),this.keywords.test(name)&&this.raise(start,"Unexpected keyword '"+name+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(start,end).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(name)&&(this.inAsync||"await"!==name||this.raiseRecoverable(start,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(start,"The keyword '"+name+"' is reserved"))},pp$5.parseIdent=function(liberal,isBinding){var node=this.startNode();return this.type===types$1.name?node.name=this.value:this.type.keyword?(node.name=this.type.keyword,"class"!==node.name&&"function"!==node.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(!!liberal),this.finishNode(node,"Identifier"),liberal||(this.checkUnreserved(node),"await"!==node.name||this.awaitIdentPos||(this.awaitIdentPos=node.start)),node},pp$5.parsePrivateIdent=function(){var node=this.startNode();return this.type===types$1.privateId?node.name=this.value:this.unexpected(),this.next(),this.finishNode(node,"PrivateIdentifier"),0===this.privateNameStack.length?this.raise(node.start,"Private field '#"+node.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(node),node},pp$5.parseYield=function(forInit){this.yieldPos||(this.yieldPos=this.start);var node=this.startNode();return this.next(),this.type===types$1.semi||this.canInsertSemicolon()||this.type!==types$1.star&&!this.type.startsExpr?(node.delegate=!1,node.argument=null):(node.delegate=this.eat(types$1.star),node.argument=this.parseMaybeAssign(forInit)),this.finishNode(node,"YieldExpression")},pp$5.parseAwait=function(forInit){this.awaitPos||(this.awaitPos=this.start);var node=this.startNode();return this.next(),node.argument=this.parseMaybeUnary(null,!0,!1,forInit),this.finishNode(node,"AwaitExpression")};var pp$4=Parser.prototype;pp$4.raise=function(pos,message){var loc=getLineInfo(this.input,pos);message+=" ("+loc.line+":"+loc.column+")";var err=new SyntaxError(message);throw err.pos=pos,err.loc=loc,err.raisedAt=this.pos,err},pp$4.raiseRecoverable=pp$4.raise,pp$4.curPosition=function(){if(this.options.locations)return new Position(this.curLine,this.pos-this.lineStart)};var pp$3=Parser.prototype,Scope=function Scope(flags){this.flags=flags,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};pp$3.enterScope=function(flags){this.scopeStack.push(new Scope(flags))},pp$3.exitScope=function(){this.scopeStack.pop()},pp$3.treatFunctionsAsVarInScope=function(scope){return scope.flags&SCOPE_FUNCTION||!this.inModule&&scope.flags&SCOPE_TOP},pp$3.declareName=function(name,bindingType,pos){var redeclared=!1;if(bindingType===BIND_LEXICAL){var scope=this.currentScope();redeclared=scope.lexical.indexOf(name)>-1||scope.functions.indexOf(name)>-1||scope.var.indexOf(name)>-1,scope.lexical.push(name),this.inModule&&scope.flags&SCOPE_TOP&&delete this.undefinedExports[name]}else if(bindingType===BIND_SIMPLE_CATCH)this.currentScope().lexical.push(name);else if(bindingType===BIND_FUNCTION){var scope$2=this.currentScope();redeclared=this.treatFunctionsAsVar?scope$2.lexical.indexOf(name)>-1:scope$2.lexical.indexOf(name)>-1||scope$2.var.indexOf(name)>-1,scope$2.functions.push(name)}else for(var i=this.scopeStack.length-1;i>=0;--i){var scope$3=this.scopeStack[i];if(scope$3.lexical.indexOf(name)>-1&&!(scope$3.flags&SCOPE_SIMPLE_CATCH&&scope$3.lexical[0]===name)||!this.treatFunctionsAsVarInScope(scope$3)&&scope$3.functions.indexOf(name)>-1){redeclared=!0;break}if(scope$3.var.push(name),this.inModule&&scope$3.flags&SCOPE_TOP&&delete this.undefinedExports[name],scope$3.flags&SCOPE_VAR)break}redeclared&&this.raiseRecoverable(pos,"Identifier '"+name+"' has already been declared")},pp$3.checkLocalExport=function(id){-1===this.scopeStack[0].lexical.indexOf(id.name)&&-1===this.scopeStack[0].var.indexOf(id.name)&&(this.undefinedExports[id.name]=id)},pp$3.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pp$3.currentVarScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(scope.flags&SCOPE_VAR)return scope}},pp$3.currentThisScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(scope.flags&SCOPE_VAR&&!(scope.flags&SCOPE_ARROW))return scope}};var Node=function Node(parser,pos,loc){this.type="",this.start=pos,this.end=0,parser.options.locations&&(this.loc=new SourceLocation(parser,loc)),parser.options.directSourceFile&&(this.sourceFile=parser.options.directSourceFile),parser.options.ranges&&(this.range=[pos,0])},pp$2=Parser.prototype;function finishNodeAt(node,type,pos,loc){return node.type=type,node.end=pos,this.options.locations&&(node.loc.end=loc),this.options.ranges&&(node.range[1]=pos),node}pp$2.startNode=function(){return new Node(this,this.start,this.startLoc)},pp$2.startNodeAt=function(pos,loc){return new Node(this,pos,loc)},pp$2.finishNode=function(node,type){return finishNodeAt.call(this,node,type,this.lastTokEnd,this.lastTokEndLoc)},pp$2.finishNodeAt=function(node,type,pos,loc){return finishNodeAt.call(this,node,type,pos,loc)},pp$2.copyNode=function(node){var newNode=new Node(this,node.start,this.startLoc);for(var prop in node)newNode[prop]=node[prop];return newNode};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic",ecma12BinaryProperties=ecma10BinaryProperties+" EBase EComp EMod EPres ExtPict",unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:ecma10BinaryProperties,12:ecma12BinaryProperties,13:ecma12BinaryProperties},unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ecma9ScriptValues="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ecma11ScriptValues=ecma10ScriptValues+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ecma12ScriptValues=ecma11ScriptValues+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:ecma11ScriptValues,12:ecma12ScriptValues,13:ecma12ScriptValues+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith"},data={};function buildUnicodeData(ecmaVersion){var d=data[ecmaVersion]={binary:wordsRegexp(unicodeBinaryProperties[ecmaVersion]+" "+unicodeGeneralCategoryValues),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[ecmaVersion])}};d.nonBinary.Script_Extensions=d.nonBinary.Script,d.nonBinary.gc=d.nonBinary.General_Category,d.nonBinary.sc=d.nonBinary.Script,d.nonBinary.scx=d.nonBinary.Script_Extensions}for(var i=0,list=[9,10,11,12,13];i<list.length;i+=1)buildUnicodeData(list[i]);var pp$1=Parser.prototype,RegExpValidationState=function RegExpValidationState(parser){this.parser=parser,this.validFlags="gim"+(parser.options.ecmaVersion>=6?"uy":"")+(parser.options.ecmaVersion>=9?"s":"")+(parser.options.ecmaVersion>=13?"d":""),this.unicodeProperties=data[parser.options.ecmaVersion>=13?13:parser.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString$1(ch){return ch<=65535?String.fromCharCode(ch):(ch-=65536,String.fromCharCode(55296+(ch>>10),56320+(1023&ch)))}function isSyntaxCharacter(ch){return 36===ch||ch>=40&&ch<=43||46===ch||63===ch||ch>=91&&ch<=94||ch>=123&&ch<=125}function isRegExpIdentifierStart(ch){return isIdentifierStart(ch,!0)||36===ch||95===ch}function isRegExpIdentifierPart(ch){return isIdentifierChar(ch,!0)||36===ch||95===ch||8204===ch||8205===ch}function isControlLetter(ch){return ch>=65&&ch<=90||ch>=97&&ch<=122}function isValidUnicode(ch){return ch>=0&&ch<=1114111}function isCharacterClassEscape(ch){return 100===ch||68===ch||115===ch||83===ch||119===ch||87===ch}function isUnicodePropertyNameCharacter(ch){return isControlLetter(ch)||95===ch}function isUnicodePropertyValueCharacter(ch){return isUnicodePropertyNameCharacter(ch)||isDecimalDigit(ch)}function isDecimalDigit(ch){return ch>=48&&ch<=57}function isHexDigit(ch){return ch>=48&&ch<=57||ch>=65&&ch<=70||ch>=97&&ch<=102}function hexToInt(ch){return ch>=65&&ch<=70?ch-65+10:ch>=97&&ch<=102?ch-97+10:ch-48}function isOctalDigit(ch){return ch>=48&&ch<=55}RegExpValidationState.prototype.reset=function reset(start,pattern,flags){var unicode=-1!==flags.indexOf("u");this.start=0|start,this.source=pattern+"",this.flags=flags,this.switchU=unicode&&this.parser.options.ecmaVersion>=6,this.switchN=unicode&&this.parser.options.ecmaVersion>=9},RegExpValidationState.prototype.raise=function raise(message){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+message)},RegExpValidationState.prototype.at=function at(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return-1;var c=s.charCodeAt(i);if(!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l)return c;var next=s.charCodeAt(i+1);return next>=56320&&next<=57343?(c<<10)+next-56613888:c},RegExpValidationState.prototype.nextIndex=function nextIndex(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return l;var next,c=s.charCodeAt(i);return!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l||(next=s.charCodeAt(i+1))<56320||next>57343?i+1:i+2},RegExpValidationState.prototype.current=function current(forceU){return void 0===forceU&&(forceU=!1),this.at(this.pos,forceU)},RegExpValidationState.prototype.lookahead=function lookahead(forceU){return void 0===forceU&&(forceU=!1),this.at(this.nextIndex(this.pos,forceU),forceU)},RegExpValidationState.prototype.advance=function advance(forceU){void 0===forceU&&(forceU=!1),this.pos=this.nextIndex(this.pos,forceU)},RegExpValidationState.prototype.eat=function eat(ch,forceU){return void 0===forceU&&(forceU=!1),this.current(forceU)===ch&&(this.advance(forceU),!0)},pp$1.validateRegExpFlags=function(state){for(var validFlags=state.validFlags,flags=state.flags,i=0;i<flags.length;i++){var flag=flags.charAt(i);-1===validFlags.indexOf(flag)&&this.raise(state.start,"Invalid regular expression flag"),flags.indexOf(flag,i+1)>-1&&this.raise(state.start,"Duplicate regular expression flag")}},pp$1.validateRegExpPattern=function(state){this.regexp_pattern(state),!state.switchN&&this.options.ecmaVersion>=9&&state.groupNames.length>0&&(state.switchN=!0,this.regexp_pattern(state))},pp$1.regexp_pattern=function(state){state.pos=0,state.lastIntValue=0,state.lastStringValue="",state.lastAssertionIsQuantifiable=!1,state.numCapturingParens=0,state.maxBackReference=0,state.groupNames.length=0,state.backReferenceNames.length=0,this.regexp_disjunction(state),state.pos!==state.source.length&&(state.eat(41)&&state.raise("Unmatched ')'"),(state.eat(93)||state.eat(125))&&state.raise("Lone quantifier brackets")),state.maxBackReference>state.numCapturingParens&&state.raise("Invalid escape");for(var i=0,list=state.backReferenceNames;i<list.length;i+=1){var name=list[i];-1===state.groupNames.indexOf(name)&&state.raise("Invalid named capture referenced")}},pp$1.regexp_disjunction=function(state){for(this.regexp_alternative(state);state.eat(124);)this.regexp_alternative(state);this.regexp_eatQuantifier(state,!0)&&state.raise("Nothing to repeat"),state.eat(123)&&state.raise("Lone quantifier brackets")},pp$1.regexp_alternative=function(state){for(;state.pos<state.source.length&&this.regexp_eatTerm(state););},pp$1.regexp_eatTerm=function(state){return this.regexp_eatAssertion(state)?(state.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(state)&&state.switchU&&state.raise("Invalid quantifier"),!0):!!(state.switchU?this.regexp_eatAtom(state):this.regexp_eatExtendedAtom(state))&&(this.regexp_eatQuantifier(state),!0)},pp$1.regexp_eatAssertion=function(state){var start=state.pos;if(state.lastAssertionIsQuantifiable=!1,state.eat(94)||state.eat(36))return!0;if(state.eat(92)){if(state.eat(66)||state.eat(98))return!0;state.pos=start}if(state.eat(40)&&state.eat(63)){var lookbehind=!1;if(this.options.ecmaVersion>=9&&(lookbehind=state.eat(60)),state.eat(61)||state.eat(33))return this.regexp_disjunction(state),state.eat(41)||state.raise("Unterminated group"),state.lastAssertionIsQuantifiable=!lookbehind,!0}return state.pos=start,!1},pp$1.regexp_eatQuantifier=function(state,noError){return void 0===noError&&(noError=!1),!!this.regexp_eatQuantifierPrefix(state,noError)&&(state.eat(63),!0)},pp$1.regexp_eatQuantifierPrefix=function(state,noError){return state.eat(42)||state.eat(43)||state.eat(63)||this.regexp_eatBracedQuantifier(state,noError)},pp$1.regexp_eatBracedQuantifier=function(state,noError){var start=state.pos;if(state.eat(123)){var min=0,max=-1;if(this.regexp_eatDecimalDigits(state)&&(min=state.lastIntValue,state.eat(44)&&this.regexp_eatDecimalDigits(state)&&(max=state.lastIntValue),state.eat(125)))return-1!==max&&max<min&&!noError&&state.raise("numbers out of order in {} quantifier"),!0;state.switchU&&!noError&&state.raise("Incomplete quantifier"),state.pos=start}return!1},pp$1.regexp_eatAtom=function(state){return this.regexp_eatPatternCharacters(state)||state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)},pp$1.regexp_eatReverseSolidusAtomEscape=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatAtomEscape(state))return!0;state.pos=start}return!1},pp$1.regexp_eatUncapturingGroup=function(state){var start=state.pos;if(state.eat(40)){if(state.eat(63)&&state.eat(58)){if(this.regexp_disjunction(state),state.eat(41))return!0;state.raise("Unterminated group")}state.pos=start}return!1},pp$1.regexp_eatCapturingGroup=function(state){if(state.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(state):63===state.current()&&state.raise("Invalid group"),this.regexp_disjunction(state),state.eat(41))return state.numCapturingParens+=1,!0;state.raise("Unterminated group")}return!1},pp$1.regexp_eatExtendedAtom=function(state){return state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)||this.regexp_eatInvalidBracedQuantifier(state)||this.regexp_eatExtendedPatternCharacter(state)},pp$1.regexp_eatInvalidBracedQuantifier=function(state){return this.regexp_eatBracedQuantifier(state,!0)&&state.raise("Nothing to repeat"),!1},pp$1.regexp_eatSyntaxCharacter=function(state){var ch=state.current();return!!isSyntaxCharacter(ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$1.regexp_eatPatternCharacters=function(state){for(var start=state.pos,ch=0;-1!==(ch=state.current())&&!isSyntaxCharacter(ch);)state.advance();return state.pos!==start},pp$1.regexp_eatExtendedPatternCharacter=function(state){var ch=state.current();return!(-1===ch||36===ch||ch>=40&&ch<=43||46===ch||63===ch||91===ch||94===ch||124===ch||(state.advance(),0))},pp$1.regexp_groupSpecifier=function(state){if(state.eat(63)){if(this.regexp_eatGroupName(state))return-1!==state.groupNames.indexOf(state.lastStringValue)&&state.raise("Duplicate capture group name"),void state.groupNames.push(state.lastStringValue);state.raise("Invalid group")}},pp$1.regexp_eatGroupName=function(state){if(state.lastStringValue="",state.eat(60)){if(this.regexp_eatRegExpIdentifierName(state)&&state.eat(62))return!0;state.raise("Invalid capture group name")}return!1},pp$1.regexp_eatRegExpIdentifierName=function(state){if(state.lastStringValue="",this.regexp_eatRegExpIdentifierStart(state)){for(state.lastStringValue+=codePointToString$1(state.lastIntValue);this.regexp_eatRegExpIdentifierPart(state);)state.lastStringValue+=codePointToString$1(state.lastIntValue);return!0}return!1},pp$1.regexp_eatRegExpIdentifierStart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),isRegExpIdentifierStart(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$1.regexp_eatRegExpIdentifierPart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),isRegExpIdentifierPart(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$1.regexp_eatAtomEscape=function(state){return!!(this.regexp_eatBackReference(state)||this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)||state.switchN&&this.regexp_eatKGroupName(state))||(state.switchU&&(99===state.current()&&state.raise("Invalid unicode escape"),state.raise("Invalid escape")),!1)},pp$1.regexp_eatBackReference=function(state){var start=state.pos;if(this.regexp_eatDecimalEscape(state)){var n=state.lastIntValue;if(state.switchU)return n>state.maxBackReference&&(state.maxBackReference=n),!0;if(n<=state.numCapturingParens)return!0;state.pos=start}return!1},pp$1.regexp_eatKGroupName=function(state){if(state.eat(107)){if(this.regexp_eatGroupName(state))return state.backReferenceNames.push(state.lastStringValue),!0;state.raise("Invalid named reference")}return!1},pp$1.regexp_eatCharacterEscape=function(state){return this.regexp_eatControlEscape(state)||this.regexp_eatCControlLetter(state)||this.regexp_eatZero(state)||this.regexp_eatHexEscapeSequence(state)||this.regexp_eatRegExpUnicodeEscapeSequence(state,!1)||!state.switchU&&this.regexp_eatLegacyOctalEscapeSequence(state)||this.regexp_eatIdentityEscape(state)},pp$1.regexp_eatCControlLetter=function(state){var start=state.pos;if(state.eat(99)){if(this.regexp_eatControlLetter(state))return!0;state.pos=start}return!1},pp$1.regexp_eatZero=function(state){return 48===state.current()&&!isDecimalDigit(state.lookahead())&&(state.lastIntValue=0,state.advance(),!0)},pp$1.regexp_eatControlEscape=function(state){var ch=state.current();return 116===ch?(state.lastIntValue=9,state.advance(),!0):110===ch?(state.lastIntValue=10,state.advance(),!0):118===ch?(state.lastIntValue=11,state.advance(),!0):102===ch?(state.lastIntValue=12,state.advance(),!0):114===ch&&(state.lastIntValue=13,state.advance(),!0)},pp$1.regexp_eatControlLetter=function(state){var ch=state.current();return!!isControlLetter(ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$1.regexp_eatRegExpUnicodeEscapeSequence=function(state,forceU){void 0===forceU&&(forceU=!1);var start=state.pos,switchU=forceU||state.switchU;if(state.eat(117)){if(this.regexp_eatFixedHexDigits(state,4)){var lead=state.lastIntValue;if(switchU&&lead>=55296&&lead<=56319){var leadSurrogateEnd=state.pos;if(state.eat(92)&&state.eat(117)&&this.regexp_eatFixedHexDigits(state,4)){var trail=state.lastIntValue;if(trail>=56320&&trail<=57343)return state.lastIntValue=1024*(lead-55296)+(trail-56320)+65536,!0}state.pos=leadSurrogateEnd,state.lastIntValue=lead}return!0}if(switchU&&state.eat(123)&&this.regexp_eatHexDigits(state)&&state.eat(125)&&isValidUnicode(state.lastIntValue))return!0;switchU&&state.raise("Invalid unicode escape"),state.pos=start}return!1},pp$1.regexp_eatIdentityEscape=function(state){if(state.switchU)return!!this.regexp_eatSyntaxCharacter(state)||!!state.eat(47)&&(state.lastIntValue=47,!0);var ch=state.current();return!(99===ch||state.switchN&&107===ch||(state.lastIntValue=ch,state.advance(),0))},pp$1.regexp_eatDecimalEscape=function(state){state.lastIntValue=0;var ch=state.current();if(ch>=49&&ch<=57){do{state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance()}while((ch=state.current())>=48&&ch<=57);return!0}return!1},pp$1.regexp_eatCharacterClassEscape=function(state){var ch=state.current();if(isCharacterClassEscape(ch))return state.lastIntValue=-1,state.advance(),!0;if(state.switchU&&this.options.ecmaVersion>=9&&(80===ch||112===ch)){if(state.lastIntValue=-1,state.advance(),state.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(state)&&state.eat(125))return!0;state.raise("Invalid property name")}return!1},pp$1.regexp_eatUnicodePropertyValueExpression=function(state){var start=state.pos;if(this.regexp_eatUnicodePropertyName(state)&&state.eat(61)){var name=state.lastStringValue;if(this.regexp_eatUnicodePropertyValue(state)){var value=state.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(state,name,value),!0}}if(state.pos=start,this.regexp_eatLoneUnicodePropertyNameOrValue(state)){var nameOrValue=state.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(state,nameOrValue),!0}return!1},pp$1.regexp_validateUnicodePropertyNameAndValue=function(state,name,value){hasOwn(state.unicodeProperties.nonBinary,name)||state.raise("Invalid property name"),state.unicodeProperties.nonBinary[name].test(value)||state.raise("Invalid property value")},pp$1.regexp_validateUnicodePropertyNameOrValue=function(state,nameOrValue){state.unicodeProperties.binary.test(nameOrValue)||state.raise("Invalid property name")},pp$1.regexp_eatUnicodePropertyName=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyNameCharacter(ch=state.current());)state.lastStringValue+=codePointToString$1(ch),state.advance();return""!==state.lastStringValue},pp$1.regexp_eatUnicodePropertyValue=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyValueCharacter(ch=state.current());)state.lastStringValue+=codePointToString$1(ch),state.advance();return""!==state.lastStringValue},pp$1.regexp_eatLoneUnicodePropertyNameOrValue=function(state){return this.regexp_eatUnicodePropertyValue(state)},pp$1.regexp_eatCharacterClass=function(state){if(state.eat(91)){if(state.eat(94),this.regexp_classRanges(state),state.eat(93))return!0;state.raise("Unterminated character class")}return!1},pp$1.regexp_classRanges=function(state){for(;this.regexp_eatClassAtom(state);){var left=state.lastIntValue;if(state.eat(45)&&this.regexp_eatClassAtom(state)){var right=state.lastIntValue;!state.switchU||-1!==left&&-1!==right||state.raise("Invalid character class"),-1!==left&&-1!==right&&left>right&&state.raise("Range out of order in character class")}}},pp$1.regexp_eatClassAtom=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatClassEscape(state))return!0;if(state.switchU){var ch$1=state.current();(99===ch$1||isOctalDigit(ch$1))&&state.raise("Invalid class escape"),state.raise("Invalid escape")}state.pos=start}var ch=state.current();return 93!==ch&&(state.lastIntValue=ch,state.advance(),!0)},pp$1.regexp_eatClassEscape=function(state){var start=state.pos;if(state.eat(98))return state.lastIntValue=8,!0;if(state.switchU&&state.eat(45))return state.lastIntValue=45,!0;if(!state.switchU&&state.eat(99)){if(this.regexp_eatClassControlLetter(state))return!0;state.pos=start}return this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)},pp$1.regexp_eatClassControlLetter=function(state){var ch=state.current();return!(!isDecimalDigit(ch)&&95!==ch||(state.lastIntValue=ch%32,state.advance(),0))},pp$1.regexp_eatHexEscapeSequence=function(state){var start=state.pos;if(state.eat(120)){if(this.regexp_eatFixedHexDigits(state,2))return!0;state.switchU&&state.raise("Invalid escape"),state.pos=start}return!1},pp$1.regexp_eatDecimalDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isDecimalDigit(ch=state.current());)state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance();return state.pos!==start},pp$1.regexp_eatHexDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isHexDigit(ch=state.current());)state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance();return state.pos!==start},pp$1.regexp_eatLegacyOctalEscapeSequence=function(state){if(this.regexp_eatOctalDigit(state)){var n1=state.lastIntValue;if(this.regexp_eatOctalDigit(state)){var n2=state.lastIntValue;n1<=3&&this.regexp_eatOctalDigit(state)?state.lastIntValue=64*n1+8*n2+state.lastIntValue:state.lastIntValue=8*n1+n2}else state.lastIntValue=n1;return!0}return!1},pp$1.regexp_eatOctalDigit=function(state){var ch=state.current();return isOctalDigit(ch)?(state.lastIntValue=ch-48,state.advance(),!0):(state.lastIntValue=0,!1)},pp$1.regexp_eatFixedHexDigits=function(state,length){var start=state.pos;state.lastIntValue=0;for(var i=0;i<length;++i){var ch=state.current();if(!isHexDigit(ch))return state.pos=start,!1;state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance()}return!0};var Token=function Token(p){this.type=p.type,this.value=p.value,this.start=p.start,this.end=p.end,p.options.locations&&(this.loc=new SourceLocation(p,p.startLoc,p.endLoc)),p.options.ranges&&(this.range=[p.start,p.end])},pp=Parser.prototype;function stringToNumber(str,isLegacyOctalNumericLiteral){return isLegacyOctalNumericLiteral?parseInt(str,8):parseFloat(str.replace(/_/g,""))}function stringToBigInt(str){return"function"!=typeof BigInt?null:BigInt(str.replace(/_/g,""))}function codePointToString(code){return code<=65535?String.fromCharCode(code):(code-=65536,String.fromCharCode(55296+(code>>10),56320+(1023&code)))}pp.next=function(ignoreEscapeSequenceInKeyword){!ignoreEscapeSequenceInKeyword&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Token(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},pp.getToken=function(){return this.next(),new Token(this)},"undefined"!=typeof Symbol&&(pp[Symbol.iterator]=function(){var this$1$1=this;return{next:function(){var token=this$1$1.getToken();return{done:token.type===types$1.eof,value:token}}}}),pp.nextToken=function(){var curContext=this.curContext();return curContext&&curContext.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(types$1.eof):curContext.override?curContext.override(this):void this.readToken(this.fullCharCodeAtPos())},pp.readToken=function(code){return isIdentifierStart(code,this.options.ecmaVersion>=6)||92===code?this.readWord():this.getTokenFromCode(code)},pp.fullCharCodeAtPos=function(){var code=this.input.charCodeAt(this.pos);if(code<=55295||code>=56320)return code;var next=this.input.charCodeAt(this.pos+1);return next<=56319||next>=57344?code:(code<<10)+next-56613888},pp.skipBlockComment=function(){var startLoc=this.options.onComment&&this.curPosition(),start=this.pos,end=this.input.indexOf("*/",this.pos+=2);if(-1===end&&this.raise(this.pos-2,"Unterminated comment"),this.pos=end+2,this.options.locations)for(var nextBreak=void 0,pos=start;(nextBreak=nextLineBreak(this.input,pos,this.pos))>-1;)++this.curLine,pos=this.lineStart=nextBreak;this.options.onComment&&this.options.onComment(!0,this.input.slice(start+2,end),start,this.pos,startLoc,this.curPosition())},pp.skipLineComment=function(startSkip){for(var start=this.pos,startLoc=this.options.onComment&&this.curPosition(),ch=this.input.charCodeAt(this.pos+=startSkip);this.pos<this.input.length&&!isNewLine(ch);)ch=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(start+startSkip,this.pos),start,this.pos,startLoc,this.curPosition())},pp.skipSpace=function(){loop:for(;this.pos<this.input.length;){var ch=this.input.charCodeAt(this.pos);switch(ch){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break loop}break;default:if(!(ch>8&&ch<14||ch>=5760&&nonASCIIwhitespace.test(String.fromCharCode(ch))))break loop;++this.pos}}},pp.finishToken=function(type,val){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var prevType=this.type;this.type=type,this.value=val,this.updateContext(prevType)},pp.readToken_dot=function(){var next=this.input.charCodeAt(this.pos+1);if(next>=48&&next<=57)return this.readNumber(!0);var next2=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===next&&46===next2?(this.pos+=3,this.finishToken(types$1.ellipsis)):(++this.pos,this.finishToken(types$1.dot))},pp.readToken_slash=function(){var next=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===next?this.finishOp(types$1.assign,2):this.finishOp(types$1.slash,1)},pp.readToken_mult_modulo_exp=function(code){var next=this.input.charCodeAt(this.pos+1),size=1,tokentype=42===code?types$1.star:types$1.modulo;return this.options.ecmaVersion>=7&&42===code&&42===next&&(++size,tokentype=types$1.starstar,next=this.input.charCodeAt(this.pos+2)),61===next?this.finishOp(types$1.assign,size+1):this.finishOp(tokentype,size)},pp.readToken_pipe_amp=function(code){var next=this.input.charCodeAt(this.pos+1);return next===code?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(types$1.assign,3):this.finishOp(124===code?types$1.logicalOR:types$1.logicalAND,2):61===next?this.finishOp(types$1.assign,2):this.finishOp(124===code?types$1.bitwiseOR:types$1.bitwiseAND,1)},pp.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(types$1.assign,2):this.finishOp(types$1.bitwiseXOR,1)},pp.readToken_plus_min=function(code){var next=this.input.charCodeAt(this.pos+1);return next===code?45!==next||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(types$1.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===next?this.finishOp(types$1.assign,2):this.finishOp(types$1.plusMin,1)},pp.readToken_lt_gt=function(code){var next=this.input.charCodeAt(this.pos+1),size=1;return next===code?(size=62===code&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+size)?this.finishOp(types$1.assign,size+1):this.finishOp(types$1.bitShift,size)):33!==next||60!==code||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===next&&(size=2),this.finishOp(types$1.relational,size)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},pp.readToken_eq_excl=function(code){var next=this.input.charCodeAt(this.pos+1);return 61===next?this.finishOp(types$1.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===code&&62===next&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(types$1.arrow)):this.finishOp(61===code?types$1.eq:types$1.prefix,1)},pp.readToken_question=function(){var ecmaVersion=this.options.ecmaVersion;if(ecmaVersion>=11){var next=this.input.charCodeAt(this.pos+1);if(46===next){var next2=this.input.charCodeAt(this.pos+2);if(next2<48||next2>57)return this.finishOp(types$1.questionDot,2)}if(63===next)return ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(types$1.assign,3):this.finishOp(types$1.coalesce,2)}return this.finishOp(types$1.question,1)},pp.readToken_numberSign=function(){var code=35;if(this.options.ecmaVersion>=13&&(++this.pos,isIdentifierStart(code=this.fullCharCodeAtPos(),!0)||92===code))return this.finishToken(types$1.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+codePointToString(code)+"'")},pp.getTokenFromCode=function(code){switch(code){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(types$1.parenL);case 41:return++this.pos,this.finishToken(types$1.parenR);case 59:return++this.pos,this.finishToken(types$1.semi);case 44:return++this.pos,this.finishToken(types$1.comma);case 91:return++this.pos,this.finishToken(types$1.bracketL);case 93:return++this.pos,this.finishToken(types$1.bracketR);case 123:return++this.pos,this.finishToken(types$1.braceL);case 125:return++this.pos,this.finishToken(types$1.braceR);case 58:return++this.pos,this.finishToken(types$1.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(types$1.backQuote);case 48:var next=this.input.charCodeAt(this.pos+1);if(120===next||88===next)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===next||79===next)return this.readRadixNumber(8);if(98===next||66===next)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(code);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(code);case 124:case 38:return this.readToken_pipe_amp(code);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(code);case 60:case 62:return this.readToken_lt_gt(code);case 61:case 33:return this.readToken_eq_excl(code);case 63:return this.readToken_question();case 126:return this.finishOp(types$1.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(code)+"'")},pp.finishOp=function(type,size){var str=this.input.slice(this.pos,this.pos+size);return this.pos+=size,this.finishToken(type,str)},pp.readRegexp=function(){for(var escaped,inClass,start=this.pos;;){this.pos>=this.input.length&&this.raise(start,"Unterminated regular expression");var ch=this.input.charAt(this.pos);if(lineBreak.test(ch)&&this.raise(start,"Unterminated regular expression"),escaped)escaped=!1;else{if("["===ch)inClass=!0;else if("]"===ch&&inClass)inClass=!1;else if("/"===ch&&!inClass)break;escaped="\\"===ch}++this.pos}var pattern=this.input.slice(start,this.pos);++this.pos;var flagsStart=this.pos,flags=this.readWord1();this.containsEsc&&this.unexpected(flagsStart);var state=this.regexpState||(this.regexpState=new RegExpValidationState(this));state.reset(start,pattern,flags),this.validateRegExpFlags(state),this.validateRegExpPattern(state);var value=null;try{value=new RegExp(pattern,flags)}catch(e){}return this.finishToken(types$1.regexp,{pattern,flags,value})},pp.readInt=function(radix,len,maybeLegacyOctalNumericLiteral){for(var allowSeparators=this.options.ecmaVersion>=12&&void 0===len,isLegacyOctalNumericLiteral=maybeLegacyOctalNumericLiteral&&48===this.input.charCodeAt(this.pos),start=this.pos,total=0,lastCode=0,i=0,e=null==len?1/0:len;i<e;++i,++this.pos){var code=this.input.charCodeAt(this.pos),val=void 0;if(allowSeparators&&95===code)isLegacyOctalNumericLiteral&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===lastCode&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),lastCode=code;else{if((val=code>=97?code-97+10:code>=65?code-65+10:code>=48&&code<=57?code-48:1/0)>=radix)break;lastCode=code,total=total*radix+val}}return allowSeparators&&95===lastCode&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===start||null!=len&&this.pos-start!==len?null:total},pp.readRadixNumber=function(radix){var start=this.pos;this.pos+=2;var val=this.readInt(radix);return null==val&&this.raise(this.start+2,"Expected number in radix "+radix),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(val=stringToBigInt(this.input.slice(start,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types$1.num,val)},pp.readNumber=function(startsWithDot){var start=this.pos;startsWithDot||null!==this.readInt(10,void 0,!0)||this.raise(start,"Invalid number");var octal=this.pos-start>=2&&48===this.input.charCodeAt(start);octal&&this.strict&&this.raise(start,"Invalid number");var next=this.input.charCodeAt(this.pos);if(!octal&&!startsWithDot&&this.options.ecmaVersion>=11&&110===next){var val$1=stringToBigInt(this.input.slice(start,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types$1.num,val$1)}octal&&/[89]/.test(this.input.slice(start,this.pos))&&(octal=!1),46!==next||octal||(++this.pos,this.readInt(10),next=this.input.charCodeAt(this.pos)),69!==next&&101!==next||octal||(43!==(next=this.input.charCodeAt(++this.pos))&&45!==next||++this.pos,null===this.readInt(10)&&this.raise(start,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var val=stringToNumber(this.input.slice(start,this.pos),octal);return this.finishToken(types$1.num,val)},pp.readCodePoint=function(){var code;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var codePos=++this.pos;code=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,code>1114111&&this.invalidStringToken(codePos,"Code point out of bounds")}else code=this.readHexChar(4);return code},pp.readString=function(quote){for(var out="",chunkStart=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ch=this.input.charCodeAt(this.pos);if(ch===quote)break;92===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!1),chunkStart=this.pos):8232===ch||8233===ch?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(isNewLine(ch)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(types$1.string,out)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(err){if(err!==INVALID_TEMPLATE_ESCAPE_ERROR)throw err;this.readInvalidTemplateToken()}this.inTemplateElement=!1},pp.invalidStringToken=function(position,message){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw INVALID_TEMPLATE_ESCAPE_ERROR;this.raise(position,message)},pp.readTmplToken=function(){for(var out="",chunkStart=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var ch=this.input.charCodeAt(this.pos);if(96===ch||36===ch&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==types$1.template&&this.type!==types$1.invalidTemplate?(out+=this.input.slice(chunkStart,this.pos),this.finishToken(types$1.template,out)):36===ch?(this.pos+=2,this.finishToken(types$1.dollarBraceL)):(++this.pos,this.finishToken(types$1.backQuote));if(92===ch)out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!0),chunkStart=this.pos;else if(isNewLine(ch)){switch(out+=this.input.slice(chunkStart,this.pos),++this.pos,ch){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:out+="\n";break;default:out+=String.fromCharCode(ch)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),chunkStart=this.pos}else++this.pos}},pp.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(types$1.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},pp.readEscapedChar=function(inTemplate){var ch=this.input.charCodeAt(++this.pos);switch(++this.pos,ch){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),inTemplate){var codePos=this.pos-1;return this.invalidStringToken(codePos,"Invalid escape sequence in template string"),null}default:if(ch>=48&&ch<=55){var octalStr=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],octal=parseInt(octalStr,8);return octal>255&&(octalStr=octalStr.slice(0,-1),octal=parseInt(octalStr,8)),this.pos+=octalStr.length-1,ch=this.input.charCodeAt(this.pos),"0"===octalStr&&56!==ch&&57!==ch||!this.strict&&!inTemplate||this.invalidStringToken(this.pos-1-octalStr.length,inTemplate?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(octal)}return isNewLine(ch)?"":String.fromCharCode(ch)}},pp.readHexChar=function(len){var codePos=this.pos,n=this.readInt(16,len);return null===n&&this.invalidStringToken(codePos,"Bad character escape sequence"),n},pp.readWord1=function(){this.containsEsc=!1;for(var word="",first=!0,chunkStart=this.pos,astral=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ch=this.fullCharCodeAtPos();if(isIdentifierChar(ch,astral))this.pos+=ch<=65535?1:2;else{if(92!==ch)break;this.containsEsc=!0,word+=this.input.slice(chunkStart,this.pos);var escStart=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var esc=this.readCodePoint();(first?isIdentifierStart:isIdentifierChar)(esc,astral)||this.invalidStringToken(escStart,"Invalid Unicode escape"),word+=codePointToString(esc),chunkStart=this.pos}first=!1}return word+this.input.slice(chunkStart,this.pos)},pp.readWord=function(){var word=this.readWord1(),type=types$1.name;return this.keywords.test(word)&&(type=keywords[word]),this.finishToken(type,word)};var version="8.7.0";function parse(input,options){return Parser.parse(input,options)}function parseExpressionAt(input,pos,options){return Parser.parseExpressionAt(input,pos,options)}function tokenizer(input,options){return Parser.tokenizer(input,options)}Parser.acorn={Parser,version,defaultOptions,Position,SourceLocation,getLineInfo,Node,TokenType,tokTypes:types$1,keywordTypes:keywords,TokContext,tokContexts:types,isIdentifierChar,isIdentifierStart,Token,isNewLine,lineBreak,lineBreakG,nonASCIIwhitespace},exports.Node=Node,exports.Parser=Parser,exports.Position=Position,exports.SourceLocation=SourceLocation,exports.TokContext=TokContext,exports.Token=Token,exports.TokenType=TokenType,exports.defaultOptions=defaultOptions,exports.getLineInfo=getLineInfo,exports.isIdentifierChar=isIdentifierChar,exports.isIdentifierStart=isIdentifierStart,exports.isNewLine=isNewLine,exports.keywordTypes=keywords,exports.lineBreak=lineBreak,exports.lineBreakG=lineBreakG,exports.nonASCIIwhitespace=nonASCIIwhitespace,exports.parse=parse,exports.parseExpressionAt=parseExpressionAt,exports.tokContexts=types,exports.tokTypes=types$1,exports.tokenizer=tokenizer,exports.version=version,Object.defineProperty(exports,"__esModule",{value:!0})}(exports)},"./node_modules/airbnb-js-shims/index.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/airbnb-js-shims/target/es5.js")},"./node_modules/airbnb-js-shims/target/es2015.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/es6-shim/es6-shim.js"),__webpack_require__("./node_modules/function.prototype.name/shim.js")(),__webpack_require__("./node_modules/airbnb-js-shims/target/es2016.js")},"./node_modules/airbnb-js-shims/target/es2016.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/array-includes/shim.js")(),__webpack_require__("./node_modules/airbnb-js-shims/target/es2017.js")},"./node_modules/airbnb-js-shims/target/es2017.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/object.values/shim.js")(),__webpack_require__("./node_modules/object.entries/shim.js")(),__webpack_require__("./node_modules/string.prototype.padstart/shim.js")(),__webpack_require__("./node_modules/string.prototype.padend/shim.js")(),__webpack_require__("./node_modules/object.getownpropertydescriptors/shim.js")(),__webpack_require__("./node_modules/airbnb-js-shims/target/es2018.js")},"./node_modules/airbnb-js-shims/target/es2018.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";"function"==typeof Promise&&__webpack_require__("./node_modules/promise.prototype.finally/auto.js"),__webpack_require__("./node_modules/airbnb-js-shims/target/es2019.js")},"./node_modules/airbnb-js-shims/target/es2019.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/array.prototype.flat/auto.js"),__webpack_require__("./node_modules/array.prototype.flatmap/auto.js"),__webpack_require__("./node_modules/symbol.prototype.description/auto.js"),__webpack_require__("./node_modules/object.fromentries/auto.js"),__webpack_require__("./node_modules/airbnb-js-shims/target/es2020.js")},"./node_modules/airbnb-js-shims/target/es2020.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/string.prototype.matchall/auto.js"),__webpack_require__("./node_modules/globalthis/auto.js"),__webpack_require__("./node_modules/promise.allsettled/auto.js")},"./node_modules/airbnb-js-shims/target/es5.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/es5-shim/es5-shim.js"),__webpack_require__("./node_modules/es5-shim/es5-sham.js"),__webpack_require__("./node_modules/airbnb-js-shims/target/es2015.js")},"./node_modules/ansi-to-html/lib/ansi_to_html.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createForOfIteratorHelper(o){if("undefined"==typeof Symbol||null==o[Symbol.iterator]){if(Array.isArray(o)||(o=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))){var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var it,err,normalCompletion=!0,didErr=!1;return{s:function s(){it=o[Symbol.iterator]()},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var entities=__webpack_require__("./node_modules/entities/lib/index.js"),defaults={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:function getDefaultColors(){var colors={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return range(0,5).forEach((function(red){range(0,5).forEach((function(green){range(0,5).forEach((function(blue){return function setStyleColor(red,green,blue,colors){var r=red>0?40*red+55:0,g=green>0?40*green+55:0,b=blue>0?40*blue+55:0;colors[16+36*red+6*green+blue]=function toColorHexString(ref){var _step,results=[],_iterator=_createForOfIteratorHelper(ref);try{for(_iterator.s();!(_step=_iterator.n()).done;){var r=_step.value;results.push(toHexString(r))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return"#"+results.join("")}([r,g,b])}(red,green,blue,colors)}))}))})),range(0,23).forEach((function(gray){var c=gray+232,l=toHexString(10*gray+8);colors[c]="#"+l+l+l})),colors}()};function toHexString(num){for(var str=num.toString(16);str.length<2;)str="0"+str;return str}function generateOutput(stack,token,data,options){var result;return"text"===token?result=function pushText(text,options){if(options.escapeXML)return entities.encodeXML(text);return text}(data,options):"display"===token?result=function handleDisplay(stack,code,options){code=parseInt(code,10);var result,codeMap={"-1":function _(){return"<br/>"},0:function _(){return stack.length&&resetStyles(stack)},1:function _(){return pushTag(stack,"b")},3:function _(){return pushTag(stack,"i")},4:function _(){return pushTag(stack,"u")},8:function _(){return pushStyle(stack,"display:none")},9:function _(){return pushTag(stack,"strike")},22:function _(){return pushStyle(stack,"font-weight:normal;text-decoration:none;font-style:normal")},23:function _(){return closeTag(stack,"i")},24:function _(){return closeTag(stack,"u")},39:function _(){return pushForegroundColor(stack,options.fg)},49:function _(){return pushBackgroundColor(stack,options.bg)},53:function _(){return pushStyle(stack,"text-decoration:overline")}};codeMap[code]?result=codeMap[code]():4<code&&code<7?result=pushTag(stack,"blink"):29<code&&code<38?result=pushForegroundColor(stack,options.colors[code-30]):39<code&&code<48?result=pushBackgroundColor(stack,options.colors[code-40]):89<code&&code<98?result=pushForegroundColor(stack,options.colors[code-90+8]):99<code&&code<108&&(result=pushBackgroundColor(stack,options.colors[code-100+8]));return result}(stack,data,options):"xterm256"===token?result=pushForegroundColor(stack,options.colors[data]):"rgb"===token&&(result=function handleRgb(stack,data){var operation=+(data=data.substring(2).slice(0,-1)).substr(0,2),rgb=data.substring(5).split(";").map((function(value){return("0"+Number(value).toString(16)).substr(-2)})).join("");return pushStyle(stack,(38===operation?"color:#":"background-color:#")+rgb)}(stack,data)),result}function resetStyles(stack){var stackClone=stack.slice(0);return stack.length=0,stackClone.reverse().map((function(tag){return"</"+tag+">"})).join("")}function range(low,high){for(var results=[],j=low;j<=high;j++)results.push(j);return results}function categoryForCode(code){var result=null;return 0===(code=parseInt(code,10))?result="all":1===code?result="bold":2<code&&code<5?result="underline":4<code&&code<7?result="blink":8===code?result="hide":9===code?result="strike":29<code&&code<38||39===code||89<code&&code<98?result="foreground-color":(39<code&&code<48||49===code||99<code&&code<108)&&(result="background-color"),result}function pushTag(stack,tag,style){return style||(style=""),stack.push(tag),"<".concat(tag).concat(style?' style="'.concat(style,'"'):"",">")}function pushStyle(stack,style){return pushTag(stack,"span",style)}function pushForegroundColor(stack,color){return pushTag(stack,"span","color:"+color)}function pushBackgroundColor(stack,color){return pushTag(stack,"span","background-color:"+color)}function closeTag(stack,style){var last;if(stack.slice(-1)[0]===style&&(last=stack.pop()),last)return"</"+style+">"}var Filter=function(){function Filter(options){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Filter),(options=options||{}).colors&&(options.colors=Object.assign({},defaults.colors,options.colors)),this.options=Object.assign({},defaults,options),this.stack=[],this.stickyStack=[]}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(Filter,[{key:"toHtml",value:function toHtml(input){var _this=this;input="string"==typeof input?[input]:input;var stack=this.stack,options=this.options,buf=[];return this.stickyStack.forEach((function(element){var output=generateOutput(stack,element.token,element.data,options);output&&buf.push(output)})),function tokenize(text,options,callback){var ansiMatch=!1;function remove(){return""}function newline(m){return options.newline?callback("display",-1):callback("text",m),""}var tokens=[{pattern:/^\x08+/,sub:remove},{pattern:/^\x1b\[[012]?K/,sub:remove},{pattern:/^\x1b\[\(B/,sub:remove},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:function rgb(m){return callback("rgb",m),""}},{pattern:/^\x1b\[38;5;(\d+)m/,sub:function removeXterm256(m,g1){return callback("xterm256",g1),""}},{pattern:/^\n/,sub:newline},{pattern:/^\r+\n/,sub:newline},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:function ansiMess(m,g1){ansiMatch=!0,0===g1.trim().length&&(g1="0");var _step2,_iterator2=_createForOfIteratorHelper(g1=g1.trimRight(";").split(";"));try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var g=_step2.value;callback("display",g)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}return""}},{pattern:/^\x1b\[\d?J/,sub:remove},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:remove},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:remove},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:function realText(m){return callback("text",m),""}}];function process(handler,i){i>3&&ansiMatch||(ansiMatch=!1,text=text.replace(handler.pattern,handler.sub))}var results1=[],length=text.length;outer:for(;length>0;){for(var i=0,o=0,len=tokens.length;o<len;i=++o)if(process(tokens[i],i),text.length!==length){length=text.length;continue outer}if(text.length===length)break;results1.push(0),length=text.length}return results1}(input.join(""),options,(function(token,data){var output=generateOutput(stack,token,data,options);output&&buf.push(output),options.stream&&(_this.stickyStack=function updateStickyStack(stickyStack,token,data){return"text"!==token&&(stickyStack=stickyStack.filter(function notCategory(category){return function(e){return(null===category||e.category!==category)&&"all"!==category}}(categoryForCode(data)))).push({token,data,category:categoryForCode(data)}),stickyStack}(_this.stickyStack,token,data))})),stack.length&&buf.push(resetStyles(stack)),buf.join("")}}]),Filter}();module.exports=Filter},"./node_modules/antd/es/_util/colors.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>PresetStatusColorTypes,Y:()=>PresetColorTypes});var _type__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/antd/es/_util/type.js"),PresetStatusColorTypes=(0,_type__WEBPACK_IMPORTED_MODULE_0__.b)("success","processing","error","default","warning"),PresetColorTypes=(0,_type__WEBPACK_IMPORTED_MODULE_0__.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"./node_modules/antd/es/_util/hooks/useFlexGapSupport.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_styleChecker__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/antd/es/_util/styleChecker.js");const __WEBPACK_DEFAULT_EXPORT__=function(){var _React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState(!1),_React$useState2=(0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__.Z)(_React$useState,2),flexible=_React$useState2[0],setFlexible=_React$useState2[1];return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){setFlexible((0,_styleChecker__WEBPACK_IMPORTED_MODULE_2__.fk)())}),[]),flexible}},"./node_modules/antd/es/_util/motion.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ZP:()=>__WEBPACK_DEFAULT_EXPORT__,mL:()=>getTransitionName,q0:()=>getTransitionDirection});var getCollapsedHeight=function getCollapsedHeight(){return{height:0,opacity:0}},getRealHeight=function getRealHeight(node){return{height:node.scrollHeight,opacity:1}},skipOpacityTransition=function skipOpacityTransition(_,event){return!0===(null==event?void 0:event.deadline)||"height"===event.propertyName},collapseMotion={motionName:"ant-motion-collapse",onAppearStart:getCollapsedHeight,onEnterStart:getCollapsedHeight,onAppearActive:getRealHeight,onEnterActive:getRealHeight,onLeaveStart:function getCurrentHeight(node){return{height:node?node.offsetHeight:0}},onLeaveActive:getCollapsedHeight,onAppearEnd:skipOpacityTransition,onEnterEnd:skipOpacityTransition,onLeaveEnd:skipOpacityTransition,motionDeadline:500},getTransitionDirection=((0,__webpack_require__("./node_modules/antd/es/_util/type.js").b)("bottomLeft","bottomRight","topLeft","topRight"),function getTransitionDirection(placement){return void 0===placement||"topLeft"!==placement&&"topRight"!==placement?"slide-up":"slide-down"}),getTransitionName=function getTransitionName(rootPrefixCls,motion,transitionName){return void 0!==transitionName?transitionName:"".concat(rootPrefixCls,"-").concat(motion)};const __WEBPACK_DEFAULT_EXPORT__=collapseMotion},"./node_modules/antd/es/_util/placements.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>getPlacements});var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rc-tooltip/es/placements.js"),autoAdjustOverflowEnabled={adjustX:1,adjustY:1},autoAdjustOverflowDisabled={adjustX:0,adjustY:0},targetOffset=[0,0];function getOverflowOptions(autoAdjustOverflow){return"boolean"==typeof autoAdjustOverflow?autoAdjustOverflow?autoAdjustOverflowEnabled:autoAdjustOverflowDisabled:(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.Z)({},autoAdjustOverflowDisabled),autoAdjustOverflow)}function getPlacements(config){var _config$arrowWidth=config.arrowWidth,arrowWidth=void 0===_config$arrowWidth?4:_config$arrowWidth,_config$horizontalArr=config.horizontalArrowShift,horizontalArrowShift=void 0===_config$horizontalArr?16:_config$horizontalArr,_config$verticalArrow=config.verticalArrowShift,verticalArrowShift=void 0===_config$verticalArrow?8:_config$verticalArrow,autoAdjustOverflow=config.autoAdjustOverflow,arrowPointAtCenter=config.arrowPointAtCenter,placementMap={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(horizontalArrowShift+arrowWidth),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(verticalArrowShift+arrowWidth)]},topRight:{points:["br","tc"],offset:[horizontalArrowShift+arrowWidth,-4]},rightTop:{points:["tl","cr"],offset:[4,-(verticalArrowShift+arrowWidth)]},bottomRight:{points:["tr","bc"],offset:[horizontalArrowShift+arrowWidth,4]},rightBottom:{points:["bl","cr"],offset:[4,verticalArrowShift+arrowWidth]},bottomLeft:{points:["tl","bc"],offset:[-(horizontalArrowShift+arrowWidth),4]},leftBottom:{points:["br","cl"],offset:[-4,verticalArrowShift+arrowWidth]}};return Object.keys(placementMap).forEach((function(key){placementMap[key]=arrowPointAtCenter?(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.Z)({},placementMap[key]),{overflow:getOverflowOptions(autoAdjustOverflow),targetOffset}):(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__.Z)({},rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__.C[key]),{overflow:getOverflowOptions(autoAdjustOverflow)}),placementMap[key].ignoreShake=!0})),placementMap}},"./node_modules/antd/es/_util/reactNode.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Tm:()=>cloneElement,l$:()=>isValidElement});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),isValidElement=react__WEBPACK_IMPORTED_MODULE_0__.isValidElement;function cloneElement(element,props){return function replaceElement(element,replacement,props){return isValidElement(element)?react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(element,"function"==typeof props?props(element.props||{}):props):replacement}(element,element,props)}},"./node_modules/antd/es/_util/responsiveObserve.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ZP:()=>__WEBPACK_DEFAULT_EXPORT__,c4:()=>responsiveArray});var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),responsiveArray=["xxl","xl","lg","md","sm","xs"],responsiveMap={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},subscribers=new Map,subUid=-1,screens={};const __WEBPACK_DEFAULT_EXPORT__={matchHandlers:{},dispatch:function dispatch(pointMap){return screens=pointMap,subscribers.forEach((function(func){return func(screens)})),subscribers.size>=1},subscribe:function subscribe(func){return subscribers.size||this.register(),subUid+=1,subscribers.set(subUid,func),func(screens),subUid},unsubscribe:function unsubscribe(token){subscribers.delete(token),subscribers.size||this.unregister()},unregister:function unregister(){var _this=this;Object.keys(responsiveMap).forEach((function(screen){var matchMediaQuery=responsiveMap[screen],handler=_this.matchHandlers[matchMediaQuery];null==handler||handler.mql.removeListener(null==handler?void 0:handler.listener)})),subscribers.clear()},register:function register(){var _this2=this;Object.keys(responsiveMap).forEach((function(screen){var matchMediaQuery=responsiveMap[screen],listener=function listener(_ref){var matches=_ref.matches;_this2.dispatch((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.Z)({},screens),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__.Z)({},screen,matches)))},mql=window.matchMedia(matchMediaQuery);mql.addListener(listener),_this2.matchHandlers[matchMediaQuery]={mql,listener},listener(mql)}))}}},"./node_modules/antd/es/_util/statusUtils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{F:()=>getMergedStatus,Z:()=>getStatusClassNames});var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),classnames__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);(0,__webpack_require__("./node_modules/antd/es/_util/type.js").b)("warning","error","");function getStatusClassNames(prefixCls,status,hasFeedback){var _classNames;return classnames__WEBPACK_IMPORTED_MODULE_0___default()((_classNames={},(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__.Z)(_classNames,"".concat(prefixCls,"-status-success"),"success"===status),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__.Z)(_classNames,"".concat(prefixCls,"-status-warning"),"warning"===status),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__.Z)(_classNames,"".concat(prefixCls,"-status-error"),"error"===status),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__.Z)(_classNames,"".concat(prefixCls,"-status-validating"),"validating"===status),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__.Z)(_classNames,"".concat(prefixCls,"-has-feedback"),hasFeedback),_classNames))}var getMergedStatus=function getMergedStatus(contextStatus,customStatus){return customStatus||contextStatus}},"./node_modules/antd/es/_util/styleChecker.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{fk:()=>detectFlexGapSupported,jD:()=>canUseDocElement});var flexGapSupported,rc_util_es_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/Dom/canUseDom.js"),canUseDocElement=function canUseDocElement(){return(0,rc_util_es_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_0__.Z)()&&window.document.documentElement},detectFlexGapSupported=function detectFlexGapSupported(){if(!canUseDocElement())return!1;if(void 0!==flexGapSupported)return flexGapSupported;var flex=document.createElement("div");return flex.style.display="flex",flex.style.flexDirection="column",flex.style.rowGap="1px",flex.appendChild(document.createElement("div")),flex.appendChild(document.createElement("div")),document.body.appendChild(flex),flexGapSupported=1===flex.scrollHeight,document.body.removeChild(flex),flexGapSupported}},"./node_modules/antd/es/_util/type.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>tuple});var tuple=function tuple(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return args}},"./node_modules/antd/es/_util/wave.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>Wave});var classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),assertThisInitialized=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),react=__webpack_require__("./node_modules/react/index.js"),dynamicCSS=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/Dom/dynamicCSS.js"),es_ref=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/ref.js"),raf=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/raf.js"),id=0,ids={};function wrapperRaf(callback){var delayFrames=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,myId=id++,restFrames=delayFrames;function internalCallback(){(restFrames-=1)<=0?(callback(),delete ids[myId]):ids[myId]=(0,raf.Z)(internalCallback)}return ids[myId]=(0,raf.Z)(internalCallback),myId}wrapperRaf.cancel=function cancel(pid){void 0!==pid&&(raf.Z.cancel(ids[pid]),delete ids[pid])},wrapperRaf.ids=ids;var styleForPseudo,context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js");function isHidden(element){return!element||null===element.offsetParent||element.hidden}function isNotGrey(color){var match=(color||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(match&&match[1]&&match[2]&&match[3])||!(match[1]===match[2]&&match[2]===match[3])}var Wave=function(_React$Component){(0,inherits.Z)(Wave,_React$Component);var _super=(0,createSuper.Z)(Wave);function Wave(){var _this;return(0,classCallCheck.Z)(this,Wave),(_this=_super.apply(this,arguments)).containerRef=react.createRef(),_this.animationStart=!1,_this.destroyed=!1,_this.onClick=function(node,waveColor){var _a,_b,_this$props=_this.props,insertExtraNode=_this$props.insertExtraNode;if(!(_this$props.disabled||!node||isHidden(node)||node.className.indexOf("-leave")>=0)){_this.extraNode=document.createElement("div");var extraNode=(0,assertThisInitialized.Z)(_this).extraNode,getPrefixCls=_this.context.getPrefixCls;extraNode.className="".concat(getPrefixCls(""),"-click-animating-node");var attributeName=_this.getAttributeName();if(node.setAttribute(attributeName,"true"),waveColor&&"#ffffff"!==waveColor&&"rgb(255, 255, 255)"!==waveColor&&isNotGrey(waveColor)&&!/rgba\((?:\d*, ){3}0\)/.test(waveColor)&&"transparent"!==waveColor){extraNode.style.borderColor=waveColor;var nodeRoot=(null===(_a=node.getRootNode)||void 0===_a?void 0:_a.call(node))||node.ownerDocument,nodeBody=nodeRoot instanceof Document?nodeRoot.body:null!==(_b=nodeRoot.firstChild)&&void 0!==_b?_b:nodeRoot;styleForPseudo=(0,dynamicCSS.hq)("\n [".concat(getPrefixCls(""),"-click-animating-without-extra-node='true']::after, .").concat(getPrefixCls(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(waveColor,";\n }"),"antd-wave",{csp:_this.csp,attachTo:nodeBody})}insertExtraNode&&node.appendChild(extraNode),["transition","animation"].forEach((function(name){node.addEventListener("".concat(name,"start"),_this.onTransitionStart),node.addEventListener("".concat(name,"end"),_this.onTransitionEnd)}))}},_this.onTransitionStart=function(e){if(!_this.destroyed){var node=_this.containerRef.current;e&&e.target===node&&!_this.animationStart&&_this.resetEffect(node)}},_this.onTransitionEnd=function(e){e&&"fadeEffect"===e.animationName&&_this.resetEffect(e.target)},_this.bindAnimationEvent=function(node){if(node&&node.getAttribute&&!node.getAttribute("disabled")&&!(node.className.indexOf("disabled")>=0)){var onClick=function onClick(e){if("INPUT"!==e.target.tagName&&!isHidden(e.target)){_this.resetEffect(node);var waveColor=getComputedStyle(node).getPropertyValue("border-top-color")||getComputedStyle(node).getPropertyValue("border-color")||getComputedStyle(node).getPropertyValue("background-color");_this.clickWaveTimeoutId=window.setTimeout((function(){return _this.onClick(node,waveColor)}),0),wrapperRaf.cancel(_this.animationStartId),_this.animationStart=!0,_this.animationStartId=wrapperRaf((function(){_this.animationStart=!1}),10)}};return node.addEventListener("click",onClick,!0),{cancel:function cancel(){node.removeEventListener("click",onClick,!0)}}}},_this.renderWave=function(_ref){var csp=_ref.csp,children=_this.props.children;if(_this.csp=csp,!react.isValidElement(children))return children;var ref=_this.containerRef;return(0,es_ref.Yr)(children)&&(ref=(0,es_ref.sQ)(children.ref,_this.containerRef)),(0,reactNode.Tm)(children,{ref})},_this}return(0,createClass.Z)(Wave,[{key:"componentDidMount",value:function componentDidMount(){var node=this.containerRef.current;node&&1===node.nodeType&&(this.instance=this.bindAnimationEvent(node))}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function getAttributeName(){var getPrefixCls=this.context.getPrefixCls,insertExtraNode=this.props.insertExtraNode;return"".concat(getPrefixCls(""),insertExtraNode?"-click-animating":"-click-animating-without-extra-node")}},{key:"resetEffect",value:function resetEffect(node){var _this2=this;if(node&&node!==this.extraNode&&node instanceof Element){var insertExtraNode=this.props.insertExtraNode,attributeName=this.getAttributeName();node.setAttribute(attributeName,"false"),styleForPseudo&&(styleForPseudo.innerHTML=""),insertExtraNode&&this.extraNode&&node.contains(this.extraNode)&&node.removeChild(this.extraNode),["transition","animation"].forEach((function(name){node.removeEventListener("".concat(name,"start"),_this2.onTransitionStart),node.removeEventListener("".concat(name,"end"),_this2.onTransitionEnd)}))}}},{key:"render",value:function render(){return react.createElement(context.C,null,this.renderWave)}}]),Wave}(react.Component);Wave.contextType=context.E_},"./node_modules/antd/es/avatar/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>es_avatar});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),es=__webpack_require__("./node_modules/rc-resize-observer/es/index.js"),es_ref=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/ref.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),responsiveObserve=__webpack_require__("./node_modules/antd/es/_util/responsiveObserve.js"),useBreakpoint=__webpack_require__("./node_modules/antd/es/grid/hooks/useBreakpoint.js"),SizeContext=react.createContext("default"),SizeContextProvider=function SizeContextProvider(_ref){var children=_ref.children,size=_ref.size;return react.createElement(SizeContext.Consumer,null,(function(originSize){return react.createElement(SizeContext.Provider,{value:size||originSize},children)}))};const avatar_SizeContext=SizeContext;var __rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},InternalAvatar=function InternalAvatar(props,ref){var _classNames,_classNames2,groupSize=react.useContext(avatar_SizeContext),_React$useState=react.useState(1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),scale=_React$useState2[0],setScale=_React$useState2[1],_React$useState3=react.useState(!1),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),mounted=_React$useState4[0],setMounted=_React$useState4[1],_React$useState5=react.useState(!0),_React$useState6=(0,slicedToArray.Z)(_React$useState5,2),isImgExist=_React$useState6[0],setIsImgExist=_React$useState6[1],avatarNodeRef=react.useRef(),avatarChildrenRef=react.useRef(),avatarNodeMergeRef=(0,es_ref.sQ)(ref,avatarNodeRef),getPrefixCls=react.useContext(context.E_).getPrefixCls,setScaleParam=function setScaleParam(){if(avatarChildrenRef.current&&avatarNodeRef.current){var childrenWidth=avatarChildrenRef.current.offsetWidth,nodeWidth=avatarNodeRef.current.offsetWidth;if(0!==childrenWidth&&0!==nodeWidth){var _props$gap=props.gap,gap=void 0===_props$gap?4:_props$gap;2*gap<nodeWidth&&setScale(nodeWidth-2*gap<childrenWidth?(nodeWidth-2*gap)/childrenWidth:1)}}};react.useEffect((function(){setMounted(!0)}),[]),react.useEffect((function(){setIsImgExist(!0),setScale(1)}),[props.src]),react.useEffect((function(){setScaleParam()}),[props.gap]);var childrenToRender,customizePrefixCls=props.prefixCls,shape=props.shape,customSize=props.size,src=props.src,srcSet=props.srcSet,icon=props.icon,className=props.className,alt=props.alt,draggable=props.draggable,children=props.children,crossOrigin=props.crossOrigin,others=__rest(props,["prefixCls","shape","size","src","srcSet","icon","className","alt","draggable","children","crossOrigin"]),size="default"===customSize?groupSize:customSize,needResponsive=Object.keys("object"===(0,esm_typeof.Z)(size)&&size||{}).some((function(key){return["xs","sm","md","lg","xl","xxl"].includes(key)})),screens=(0,useBreakpoint.Z)(needResponsive),responsiveSizeStyle=react.useMemo((function(){if("object"!==(0,esm_typeof.Z)(size))return{};var currentBreakpoint=responsiveObserve.c4.find((function(screen){return screens[screen]})),currentSize=size[currentBreakpoint];return currentSize?{width:currentSize,height:currentSize,lineHeight:"".concat(currentSize,"px"),fontSize:icon?currentSize/2:18}:{}}),[screens,size]),prefixCls=getPrefixCls("avatar",customizePrefixCls),sizeCls=classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-lg"),"large"===size),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-sm"),"small"===size),_classNames)),hasImageElement=react.isValidElement(src),classString=classnames_default()(prefixCls,sizeCls,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-").concat(shape),!!shape),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-image"),hasImageElement||src&&isImgExist),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-icon"),!!icon),_classNames2),className),sizeStyle="number"==typeof size?{width:size,height:size,lineHeight:"".concat(size,"px"),fontSize:icon?size/2:18}:{};if("string"==typeof src&&isImgExist)childrenToRender=react.createElement("img",{src,draggable,srcSet,onError:function handleImgLoadError(){var onError=props.onError;!1!==(onError?onError():void 0)&&setIsImgExist(!1)},alt,crossOrigin});else if(hasImageElement)childrenToRender=src;else if(icon)childrenToRender=icon;else if(mounted||1!==scale){var transformString="scale(".concat(scale,") translateX(-50%)"),childrenStyle={msTransform:transformString,WebkitTransform:transformString,transform:transformString},sizeChildrenStyle="number"==typeof size?{lineHeight:"".concat(size,"px")}:{};childrenToRender=react.createElement(es.Z,{onResize:setScaleParam},react.createElement("span",{className:"".concat(prefixCls,"-string"),ref:function ref(node){avatarChildrenRef.current=node},style:(0,esm_extends.Z)((0,esm_extends.Z)({},sizeChildrenStyle),childrenStyle)},children))}else childrenToRender=react.createElement("span",{className:"".concat(prefixCls,"-string"),style:{opacity:0},ref:function ref(node){avatarChildrenRef.current=node}},children);return delete others.onError,delete others.gap,react.createElement("span",(0,esm_extends.Z)({},others,{style:(0,esm_extends.Z)((0,esm_extends.Z)((0,esm_extends.Z)({},sizeStyle),responsiveSizeStyle),others.style),className:classString,ref:avatarNodeMergeRef}),childrenToRender)},Avatar=react.forwardRef(InternalAvatar);Avatar.displayName="Avatar",Avatar.defaultProps={shape:"circle",size:"default"};const avatar=Avatar;var toArray=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/Children/toArray.js"),reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js"),popover=__webpack_require__("./node_modules/antd/es/popover/index.js");const group=function Group(props){var _React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,customizePrefixCls=props.prefixCls,_props$className=props.className,className=void 0===_props$className?"":_props$className,maxCount=props.maxCount,maxStyle=props.maxStyle,size=props.size,prefixCls=getPrefixCls("avatar-group",customizePrefixCls),cls=classnames_default()(prefixCls,(0,defineProperty.Z)({},"".concat(prefixCls,"-rtl"),"rtl"===direction),className),children=props.children,_props$maxPopoverPlac=props.maxPopoverPlacement,maxPopoverPlacement=void 0===_props$maxPopoverPlac?"top":_props$maxPopoverPlac,_props$maxPopoverTrig=props.maxPopoverTrigger,maxPopoverTrigger=void 0===_props$maxPopoverTrig?"hover":_props$maxPopoverTrig,childrenWithProps=(0,toArray.Z)(children).map((function(child,index){return(0,reactNode.Tm)(child,{key:"avatar-key-".concat(index)})})),numOfChildren=childrenWithProps.length;if(maxCount&&maxCount<numOfChildren){var childrenShow=childrenWithProps.slice(0,maxCount),childrenHidden=childrenWithProps.slice(maxCount,numOfChildren);return childrenShow.push(react.createElement(popover.Z,{key:"avatar-popover-key",content:childrenHidden,trigger:maxPopoverTrigger,placement:maxPopoverPlacement,overlayClassName:"".concat(prefixCls,"-popover")},react.createElement(avatar,{style:maxStyle},"+".concat(numOfChildren-maxCount)))),react.createElement(SizeContextProvider,{size},react.createElement("div",{className:cls,style:props.style},childrenShow))}return react.createElement(SizeContextProvider,{size},react.createElement("div",{className:cls,style:props.style},childrenWithProps))};var avatar_Avatar=avatar;avatar_Avatar.Group=group;const es_avatar=avatar_Avatar},"./node_modules/antd/es/button/button.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{n:()=>convertLegacyProps,Z:()=>button_button});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},GroupSizeContext=react.createContext(void 0);const button_group=function ButtonGroup(props){var _classNames,_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,customizePrefixCls=props.prefixCls,size=props.size,className=props.className,others=__rest(props,["prefixCls","size","className"]),prefixCls=getPrefixCls("btn-group",customizePrefixCls),sizeCls="";switch(size){case"large":sizeCls="lg";break;case"small":sizeCls="sm"}var classes=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(sizeCls),sizeCls),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className);return react.createElement(GroupSizeContext.Provider,{value:size},react.createElement("div",(0,esm_extends.Z)({},others,{className:classes})))};var wave=__webpack_require__("./node_modules/antd/es/_util/wave.js"),type=__webpack_require__("./node_modules/antd/es/_util/type.js"),SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),es=__webpack_require__("./node_modules/rc-motion/es/index.js"),LoadingOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js"),getCollapsedWidth=function getCollapsedWidth(){return{width:0,opacity:0,transform:"scale(0)"}},getRealWidth=function getRealWidth(node){return{width:node.scrollWidth,opacity:1,transform:"scale(1)"}};const button_LoadingIcon=function LoadingIcon(_ref){var prefixCls=_ref.prefixCls,visible=!!_ref.loading;return _ref.existIcon?react.createElement("span",{className:"".concat(prefixCls,"-loading-icon")},react.createElement(LoadingOutlined.Z,null)):react.createElement(es.Z,{visible,motionName:"".concat(prefixCls,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:getCollapsedWidth,onAppearActive:getRealWidth,onEnterStart:getCollapsedWidth,onEnterActive:getRealWidth,onLeaveStart:getRealWidth,onLeaveActive:getCollapsedWidth},(function(_ref2,ref){var className=_ref2.className,style=_ref2.style;return react.createElement("span",{className:"".concat(prefixCls,"-loading-icon"),style,ref},react.createElement(LoadingOutlined.Z,{className}))}))};var reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js"),button_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},rxTwoCNChar=/^[\u4e00-\u9fa5]{2}$/,isTwoCNChar=rxTwoCNChar.test.bind(rxTwoCNChar);function isUnBorderedButtonType(type){return"text"===type||"link"===type}function insertSpace(child,needInserted){if(null!=child){var SPACE=needInserted?" ":"";return"string"!=typeof child&&"number"!=typeof child&&function isString(str){return"string"==typeof str}(child.type)&&isTwoCNChar(child.props.children)?(0,reactNode.Tm)(child,{children:child.props.children.split("").join(SPACE)}):"string"==typeof child?isTwoCNChar(child)?react.createElement("span",null,child.split("").join(SPACE)):react.createElement("span",null,child):function isReactFragment(node){return react.isValidElement(node)&&node.type===react.Fragment}(child)?react.createElement("span",null,child):child}}(0,type.b)("default","primary","ghost","dashed","link","text"),(0,type.b)("default","circle","round"),(0,type.b)("submit","button","reset");function convertLegacyProps(type){return"danger"===type?{danger:!0}:{type}}var InternalButton=function InternalButton(props,ref){var _classNames,_props$loading=props.loading,loading=void 0!==_props$loading&&_props$loading,customizePrefixCls=props.prefixCls,_props$type=props.type,type=void 0===_props$type?"default":_props$type,danger=props.danger,_props$shape=props.shape,shape=void 0===_props$shape?"default":_props$shape,customizeSize=props.size,className=props.className,children=props.children,icon=props.icon,_props$ghost=props.ghost,ghost=void 0!==_props$ghost&&_props$ghost,_props$block=props.block,block=void 0!==_props$block&&_props$block,_props$htmlType=props.htmlType,htmlType=void 0===_props$htmlType?"button":_props$htmlType,rest=button_rest(props,["loading","prefixCls","type","danger","shape","size","className","children","icon","ghost","block","htmlType"]),size=react.useContext(SizeContext.Z),groupSize=react.useContext(GroupSizeContext),_React$useState=react.useState(!!loading),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),innerLoading=_React$useState2[0],setLoading=_React$useState2[1],_React$useState3=react.useState(!1),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),hasTwoCNChar=_React$useState4[0],setHasTwoCNChar=_React$useState4[1],_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,autoInsertSpaceInButton=_React$useContext.autoInsertSpaceInButton,direction=_React$useContext.direction,buttonRef=ref||react.createRef(),isNeedInserted=function isNeedInserted(){return 1===react.Children.count(children)&&!icon&&!isUnBorderedButtonType(type)},loadingOrDelay="object"===(0,esm_typeof.Z)(loading)&&loading.delay?loading.delay||!0:!!loading;react.useEffect((function(){var delayTimer=null;return"number"==typeof loadingOrDelay?delayTimer=window.setTimeout((function(){delayTimer=null,setLoading(loadingOrDelay)}),loadingOrDelay):setLoading(loadingOrDelay),function(){delayTimer&&(window.clearTimeout(delayTimer),delayTimer=null)}}),[loadingOrDelay]),react.useEffect((function fixTwoCNChar(){if(buttonRef&&buttonRef.current&&!1!==autoInsertSpaceInButton){var buttonText=buttonRef.current.textContent;isNeedInserted()&&isTwoCNChar(buttonText)?hasTwoCNChar||setHasTwoCNChar(!0):hasTwoCNChar&&setHasTwoCNChar(!1)}}),[buttonRef]);var handleClick=function handleClick(e){var onClick=props.onClick,disabled=props.disabled;innerLoading||disabled?e.preventDefault():null==onClick||onClick(e)},prefixCls=getPrefixCls("btn",customizePrefixCls),autoInsertSpace=!1!==autoInsertSpaceInButton,sizeFullname=groupSize||customizeSize||size,sizeCls=sizeFullname&&{large:"lg",small:"sm",middle:void 0}[sizeFullname]||"",iconType=innerLoading?"loading":icon,classes=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(shape),"default"!==shape&&shape),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(type),type),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(sizeCls),sizeCls),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-icon-only"),!children&&0!==children&&!!iconType),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-background-ghost"),ghost&&!isUnBorderedButtonType(type)),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-loading"),innerLoading),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-two-chinese-chars"),hasTwoCNChar&&autoInsertSpace),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-block"),block),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-dangerous"),!!danger),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className),iconNode=icon&&!innerLoading?icon:react.createElement(button_LoadingIcon,{existIcon:!!icon,prefixCls,loading:!!innerLoading}),kids=children||0===children?function spaceChildren(children,needInserted){var isPrevChildPure=!1,childList=[];return react.Children.forEach(children,(function(child){var type=(0,esm_typeof.Z)(child),isCurrentChildPure="string"===type||"number"===type;if(isPrevChildPure&&isCurrentChildPure){var lastIndex=childList.length-1,lastChild=childList[lastIndex];childList[lastIndex]="".concat(lastChild).concat(child)}else childList.push(child);isPrevChildPure=isCurrentChildPure})),react.Children.map(childList,(function(child){return insertSpace(child,needInserted)}))}(children,isNeedInserted()&&autoInsertSpace):null,linkButtonRestProps=(0,omit.Z)(rest,["navigate"]);if(void 0!==linkButtonRestProps.href)return react.createElement("a",(0,esm_extends.Z)({},linkButtonRestProps,{className:classes,onClick:handleClick,ref:buttonRef}),iconNode,kids);var buttonNode=react.createElement("button",(0,esm_extends.Z)({},rest,{type:htmlType,className:classes,onClick:handleClick,ref:buttonRef}),iconNode,kids);return isUnBorderedButtonType(type)?buttonNode:react.createElement(wave.Z,{disabled:!!innerLoading},buttonNode)},Button=react.forwardRef(InternalButton);Button.displayName="Button",Button.Group=button_group,Button.__ANT_BUTTON=!0;const button_button=Button},"./node_modules/antd/es/button/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=__webpack_require__("./node_modules/antd/es/button/button.js").Z},"./node_modules/antd/es/cascader/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>cascader});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),useId=__webpack_require__("./node_modules/rc-select/es/hooks/useId.js"),conductUtil=__webpack_require__("./node_modules/rc-tree/es/utils/conductUtil.js"),useMergedState=__webpack_require__("./node_modules/rc-util/es/hooks/useMergedState.js"),es=__webpack_require__("./node_modules/rc-select/es/index.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");const context=react.createContext(null);function toPathKey(value){return value.join("__RC_CASCADER_SPLIT__")}function toPathKeys(value){return value.map(toPathKey)}function isLeaf(option,fieldNames){var _option$isLeaf,_option$fieldNames$ch;return null!==(_option$isLeaf=option.isLeaf)&&void 0!==_option$isLeaf?_option$isLeaf:!(null===(_option$fieldNames$ch=option[fieldNames.children])||void 0===_option$fieldNames$ch?void 0:_option$fieldNames$ch.length)}function scrollIntoParentView(element){var parent=element.parentElement;if(parent){var elementToParent=element.offsetTop-parent.offsetTop;elementToParent-parent.scrollTop<0?parent.scrollTo({top:elementToParent}):elementToParent+element.offsetHeight-parent.scrollTop>parent.offsetHeight&&parent.scrollTo({top:elementToParent+element.offsetHeight-parent.offsetHeight})}}function formatStrategyValues(pathKeys,getKeyPathEntities,showCheckedStrategy){var valueSet=new Set(pathKeys),keyPathEntities=getKeyPathEntities();return pathKeys.filter((function(key){var entity=keyPathEntities[key],parent=entity?entity.parent:null,children=entity?entity.children:null;return"SHOW_CHILD"===showCheckedStrategy?!(children&&children.some((function(child){return child.key&&valueSet.has(child.key)}))):!(parent&&!parent.node.disabled&&valueSet.has(parent.key))}))}function toPathOptions(valueCells,options,fieldNames){for(var stringMode=arguments.length>3&&void 0!==arguments[3]&&arguments[3],currentList=options,valueOptions=[],_loop=function _loop(i){var _currentList,_currentList2,_foundOption$fieldNam,valueCell=valueCells[i],foundIndex=null===(_currentList=currentList)||void 0===_currentList?void 0:_currentList.findIndex((function(option){var val=option[fieldNames.value];return stringMode?String(val)===String(valueCell):val===valueCell})),foundOption=-1!==foundIndex?null===(_currentList2=currentList)||void 0===_currentList2?void 0:_currentList2[foundIndex]:null;valueOptions.push({value:null!==(_foundOption$fieldNam=null==foundOption?void 0:foundOption[fieldNames.value])&&void 0!==_foundOption$fieldNam?_foundOption$fieldNam:valueCell,index:foundIndex,option:foundOption}),currentList=null==foundOption?void 0:foundOption[fieldNames.children]},i=0;i<valueCells.length;i+=1)_loop(i);return valueOptions}function Checkbox(_ref){var _classNames,prefixCls=_ref.prefixCls,checked=_ref.checked,halfChecked=_ref.halfChecked,disabled=_ref.disabled,onClick=_ref.onClick,checkable=react.useContext(context).checkable,customCheckbox="boolean"!=typeof checkable?checkable:null;return react.createElement("span",{className:classnames_default()("".concat(prefixCls),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-checked"),checked),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-indeterminate"),!checked&&halfChecked),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-disabled"),disabled),_classNames)),onClick},customCheckbox)}var SEARCH_MARK="__rc_cascader_search_mark__",defaultFilter=function defaultFilter(search,options,_ref){var label=_ref.label;return options.some((function(opt){return String(opt[label]).toLowerCase().includes(search.toLowerCase())}))},defaultRender=function defaultRender(inputValue,path,prefixCls,fieldNames){return path.map((function(opt){return opt[fieldNames.label]})).join(" / ")};function Column(_ref){var prefixCls=_ref.prefixCls,multiple=_ref.multiple,options=_ref.options,activeValue=_ref.activeValue,prevValuePath=_ref.prevValuePath,onToggleOpen=_ref.onToggleOpen,onSelect=_ref.onSelect,onActive=_ref.onActive,checkedSet=_ref.checkedSet,halfCheckedSet=_ref.halfCheckedSet,loadingKeys=_ref.loadingKeys,isSelectable=_ref.isSelectable,menuPrefixCls="".concat(prefixCls,"-menu"),menuItemPrefixCls="".concat(prefixCls,"-menu-item"),_React$useContext=react.useContext(context),fieldNames=_React$useContext.fieldNames,changeOnSelect=_React$useContext.changeOnSelect,expandTrigger=_React$useContext.expandTrigger,expandIcon=_React$useContext.expandIcon,loadingIcon=_React$useContext.loadingIcon,dropdownMenuColumnStyle=_React$useContext.dropdownMenuColumnStyle,hoverOpen="hover"===expandTrigger,optionInfoList=react.useMemo((function(){return options.map((function(option){var _option$FIX_LABEL,disabled=option.disabled,searchOptions=option[SEARCH_MARK],label=null!==(_option$FIX_LABEL=option.__cascader_fix_label__)&&void 0!==_option$FIX_LABEL?_option$FIX_LABEL:option[fieldNames.label],value=option[fieldNames.value],isMergedLeaf=isLeaf(option,fieldNames),fullPath=searchOptions?searchOptions.map((function(opt){return opt[fieldNames.value]})):[].concat((0,toConsumableArray.Z)(prevValuePath),[value]),fullPathKey=toPathKey(fullPath);return{disabled,label,value,isLeaf:isMergedLeaf,isLoading:loadingKeys.includes(fullPathKey),checked:checkedSet.has(fullPathKey),halfChecked:halfCheckedSet.has(fullPathKey),option,fullPath,fullPathKey}}))}),[options,checkedSet,fieldNames,halfCheckedSet,loadingKeys,prevValuePath]);return react.createElement("ul",{className:menuPrefixCls,role:"menu"},optionInfoList.map((function(_ref2){var _classNames,title,disabled=_ref2.disabled,label=_ref2.label,value=_ref2.value,isMergedLeaf=_ref2.isLeaf,isLoading=_ref2.isLoading,checked=_ref2.checked,halfChecked=_ref2.halfChecked,option=_ref2.option,fullPath=_ref2.fullPath,fullPathKey=_ref2.fullPathKey,triggerOpenPath=function triggerOpenPath(){disabled||hoverOpen&&isMergedLeaf||onActive(fullPath)},triggerSelect=function triggerSelect(){isSelectable(option)&&onSelect(fullPath,isMergedLeaf)};return"string"==typeof option.title?title=option.title:"string"==typeof label&&(title=label),react.createElement("li",{key:fullPathKey,className:classnames_default()(menuItemPrefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(menuItemPrefixCls,"-expand"),!isMergedLeaf),(0,defineProperty.Z)(_classNames,"".concat(menuItemPrefixCls,"-active"),activeValue===value),(0,defineProperty.Z)(_classNames,"".concat(menuItemPrefixCls,"-disabled"),disabled),(0,defineProperty.Z)(_classNames,"".concat(menuItemPrefixCls,"-loading"),isLoading),_classNames)),style:dropdownMenuColumnStyle,role:"menuitemcheckbox",title,"aria-checked":checked,"data-path-key":fullPathKey,onClick:function onClick(){triggerOpenPath(),multiple&&!isMergedLeaf||triggerSelect()},onDoubleClick:function onDoubleClick(){changeOnSelect&&onToggleOpen(!1)},onMouseEnter:function onMouseEnter(){hoverOpen&&triggerOpenPath()},onMouseDown:function onMouseDown(e){e.preventDefault()}},multiple&&react.createElement(Checkbox,{prefixCls:"".concat(prefixCls,"-checkbox"),checked,halfChecked,disabled,onClick:function onClick(e){e.stopPropagation(),triggerSelect()}}),react.createElement("div",{className:"".concat(menuItemPrefixCls,"-content")},label),!isLoading&&expandIcon&&!isMergedLeaf&&react.createElement("div",{className:"".concat(menuItemPrefixCls,"-expand-icon")},expandIcon),isLoading&&loadingIcon&&react.createElement("div",{className:"".concat(menuItemPrefixCls,"-loading-icon")},loadingIcon))})))}var KeyCode=__webpack_require__("./node_modules/rc-util/es/KeyCode.js");const useKeyboard=function(ref,options,fieldNames,activeValueCells,setActiveValueCells,onKeyBoardSelect){var _useBaseProps=(0,es.lk)(),direction=_useBaseProps.direction,searchValue=_useBaseProps.searchValue,toggleOpen=_useBaseProps.toggleOpen,open=_useBaseProps.open,rtl="rtl"===direction,_React$useMemo=react.useMemo((function(){for(var activeIndex=-1,currentOptions=options,mergedActiveIndexes=[],mergedActiveValueCells=[],len=activeValueCells.length,_loop=function _loop(i){var nextActiveIndex=currentOptions.findIndex((function(option){return option[fieldNames.value]===activeValueCells[i]}));if(-1===nextActiveIndex)return"break";activeIndex=nextActiveIndex,mergedActiveIndexes.push(activeIndex),mergedActiveValueCells.push(activeValueCells[i]),currentOptions=currentOptions[activeIndex][fieldNames.children]},i=0;i<len&¤tOptions;i+=1){if("break"===_loop(i))break}for(var activeOptions=options,_i=0;_i<mergedActiveIndexes.length-1;_i+=1)activeOptions=activeOptions[mergedActiveIndexes[_i]][fieldNames.children];return[mergedActiveValueCells,activeIndex,activeOptions]}),[activeValueCells,fieldNames,options]),_React$useMemo2=(0,slicedToArray.Z)(_React$useMemo,3),validActiveValueCells=_React$useMemo2[0],lastActiveIndex=_React$useMemo2[1],lastActiveOptions=_React$useMemo2[2],internalSetActiveValueCells=function internalSetActiveValueCells(next){setActiveValueCells(next)},prevColumn=function prevColumn(){if(validActiveValueCells.length>1){var nextActiveCells=validActiveValueCells.slice(0,-1);internalSetActiveValueCells(nextActiveCells)}else toggleOpen(!1)},nextColumn=function nextColumn(){var _lastActiveOptions$la,nextOption=((null===(_lastActiveOptions$la=lastActiveOptions[lastActiveIndex])||void 0===_lastActiveOptions$la?void 0:_lastActiveOptions$la[fieldNames.children])||[]).find((function(option){return!option.disabled}));if(nextOption){var nextActiveCells=[].concat((0,toConsumableArray.Z)(validActiveValueCells),[nextOption[fieldNames.value]]);internalSetActiveValueCells(nextActiveCells)}};react.useImperativeHandle(ref,(function(){return{onKeyDown:function onKeyDown(event){var which=event.which;switch(which){case KeyCode.Z.UP:case KeyCode.Z.DOWN:var offset=0;which===KeyCode.Z.UP?offset=-1:which===KeyCode.Z.DOWN&&(offset=1),0!==offset&&function offsetActiveOption(offset){var len=lastActiveOptions.length,currentIndex=lastActiveIndex;-1===currentIndex&&offset<0&&(currentIndex=len);for(var i=0;i<len;i+=1){var option=lastActiveOptions[currentIndex=(currentIndex+offset+len)%len];if(option&&!option.disabled){var value=option[fieldNames.value],nextActiveCells=validActiveValueCells.slice(0,-1).concat(value);return void internalSetActiveValueCells(nextActiveCells)}}}(offset);break;case KeyCode.Z.LEFT:rtl?nextColumn():prevColumn();break;case KeyCode.Z.RIGHT:rtl?prevColumn():nextColumn();break;case KeyCode.Z.BACKSPACE:searchValue||prevColumn();break;case KeyCode.Z.ENTER:if(validActiveValueCells.length){var option=lastActiveOptions[lastActiveIndex],originOptions=(null==option?void 0:option[SEARCH_MARK])||[];originOptions.length?onKeyBoardSelect(originOptions.map((function(opt){return opt[fieldNames.value]})),originOptions[originOptions.length-1]):onKeyBoardSelect(validActiveValueCells,lastActiveOptions[lastActiveIndex])}break;case KeyCode.Z.ESC:toggleOpen(!1),open&&event.stopPropagation()}},onKeyUp:function onKeyUp(){}}}))};const OptionList=react.forwardRef((function(props,ref){var _optionColumns$,_optionColumns$$optio,_ref3,_classNames,_useBaseProps=(0,es.lk)(),prefixCls=_useBaseProps.prefixCls,multiple=_useBaseProps.multiple,searchValue=_useBaseProps.searchValue,toggleOpen=_useBaseProps.toggleOpen,notFoundContent=_useBaseProps.notFoundContent,direction=_useBaseProps.direction,containerRef=react.useRef(),rtl="rtl"===direction,_React$useContext=react.useContext(context),options=_React$useContext.options,values=_React$useContext.values,halfValues=_React$useContext.halfValues,fieldNames=_React$useContext.fieldNames,changeOnSelect=_React$useContext.changeOnSelect,onSelect=_React$useContext.onSelect,searchOptions=_React$useContext.searchOptions,dropdownPrefixCls=_React$useContext.dropdownPrefixCls,loadData=_React$useContext.loadData,expandTrigger=_React$useContext.expandTrigger,mergedPrefixCls=dropdownPrefixCls||prefixCls,_React$useState=react.useState([]),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),loadingKeys=_React$useState2[0],setLoadingKeys=_React$useState2[1];react.useEffect((function(){loadingKeys.length&&loadingKeys.forEach((function(loadingKey){var optionList=toPathOptions(function toPathValueStr(pathKey){return pathKey.split("__RC_CASCADER_SPLIT__")}(loadingKey),options,fieldNames,!0).map((function(_ref2){return _ref2.option})),lastOption=optionList[optionList.length-1];(!lastOption||lastOption[fieldNames.children]||isLeaf(lastOption,fieldNames))&&setLoadingKeys((function(keys){return keys.filter((function(key){return key!==loadingKey}))}))}))}),[options,loadingKeys,fieldNames]);var checkedSet=react.useMemo((function(){return new Set(toPathKeys(values))}),[values]),halfCheckedSet=react.useMemo((function(){return new Set(toPathKeys(halfValues))}),[halfValues]),_useActive=function(){var _useBaseProps=(0,es.lk)(),multiple=_useBaseProps.multiple,open=_useBaseProps.open,values=react.useContext(context).values,_React$useState=react.useState([]),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),activeValueCells=_React$useState2[0],setActiveValueCells=_React$useState2[1];return react.useEffect((function(){if(open&&!multiple){var firstValueCells=values[0];setActiveValueCells(firstValueCells||[])}}),[open]),[activeValueCells,setActiveValueCells]}(),_useActive2=(0,slicedToArray.Z)(_useActive,2),activeValueCells=_useActive2[0],setActiveValueCells=_useActive2[1],onPathOpen=function onPathOpen(nextValueCells){setActiveValueCells(nextValueCells),function internalLoadData(valueCells){if(loadData&&!searchValue){var rawOptions=toPathOptions(valueCells,options,fieldNames).map((function(_ref){return _ref.option})),lastOption=rawOptions[rawOptions.length-1];if(lastOption&&!isLeaf(lastOption,fieldNames)){var pathKey=toPathKey(valueCells);setLoadingKeys((function(keys){return[].concat((0,toConsumableArray.Z)(keys),[pathKey])})),loadData(rawOptions)}}}(nextValueCells)},isSelectable=function isSelectable(option){var disabled=option.disabled,isMergedLeaf=isLeaf(option,fieldNames);return!disabled&&(isMergedLeaf||changeOnSelect||multiple)},onPathSelect=function onPathSelect(valuePath,leaf){var fromKeyboard=arguments.length>2&&void 0!==arguments[2]&&arguments[2];onSelect(valuePath),!multiple&&(leaf||changeOnSelect&&("hover"===expandTrigger||fromKeyboard))&&toggleOpen(!1)},mergedOptions=react.useMemo((function(){return searchValue?searchOptions:options}),[searchValue,searchOptions,options]),optionColumns=react.useMemo((function(){for(var optionList=[{options:mergedOptions}],currentList=mergedOptions,_loop=function _loop(i){var activeValueCell=activeValueCells[i],currentOption=currentList.find((function(option){return option[fieldNames.value]===activeValueCell})),subOptions=null==currentOption?void 0:currentOption[fieldNames.children];if(!(null==subOptions?void 0:subOptions.length))return"break";currentList=subOptions,optionList.push({options:subOptions})},i=0;i<activeValueCells.length;i+=1){if("break"===_loop(i))break}return optionList}),[mergedOptions,activeValueCells,fieldNames]);useKeyboard(ref,mergedOptions,fieldNames,activeValueCells,onPathOpen,(function onKeyboardSelect(selectValueCells,option){isSelectable(option)&&onPathSelect(selectValueCells,isLeaf(option,fieldNames),!0)})),react.useEffect((function(){for(var i=0;i<activeValueCells.length;i+=1){var _containerRef$current,cellKeyPath=toPathKey(activeValueCells.slice(0,i+1)),ele=null===(_containerRef$current=containerRef.current)||void 0===_containerRef$current?void 0:_containerRef$current.querySelector('li[data-path-key="'.concat(cellKeyPath.replace(/\\{0,2}"/g,'\\"'),'"]'));ele&&scrollIntoParentView(ele)}}),[activeValueCells]);var isEmpty=!(null===(_optionColumns$=optionColumns[0])||void 0===_optionColumns$||null===(_optionColumns$$optio=_optionColumns$.options)||void 0===_optionColumns$$optio?void 0:_optionColumns$$optio.length),emptyList=[(_ref3={},(0,defineProperty.Z)(_ref3,fieldNames.value,"__EMPTY__"),(0,defineProperty.Z)(_ref3,"__cascader_fix_label__",notFoundContent),(0,defineProperty.Z)(_ref3,"disabled",!0),_ref3)],columnProps=(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{multiple:!isEmpty&&multiple,onSelect:onPathSelect,onActive:onPathOpen,onToggleOpen:toggleOpen,checkedSet,halfCheckedSet,loadingKeys,isSelectable}),columnNodes=(isEmpty?[{options:emptyList}]:optionColumns).map((function(col,index){var prevValuePath=activeValueCells.slice(0,index),activeValue=activeValueCells[index];return react.createElement(Column,(0,esm_extends.Z)({key:index},columnProps,{prefixCls:mergedPrefixCls,options:col.options,prevValuePath,activeValue}))}));return react.createElement("div",{className:classnames_default()("".concat(mergedPrefixCls,"-menus"),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(mergedPrefixCls,"-menu-empty"),isEmpty),(0,defineProperty.Z)(_classNames,"".concat(mergedPrefixCls,"-rtl"),rtl),_classNames)),ref:containerRef},columnNodes)}));function useRefFunc(callback){var funcRef=react.useRef();funcRef.current=callback;var cacheFn=react.useCallback((function(){return funcRef.current.apply(funcRef,arguments)}),[]);return cacheFn}var treeUtil=__webpack_require__("./node_modules/rc-tree/es/utils/treeUtil.js");__webpack_require__("./node_modules/rc-util/es/warning.js");var _excluded=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function toRawValues(value){return value?function isMultipleValue(value){return Array.isArray(value)&&Array.isArray(value[0])}(value)?value:(0===value.length?[]:[value]).map((function(val){return Array.isArray(val)?val:[val]})):[]}var Cascader=react.forwardRef((function(props,ref){var id=props.id,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-cascader":_props$prefixCls,fieldNames=props.fieldNames,defaultValue=props.defaultValue,value=props.value,changeOnSelect=props.changeOnSelect,onChange=props.onChange,displayRender=props.displayRender,checkable=props.checkable,searchValue=props.searchValue,onSearch=props.onSearch,showSearch=props.showSearch,expandTrigger=props.expandTrigger,options=props.options,dropdownPrefixCls=props.dropdownPrefixCls,loadData=props.loadData,popupVisible=props.popupVisible,open=props.open,popupClassName=props.popupClassName,dropdownClassName=props.dropdownClassName,dropdownMenuColumnStyle=props.dropdownMenuColumnStyle,popupPlacement=props.popupPlacement,placement=props.placement,onDropdownVisibleChange=props.onDropdownVisibleChange,onPopupVisibleChange=props.onPopupVisibleChange,_props$expandIcon=props.expandIcon,expandIcon=void 0===_props$expandIcon?">":_props$expandIcon,loadingIcon=props.loadingIcon,children=props.children,_props$dropdownMatchS=props.dropdownMatchSelectWidth,dropdownMatchSelectWidth=void 0!==_props$dropdownMatchS&&_props$dropdownMatchS,_props$showCheckedStr=props.showCheckedStrategy,showCheckedStrategy=void 0===_props$showCheckedStr?"SHOW_PARENT":_props$showCheckedStr,restProps=(0,objectWithoutProperties.Z)(props,_excluded),mergedId=(0,useId.ZP)(id),multiple=!!checkable,_useMergedState=(0,useMergedState.Z)(defaultValue,{value,postState:toRawValues}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),rawValues=_useMergedState2[0],setRawValues=_useMergedState2[1],mergedFieldNames=react.useMemo((function(){return function fillFieldNames(fieldNames){var _ref=fieldNames||{},label=_ref.label,val=_ref.value||"value";return{label:label||"label",value:val,key:val,children:_ref.children||"children"}}(fieldNames)}),[JSON.stringify(fieldNames)]),mergedOptions=react.useMemo((function(){return options||[]}),[options]),getPathKeyEntities=function(options,fieldNames){var cacheRef=react.useRef({options:null,info:null});return react.useCallback((function(){return cacheRef.current.options!==options&&(cacheRef.current.options=options,cacheRef.current.info=(0,treeUtil.I8)(options,{fieldNames,initWrapper:function initWrapper(wrapper){return(0,objectSpread2.Z)((0,objectSpread2.Z)({},wrapper),{},{pathKeyEntities:{}})},processEntity:function processEntity(entity,wrapper){var pathKey=entity.nodes.map((function(node){return node[fieldNames.value]})).join("__RC_CASCADER_SPLIT__");wrapper.pathKeyEntities[pathKey]=entity,entity.key=pathKey}})),cacheRef.current.info.pathKeyEntities}),[fieldNames,options])}(mergedOptions,mergedFieldNames),getValueByKeyPath=react.useCallback((function(pathKeys){var keyPathEntities=getPathKeyEntities();return pathKeys.map((function(pathKey){return keyPathEntities[pathKey].nodes.map((function(node){return node[mergedFieldNames.value]}))}))}),[getPathKeyEntities,mergedFieldNames]),_useMergedState3=(0,useMergedState.Z)("",{value:searchValue,postState:function postState(search){return search||""}}),_useMergedState4=(0,slicedToArray.Z)(_useMergedState3,2),mergedSearchValue=_useMergedState4[0],setSearchValue=_useMergedState4[1],_useSearchConfig=function useSearchConfig(showSearch){return react.useMemo((function(){if(!showSearch)return[!1,{}];var searchConfig={matchInputWidth:!0,limit:50};return showSearch&&"object"===(0,esm_typeof.Z)(showSearch)&&(searchConfig=(0,objectSpread2.Z)((0,objectSpread2.Z)({},searchConfig),showSearch)),searchConfig.limit<=0&&delete searchConfig.limit,[!0,searchConfig]}),[showSearch])}(showSearch),_useSearchConfig2=(0,slicedToArray.Z)(_useSearchConfig,2),mergedShowSearch=_useSearchConfig2[0],searchConfig=_useSearchConfig2[1],searchOptions=function(search,options,fieldNames,prefixCls,config,changeOnSelect){var _config$filter=config.filter,filter=void 0===_config$filter?defaultFilter:_config$filter,_config$render=config.render,render=void 0===_config$render?defaultRender:_config$render,_config$limit=config.limit,limit=void 0===_config$limit?50:_config$limit,sort=config.sort;return react.useMemo((function(){var filteredOptions=[];return search?(function dig(list,pathOptions){list.forEach((function(option){if(!(!sort&&limit>0&&filteredOptions.length>=limit)){var _objectSpread2,connectedPathOptions=[].concat((0,toConsumableArray.Z)(pathOptions),[option]),children=option[fieldNames.children];children&&0!==children.length&&!changeOnSelect||filter(search,connectedPathOptions,{label:fieldNames.label})&&filteredOptions.push((0,objectSpread2.Z)((0,objectSpread2.Z)({},option),{},(_objectSpread2={},(0,defineProperty.Z)(_objectSpread2,fieldNames.label,render(search,connectedPathOptions,prefixCls,fieldNames)),(0,defineProperty.Z)(_objectSpread2,SEARCH_MARK,connectedPathOptions),_objectSpread2))),children&&dig(option[fieldNames.children],connectedPathOptions)}}))}(options,[]),sort&&filteredOptions.sort((function(a,b){return sort(a[SEARCH_MARK],b[SEARCH_MARK],search,fieldNames)})),limit>0?filteredOptions.slice(0,limit):filteredOptions):[]}),[search,options,fieldNames,prefixCls,render,changeOnSelect,filter,sort,limit])}(mergedSearchValue,mergedOptions,mergedFieldNames,dropdownPrefixCls||prefixCls,searchConfig,changeOnSelect),getMissingValues=function(options,fieldNames){return react.useCallback((function(rawValues){var missingValues=[],existsValues=[];return rawValues.forEach((function(valueCell){toPathOptions(valueCell,options,fieldNames).every((function(opt){return opt.option}))?existsValues.push(valueCell):missingValues.push(valueCell)})),[existsValues,missingValues]}),[options,fieldNames])}(mergedOptions,mergedFieldNames),_React$useMemo=react.useMemo((function(){var _getMissingValues=getMissingValues(rawValues),_getMissingValues2=(0,slicedToArray.Z)(_getMissingValues,2),existValues=_getMissingValues2[0],missingValues=_getMissingValues2[1];if(!multiple||!rawValues.length)return[existValues,[],missingValues];var keyPathValues=toPathKeys(existValues),keyPathEntities=getPathKeyEntities(),_conductCheck=(0,conductUtil.S)(keyPathValues,!0,keyPathEntities),checkedKeys=_conductCheck.checkedKeys,halfCheckedKeys=_conductCheck.halfCheckedKeys;return[getValueByKeyPath(checkedKeys),getValueByKeyPath(halfCheckedKeys),missingValues]}),[multiple,rawValues,getPathKeyEntities,getValueByKeyPath,getMissingValues]),_React$useMemo2=(0,slicedToArray.Z)(_React$useMemo,3),checkedValues=_React$useMemo2[0],halfCheckedValues=_React$useMemo2[1],missingCheckedValues=_React$useMemo2[2],displayValues=function(rawValues,options,fieldNames,multiple,displayRender){return react.useMemo((function(){var mergedDisplayRender=displayRender||function(labels){var mergedLabels=multiple?labels.slice(-1):labels;return mergedLabels.every((function(label){return["string","number"].includes((0,esm_typeof.Z)(label))}))?mergedLabels.join(" / "):mergedLabels.reduce((function(list,label,index){var keyedLabel=react.isValidElement(label)?react.cloneElement(label,{key:index}):label;return 0===index?[keyedLabel]:[].concat((0,toConsumableArray.Z)(list),[" / ",keyedLabel])}),[])};return rawValues.map((function(valueCells){var valueOptions=toPathOptions(valueCells,options,fieldNames),label=mergedDisplayRender(valueOptions.map((function(_ref){var _option$fieldNames$la,option=_ref.option,value=_ref.value;return null!==(_option$fieldNames$la=null==option?void 0:option[fieldNames.label])&&void 0!==_option$fieldNames$la?_option$fieldNames$la:value})),valueOptions.map((function(_ref2){return _ref2.option}))),value=toPathKey(valueCells);return{label,value,key:value,valueCells}}))}),[rawValues,options,fieldNames,displayRender,multiple])}(react.useMemo((function(){var deduplicateKeys=formatStrategyValues(toPathKeys(checkedValues),getPathKeyEntities,showCheckedStrategy);return[].concat((0,toConsumableArray.Z)(missingCheckedValues),(0,toConsumableArray.Z)(getValueByKeyPath(deduplicateKeys)))}),[checkedValues,getPathKeyEntities,getValueByKeyPath,missingCheckedValues,showCheckedStrategy]),mergedOptions,mergedFieldNames,multiple,displayRender),triggerChange=useRefFunc((function(nextValues){if(setRawValues(nextValues),onChange){var nextRawValues=toRawValues(nextValues),valueOptions=nextRawValues.map((function(valueCells){return toPathOptions(valueCells,mergedOptions,mergedFieldNames).map((function(valueOpt){return valueOpt.option}))})),triggerValues=multiple?nextRawValues:nextRawValues[0],triggerOptions=multiple?valueOptions:valueOptions[0];onChange(triggerValues,triggerOptions)}})),onInternalSelect=useRefFunc((function(valuePath){if(setSearchValue(""),multiple){var pathKey=toPathKey(valuePath),checkedPathKeys=toPathKeys(checkedValues),halfCheckedPathKeys=toPathKeys(halfCheckedValues),existInChecked=checkedPathKeys.includes(pathKey),existInMissing=missingCheckedValues.some((function(valueCells){return toPathKey(valueCells)===pathKey})),nextCheckedValues=checkedValues,nextMissingValues=missingCheckedValues;if(existInMissing&&!existInChecked)nextMissingValues=missingCheckedValues.filter((function(valueCells){return toPathKey(valueCells)!==pathKey}));else{var checkedKeys,nextRawCheckedKeys=existInChecked?checkedPathKeys.filter((function(key){return key!==pathKey})):[].concat((0,toConsumableArray.Z)(checkedPathKeys),[pathKey]),pathKeyEntities=getPathKeyEntities();if(existInChecked)checkedKeys=(0,conductUtil.S)(nextRawCheckedKeys,{checked:!1,halfCheckedKeys:halfCheckedPathKeys},pathKeyEntities).checkedKeys;else checkedKeys=(0,conductUtil.S)(nextRawCheckedKeys,!0,pathKeyEntities).checkedKeys;var deDuplicatedKeys=formatStrategyValues(checkedKeys,getPathKeyEntities,showCheckedStrategy);nextCheckedValues=getValueByKeyPath(deDuplicatedKeys)}triggerChange([].concat((0,toConsumableArray.Z)(nextMissingValues),(0,toConsumableArray.Z)(nextCheckedValues)))}else triggerChange(valuePath)}));var mergedOpen=void 0!==open?open:popupVisible,mergedDropdownClassName=dropdownClassName||popupClassName,mergedPlacement=placement||popupPlacement,cascaderContext=react.useMemo((function(){return{options:mergedOptions,fieldNames:mergedFieldNames,values:checkedValues,halfValues:halfCheckedValues,changeOnSelect,onSelect:onInternalSelect,checkable,searchOptions,dropdownPrefixCls,loadData,expandTrigger,expandIcon,loadingIcon,dropdownMenuColumnStyle}}),[mergedOptions,mergedFieldNames,checkedValues,halfCheckedValues,changeOnSelect,onInternalSelect,checkable,searchOptions,dropdownPrefixCls,loadData,expandTrigger,expandIcon,loadingIcon,dropdownMenuColumnStyle]),emptyOptions=!(mergedSearchValue?searchOptions:mergedOptions).length,dropdownStyle=mergedSearchValue&&searchConfig.matchInputWidth||emptyOptions?{}:{minWidth:"auto"};return react.createElement(context.Provider,{value:cascaderContext},react.createElement(es.Ac,(0,esm_extends.Z)({},restProps,{ref,id:mergedId,prefixCls,dropdownMatchSelectWidth,dropdownStyle,displayValues,onDisplayValuesChange:function onDisplayValuesChange(_,info){if("clear"!==info.type){var valueCells=info.values[0].valueCells;onInternalSelect(valueCells)}else triggerChange([])},mode:multiple?"multiple":void 0,searchValue:mergedSearchValue,onSearch:function onInternalSearch(searchText,info){setSearchValue(searchText),"blur"!==info.source&&onSearch&&onSearch(searchText)},showSearch:mergedShowSearch,OptionList,emptyOptions,open:mergedOpen,dropdownClassName:mergedDropdownClassName,placement:mergedPlacement,onDropdownVisibleChange:function onInternalDropdownVisibleChange(nextVisible){null==onDropdownVisibleChange||onDropdownVisibleChange(nextVisible),null==onPopupVisibleChange||onPopupVisibleChange(nextVisible)},getRawInputElement:function getRawInputElement(){return children}})))}));Cascader.SHOW_PARENT="SHOW_PARENT",Cascader.SHOW_CHILD="SHOW_CHILD";const rc_cascader_es=Cascader;var omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),RightOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/RightOutlined.js"),LoadingOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js"),LeftOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LeftOutlined.js"),config_provider_context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),iconUtil=__webpack_require__("./node_modules/antd/es/select/utils/iconUtil.js"),motion=__webpack_require__("./node_modules/antd/es/_util/motion.js"),form_context=__webpack_require__("./node_modules/antd/es/form/context.js"),statusUtils=__webpack_require__("./node_modules/antd/es/_util/statusUtils.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},cascader_SHOW_CHILD=rc_cascader_es.SHOW_CHILD,cascader_SHOW_PARENT=rc_cascader_es.SHOW_PARENT;var defaultSearchRender=function defaultSearchRender(inputValue,path,prefixCls,fieldNames){var optionList=[],lower=inputValue.toLowerCase();return path.forEach((function(node,index){0!==index&&optionList.push(" / ");var label=node[fieldNames.label],type=(0,esm_typeof.Z)(label);"string"!==type&&"number"!==type||(label=function highlightKeyword(str,lowerKeyword,prefixCls){var cells=str.toLowerCase().split(lowerKeyword).reduce((function(list,cur,index){return 0===index?[cur]:[].concat((0,toConsumableArray.Z)(list),[lowerKeyword,cur])}),[]),fillCells=[],start=0;return cells.forEach((function(cell,index){var end=start+cell.length,originWorld=str.slice(start,end);start=end,index%2==1&&(originWorld=react.createElement("span",{className:"".concat(prefixCls,"-menu-item-keyword"),key:"seperator-".concat(index)},originWorld)),fillCells.push(originWorld)})),fillCells}(String(label),lower,prefixCls)),optionList.push(label)})),optionList},cascader_Cascader=react.forwardRef((function(props,ref){var _classNames2,customizePrefixCls=props.prefixCls,customizeSize=props.size,className=props.className,multiple=props.multiple,_props$bordered=props.bordered,bordered=void 0===_props$bordered||_props$bordered,transitionName=props.transitionName,_props$choiceTransiti=props.choiceTransitionName,choiceTransitionName=void 0===_props$choiceTransiti?"":_props$choiceTransiti,popupClassName=props.popupClassName,dropdownClassName=props.dropdownClassName,expandIcon=props.expandIcon,placement=props.placement,showSearch=props.showSearch,_props$allowClear=props.allowClear,allowClear=void 0===_props$allowClear||_props$allowClear,notFoundContent=props.notFoundContent,direction=props.direction,getPopupContainer=props.getPopupContainer,customStatus=props.status,showArrow=props.showArrow,rest=__rest(props,["prefixCls","size","className","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow"]),restProps=(0,omit.Z)(rest,["suffixIcon"]),_useContext=(0,react.useContext)(config_provider_context.E_),getContextPopupContainer=_useContext.getPopupContainer,getPrefixCls=_useContext.getPrefixCls,renderEmpty=_useContext.renderEmpty,rootDirection=_useContext.direction,mergedDirection=direction||rootDirection,isRtl="rtl"===mergedDirection,_useContext2=(0,react.useContext)(form_context.aM),contextStatus=_useContext2.status,hasFeedback=_useContext2.hasFeedback,isFormItemInput=_useContext2.isFormItemInput,feedbackIcon=_useContext2.feedbackIcon,mergedStatus=(0,statusUtils.F)(contextStatus,customStatus),mergedNotFoundContent=notFoundContent||renderEmpty("Cascader"),rootPrefixCls=getPrefixCls(),prefixCls=getPrefixCls("select",customizePrefixCls),cascaderPrefixCls=getPrefixCls("cascader",customizePrefixCls),mergedDropdownClassName=classnames_default()(dropdownClassName||popupClassName,"".concat(cascaderPrefixCls,"-dropdown"),(0,defineProperty.Z)({},"".concat(cascaderPrefixCls,"-dropdown-rtl"),"rtl"===mergedDirection)),mergedShowSearch=react.useMemo((function(){if(!showSearch)return showSearch;var searchConfig={render:defaultSearchRender};return"object"===(0,esm_typeof.Z)(showSearch)&&(searchConfig=(0,esm_extends.Z)((0,esm_extends.Z)({},searchConfig),showSearch)),searchConfig}),[showSearch]),size=react.useContext(SizeContext.Z),mergedSize=customizeSize||size,mergedExpandIcon=expandIcon;expandIcon||(mergedExpandIcon=isRtl?react.createElement(LeftOutlined.Z,null):react.createElement(RightOutlined.Z,null));var loadingIcon=react.createElement("span",{className:"".concat(prefixCls,"-menu-item-loading-icon")},react.createElement(LoadingOutlined.Z,{spin:!0})),checkable=react.useMemo((function(){return!!multiple&&react.createElement("span",{className:"".concat(cascaderPrefixCls,"-checkbox-inner")})}),[multiple]),mergedShowArrow=void 0!==showArrow?showArrow:props.loading||!multiple,_getIcons=(0,iconUtil.Z)((0,esm_extends.Z)((0,esm_extends.Z)({},props),{hasFeedback,feedbackIcon,showArrow:mergedShowArrow,multiple,prefixCls})),suffixIcon=_getIcons.suffixIcon,removeIcon=_getIcons.removeIcon,clearIcon=_getIcons.clearIcon;return react.createElement(rc_cascader_es,(0,esm_extends.Z)({prefixCls,className:classnames_default()(!customizePrefixCls&&cascaderPrefixCls,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-lg"),"large"===mergedSize),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-sm"),"small"===mergedSize),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-rtl"),isRtl),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-borderless"),!bordered),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-in-form-item"),isFormItemInput),_classNames2),(0,statusUtils.Z)(prefixCls,mergedStatus,hasFeedback),className)},restProps,{direction:mergedDirection,placement:function getPlacement(){return void 0!==placement?placement:"rtl"===direction?"bottomRight":"bottomLeft"}(),notFoundContent:mergedNotFoundContent,allowClear,showSearch:mergedShowSearch,expandIcon:mergedExpandIcon,inputIcon:suffixIcon,removeIcon,clearIcon,loadingIcon,checkable,dropdownClassName:mergedDropdownClassName,dropdownPrefixCls:customizePrefixCls||cascaderPrefixCls,choiceTransitionName:(0,motion.mL)(rootPrefixCls,"",choiceTransitionName),transitionName:(0,motion.mL)(rootPrefixCls,(0,motion.q0)(placement),transitionName),getPopupContainer:getPopupContainer||getContextPopupContainer,ref,showArrow:hasFeedback||showArrow}))}));cascader_Cascader.displayName="Cascader",cascader_Cascader.SHOW_PARENT=cascader_SHOW_PARENT,cascader_Cascader.SHOW_CHILD=cascader_SHOW_CHILD;const cascader=cascader_Cascader},"./node_modules/antd/es/comment/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),_config_provider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};const __WEBPACK_DEFAULT_EXPORT__=function Comment(_a){var actions=_a.actions,author=_a.author,avatar=_a.avatar,children=_a.children,className=_a.className,content=_a.content,customizePrefixCls=_a.prefixCls,datetime=_a.datetime,otherProps=__rest(_a,["actions","author","avatar","children","className","content","prefixCls","datetime"]),_React$useContext=react__WEBPACK_IMPORTED_MODULE_0__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,prefixCls=getPrefixCls("comment",customizePrefixCls),avatarDom=avatar?react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"".concat(prefixCls,"-avatar")},"string"==typeof avatar?react__WEBPACK_IMPORTED_MODULE_0__.createElement("img",{src:avatar,alt:"comment-avatar"}):avatar):null,actionDom=actions&&actions.length?react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul",{className:"".concat(prefixCls,"-actions")},actions.map((function(action,index){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("li",{key:"action-".concat(index)},action)}))):null,authorContent=(author||datetime)&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"".concat(prefixCls,"-content-author")},author&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"".concat(prefixCls,"-content-author-name")},author),datetime&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"".concat(prefixCls,"-content-author-time")},datetime)),contentDom=react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"".concat(prefixCls,"-content")},authorContent,react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"".concat(prefixCls,"-content-detail")},content),actionDom),cls=classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls,(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__.Z)({},"".concat(prefixCls,"-rtl"),"rtl"===direction),className);return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__.Z)({},otherProps,{className:cls}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"".concat(prefixCls,"-inner")},avatarDom,contentDom),children?function renderNested(prefixCls,nestedChildren){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()("".concat(prefixCls,"-nested"))},nestedChildren)}(prefixCls,children):null)}},"./node_modules/antd/es/config-provider/SizeContext.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__,q:()=>SizeContextProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),SizeContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(void 0),SizeContextProvider=function SizeContextProvider(_ref){var children=_ref.children,size=_ref.size;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SizeContext.Consumer,null,(function(originSize){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SizeContext.Provider,{value:size||originSize},children)}))};const __WEBPACK_DEFAULT_EXPORT__=SizeContext},"./node_modules/antd/es/config-provider/context.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>ConfigConsumer,E_:()=>ConfigContext});var react=__webpack_require__("./node_modules/react/index.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),LocaleReceiver=__webpack_require__("./node_modules/antd/es/locale-provider/LocaleReceiver.js");const empty=function Empty(){var prefixCls=(0,react.useContext(ConfigContext).getPrefixCls)("empty-img-default");return react.createElement("svg",{className:prefixCls,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},react.createElement("g",{fill:"none",fillRule:"evenodd"},react.createElement("g",{transform:"translate(24 31.67)"},react.createElement("ellipse",{className:"".concat(prefixCls,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),react.createElement("path",{className:"".concat(prefixCls,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),react.createElement("path",{className:"".concat(prefixCls,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),react.createElement("path",{className:"".concat(prefixCls,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),react.createElement("path",{className:"".concat(prefixCls,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),react.createElement("path",{className:"".concat(prefixCls,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),react.createElement("g",{className:"".concat(prefixCls,"-g"),transform:"translate(149.65 15.383)"},react.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),react.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};const simple=function Simple(){var prefixCls=(0,react.useContext(ConfigContext).getPrefixCls)("empty-img-simple");return react.createElement("svg",{className:prefixCls,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},react.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},react.createElement("ellipse",{className:"".concat(prefixCls,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),react.createElement("g",{className:"".concat(prefixCls,"-g"),fillRule:"nonzero"},react.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),react.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(prefixCls,"-path")}))))};var __rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},defaultEmptyImg=react.createElement(empty,null),simpleEmptyImg=react.createElement(simple,null),empty_Empty=function Empty(_a){var className=_a.className,customizePrefixCls=_a.prefixCls,_a$image=_a.image,image=void 0===_a$image?defaultEmptyImg:_a$image,description=_a.description,children=_a.children,imageStyle=_a.imageStyle,restProps=__rest(_a,["className","prefixCls","image","description","children","imageStyle"]),_React$useContext=react.useContext(ConfigContext),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction;return react.createElement(LocaleReceiver.Z,{componentName:"Empty"},(function(locale){var _classNames,prefixCls=getPrefixCls("empty",customizePrefixCls),des=void 0!==description?description:locale.description,alt="string"==typeof des?des:"empty",imageNode=null;return imageNode="string"==typeof image?react.createElement("img",{alt,src:image}):image,react.createElement("div",(0,esm_extends.Z)({className:classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-normal"),image===simpleEmptyImg),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className)},restProps),react.createElement("div",{className:"".concat(prefixCls,"-image"),style:imageStyle},imageNode),des&&react.createElement("div",{className:"".concat(prefixCls,"-description")},des),children&&react.createElement("div",{className:"".concat(prefixCls,"-footer")},children))}))};empty_Empty.PRESENTED_IMAGE_DEFAULT=defaultEmptyImg,empty_Empty.PRESENTED_IMAGE_SIMPLE=simpleEmptyImg;const es_empty=empty_Empty;const config_provider_renderEmpty=function renderEmpty(componentName){return react.createElement(ConfigConsumer,null,(function(_ref){var prefix=(0,_ref.getPrefixCls)("empty");switch(componentName){case"Table":case"List":return react.createElement(es_empty,{image:es_empty.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return react.createElement(es_empty,{image:es_empty.PRESENTED_IMAGE_SIMPLE,className:"".concat(prefix,"-small")});default:return react.createElement(es_empty,null)}}))};var ConfigContext=react.createContext({getPrefixCls:function defaultGetPrefixCls(suffixCls,customizePrefixCls){return customizePrefixCls||(suffixCls?"ant-".concat(suffixCls):"ant")},renderEmpty:config_provider_renderEmpty}),ConfigConsumer=ConfigContext.Consumer},"./node_modules/antd/es/date-picker/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>date_picker});var moment=__webpack_require__("./node_modules/moment/moment.js"),moment_default=__webpack_require__.n(moment),es_warning=__webpack_require__("./node_modules/rc-util/es/warning.js");const generate_moment={getNow:function getNow(){return moment_default()()},getFixedDate:function getFixedDate(string){return moment_default()(string,"YYYY-MM-DD")},getEndDate:function getEndDate(date){return date.clone().endOf("month")},getWeekDay:function getWeekDay(date){var clone=date.clone().locale("en_US");return clone.weekday()+clone.localeData().firstDayOfWeek()},getYear:function getYear(date){return date.year()},getMonth:function getMonth(date){return date.month()},getDate:function getDate(date){return date.date()},getHour:function getHour(date){return date.hour()},getMinute:function getMinute(date){return date.minute()},getSecond:function getSecond(date){return date.second()},addYear:function addYear(date,diff){return date.clone().add(diff,"year")},addMonth:function addMonth(date,diff){return date.clone().add(diff,"month")},addDate:function addDate(date,diff){return date.clone().add(diff,"day")},setYear:function setYear(date,year){return date.clone().year(year)},setMonth:function setMonth(date,month){return date.clone().month(month)},setDate:function setDate(date,num){return date.clone().date(num)},setHour:function setHour(date,hour){return date.clone().hour(hour)},setMinute:function setMinute(date,minute){return date.clone().minute(minute)},setSecond:function setSecond(date,second){return date.clone().second(second)},isAfter:function isAfter(date1,date2){return date1.isAfter(date2)},isValidate:function isValidate(date){return date.isValid()},locale:{getWeekFirstDay:function getWeekFirstDay(locale){return moment_default()().locale(locale).localeData().firstDayOfWeek()},getWeekFirstDate:function getWeekFirstDate(locale,date){return date.clone().locale(locale).weekday(0)},getWeek:function getWeek(locale,date){return date.clone().locale(locale).week()},getShortWeekDays:function getShortWeekDays(locale){return moment_default()().locale(locale).localeData().weekdaysMin()},getShortMonths:function getShortMonths(locale){return moment_default()().locale(locale).localeData().monthsShort()},format:function format(locale,date,_format){return date.clone().locale(locale).format(_format)},parse:function parse(locale,text,formats){for(var fallbackFormatList=[],i=0;i<formats.length;i+=1){var format=formats[i],formatText=text;if(format.includes("wo")||format.includes("Wo")){var matchFormat=(format=format.replace(/wo/g,"w").replace(/Wo/g,"W")).match(/[-YyMmDdHhSsWwGg]+/g),matchText=formatText.match(/[-\d]+/g);matchFormat&&matchText?(format=matchFormat.join(""),formatText=matchText.join("")):fallbackFormatList.push(format.replace(/o/g,""))}var date=moment_default()(formatText,format,locale,!0);if(date.isValid())return date}for(var _i=0;_i<fallbackFormatList.length;_i+=1){var _date=moment_default()(text,fallbackFormatList[_i],locale,!1);if(_date.isValid())return(0,es_warning.ET)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),_date}return null}}};var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),es_button=__webpack_require__("./node_modules/antd/es/button/index.js");var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),CloseOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};const tag_CheckableTag=function CheckableTag(_a){var _classNames,customizePrefixCls=_a.prefixCls,className=_a.className,checked=_a.checked,onChange=_a.onChange,onClick=_a.onClick,restProps=__rest(_a,["prefixCls","className","checked","onChange","onClick"]),prefixCls=(0,react.useContext(context.E_).getPrefixCls)("tag",customizePrefixCls),cls=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-checkable"),!0),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-checkable-checked"),checked),_classNames),className);return react.createElement("span",(0,esm_extends.Z)({},restProps,{className:cls,onClick:function handleClick(e){null==onChange||onChange(!checked),null==onClick||onClick(e)}}))};var colors=__webpack_require__("./node_modules/antd/es/_util/colors.js"),wave=__webpack_require__("./node_modules/antd/es/_util/wave.js"),tag_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},PresetColorRegex=new RegExp("^(".concat(colors.Y.join("|"),")(-inverse)?$")),PresetStatusColorRegex=new RegExp("^(".concat(colors.E.join("|"),")$")),InternalTag=function InternalTag(_a,ref){var _classNames,customizePrefixCls=_a.prefixCls,className=_a.className,style=_a.style,children=_a.children,icon=_a.icon,color=_a.color,onClose=_a.onClose,closeIcon=_a.closeIcon,_a$closable=_a.closable,closable=void 0!==_a$closable&&_a$closable,props=tag_rest(_a,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,_React$useState=react.useState(!0),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),visible=_React$useState2[0],setVisible=_React$useState2[1];react.useEffect((function(){"visible"in props&&setVisible(props.visible)}),[props.visible]);var isPresetColor=function isPresetColor(){return!!color&&(PresetColorRegex.test(color)||PresetStatusColorRegex.test(color))},tagStyle=(0,esm_extends.Z)({backgroundColor:color&&!isPresetColor()?color:void 0},style),presetColor=isPresetColor(),prefixCls=getPrefixCls("tag",customizePrefixCls),tagClassName=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(color),presetColor),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-has-color"),color&&!presetColor),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-hidden"),!visible),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className),handleCloseClick=function handleCloseClick(e){e.stopPropagation(),null==onClose||onClose(e),e.defaultPrevented||"visible"in props||setVisible(!1)},isNeedWave="onClick"in props||children&&"a"===children.type,tagProps=(0,omit.Z)(props,["visible"]),iconNode=icon||null,kids=iconNode?react.createElement(react.Fragment,null,iconNode,react.createElement("span",null,children)):children,tagNode=react.createElement("span",(0,esm_extends.Z)({},tagProps,{ref,className:tagClassName,style:tagStyle}),kids,function renderCloseIcon(){return closable?closeIcon?react.createElement("span",{className:"".concat(prefixCls,"-close-icon"),onClick:handleCloseClick},closeIcon):react.createElement(CloseOutlined.Z,{className:"".concat(prefixCls,"-close-icon"),onClick:handleCloseClick}):null}());return isNeedWave?react.createElement(wave.Z,null,tagNode):tagNode},Tag=react.forwardRef(InternalTag);Tag.displayName="Tag",Tag.CheckableTag=tag_CheckableTag;const tag=Tag;var classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");const asn_CalendarOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),CalendarOutlined_CalendarOutlined=function CalendarOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_CalendarOutlined}))};CalendarOutlined_CalendarOutlined.displayName="CalendarOutlined";const icons_CalendarOutlined=react.forwardRef(CalendarOutlined_CalendarOutlined);const asn_ClockCircleOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};var ClockCircleOutlined_ClockCircleOutlined=function ClockCircleOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_ClockCircleOutlined}))};ClockCircleOutlined_ClockCircleOutlined.displayName="ClockCircleOutlined";const icons_ClockCircleOutlined=react.forwardRef(ClockCircleOutlined_ClockCircleOutlined);var CloseCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js"),useMergedState=__webpack_require__("./node_modules/rc-util/es/hooks/useMergedState.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),KeyCode=__webpack_require__("./node_modules/rc-util/es/KeyCode.js");const es_PanelContext=react.createContext({});var HIDDEN_STYLE={visibility:"hidden"};const panels_Header=function Header(_ref){var prefixCls=_ref.prefixCls,_ref$prevIcon=_ref.prevIcon,prevIcon=void 0===_ref$prevIcon?"‹":_ref$prevIcon,_ref$nextIcon=_ref.nextIcon,nextIcon=void 0===_ref$nextIcon?"›":_ref$nextIcon,_ref$superPrevIcon=_ref.superPrevIcon,superPrevIcon=void 0===_ref$superPrevIcon?"«":_ref$superPrevIcon,_ref$superNextIcon=_ref.superNextIcon,superNextIcon=void 0===_ref$superNextIcon?"»":_ref$superNextIcon,onSuperPrev=_ref.onSuperPrev,onSuperNext=_ref.onSuperNext,onPrev=_ref.onPrev,onNext=_ref.onNext,children=_ref.children,_React$useContext=react.useContext(es_PanelContext),hideNextBtn=_React$useContext.hideNextBtn,hidePrevBtn=_React$useContext.hidePrevBtn;return react.createElement("div",{className:prefixCls},onSuperPrev&&react.createElement("button",{type:"button",onClick:onSuperPrev,tabIndex:-1,className:"".concat(prefixCls,"-super-prev-btn"),style:hidePrevBtn?HIDDEN_STYLE:{}},superPrevIcon),onPrev&&react.createElement("button",{type:"button",onClick:onPrev,tabIndex:-1,className:"".concat(prefixCls,"-prev-btn"),style:hidePrevBtn?HIDDEN_STYLE:{}},prevIcon),react.createElement("div",{className:"".concat(prefixCls,"-view")},children),onNext&&react.createElement("button",{type:"button",onClick:onNext,tabIndex:-1,className:"".concat(prefixCls,"-next-btn"),style:hideNextBtn?HIDDEN_STYLE:{}},nextIcon),onSuperNext&&react.createElement("button",{type:"button",onClick:onSuperNext,tabIndex:-1,className:"".concat(prefixCls,"-super-next-btn"),style:hideNextBtn?HIDDEN_STYLE:{}},superNextIcon))};const DecadePanel_DecadeHeader=function DecadeHeader(props){var prefixCls=props.prefixCls,generateConfig=props.generateConfig,viewDate=props.viewDate,onPrevDecades=props.onPrevDecades,onNextDecades=props.onNextDecades;if(react.useContext(es_PanelContext).hideHeader)return null;var headerPrefixCls="".concat(prefixCls,"-header"),yearNumber=generateConfig.getYear(viewDate),startYear=Math.floor(yearNumber/DECADE_DISTANCE_COUNT)*DECADE_DISTANCE_COUNT,endYear=startYear+DECADE_DISTANCE_COUNT-1;return react.createElement(panels_Header,(0,esm_extends.Z)({},props,{prefixCls:headerPrefixCls,onSuperPrev:onPrevDecades,onSuperNext:onNextDecades}),startYear,"-",endYear)};function timeUtil_setTime(generateConfig,date,hour,minute,second){var nextTime=generateConfig.setHour(date,hour);return nextTime=generateConfig.setMinute(nextTime,minute),nextTime=generateConfig.setSecond(nextTime,second)}function setDateTime(generateConfig,date,defaultDate){if(!defaultDate)return date;var newDate=date;return newDate=generateConfig.setHour(newDate,generateConfig.getHour(defaultDate)),newDate=generateConfig.setMinute(newDate,generateConfig.getMinute(defaultDate)),newDate=generateConfig.setSecond(newDate,generateConfig.getSecond(defaultDate))}function getLastDay(generateConfig,date){var year=generateConfig.getYear(date),month=generateConfig.getMonth(date)+1,endDate=generateConfig.getEndDate(generateConfig.getFixedDate("".concat(year,"-").concat(month,"-01"))),lastDay=generateConfig.getDate(endDate),monthShow=month<10?"0".concat(month):"".concat(month);return"".concat(year,"-").concat(monthShow,"-").concat(lastDay)}function PanelBody(_ref){for(var prefixCls=_ref.prefixCls,disabledDate=_ref.disabledDate,onSelect=_ref.onSelect,picker=_ref.picker,rowNum=_ref.rowNum,colNum=_ref.colNum,prefixColumn=_ref.prefixColumn,rowClassName=_ref.rowClassName,baseDate=_ref.baseDate,getCellClassName=_ref.getCellClassName,getCellText=_ref.getCellText,getCellNode=_ref.getCellNode,getCellDate=_ref.getCellDate,generateConfig=_ref.generateConfig,titleCell=_ref.titleCell,headerCells=_ref.headerCells,_React$useContext=react.useContext(es_PanelContext),onDateMouseEnter=_React$useContext.onDateMouseEnter,onDateMouseLeave=_React$useContext.onDateMouseLeave,mode=_React$useContext.mode,cellPrefixCls="".concat(prefixCls,"-cell"),rows=[],i=0;i<rowNum;i+=1){for(var row=[],rowStartDate=void 0,_loop=function _loop(j){var _objectSpread2,currentDate=getCellDate(baseDate,i*colNum+j),disabled=getCellDateDisabled({cellDate:currentDate,mode,disabledDate,generateConfig});0===j&&(rowStartDate=currentDate,prefixColumn&&row.push(prefixColumn(rowStartDate)));var title=titleCell&&titleCell(currentDate);row.push(react.createElement("td",{key:j,title,className:classnames_default()(cellPrefixCls,(0,objectSpread2.Z)((_objectSpread2={},(0,defineProperty.Z)(_objectSpread2,"".concat(cellPrefixCls,"-disabled"),disabled),(0,defineProperty.Z)(_objectSpread2,"".concat(cellPrefixCls,"-start"),1===getCellText(currentDate)||"year"===picker&&Number(title)%10==0),(0,defineProperty.Z)(_objectSpread2,"".concat(cellPrefixCls,"-end"),title===getLastDay(generateConfig,currentDate)||"year"===picker&&Number(title)%10==9),_objectSpread2),getCellClassName(currentDate))),onClick:function onClick(){disabled||onSelect(currentDate)},onMouseEnter:function onMouseEnter(){!disabled&&onDateMouseEnter&&onDateMouseEnter(currentDate)},onMouseLeave:function onMouseLeave(){!disabled&&onDateMouseLeave&&onDateMouseLeave(currentDate)}},getCellNode?getCellNode(currentDate):react.createElement("div",{className:"".concat(cellPrefixCls,"-inner")},getCellText(currentDate))))},j=0;j<colNum;j+=1)_loop(j);rows.push(react.createElement("tr",{key:i,className:rowClassName&&rowClassName(rowStartDate)},row))}return react.createElement("div",{className:"".concat(prefixCls,"-body")},react.createElement("table",{className:"".concat(prefixCls,"-content")},headerCells&&react.createElement("thead",null,react.createElement("tr",null,headerCells)),react.createElement("tbody",null,rows)))}const DecadePanel_DecadeBody=function DecadeBody(props){var DECADE_UNIT_DIFF_DES=DECADE_UNIT_DIFF-1,prefixCls=props.prefixCls,viewDate=props.viewDate,generateConfig=props.generateConfig,cellPrefixCls="".concat(prefixCls,"-cell"),yearNumber=generateConfig.getYear(viewDate),decadeYearNumber=Math.floor(yearNumber/DECADE_UNIT_DIFF)*DECADE_UNIT_DIFF,startDecadeYear=Math.floor(yearNumber/DECADE_DISTANCE_COUNT)*DECADE_DISTANCE_COUNT,endDecadeYear=startDecadeYear+DECADE_DISTANCE_COUNT-1,baseDecadeYear=generateConfig.setYear(viewDate,startDecadeYear-Math.ceil((12*DECADE_UNIT_DIFF-DECADE_DISTANCE_COUNT)/2));return react.createElement(PanelBody,(0,esm_extends.Z)({},props,{rowNum:4,colNum:3,baseDate:baseDecadeYear,getCellText:function getCellText(date){var startDecadeNumber=generateConfig.getYear(date);return"".concat(startDecadeNumber,"-").concat(startDecadeNumber+DECADE_UNIT_DIFF_DES)},getCellClassName:function getCellClassName(date){var _ref,startDecadeNumber=generateConfig.getYear(date),endDecadeNumber=startDecadeNumber+DECADE_UNIT_DIFF_DES;return _ref={},(0,defineProperty.Z)(_ref,"".concat(cellPrefixCls,"-in-view"),startDecadeYear<=startDecadeNumber&&endDecadeNumber<=endDecadeYear),(0,defineProperty.Z)(_ref,"".concat(cellPrefixCls,"-selected"),startDecadeNumber===decadeYearNumber),_ref},getCellDate:function getCellDate(date,offset){return generateConfig.addYear(date,offset*DECADE_UNIT_DIFF)}}))};var toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),raf=__webpack_require__("./node_modules/rc-util/es/raf.js"),isVisible=__webpack_require__("./node_modules/rc-util/es/Dom/isVisible.js"),scrollIds=new Map;function scrollTo(element,to,duration){if(scrollIds.get(element)&&cancelAnimationFrame(scrollIds.get(element)),duration<=0)scrollIds.set(element,requestAnimationFrame((function(){element.scrollTop=to})));else{var perTick=(to-element.scrollTop)/duration*10;scrollIds.set(element,requestAnimationFrame((function(){element.scrollTop+=perTick,element.scrollTop!==to&&scrollTo(element,to,duration-10)})))}}function createKeyDownHandler(event,_ref){var onLeftRight=_ref.onLeftRight,onCtrlLeftRight=_ref.onCtrlLeftRight,onUpDown=_ref.onUpDown,onPageUpDown=_ref.onPageUpDown,onEnter=_ref.onEnter,which=event.which,ctrlKey=event.ctrlKey,metaKey=event.metaKey;switch(which){case KeyCode.Z.LEFT:if(ctrlKey||metaKey){if(onCtrlLeftRight)return onCtrlLeftRight(-1),!0}else if(onLeftRight)return onLeftRight(-1),!0;break;case KeyCode.Z.RIGHT:if(ctrlKey||metaKey){if(onCtrlLeftRight)return onCtrlLeftRight(1),!0}else if(onLeftRight)return onLeftRight(1),!0;break;case KeyCode.Z.UP:if(onUpDown)return onUpDown(-1),!0;break;case KeyCode.Z.DOWN:if(onUpDown)return onUpDown(1),!0;break;case KeyCode.Z.PAGE_UP:if(onPageUpDown)return onPageUpDown(-1),!0;break;case KeyCode.Z.PAGE_DOWN:if(onPageUpDown)return onPageUpDown(1),!0;break;case KeyCode.Z.ENTER:if(onEnter)return onEnter(),!0}return!1}function getDefaultFormat(format,picker,showTime,use12Hours){var mergedFormat=format;if(!mergedFormat)switch(picker){case"time":mergedFormat=use12Hours?"hh:mm:ss a":"HH:mm:ss";break;case"week":mergedFormat="gggg-wo";break;case"month":mergedFormat="YYYY-MM";break;case"quarter":mergedFormat="YYYY-[Q]Q";break;case"year":mergedFormat="YYYY";break;default:mergedFormat=showTime?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return mergedFormat}function getInputSize(picker,format,generateConfig){var defaultSize="time"===picker?8:10,length="function"==typeof format?format(generateConfig.getNow()).length:format.length;return Math.max(defaultSize,length)+2}var globalClickFunc=null,clickCallbacks=new Set;var PickerModeMap={year:function getYearNextMode(next){return"month"===next||"date"===next?"year":next},month:function getMonthNextMode(next){return"date"===next?"month":next},quarter:function getQuarterNextMode(next){return"month"===next||"date"===next?"quarter":next},week:function getWeekNextMode(next){return"date"===next?"week":next},time:null,date:null};function elementsContains(elements,target){return elements.some((function(ele){return ele&&ele.contains(target)}))}var DECADE_UNIT_DIFF=10,DECADE_DISTANCE_COUNT=10*DECADE_UNIT_DIFF;const panels_DecadePanel=function DecadePanel(props){var prefixCls=props.prefixCls,onViewDateChange=props.onViewDateChange,generateConfig=props.generateConfig,viewDate=props.viewDate,operationRef=props.operationRef,onSelect=props.onSelect,onPanelChange=props.onPanelChange,panelPrefixCls="".concat(prefixCls,"-decade-panel");operationRef.current={onKeyDown:function onKeyDown(event){return createKeyDownHandler(event,{onLeftRight:function onLeftRight(diff){onSelect(generateConfig.addYear(viewDate,diff*DECADE_UNIT_DIFF),"key")},onCtrlLeftRight:function onCtrlLeftRight(diff){onSelect(generateConfig.addYear(viewDate,diff*DECADE_DISTANCE_COUNT),"key")},onUpDown:function onUpDown(diff){onSelect(generateConfig.addYear(viewDate,diff*DECADE_UNIT_DIFF*3),"key")},onEnter:function onEnter(){onPanelChange("year",viewDate)}})}};var onDecadesChange=function onDecadesChange(diff){var newDate=generateConfig.addYear(viewDate,diff*DECADE_DISTANCE_COUNT);onViewDateChange(newDate),onPanelChange(null,newDate)};return react.createElement("div",{className:panelPrefixCls},react.createElement(DecadePanel_DecadeHeader,(0,esm_extends.Z)({},props,{prefixCls,onPrevDecades:function onPrevDecades(){onDecadesChange(-1)},onNextDecades:function onNextDecades(){onDecadesChange(1)}})),react.createElement(DecadePanel_DecadeBody,(0,esm_extends.Z)({},props,{prefixCls,onSelect:function onInternalSelect(date){onSelect(date,"mouse"),onPanelChange("year",date)}})))};function isNullEqual(value1,value2){return!value1&&!value2||!(!value1||!value2)&&void 0}function isSameYear(generateConfig,year1,year2){var equal=isNullEqual(year1,year2);return"boolean"==typeof equal?equal:generateConfig.getYear(year1)===generateConfig.getYear(year2)}function getQuarter(generateConfig,date){return Math.floor(generateConfig.getMonth(date)/3)+1}function isSameQuarter(generateConfig,quarter1,quarter2){var equal=isNullEqual(quarter1,quarter2);return"boolean"==typeof equal?equal:isSameYear(generateConfig,quarter1,quarter2)&&getQuarter(generateConfig,quarter1)===getQuarter(generateConfig,quarter2)}function isSameMonth(generateConfig,month1,month2){var equal=isNullEqual(month1,month2);return"boolean"==typeof equal?equal:isSameYear(generateConfig,month1,month2)&&generateConfig.getMonth(month1)===generateConfig.getMonth(month2)}function isSameDate(generateConfig,date1,date2){var equal=isNullEqual(date1,date2);return"boolean"==typeof equal?equal:generateConfig.getYear(date1)===generateConfig.getYear(date2)&&generateConfig.getMonth(date1)===generateConfig.getMonth(date2)&&generateConfig.getDate(date1)===generateConfig.getDate(date2)}function isSameWeek(generateConfig,locale,date1,date2){var equal=isNullEqual(date1,date2);return"boolean"==typeof equal?equal:generateConfig.locale.getWeek(locale,date1)===generateConfig.locale.getWeek(locale,date2)}function isEqual(generateConfig,value1,value2){return isSameDate(generateConfig,value1,value2)&&function isSameTime(generateConfig,time1,time2){var equal=isNullEqual(time1,time2);return"boolean"==typeof equal?equal:generateConfig.getHour(time1)===generateConfig.getHour(time2)&&generateConfig.getMinute(time1)===generateConfig.getMinute(time2)&&generateConfig.getSecond(time1)===generateConfig.getSecond(time2)}(generateConfig,value1,value2)}function isInRange(generateConfig,startDate,endDate,current){return!!(startDate&&endDate&¤t)&&(!isSameDate(generateConfig,startDate,current)&&!isSameDate(generateConfig,endDate,current)&&generateConfig.isAfter(current,startDate)&&generateConfig.isAfter(endDate,current))}function getClosingViewDate(viewDate,picker,generateConfig){var offset=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;switch(picker){case"year":return generateConfig.addYear(viewDate,10*offset);case"quarter":case"month":return generateConfig.addYear(viewDate,offset);default:return generateConfig.addMonth(viewDate,offset)}}function formatValue(value,_ref){var generateConfig=_ref.generateConfig,locale=_ref.locale,format=_ref.format;return"function"==typeof format?format(value):generateConfig.locale.format(locale.locale,value,format)}function parseValue(value,_ref2){var generateConfig=_ref2.generateConfig,locale=_ref2.locale,formatList=_ref2.formatList;return value&&"function"!=typeof formatList[0]?generateConfig.locale.parse(locale.locale,value,formatList):null}function getCellDateDisabled(_ref3){var cellDate=_ref3.cellDate,mode=_ref3.mode,disabledDate=_ref3.disabledDate,generateConfig=_ref3.generateConfig;if(!disabledDate)return!1;var getDisabledFromRange=function getDisabledFromRange(currentMode,start,end){for(var current=start;current<=end;){var date=void 0;switch(currentMode){case"date":if(date=generateConfig.setDate(cellDate,current),!disabledDate(date))return!1;break;case"month":if(!getCellDateDisabled({cellDate:date=generateConfig.setMonth(cellDate,current),mode:"month",generateConfig,disabledDate}))return!1;break;case"year":if(!getCellDateDisabled({cellDate:date=generateConfig.setYear(cellDate,current),mode:"year",generateConfig,disabledDate}))return!1}current+=1}return!0};switch(mode){case"date":case"week":return disabledDate(cellDate);case"month":return getDisabledFromRange("date",1,generateConfig.getDate(generateConfig.getEndDate(cellDate)));case"quarter":var startMonth=3*Math.floor(generateConfig.getMonth(cellDate)/3);return getDisabledFromRange("month",startMonth,startMonth+2);case"year":return getDisabledFromRange("month",0,11);case"decade":var year=generateConfig.getYear(cellDate),startYear=Math.floor(year/DECADE_UNIT_DIFF)*DECADE_UNIT_DIFF;return getDisabledFromRange("year",startYear,startYear+DECADE_UNIT_DIFF-1)}}const TimePanel_TimeHeader=function TimeHeader(props){if(react.useContext(es_PanelContext).hideHeader)return null;var prefixCls=props.prefixCls,generateConfig=props.generateConfig,locale=props.locale,value=props.value,format=props.format,headerPrefixCls="".concat(prefixCls,"-header");return react.createElement(panels_Header,{prefixCls:headerPrefixCls},value?formatValue(value,{locale,format,generateConfig}):" ")};var useMemo=__webpack_require__("./node_modules/rc-util/es/hooks/useMemo.js");const TimePanel_TimeUnitColumn=function TimeUnitColumn(props){var prefixCls=props.prefixCls,units=props.units,onSelect=props.onSelect,value=props.value,active=props.active,hideDisabledOptions=props.hideDisabledOptions,cellPrefixCls="".concat(prefixCls,"-cell"),open=react.useContext(es_PanelContext).open,ulRef=(0,react.useRef)(null),liRefs=(0,react.useRef)(new Map),scrollRef=(0,react.useRef)();return(0,react.useLayoutEffect)((function(){var li=liRefs.current.get(value);li&&!1!==open&&scrollTo(ulRef.current,li.offsetTop,120)}),[value]),(0,react.useLayoutEffect)((function(){if(open){var li=liRefs.current.get(value);li&&(scrollRef.current=function waitElementReady(element,callback){var id;return function tryOrNextFrame(){(0,isVisible.Z)(element)?callback():id=(0,raf.Z)((function(){tryOrNextFrame()}))}(),function(){raf.Z.cancel(id)}}(li,(function(){scrollTo(ulRef.current,li.offsetTop,0)})))}return function(){var _scrollRef$current;null===(_scrollRef$current=scrollRef.current)||void 0===_scrollRef$current||_scrollRef$current.call(scrollRef)}}),[open]),react.createElement("ul",{className:classnames_default()("".concat(prefixCls,"-column"),(0,defineProperty.Z)({},"".concat(prefixCls,"-column-active"),active)),ref:ulRef,style:{position:"relative"}},units.map((function(unit){var _classNames2;return hideDisabledOptions&&unit.disabled?null:react.createElement("li",{key:unit.value,ref:function ref(element){liRefs.current.set(unit.value,element)},className:classnames_default()(cellPrefixCls,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(cellPrefixCls,"-disabled"),unit.disabled),(0,defineProperty.Z)(_classNames2,"".concat(cellPrefixCls,"-selected"),value===unit.value),_classNames2)),onClick:function onClick(){unit.disabled||onSelect(unit.value)}},react.createElement("div",{className:"".concat(cellPrefixCls,"-inner")},unit.label))})))};function leftPad(str,length){for(var fill=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",current=String(str);current.length<length;)current="".concat(fill).concat(str);return current}function toArray(val){return null==val?[]:Array.isArray(val)?val:[val]}function getDataOrAriaProps(props){var retProps={};return Object.keys(props).forEach((function(key){"data-"!==key.substr(0,5)&&"aria-"!==key.substr(0,5)&&"role"!==key&&"name"!==key||"data-__"===key.substr(0,7)||(retProps[key]=props[key])})),retProps}function getValue(values,index){return values?values[index]:null}function updateValues(values,value,index){var newValues=[getValue(values,0),getValue(values,1)];return newValues[index]="function"==typeof value?value(newValues[index]):value,newValues[0]||newValues[1]?newValues:null}function shouldUnitsUpdate(prevUnits,nextUnits){if(prevUnits.length!==nextUnits.length)return!0;for(var i=0;i<prevUnits.length;i+=1)if(prevUnits[i].disabled!==nextUnits[i].disabled)return!0;return!1}function generateUnits(start,end,step,disabledUnits){for(var units=[],i=start;i<=end;i+=step)units.push({label:leftPad(i,2),value:i,disabled:(disabledUnits||[]).includes(i)});return units}const TimePanel_TimeBody=function TimeBody(props){var isPM,generateConfig=props.generateConfig,prefixCls=props.prefixCls,operationRef=props.operationRef,activeColumnIndex=props.activeColumnIndex,value=props.value,showHour=props.showHour,showMinute=props.showMinute,showSecond=props.showSecond,use12Hours=props.use12Hours,_props$hourStep=props.hourStep,hourStep=void 0===_props$hourStep?1:_props$hourStep,_props$minuteStep=props.minuteStep,minuteStep=void 0===_props$minuteStep?1:_props$minuteStep,_props$secondStep=props.secondStep,secondStep=void 0===_props$secondStep?1:_props$secondStep,disabledHours=props.disabledHours,disabledMinutes=props.disabledMinutes,disabledSeconds=props.disabledSeconds,disabledTime=props.disabledTime,hideDisabledOptions=props.hideDisabledOptions,onSelect=props.onSelect,columns=[],contentPrefixCls="".concat(prefixCls,"-content"),columnPrefixCls="".concat(prefixCls,"-time-panel"),originHour=value?generateConfig.getHour(value):-1,hour=originHour,minute=value?generateConfig.getMinute(value):-1,second=value?generateConfig.getSecond(value):-1,now=generateConfig.getNow(),_React$useMemo=react.useMemo((function(){if(disabledTime){var disabledConfig=disabledTime(now);return[disabledConfig.disabledHours,disabledConfig.disabledMinutes,disabledConfig.disabledSeconds]}return[disabledHours,disabledMinutes,disabledSeconds]}),[disabledHours,disabledMinutes,disabledSeconds,disabledTime,now]),_React$useMemo2=(0,slicedToArray.Z)(_React$useMemo,3),mergedDisabledHours=_React$useMemo2[0],mergedDisabledMinutes=_React$useMemo2[1],mergedDisabledSeconds=_React$useMemo2[2],setTime=function setTime(isNewPM,newHour,newMinute,newSecond){var newDate=value||generateConfig.getNow(),mergedHour=Math.max(0,newHour),mergedMinute=Math.max(0,newMinute),mergedSecond=Math.max(0,newSecond);return newDate=timeUtil_setTime(generateConfig,newDate,use12Hours&&isNewPM?mergedHour+12:mergedHour,mergedMinute,mergedSecond)},rawHours=generateUnits(0,23,hourStep,mergedDisabledHours&&mergedDisabledHours()),memorizedRawHours=(0,useMemo.Z)((function(){return rawHours}),rawHours,shouldUnitsUpdate);use12Hours&&(isPM=hour>=12,hour%=12);var _React$useMemo3=react.useMemo((function(){if(!use12Hours)return[!1,!1];var AMPMDisabled=[!0,!0];return memorizedRawHours.forEach((function(_ref){var disabled=_ref.disabled,hourValue=_ref.value;disabled||(hourValue>=12?AMPMDisabled[1]=!1:AMPMDisabled[0]=!1)})),AMPMDisabled}),[use12Hours,memorizedRawHours]),_React$useMemo4=(0,slicedToArray.Z)(_React$useMemo3,2),AMDisabled=_React$useMemo4[0],PMDisabled=_React$useMemo4[1],hours=react.useMemo((function(){return use12Hours?memorizedRawHours.filter(isPM?function(hourMeta){return hourMeta.value>=12}:function(hourMeta){return hourMeta.value<12}).map((function(hourMeta){var hourValue=hourMeta.value%12,hourLabel=0===hourValue?"12":leftPad(hourValue,2);return(0,objectSpread2.Z)((0,objectSpread2.Z)({},hourMeta),{},{label:hourLabel,value:hourValue})})):memorizedRawHours}),[use12Hours,isPM,memorizedRawHours]),minutes=generateUnits(0,59,minuteStep,mergedDisabledMinutes&&mergedDisabledMinutes(originHour)),seconds=generateUnits(0,59,secondStep,mergedDisabledSeconds&&mergedDisabledSeconds(originHour,minute));function addColumnNode(condition,node,columnValue,units,onColumnSelect){!1!==condition&&columns.push({node:react.cloneElement(node,{prefixCls:columnPrefixCls,value:columnValue,active:activeColumnIndex===columns.length,onSelect:onColumnSelect,units,hideDisabledOptions}),onSelect:onColumnSelect,value:columnValue,units})}operationRef.current={onUpDown:function onUpDown(diff){var column=columns[activeColumnIndex];if(column)for(var valueIndex=column.units.findIndex((function(unit){return unit.value===column.value})),unitLen=column.units.length,i=1;i<unitLen;i+=1){var nextUnit=column.units[(valueIndex+diff*i+unitLen)%unitLen];if(!0!==nextUnit.disabled){column.onSelect(nextUnit.value);break}}}},addColumnNode(showHour,react.createElement(TimePanel_TimeUnitColumn,{key:"hour"}),hour,hours,(function(num){onSelect(setTime(isPM,num,minute,second),"mouse")})),addColumnNode(showMinute,react.createElement(TimePanel_TimeUnitColumn,{key:"minute"}),minute,minutes,(function(num){onSelect(setTime(isPM,hour,num,second),"mouse")})),addColumnNode(showSecond,react.createElement(TimePanel_TimeUnitColumn,{key:"second"}),second,seconds,(function(num){onSelect(setTime(isPM,hour,minute,num),"mouse")}));var PMIndex=-1;return"boolean"==typeof isPM&&(PMIndex=isPM?1:0),addColumnNode(!0===use12Hours,react.createElement(TimePanel_TimeUnitColumn,{key:"12hours"}),PMIndex,[{label:"AM",value:0,disabled:AMDisabled},{label:"PM",value:1,disabled:PMDisabled}],(function(num){onSelect(setTime(!!num,hour,minute,second),"mouse")})),react.createElement("div",{className:contentPrefixCls},columns.map((function(_ref2){return _ref2.node})))};const panels_TimePanel=function TimePanel(props){var generateConfig=props.generateConfig,_props$format=props.format,format=void 0===_props$format?"HH:mm:ss":_props$format,prefixCls=props.prefixCls,active=props.active,operationRef=props.operationRef,showHour=props.showHour,showMinute=props.showMinute,showSecond=props.showSecond,_props$use12Hours=props.use12Hours,use12Hours=void 0!==_props$use12Hours&&_props$use12Hours,onSelect=props.onSelect,value=props.value,panelPrefixCls="".concat(prefixCls,"-time-panel"),bodyOperationRef=react.useRef(),_React$useState=react.useState(-1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),activeColumnIndex=_React$useState2[0],setActiveColumnIndex=_React$useState2[1],columnsCount=function countBoolean(boolList){return boolList.filter((function(bool){return!1!==bool})).length}([showHour,showMinute,showSecond,use12Hours]);return operationRef.current={onKeyDown:function onKeyDown(event){return createKeyDownHandler(event,{onLeftRight:function onLeftRight(diff){setActiveColumnIndex((activeColumnIndex+diff+columnsCount)%columnsCount)},onUpDown:function onUpDown(diff){-1===activeColumnIndex?setActiveColumnIndex(0):bodyOperationRef.current&&bodyOperationRef.current.onUpDown(diff)},onEnter:function onEnter(){onSelect(value||generateConfig.getNow(),"key"),setActiveColumnIndex(-1)}})},onBlur:function onBlur(){setActiveColumnIndex(-1)}},react.createElement("div",{className:classnames_default()(panelPrefixCls,(0,defineProperty.Z)({},"".concat(panelPrefixCls,"-active"),active))},react.createElement(TimePanel_TimeHeader,(0,esm_extends.Z)({},props,{format,prefixCls})),react.createElement(TimePanel_TimeBody,(0,esm_extends.Z)({},props,{prefixCls,activeColumnIndex,operationRef:bodyOperationRef})))};const es_RangeContext=react.createContext({});function useCellClassName(_ref){var cellPrefixCls=_ref.cellPrefixCls,generateConfig=_ref.generateConfig,rangedValue=_ref.rangedValue,hoverRangedValue=_ref.hoverRangedValue,isInView=_ref.isInView,isSameCell=_ref.isSameCell,offsetCell=_ref.offsetCell,today=_ref.today,value=_ref.value;return function getClassName(currentDate){var _ref2,prevDate=offsetCell(currentDate,-1),nextDate=offsetCell(currentDate,1),rangeStart=getValue(rangedValue,0),rangeEnd=getValue(rangedValue,1),hoverStart=getValue(hoverRangedValue,0),hoverEnd=getValue(hoverRangedValue,1),isRangeHovered=isInRange(generateConfig,hoverStart,hoverEnd,currentDate);function isRangeStart(date){return isSameCell(rangeStart,date)}function isRangeEnd(date){return isSameCell(rangeEnd,date)}var isHoverStart=isSameCell(hoverStart,currentDate),isHoverEnd=isSameCell(hoverEnd,currentDate),isHoverEdgeStart=(isRangeHovered||isHoverEnd)&&(!isInView(prevDate)||isRangeEnd(prevDate)),isHoverEdgeEnd=(isRangeHovered||isHoverStart)&&(!isInView(nextDate)||isRangeStart(nextDate));return _ref2={},(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-in-view"),isInView(currentDate)),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-in-range"),isInRange(generateConfig,rangeStart,rangeEnd,currentDate)),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-start"),isRangeStart(currentDate)),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-end"),isRangeEnd(currentDate)),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-start-single"),isRangeStart(currentDate)&&!rangeEnd),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-end-single"),isRangeEnd(currentDate)&&!rangeStart),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-start-near-hover"),isRangeStart(currentDate)&&(isSameCell(prevDate,hoverStart)||isInRange(generateConfig,hoverStart,hoverEnd,prevDate))),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-end-near-hover"),isRangeEnd(currentDate)&&(isSameCell(nextDate,hoverEnd)||isInRange(generateConfig,hoverStart,hoverEnd,nextDate))),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-hover"),isRangeHovered),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-hover-start"),isHoverStart),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-hover-end"),isHoverEnd),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-hover-edge-start"),isHoverEdgeStart),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-hover-edge-end"),isHoverEdgeEnd),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-hover-edge-start-near-range"),isHoverEdgeStart&&isSameCell(prevDate,rangeEnd)),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-range-hover-edge-end-near-range"),isHoverEdgeEnd&&isSameCell(nextDate,rangeStart)),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-today"),isSameCell(today,currentDate)),(0,defineProperty.Z)(_ref2,"".concat(cellPrefixCls,"-selected"),isSameCell(value,currentDate)),_ref2}}const DatePanel_DateBody=function DateBody(props){var prefixCls=props.prefixCls,generateConfig=props.generateConfig,prefixColumn=props.prefixColumn,locale=props.locale,rowCount=props.rowCount,viewDate=props.viewDate,value=props.value,dateRender=props.dateRender,_React$useContext=react.useContext(es_RangeContext),rangedValue=_React$useContext.rangedValue,hoverRangedValue=_React$useContext.hoverRangedValue,baseDate=function getWeekStartDate(locale,generateConfig,value){var weekFirstDay=generateConfig.locale.getWeekFirstDay(locale),monthStartDate=generateConfig.setDate(value,1),startDateWeekDay=generateConfig.getWeekDay(monthStartDate),alignStartDate=generateConfig.addDate(monthStartDate,weekFirstDay-startDateWeekDay);return generateConfig.getMonth(alignStartDate)===generateConfig.getMonth(value)&&generateConfig.getDate(alignStartDate)>1&&(alignStartDate=generateConfig.addDate(alignStartDate,-7)),alignStartDate}(locale.locale,generateConfig,viewDate),cellPrefixCls="".concat(prefixCls,"-cell"),weekFirstDay=generateConfig.locale.getWeekFirstDay(locale.locale),today=generateConfig.getNow(),headerCells=[],weekDaysLocale=locale.shortWeekDays||(generateConfig.locale.getShortWeekDays?generateConfig.locale.getShortWeekDays(locale.locale):[]);prefixColumn&&headerCells.push(react.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var i=0;i<7;i+=1)headerCells.push(react.createElement("th",{key:i},weekDaysLocale[(i+weekFirstDay)%7]));var getCellClassName=useCellClassName({cellPrefixCls,today,value,generateConfig,rangedValue:prefixColumn?null:rangedValue,hoverRangedValue:prefixColumn?null:hoverRangedValue,isSameCell:function isSameCell(current,target){return isSameDate(generateConfig,current,target)},isInView:function isInView(date){return isSameMonth(generateConfig,date,viewDate)},offsetCell:function offsetCell(date,offset){return generateConfig.addDate(date,offset)}}),getCellNode=dateRender?function(date){return dateRender(date,today)}:void 0;return react.createElement(PanelBody,(0,esm_extends.Z)({},props,{rowNum:rowCount,colNum:7,baseDate,getCellNode,getCellText:generateConfig.getDate,getCellClassName,getCellDate:generateConfig.addDate,titleCell:function titleCell(date){return formatValue(date,{locale,format:"YYYY-MM-DD",generateConfig})},headerCells}))};const DatePanel_DateHeader=function DateHeader(props){var prefixCls=props.prefixCls,generateConfig=props.generateConfig,locale=props.locale,viewDate=props.viewDate,onNextMonth=props.onNextMonth,onPrevMonth=props.onPrevMonth,onNextYear=props.onNextYear,onPrevYear=props.onPrevYear,onYearClick=props.onYearClick,onMonthClick=props.onMonthClick;if(react.useContext(es_PanelContext).hideHeader)return null;var headerPrefixCls="".concat(prefixCls,"-header"),monthsLocale=locale.shortMonths||(generateConfig.locale.getShortMonths?generateConfig.locale.getShortMonths(locale.locale):[]),month=generateConfig.getMonth(viewDate),yearNode=react.createElement("button",{type:"button",key:"year",onClick:onYearClick,tabIndex:-1,className:"".concat(prefixCls,"-year-btn")},formatValue(viewDate,{locale,format:locale.yearFormat,generateConfig})),monthNode=react.createElement("button",{type:"button",key:"month",onClick:onMonthClick,tabIndex:-1,className:"".concat(prefixCls,"-month-btn")},locale.monthFormat?formatValue(viewDate,{locale,format:locale.monthFormat,generateConfig}):monthsLocale[month]),monthYearNodes=locale.monthBeforeYear?[monthNode,yearNode]:[yearNode,monthNode];return react.createElement(panels_Header,(0,esm_extends.Z)({},props,{prefixCls:headerPrefixCls,onSuperPrev:onPrevYear,onPrev:onPrevMonth,onNext:onNextMonth,onSuperNext:onNextYear}),monthYearNodes)};const panels_DatePanel=function DatePanel(props){var prefixCls=props.prefixCls,_props$panelName=props.panelName,panelName=void 0===_props$panelName?"date":_props$panelName,keyboardConfig=props.keyboardConfig,active=props.active,operationRef=props.operationRef,generateConfig=props.generateConfig,value=props.value,viewDate=props.viewDate,onViewDateChange=props.onViewDateChange,onPanelChange=props.onPanelChange,_onSelect=props.onSelect,panelPrefixCls="".concat(prefixCls,"-").concat(panelName,"-panel");operationRef.current={onKeyDown:function onKeyDown(event){return createKeyDownHandler(event,(0,objectSpread2.Z)({onLeftRight:function onLeftRight(diff){_onSelect(generateConfig.addDate(value||viewDate,diff),"key")},onCtrlLeftRight:function onCtrlLeftRight(diff){_onSelect(generateConfig.addYear(value||viewDate,diff),"key")},onUpDown:function onUpDown(diff){_onSelect(generateConfig.addDate(value||viewDate,7*diff),"key")},onPageUpDown:function onPageUpDown(diff){_onSelect(generateConfig.addMonth(value||viewDate,diff),"key")}},keyboardConfig))}};var onYearChange=function onYearChange(diff){var newDate=generateConfig.addYear(viewDate,diff);onViewDateChange(newDate),onPanelChange(null,newDate)},onMonthChange=function onMonthChange(diff){var newDate=generateConfig.addMonth(viewDate,diff);onViewDateChange(newDate),onPanelChange(null,newDate)};return react.createElement("div",{className:classnames_default()(panelPrefixCls,(0,defineProperty.Z)({},"".concat(panelPrefixCls,"-active"),active))},react.createElement(DatePanel_DateHeader,(0,esm_extends.Z)({},props,{prefixCls,value,viewDate,onPrevYear:function onPrevYear(){onYearChange(-1)},onNextYear:function onNextYear(){onYearChange(1)},onPrevMonth:function onPrevMonth(){onMonthChange(-1)},onNextMonth:function onNextMonth(){onMonthChange(1)},onMonthClick:function onMonthClick(){onPanelChange("month",viewDate)},onYearClick:function onYearClick(){onPanelChange("year",viewDate)}})),react.createElement(DatePanel_DateBody,(0,esm_extends.Z)({},props,{onSelect:function onSelect(date){return _onSelect(date,"mouse")},prefixCls,value,viewDate,rowCount:6})))};var ACTIVE_PANEL=function tuple(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return args}("date","time");const panels_DatetimePanel=function DatetimePanel(props){var prefixCls=props.prefixCls,operationRef=props.operationRef,generateConfig=props.generateConfig,value=props.value,defaultValue=props.defaultValue,disabledTime=props.disabledTime,showTime=props.showTime,onSelect=props.onSelect,panelPrefixCls="".concat(prefixCls,"-datetime-panel"),_React$useState=react.useState(null),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),activePanel=_React$useState2[0],setActivePanel=_React$useState2[1],dateOperationRef=react.useRef({}),timeOperationRef=react.useRef({}),timeProps="object"===(0,esm_typeof.Z)(showTime)?(0,objectSpread2.Z)({},showTime):{},onBlur=function onBlur(e){timeOperationRef.current.onBlur&&timeOperationRef.current.onBlur(e),setActivePanel(null)};operationRef.current={onKeyDown:function onKeyDown(event){if(event.which===KeyCode.Z.TAB){var nextActivePanel=function getNextActive(offset){var activeIndex=ACTIVE_PANEL.indexOf(activePanel)+offset;return ACTIVE_PANEL[activeIndex]||null}(event.shiftKey?-1:1);return setActivePanel(nextActivePanel),nextActivePanel&&event.preventDefault(),!0}if(activePanel){var ref="date"===activePanel?dateOperationRef:timeOperationRef;return ref.current&&ref.current.onKeyDown&&ref.current.onKeyDown(event),!0}return!![KeyCode.Z.LEFT,KeyCode.Z.RIGHT,KeyCode.Z.UP,KeyCode.Z.DOWN].includes(event.which)&&(setActivePanel("date"),!0)},onBlur,onClose:onBlur};var onInternalSelect=function onInternalSelect(date,source){var selectedDate=date;"date"===source&&!value&&timeProps.defaultValue?(selectedDate=generateConfig.setHour(selectedDate,generateConfig.getHour(timeProps.defaultValue)),selectedDate=generateConfig.setMinute(selectedDate,generateConfig.getMinute(timeProps.defaultValue)),selectedDate=generateConfig.setSecond(selectedDate,generateConfig.getSecond(timeProps.defaultValue))):"time"===source&&!value&&defaultValue&&(selectedDate=generateConfig.setYear(selectedDate,generateConfig.getYear(defaultValue)),selectedDate=generateConfig.setMonth(selectedDate,generateConfig.getMonth(defaultValue)),selectedDate=generateConfig.setDate(selectedDate,generateConfig.getDate(defaultValue))),onSelect&&onSelect(selectedDate,"mouse")},disabledTimes=disabledTime?disabledTime(value||null):{};return react.createElement("div",{className:classnames_default()(panelPrefixCls,(0,defineProperty.Z)({},"".concat(panelPrefixCls,"-active"),activePanel))},react.createElement(panels_DatePanel,(0,esm_extends.Z)({},props,{operationRef:dateOperationRef,active:"date"===activePanel,onSelect:function onSelect(date){onInternalSelect(setDateTime(generateConfig,date,value||"object"!==(0,esm_typeof.Z)(showTime)?null:showTime.defaultValue),"date")}})),react.createElement(panels_TimePanel,(0,esm_extends.Z)({},props,{format:void 0},timeProps,disabledTimes,{disabledTime:null,defaultValue:void 0,operationRef:timeOperationRef,active:"time"===activePanel,onSelect:function onSelect(date){onInternalSelect(date,"time")}})))};const panels_WeekPanel=function WeekPanel(props){var prefixCls=props.prefixCls,generateConfig=props.generateConfig,locale=props.locale,value=props.value,cellPrefixCls="".concat(prefixCls,"-cell"),rowPrefixCls="".concat(prefixCls,"-week-panel-row");return react.createElement(panels_DatePanel,(0,esm_extends.Z)({},props,{panelName:"week",prefixColumn:function prefixColumn(date){return react.createElement("td",{key:"week",className:classnames_default()(cellPrefixCls,"".concat(cellPrefixCls,"-week"))},generateConfig.locale.getWeek(locale.locale,date))},rowClassName:function rowClassName(date){return classnames_default()(rowPrefixCls,(0,defineProperty.Z)({},"".concat(rowPrefixCls,"-selected"),isSameWeek(generateConfig,locale.locale,value,date)))},keyboardConfig:{onLeftRight:null}}))};const MonthPanel_MonthHeader=function MonthHeader(props){var prefixCls=props.prefixCls,generateConfig=props.generateConfig,locale=props.locale,viewDate=props.viewDate,onNextYear=props.onNextYear,onPrevYear=props.onPrevYear,onYearClick=props.onYearClick;if(react.useContext(es_PanelContext).hideHeader)return null;var headerPrefixCls="".concat(prefixCls,"-header");return react.createElement(panels_Header,(0,esm_extends.Z)({},props,{prefixCls:headerPrefixCls,onSuperPrev:onPrevYear,onSuperNext:onNextYear}),react.createElement("button",{type:"button",onClick:onYearClick,className:"".concat(prefixCls,"-year-btn")},formatValue(viewDate,{locale,format:locale.yearFormat,generateConfig})))};const MonthPanel_MonthBody=function MonthBody(props){var prefixCls=props.prefixCls,locale=props.locale,value=props.value,viewDate=props.viewDate,generateConfig=props.generateConfig,monthCellRender=props.monthCellRender,_React$useContext=react.useContext(es_RangeContext),rangedValue=_React$useContext.rangedValue,hoverRangedValue=_React$useContext.hoverRangedValue,getCellClassName=useCellClassName({cellPrefixCls:"".concat(prefixCls,"-cell"),value,generateConfig,rangedValue,hoverRangedValue,isSameCell:function isSameCell(current,target){return isSameMonth(generateConfig,current,target)},isInView:function isInView(){return!0},offsetCell:function offsetCell(date,offset){return generateConfig.addMonth(date,offset)}}),monthsLocale=locale.shortMonths||(generateConfig.locale.getShortMonths?generateConfig.locale.getShortMonths(locale.locale):[]),baseMonth=generateConfig.setMonth(viewDate,0),getCellNode=monthCellRender?function(date){return monthCellRender(date,locale)}:void 0;return react.createElement(PanelBody,(0,esm_extends.Z)({},props,{rowNum:4,colNum:3,baseDate:baseMonth,getCellNode,getCellText:function getCellText(date){return locale.monthFormat?formatValue(date,{locale,format:locale.monthFormat,generateConfig}):monthsLocale[generateConfig.getMonth(date)]},getCellClassName,getCellDate:generateConfig.addMonth,titleCell:function titleCell(date){return formatValue(date,{locale,format:"YYYY-MM",generateConfig})}}))};const panels_MonthPanel=function MonthPanel(props){var prefixCls=props.prefixCls,operationRef=props.operationRef,onViewDateChange=props.onViewDateChange,generateConfig=props.generateConfig,value=props.value,viewDate=props.viewDate,onPanelChange=props.onPanelChange,_onSelect=props.onSelect,panelPrefixCls="".concat(prefixCls,"-month-panel");operationRef.current={onKeyDown:function onKeyDown(event){return createKeyDownHandler(event,{onLeftRight:function onLeftRight(diff){_onSelect(generateConfig.addMonth(value||viewDate,diff),"key")},onCtrlLeftRight:function onCtrlLeftRight(diff){_onSelect(generateConfig.addYear(value||viewDate,diff),"key")},onUpDown:function onUpDown(diff){_onSelect(generateConfig.addMonth(value||viewDate,3*diff),"key")},onEnter:function onEnter(){onPanelChange("date",value||viewDate)}})}};var onYearChange=function onYearChange(diff){var newDate=generateConfig.addYear(viewDate,diff);onViewDateChange(newDate),onPanelChange(null,newDate)};return react.createElement("div",{className:panelPrefixCls},react.createElement(MonthPanel_MonthHeader,(0,esm_extends.Z)({},props,{prefixCls,onPrevYear:function onPrevYear(){onYearChange(-1)},onNextYear:function onNextYear(){onYearChange(1)},onYearClick:function onYearClick(){onPanelChange("year",viewDate)}})),react.createElement(MonthPanel_MonthBody,(0,esm_extends.Z)({},props,{prefixCls,onSelect:function onSelect(date){_onSelect(date,"mouse"),onPanelChange("date",date)}})))};const QuarterPanel_QuarterHeader=function QuarterHeader(props){var prefixCls=props.prefixCls,generateConfig=props.generateConfig,locale=props.locale,viewDate=props.viewDate,onNextYear=props.onNextYear,onPrevYear=props.onPrevYear,onYearClick=props.onYearClick;if(react.useContext(es_PanelContext).hideHeader)return null;var headerPrefixCls="".concat(prefixCls,"-header");return react.createElement(panels_Header,(0,esm_extends.Z)({},props,{prefixCls:headerPrefixCls,onSuperPrev:onPrevYear,onSuperNext:onNextYear}),react.createElement("button",{type:"button",onClick:onYearClick,className:"".concat(prefixCls,"-year-btn")},formatValue(viewDate,{locale,format:locale.yearFormat,generateConfig})))};const QuarterPanel_QuarterBody=function QuarterBody(props){var prefixCls=props.prefixCls,locale=props.locale,value=props.value,viewDate=props.viewDate,generateConfig=props.generateConfig,_React$useContext=react.useContext(es_RangeContext),rangedValue=_React$useContext.rangedValue,hoverRangedValue=_React$useContext.hoverRangedValue,getCellClassName=useCellClassName({cellPrefixCls:"".concat(prefixCls,"-cell"),value,generateConfig,rangedValue,hoverRangedValue,isSameCell:function isSameCell(current,target){return isSameQuarter(generateConfig,current,target)},isInView:function isInView(){return!0},offsetCell:function offsetCell(date,offset){return generateConfig.addMonth(date,3*offset)}}),baseQuarter=generateConfig.setDate(generateConfig.setMonth(viewDate,0),1);return react.createElement(PanelBody,(0,esm_extends.Z)({},props,{rowNum:1,colNum:4,baseDate:baseQuarter,getCellText:function getCellText(date){return formatValue(date,{locale,format:locale.quarterFormat||"[Q]Q",generateConfig})},getCellClassName,getCellDate:function getCellDate(date,offset){return generateConfig.addMonth(date,3*offset)},titleCell:function titleCell(date){return formatValue(date,{locale,format:"YYYY-[Q]Q",generateConfig})}}))};const panels_QuarterPanel=function QuarterPanel(props){var prefixCls=props.prefixCls,operationRef=props.operationRef,onViewDateChange=props.onViewDateChange,generateConfig=props.generateConfig,value=props.value,viewDate=props.viewDate,onPanelChange=props.onPanelChange,_onSelect=props.onSelect,panelPrefixCls="".concat(prefixCls,"-quarter-panel");operationRef.current={onKeyDown:function onKeyDown(event){return createKeyDownHandler(event,{onLeftRight:function onLeftRight(diff){_onSelect(generateConfig.addMonth(value||viewDate,3*diff),"key")},onCtrlLeftRight:function onCtrlLeftRight(diff){_onSelect(generateConfig.addYear(value||viewDate,diff),"key")},onUpDown:function onUpDown(diff){_onSelect(generateConfig.addYear(value||viewDate,diff),"key")}})}};var onYearChange=function onYearChange(diff){var newDate=generateConfig.addYear(viewDate,diff);onViewDateChange(newDate),onPanelChange(null,newDate)};return react.createElement("div",{className:panelPrefixCls},react.createElement(QuarterPanel_QuarterHeader,(0,esm_extends.Z)({},props,{prefixCls,onPrevYear:function onPrevYear(){onYearChange(-1)},onNextYear:function onNextYear(){onYearChange(1)},onYearClick:function onYearClick(){onPanelChange("year",viewDate)}})),react.createElement(QuarterPanel_QuarterBody,(0,esm_extends.Z)({},props,{prefixCls,onSelect:function onSelect(date){_onSelect(date,"mouse")}})))};const YearPanel_YearHeader=function YearHeader(props){var prefixCls=props.prefixCls,generateConfig=props.generateConfig,viewDate=props.viewDate,onPrevDecade=props.onPrevDecade,onNextDecade=props.onNextDecade,onDecadeClick=props.onDecadeClick;if(react.useContext(es_PanelContext).hideHeader)return null;var headerPrefixCls="".concat(prefixCls,"-header"),yearNumber=generateConfig.getYear(viewDate),startYear=Math.floor(yearNumber/YEAR_DECADE_COUNT)*YEAR_DECADE_COUNT,endYear=startYear+YEAR_DECADE_COUNT-1;return react.createElement(panels_Header,(0,esm_extends.Z)({},props,{prefixCls:headerPrefixCls,onSuperPrev:onPrevDecade,onSuperNext:onNextDecade}),react.createElement("button",{type:"button",onClick:onDecadeClick,className:"".concat(prefixCls,"-decade-btn")},startYear,"-",endYear))};const YearPanel_YearBody=function YearBody(props){var prefixCls=props.prefixCls,value=props.value,viewDate=props.viewDate,locale=props.locale,generateConfig=props.generateConfig,_React$useContext=react.useContext(es_RangeContext),rangedValue=_React$useContext.rangedValue,hoverRangedValue=_React$useContext.hoverRangedValue,yearPrefixCls="".concat(prefixCls,"-cell"),yearNumber=generateConfig.getYear(viewDate),startYear=Math.floor(yearNumber/YEAR_DECADE_COUNT)*YEAR_DECADE_COUNT,endYear=startYear+YEAR_DECADE_COUNT-1,baseYear=generateConfig.setYear(viewDate,startYear-Math.ceil((12-YEAR_DECADE_COUNT)/2)),getCellClassName=useCellClassName({cellPrefixCls:yearPrefixCls,value,generateConfig,rangedValue,hoverRangedValue,isSameCell:function isSameCell(current,target){return isSameYear(generateConfig,current,target)},isInView:function isInView(date){var currentYearNumber=generateConfig.getYear(date);return startYear<=currentYearNumber&¤tYearNumber<=endYear},offsetCell:function offsetCell(date,offset){return generateConfig.addYear(date,offset)}});return react.createElement(PanelBody,(0,esm_extends.Z)({},props,{rowNum:4,colNum:3,baseDate:baseYear,getCellText:generateConfig.getYear,getCellClassName,getCellDate:generateConfig.addYear,titleCell:function titleCell(date){return formatValue(date,{locale,format:"YYYY",generateConfig})}}))};var YEAR_DECADE_COUNT=10;const panels_YearPanel=function YearPanel(props){var prefixCls=props.prefixCls,operationRef=props.operationRef,onViewDateChange=props.onViewDateChange,generateConfig=props.generateConfig,value=props.value,viewDate=props.viewDate,sourceMode=props.sourceMode,_onSelect=props.onSelect,onPanelChange=props.onPanelChange,panelPrefixCls="".concat(prefixCls,"-year-panel");operationRef.current={onKeyDown:function onKeyDown(event){return createKeyDownHandler(event,{onLeftRight:function onLeftRight(diff){_onSelect(generateConfig.addYear(value||viewDate,diff),"key")},onCtrlLeftRight:function onCtrlLeftRight(diff){_onSelect(generateConfig.addYear(value||viewDate,diff*YEAR_DECADE_COUNT),"key")},onUpDown:function onUpDown(diff){_onSelect(generateConfig.addYear(value||viewDate,3*diff),"key")},onEnter:function onEnter(){onPanelChange("date"===sourceMode?"date":"month",value||viewDate)}})}};var onDecadeChange=function onDecadeChange(diff){var newDate=generateConfig.addYear(viewDate,10*diff);onViewDateChange(newDate),onPanelChange(null,newDate)};return react.createElement("div",{className:panelPrefixCls},react.createElement(YearPanel_YearHeader,(0,esm_extends.Z)({},props,{prefixCls,onPrevDecade:function onPrevDecade(){onDecadeChange(-1)},onNextDecade:function onNextDecade(){onDecadeChange(1)},onDecadeClick:function onDecadeClick(){onPanelChange("decade",viewDate)}})),react.createElement(YearPanel_YearBody,(0,esm_extends.Z)({},props,{prefixCls,onSelect:function onSelect(date){onPanelChange("date"===sourceMode?"date":"month",date),_onSelect(date,"mouse")}})))};function getExtraFooter(prefixCls,mode,renderExtraFooter){return renderExtraFooter?react.createElement("div",{className:"".concat(prefixCls,"-footer-extra")},renderExtraFooter(mode)):null}function getRanges(_ref){var presetNode,okNode,prefixCls=_ref.prefixCls,_ref$rangeList=_ref.rangeList,rangeList=void 0===_ref$rangeList?[]:_ref$rangeList,_ref$components=_ref.components,components=void 0===_ref$components?{}:_ref$components,needConfirmButton=_ref.needConfirmButton,onNow=_ref.onNow,onOk=_ref.onOk,okDisabled=_ref.okDisabled,showNow=_ref.showNow,locale=_ref.locale;if(rangeList.length){var Item=components.rangeItem||"span";presetNode=react.createElement(react.Fragment,null,rangeList.map((function(_ref2){var label=_ref2.label,onClick=_ref2.onClick,onMouseEnter=_ref2.onMouseEnter,onMouseLeave=_ref2.onMouseLeave;return react.createElement("li",{key:label,className:"".concat(prefixCls,"-preset")},react.createElement(Item,{onClick,onMouseEnter,onMouseLeave},label))})))}if(needConfirmButton){var Button=components.button||"button";onNow&&!presetNode&&!1!==showNow&&(presetNode=react.createElement("li",{className:"".concat(prefixCls,"-now")},react.createElement("a",{className:"".concat(prefixCls,"-now-btn"),onClick:onNow},locale.now))),okNode=needConfirmButton&&react.createElement("li",{className:"".concat(prefixCls,"-ok")},react.createElement(Button,{disabled:okDisabled,onClick:onOk},locale.ok))}return presetNode||okNode?react.createElement("ul",{className:"".concat(prefixCls,"-ranges")},presetNode,okNode):null}const es_PickerPanel=function PickerPanel(props){var _classNames,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-picker":_props$prefixCls,className=props.className,style=props.style,locale=props.locale,generateConfig=props.generateConfig,value=props.value,defaultValue=props.defaultValue,pickerValue=props.pickerValue,defaultPickerValue=props.defaultPickerValue,disabledDate=props.disabledDate,mode=props.mode,_props$picker=props.picker,picker=void 0===_props$picker?"date":_props$picker,_props$tabIndex=props.tabIndex,tabIndex=void 0===_props$tabIndex?0:_props$tabIndex,showNow=props.showNow,showTime=props.showTime,showToday=props.showToday,renderExtraFooter=props.renderExtraFooter,hideHeader=props.hideHeader,onSelect=props.onSelect,onChange=props.onChange,onPanelChange=props.onPanelChange,onMouseDown=props.onMouseDown,onPickerValueChange=props.onPickerValueChange,_onOk=props.onOk,components=props.components,direction=props.direction,_props$hourStep=props.hourStep,hourStep=void 0===_props$hourStep?1:_props$hourStep,_props$minuteStep=props.minuteStep,minuteStep=void 0===_props$minuteStep?1:_props$minuteStep,_props$secondStep=props.secondStep,secondStep=void 0===_props$secondStep?1:_props$secondStep,needConfirmButton="date"===picker&&!!showTime||"time"===picker,isHourStepValid=24%hourStep==0,isMinuteStepValid=60%minuteStep==0,isSecondStepValid=60%secondStep==0,panelContext=react.useContext(es_PanelContext),operationRef=panelContext.operationRef,panelDivRef=panelContext.panelRef,onContextSelect=panelContext.onSelect,hideRanges=panelContext.hideRanges,defaultOpenValue=panelContext.defaultOpenValue,_React$useContext=react.useContext(es_RangeContext),inRange=_React$useContext.inRange,panelPosition=_React$useContext.panelPosition,rangedValue=_React$useContext.rangedValue,hoverRangedValue=_React$useContext.hoverRangedValue,panelRef=react.useRef({}),initRef=react.useRef(!0),_useMergedState=(0,useMergedState.Z)(null,{value,defaultValue,postState:function postState(val){return!val&&defaultOpenValue&&"time"===picker?defaultOpenValue:val}}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),mergedValue=_useMergedState2[0],setInnerValue=_useMergedState2[1],_useMergedState3=(0,useMergedState.Z)(null,{value:pickerValue,defaultValue:defaultPickerValue||mergedValue,postState:function postState(date){var now=generateConfig.getNow();return date?!mergedValue&&showTime?"object"===(0,esm_typeof.Z)(showTime)?setDateTime(generateConfig,Array.isArray(date)?date[0]:date,showTime.defaultValue||now):setDateTime(generateConfig,Array.isArray(date)?date[0]:date,defaultValue||now):date:now}}),_useMergedState4=(0,slicedToArray.Z)(_useMergedState3,2),viewDate=_useMergedState4[0],setInnerViewDate=_useMergedState4[1],setViewDate=function setViewDate(date){setInnerViewDate(date),onPickerValueChange&&onPickerValueChange(date)},getInternalNextMode=function getInternalNextMode(nextMode){var getNextMode=PickerModeMap[picker];return getNextMode?getNextMode(nextMode):nextMode},_useMergedState5=(0,useMergedState.Z)((function(){return"time"===picker?"time":getInternalNextMode("date")}),{value:mode}),_useMergedState6=(0,slicedToArray.Z)(_useMergedState5,2),mergedMode=_useMergedState6[0],setInnerMode=_useMergedState6[1];react.useEffect((function(){setInnerMode(picker)}),[picker]);var panelNode,_React$useState=react.useState((function(){return mergedMode})),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),sourceMode=_React$useState2[0],setSourceMode=_React$useState2[1],triggerSelect=function triggerSelect(date,type){var forceTriggerSelect=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(mergedMode===picker||forceTriggerSelect)&&(setInnerValue(date),onSelect&&onSelect(date),onContextSelect&&onContextSelect(date,type),!onChange||isEqual(generateConfig,date,mergedValue)||(null==disabledDate?void 0:disabledDate(date))||onChange(date))},onInternalKeyDown=function onInternalKeyDown(e){return panelRef.current&&panelRef.current.onKeyDown?([KeyCode.Z.LEFT,KeyCode.Z.RIGHT,KeyCode.Z.UP,KeyCode.Z.DOWN,KeyCode.Z.PAGE_UP,KeyCode.Z.PAGE_DOWN,KeyCode.Z.ENTER].includes(e.which)&&e.preventDefault(),panelRef.current.onKeyDown(e)):((0,es_warning.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)};operationRef&&"right"!==panelPosition&&(operationRef.current={onKeyDown:onInternalKeyDown,onClose:function onClose(){panelRef.current&&panelRef.current.onClose&&panelRef.current.onClose()}}),react.useEffect((function(){value&&!initRef.current&&setInnerViewDate(value)}),[value]),react.useEffect((function(){initRef.current=!1}),[]);var extraFooter,rangesNode,todayNode,pickerProps=(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{operationRef:panelRef,prefixCls,viewDate,value:mergedValue,onViewDateChange:setViewDate,sourceMode,onPanelChange:function onInternalPanelChange(newMode,viewValue){var nextMode=getInternalNextMode(newMode||mergedMode);setSourceMode(mergedMode),setInnerMode(nextMode),onPanelChange&&(mergedMode!==nextMode||isEqual(generateConfig,viewDate,viewDate))&&onPanelChange(viewValue,nextMode)},disabledDate});switch(delete pickerProps.onChange,delete pickerProps.onSelect,mergedMode){case"decade":panelNode=react.createElement(panels_DecadePanel,(0,esm_extends.Z)({},pickerProps,{onSelect:function onSelect(date,type){setViewDate(date),triggerSelect(date,type)}}));break;case"year":panelNode=react.createElement(panels_YearPanel,(0,esm_extends.Z)({},pickerProps,{onSelect:function onSelect(date,type){setViewDate(date),triggerSelect(date,type)}}));break;case"month":panelNode=react.createElement(panels_MonthPanel,(0,esm_extends.Z)({},pickerProps,{onSelect:function onSelect(date,type){setViewDate(date),triggerSelect(date,type)}}));break;case"quarter":panelNode=react.createElement(panels_QuarterPanel,(0,esm_extends.Z)({},pickerProps,{onSelect:function onSelect(date,type){setViewDate(date),triggerSelect(date,type)}}));break;case"week":panelNode=react.createElement(panels_WeekPanel,(0,esm_extends.Z)({},pickerProps,{onSelect:function onSelect(date,type){setViewDate(date),triggerSelect(date,type)}}));break;case"time":delete pickerProps.showTime,panelNode=react.createElement(panels_TimePanel,(0,esm_extends.Z)({},pickerProps,"object"===(0,esm_typeof.Z)(showTime)?showTime:null,{onSelect:function onSelect(date,type){setViewDate(date),triggerSelect(date,type)}}));break;default:panelNode=showTime?react.createElement(panels_DatetimePanel,(0,esm_extends.Z)({},pickerProps,{onSelect:function onSelect(date,type){setViewDate(date),triggerSelect(date,type)}})):react.createElement(panels_DatePanel,(0,esm_extends.Z)({},pickerProps,{onSelect:function onSelect(date,type){setViewDate(date),triggerSelect(date,type)}}))}if(hideRanges||(extraFooter=getExtraFooter(prefixCls,mergedMode,renderExtraFooter),rangesNode=getRanges({prefixCls,components,needConfirmButton,okDisabled:!mergedValue||disabledDate&&disabledDate(mergedValue),locale,showNow,onNow:needConfirmButton&&function onNow(){var now=generateConfig.getNow(),lowerBoundTime=function getLowerBoundTime(hour,minute,second,hourStep,minuteStep,secondStep){var lowerBoundHour=Math.floor(hour/hourStep)*hourStep;if(lowerBoundHour<hour)return[lowerBoundHour,60-minuteStep,60-secondStep];var lowerBoundMinute=Math.floor(minute/minuteStep)*minuteStep;return lowerBoundMinute<minute?[lowerBoundHour,lowerBoundMinute,60-secondStep]:[lowerBoundHour,lowerBoundMinute,Math.floor(second/secondStep)*secondStep]}(generateConfig.getHour(now),generateConfig.getMinute(now),generateConfig.getSecond(now),isHourStepValid?hourStep:1,isMinuteStepValid?minuteStep:1,isSecondStepValid?secondStep:1),adjustedNow=timeUtil_setTime(generateConfig,now,lowerBoundTime[0],lowerBoundTime[1],lowerBoundTime[2]);triggerSelect(adjustedNow,"submit")},onOk:function onOk(){mergedValue&&(triggerSelect(mergedValue,"submit",!0),_onOk&&_onOk(mergedValue))}})),showToday&&"date"===mergedMode&&"date"===picker&&!showTime){var now=generateConfig.getNow(),todayCls="".concat(prefixCls,"-today-btn"),disabled=disabledDate&&disabledDate(now);todayNode=react.createElement("a",{className:classnames_default()(todayCls,disabled&&"".concat(todayCls,"-disabled")),"aria-disabled":disabled,onClick:function onClick(){disabled||triggerSelect(now,"mouse",!0)}},locale.today)}return react.createElement(es_PanelContext.Provider,{value:(0,objectSpread2.Z)((0,objectSpread2.Z)({},panelContext),{},{mode:mergedMode,hideHeader:"hideHeader"in props?hideHeader:panelContext.hideHeader,hidePrevBtn:inRange&&"right"===panelPosition,hideNextBtn:inRange&&"left"===panelPosition})},react.createElement("div",{tabIndex,className:classnames_default()("".concat(prefixCls,"-panel"),className,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-panel-has-range"),rangedValue&&rangedValue[0]&&rangedValue[1]),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-panel-has-range-hover"),hoverRangedValue&&hoverRangedValue[0]&&hoverRangedValue[1]),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-panel-rtl"),"rtl"===direction),_classNames)),style,onKeyDown:onInternalKeyDown,onBlur:function onInternalBlur(e){panelRef.current&&panelRef.current.onBlur&&panelRef.current.onBlur(e)},onMouseDown,ref:panelDivRef},panelNode,extraFooter||rangesNode||todayNode?react.createElement("div",{className:"".concat(prefixCls,"-footer")},extraFooter,rangesNode,todayNode):null))};var es=__webpack_require__("./node_modules/rc-trigger/es/index.js"),BUILT_IN_PLACEMENTS={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};const es_PickerTrigger=function PickerTrigger(_ref){var _classNames,prefixCls=_ref.prefixCls,popupElement=_ref.popupElement,popupStyle=_ref.popupStyle,visible=_ref.visible,dropdownClassName=_ref.dropdownClassName,dropdownAlign=_ref.dropdownAlign,transitionName=_ref.transitionName,getPopupContainer=_ref.getPopupContainer,children=_ref.children,range=_ref.range,popupPlacement=_ref.popupPlacement,direction=_ref.direction,dropdownPrefixCls="".concat(prefixCls,"-dropdown");return react.createElement(es.Z,{showAction:[],hideAction:[],popupPlacement:function getPopupPlacement(){return void 0!==popupPlacement?popupPlacement:"rtl"===direction?"bottomRight":"bottomLeft"}(),builtinPlacements:BUILT_IN_PLACEMENTS,prefixCls:dropdownPrefixCls,popupTransitionName:transitionName,popup:popupElement,popupAlign:dropdownAlign,popupVisible:visible,popupClassName:classnames_default()(dropdownClassName,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(dropdownPrefixCls,"-range"),range),(0,defineProperty.Z)(_classNames,"".concat(dropdownPrefixCls,"-rtl"),"rtl"===direction),_classNames)),popupStyle,getPopupContainer},children)};function usePickerInput(_ref){var open=_ref.open,value=_ref.value,isClickOutside=_ref.isClickOutside,triggerOpen=_ref.triggerOpen,forwardKeyDown=_ref.forwardKeyDown,_onKeyDown=_ref.onKeyDown,blurToCancel=_ref.blurToCancel,onSubmit=_ref.onSubmit,onCancel=_ref.onCancel,_onFocus=_ref.onFocus,_onBlur=_ref.onBlur,_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),typing=_useState2[0],setTyping=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),focused=_useState4[0],setFocused=_useState4[1],preventBlurRef=(0,react.useRef)(!1),valueChangedRef=(0,react.useRef)(!1),preventDefaultRef=(0,react.useRef)(!1),inputProps={onMouseDown:function onMouseDown(){setTyping(!0),triggerOpen(!0)},onKeyDown:function onKeyDown(e){if(_onKeyDown(e,(function preventDefault(){preventDefaultRef.current=!0})),!preventDefaultRef.current){switch(e.which){case KeyCode.Z.ENTER:return open?!1!==onSubmit()&&setTyping(!0):triggerOpen(!0),void e.preventDefault();case KeyCode.Z.TAB:return void(typing&&open&&!e.shiftKey?(setTyping(!1),e.preventDefault()):!typing&&open&&!forwardKeyDown(e)&&e.shiftKey&&(setTyping(!0),e.preventDefault()));case KeyCode.Z.ESC:return setTyping(!0),void onCancel()}open||[KeyCode.Z.SHIFT].includes(e.which)?typing||forwardKeyDown(e):triggerOpen(!0)}},onFocus:function onFocus(e){setTyping(!0),setFocused(!0),_onFocus&&_onFocus(e)},onBlur:function onBlur(e){!preventBlurRef.current&&isClickOutside(document.activeElement)?(blurToCancel?setTimeout((function(){for(var activeElement=document.activeElement;activeElement&&activeElement.shadowRoot;)activeElement=activeElement.shadowRoot.activeElement;isClickOutside(activeElement)&&onCancel()}),0):open&&(triggerOpen(!1),valueChangedRef.current&&onSubmit()),setFocused(!1),_onBlur&&_onBlur(e)):preventBlurRef.current=!1}};return(0,react.useEffect)((function(){valueChangedRef.current=!1}),[open]),(0,react.useEffect)((function(){valueChangedRef.current=!0}),[value]),(0,react.useEffect)((function(){return function addGlobalMouseDownEvent(callback){return!globalClickFunc&&"undefined"!=typeof window&&window.addEventListener&&(globalClickFunc=function globalClickFunc(e){(0,toConsumableArray.Z)(clickCallbacks).forEach((function(queueFunc){queueFunc(e)}))},window.addEventListener("mousedown",globalClickFunc)),clickCallbacks.add(callback),function(){clickCallbacks.delete(callback),0===clickCallbacks.size&&(window.removeEventListener("mousedown",globalClickFunc),globalClickFunc=null)}}((function(e){var target=function getTargetFromEvent(e){var _e$composedPath,target=e.target;return e.composed&&target.shadowRoot&&(null===(_e$composedPath=e.composedPath)||void 0===_e$composedPath?void 0:_e$composedPath.call(e)[0])||target}(e);if(open){var clickedOutside=isClickOutside(target);clickedOutside?focused&&!clickedOutside||triggerOpen(!1):(preventBlurRef.current=!0,requestAnimationFrame((function(){preventBlurRef.current=!1})))}}))})),[inputProps,{focused,typing}]}function useTextValueMapping(_ref){var valueTexts=_ref.valueTexts,onTextChange=_ref.onTextChange,_React$useState=react.useState(""),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),text=_React$useState2[0],setInnerText=_React$useState2[1],valueTextsRef=react.useRef([]);function resetText(){setInnerText(valueTextsRef.current[0])}return valueTextsRef.current=valueTexts,react.useEffect((function(){valueTexts.every((function(valText){return valText!==text}))&&resetText()}),[valueTexts.join("||")]),[text,function triggerTextChange(value){setInnerText(value),onTextChange(value)},resetText]}var shallowequal=__webpack_require__("./node_modules/shallowequal/index.js"),shallowequal_default=__webpack_require__.n(shallowequal);function useValueTexts(value,_ref){var formatList=_ref.formatList,generateConfig=_ref.generateConfig,locale=_ref.locale;return(0,useMemo.Z)((function(){if(!value)return[[""],""];for(var firstValueText="",fullValueTexts=[],i=0;i<formatList.length;i+=1){var format=formatList[i],formatStr=formatValue(value,{generateConfig,locale,format});fullValueTexts.push(formatStr),0===i&&(firstValueText=formatStr)}return[fullValueTexts,firstValueText]}),[value,formatList],(function(prev,next){return prev[0]!==next[0]||!shallowequal_default()(prev[1],next[1])}))}function useHoverValue(valueText,_ref){var formatList=_ref.formatList,generateConfig=_ref.generateConfig,locale=_ref.locale,_useState=(0,react.useState)(null),_useState2=(0,slicedToArray.Z)(_useState,2),value=_useState2[0],internalSetValue=_useState2[1],raf=(0,react.useRef)(null);function setValue(val){var immediately=arguments.length>1&&void 0!==arguments[1]&&arguments[1];cancelAnimationFrame(raf.current),immediately?internalSetValue(val):raf.current=requestAnimationFrame((function(){internalSetValue(val)}))}var _useValueTexts=useValueTexts(value,{formatList,generateConfig,locale}),firstText=(0,slicedToArray.Z)(_useValueTexts,2)[1];function onLeave(){var immediately=arguments.length>0&&void 0!==arguments[0]&&arguments[0];setValue(null,immediately)}return(0,react.useEffect)((function(){onLeave(!0)}),[valueText]),(0,react.useEffect)((function(){return function(){return cancelAnimationFrame(raf.current)}}),[]),[firstText,function onEnter(date){setValue(date)},onLeave]}function InnerPicker(props){var _classNames2,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-picker":_props$prefixCls,id=props.id,tabIndex=props.tabIndex,style=props.style,className=props.className,dropdownClassName=props.dropdownClassName,dropdownAlign=props.dropdownAlign,popupStyle=props.popupStyle,transitionName=props.transitionName,generateConfig=props.generateConfig,locale=props.locale,inputReadOnly=props.inputReadOnly,allowClear=props.allowClear,autoFocus=props.autoFocus,showTime=props.showTime,_props$picker=props.picker,picker=void 0===_props$picker?"date":_props$picker,format=props.format,use12Hours=props.use12Hours,value=props.value,defaultValue=props.defaultValue,open=props.open,defaultOpen=props.defaultOpen,defaultOpenValue=props.defaultOpenValue,suffixIcon=props.suffixIcon,clearIcon=props.clearIcon,disabled=props.disabled,disabledDate=props.disabledDate,placeholder=props.placeholder,getPopupContainer=props.getPopupContainer,pickerRef=props.pickerRef,panelRender=props.panelRender,onChange=props.onChange,onOpenChange=props.onOpenChange,onFocus=props.onFocus,onBlur=props.onBlur,onMouseDown=props.onMouseDown,onMouseUp=props.onMouseUp,onMouseEnter=props.onMouseEnter,onMouseLeave=props.onMouseLeave,onContextMenu=props.onContextMenu,onClick=props.onClick,_onKeyDown=props.onKeyDown,_onSelect=props.onSelect,direction=props.direction,_props$autoComplete=props.autoComplete,autoComplete=void 0===_props$autoComplete?"off":_props$autoComplete,inputRender=props.inputRender,inputRef=react.useRef(null),needConfirmButton="date"===picker&&!!showTime||"time"===picker;var formatList=toArray(getDefaultFormat(format,picker,showTime,use12Hours)),panelDivRef=react.useRef(null),inputDivRef=react.useRef(null),containerRef=react.useRef(null),_useMergedState=(0,useMergedState.Z)(null,{value,defaultValue}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),mergedValue=_useMergedState2[0],setInnerValue=_useMergedState2[1],_React$useState=react.useState(mergedValue),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),selectedValue=_React$useState2[0],setSelectedValue=_React$useState2[1],operationRef=react.useRef(null),_useMergedState3=(0,useMergedState.Z)(!1,{value:open,defaultValue:defaultOpen,postState:function postState(postOpen){return!disabled&&postOpen},onChange:function onChange(newOpen){onOpenChange&&onOpenChange(newOpen),!newOpen&&operationRef.current&&operationRef.current.onClose&&operationRef.current.onClose()}}),_useMergedState4=(0,slicedToArray.Z)(_useMergedState3,2),mergedOpen=_useMergedState4[0],triggerInnerOpen=_useMergedState4[1],_useValueTexts=useValueTexts(selectedValue,{formatList,generateConfig,locale}),_useValueTexts2=(0,slicedToArray.Z)(_useValueTexts,2),valueTexts=_useValueTexts2[0],firstValueText=_useValueTexts2[1],_useTextValueMapping=useTextValueMapping({valueTexts,onTextChange:function onTextChange(newText){var inputDate=parseValue(newText,{locale,formatList,generateConfig});!inputDate||disabledDate&&disabledDate(inputDate)||setSelectedValue(inputDate)}}),_useTextValueMapping2=(0,slicedToArray.Z)(_useTextValueMapping,3),text=_useTextValueMapping2[0],triggerTextChange=_useTextValueMapping2[1],resetText=_useTextValueMapping2[2],triggerChange=function triggerChange(newValue){setSelectedValue(newValue),setInnerValue(newValue),onChange&&!isEqual(generateConfig,mergedValue,newValue)&&onChange(newValue,newValue?formatValue(newValue,{generateConfig,locale,format:formatList[0]}):"")},triggerOpen=function triggerOpen(newOpen){disabled&&newOpen||triggerInnerOpen(newOpen)},_usePickerInput=usePickerInput({blurToCancel:needConfirmButton,open:mergedOpen,value:text,triggerOpen,forwardKeyDown:function forwardKeyDown(e){return mergedOpen&&operationRef.current&&operationRef.current.onKeyDown?operationRef.current.onKeyDown(e):((0,es_warning.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},isClickOutside:function isClickOutside(target){return!elementsContains([panelDivRef.current,inputDivRef.current,containerRef.current],target)},onSubmit:function onSubmit(){return!(!selectedValue||disabledDate&&disabledDate(selectedValue))&&(triggerChange(selectedValue),triggerOpen(!1),resetText(),!0)},onCancel:function onCancel(){triggerOpen(!1),setSelectedValue(mergedValue),resetText()},onKeyDown:function onKeyDown(e,preventDefault){null==_onKeyDown||_onKeyDown(e,preventDefault)},onFocus,onBlur}),_usePickerInput2=(0,slicedToArray.Z)(_usePickerInput,2),inputProps=_usePickerInput2[0],_usePickerInput2$=_usePickerInput2[1],focused=_usePickerInput2$.focused,typing=_usePickerInput2$.typing;react.useEffect((function(){mergedOpen||(setSelectedValue(mergedValue),valueTexts.length&&""!==valueTexts[0]?firstValueText!==text&&resetText():triggerTextChange(""))}),[mergedOpen,valueTexts]),react.useEffect((function(){mergedOpen||resetText()}),[picker]),react.useEffect((function(){setSelectedValue(mergedValue)}),[mergedValue]),pickerRef&&(pickerRef.current={focus:function focus(){inputRef.current&&inputRef.current.focus()},blur:function blur(){inputRef.current&&inputRef.current.blur()}});var _useHoverValue=useHoverValue(text,{formatList,generateConfig,locale}),_useHoverValue2=(0,slicedToArray.Z)(_useHoverValue,3),hoverValue=_useHoverValue2[0],onEnter=_useHoverValue2[1],onLeave=_useHoverValue2[2],panelProps=(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),panelNode=react.createElement(es_PickerPanel,(0,esm_extends.Z)({},panelProps,{generateConfig,className:classnames_default()((0,defineProperty.Z)({},"".concat(prefixCls,"-panel-focused"),!typing)),value:selectedValue,locale,tabIndex:-1,onSelect:function onSelect(date){null==_onSelect||_onSelect(date),setSelectedValue(date)},direction,onPanelChange:function onPanelChange(viewDate,mode){var onPanelChange=props.onPanelChange;onLeave(!0),null==onPanelChange||onPanelChange(viewDate,mode)}}));panelRender&&(panelNode=panelRender(panelNode));var suffixNode,clearNode,panel=react.createElement("div",{className:"".concat(prefixCls,"-panel-container"),onMouseDown:function onMouseDown(e){e.preventDefault()}},panelNode);suffixIcon&&(suffixNode=react.createElement("span",{className:"".concat(prefixCls,"-suffix")},suffixIcon)),allowClear&&mergedValue&&!disabled&&(clearNode=react.createElement("span",{onMouseDown:function onMouseDown(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function onMouseUp(e){e.preventDefault(),e.stopPropagation(),triggerChange(null),triggerOpen(!1)},className:"".concat(prefixCls,"-clear"),role:"button"},clearIcon||react.createElement("span",{className:"".concat(prefixCls,"-clear-btn")})));var mergedInputProps=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({id,tabIndex,disabled,readOnly:inputReadOnly||"function"==typeof formatList[0]||!typing,value:hoverValue||text,onChange:function onChange(e){triggerTextChange(e.target.value)},autoFocus,placeholder,ref:inputRef,title:text},inputProps),{},{size:getInputSize(picker,formatList[0],generateConfig)},getDataOrAriaProps(props)),{},{autoComplete}),inputNode=inputRender?inputRender(mergedInputProps):react.createElement("input",mergedInputProps);var popupPlacement="rtl"===direction?"bottomRight":"bottomLeft";return react.createElement(es_PanelContext.Provider,{value:{operationRef,hideHeader:"time"===picker,panelRef:panelDivRef,onSelect:function onContextSelect(date,type){("submit"===type||"key"!==type&&!needConfirmButton)&&(triggerChange(date),triggerOpen(!1))},open:mergedOpen,defaultOpenValue,onDateMouseEnter:onEnter,onDateMouseLeave:onLeave}},react.createElement(es_PickerTrigger,{visible:mergedOpen,popupElement:panel,popupStyle,prefixCls,dropdownClassName,dropdownAlign,getPopupContainer,transitionName,popupPlacement,direction},react.createElement("div",{ref:containerRef,className:classnames_default()(prefixCls,className,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-disabled"),disabled),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-focused"),focused),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames2)),style,onMouseDown,onMouseUp:function onInternalMouseUp(){onMouseUp&&onMouseUp.apply(void 0,arguments),inputRef.current&&(inputRef.current.focus(),triggerOpen(!0))},onMouseEnter,onMouseLeave,onContextMenu,onClick},react.createElement("div",{className:classnames_default()("".concat(prefixCls,"-input"),(0,defineProperty.Z)({},"".concat(prefixCls,"-input-placeholder"),!!hoverValue)),ref:inputDivRef},inputNode,suffixNode,clearNode))))}const es_Picker=function(_React$Component){(0,inherits.Z)(Picker,_React$Component);var _super=(0,createSuper.Z)(Picker);function Picker(){var _this;(0,classCallCheck.Z)(this,Picker);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).pickerRef=react.createRef(),_this.focus=function(){_this.pickerRef.current&&_this.pickerRef.current.focus()},_this.blur=function(){_this.pickerRef.current&&_this.pickerRef.current.blur()},_this}return(0,createClass.Z)(Picker,[{key:"render",value:function render(){return react.createElement(InnerPicker,(0,esm_extends.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Picker}(react.Component);function getStartEndDistance(startDate,endDate,picker,generateConfig){var startNext=getClosingViewDate(startDate,picker,generateConfig,1);function getDistance(compareFunc){return compareFunc(startDate,endDate)?"same":compareFunc(startNext,endDate)?"closing":"far"}switch(picker){case"year":return getDistance((function(start,end){return function isSameDecade(generateConfig,decade1,decade2){var equal=isNullEqual(decade1,decade2);return"boolean"==typeof equal?equal:Math.floor(generateConfig.getYear(decade1)/10)===Math.floor(generateConfig.getYear(decade2)/10)}(generateConfig,start,end)}));case"quarter":case"month":return getDistance((function(start,end){return isSameYear(generateConfig,start,end)}));default:return getDistance((function(start,end){return isSameMonth(generateConfig,start,end)}))}}function useRangeViewDates(_ref){var values=_ref.values,picker=_ref.picker,defaultDates=_ref.defaultDates,generateConfig=_ref.generateConfig,_React$useState=react.useState((function(){return[getValue(defaultDates,0),getValue(defaultDates,1)]})),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),defaultViewDates=_React$useState2[0],setDefaultViewDates=_React$useState2[1],_React$useState3=react.useState(null),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),viewDates=_React$useState4[0],setInternalViewDates=_React$useState4[1],startDate=getValue(values,0),endDate=getValue(values,1);return[function getViewDate(index){return defaultViewDates[index]?defaultViewDates[index]:getValue(viewDates,index)||function getRangeViewDate(values,index,picker,generateConfig){var startDate=getValue(values,0),endDate=getValue(values,1);if(0===index)return startDate;if(startDate&&endDate)switch(getStartEndDistance(startDate,endDate,picker,generateConfig)){case"same":case"closing":return startDate;default:return getClosingViewDate(endDate,picker,generateConfig,-1)}return startDate}(values,index,picker,generateConfig)||startDate||endDate||generateConfig.getNow()},function setViewDate(viewDate,index){if(viewDate){var newViewDates=updateValues(viewDates,viewDate,index);setDefaultViewDates(updateValues(defaultViewDates,null,index)||[null,null]);var anotherIndex=(index+1)%2;getValue(values,anotherIndex)||(newViewDates=updateValues(newViewDates,viewDate,anotherIndex)),setInternalViewDates(newViewDates)}else(startDate||endDate)&&setInternalViewDates(null)}]}function reorderValues(values,generateConfig){return values&&values[0]&&values[1]&&generateConfig.isAfter(values[0],values[1])?[values[1],values[0]]:values}function canValueTrigger(value,index,disabled,allowEmpty){return!!value||(!(!allowEmpty||!allowEmpty[index])||!!disabled[(index+1)%2])}function InnerRangePicker(props){var _classNames2,_classNames3,_classNames4,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-picker":_props$prefixCls,id=props.id,style=props.style,className=props.className,popupStyle=props.popupStyle,dropdownClassName=props.dropdownClassName,transitionName=props.transitionName,dropdownAlign=props.dropdownAlign,getPopupContainer=props.getPopupContainer,generateConfig=props.generateConfig,locale=props.locale,placeholder=props.placeholder,autoFocus=props.autoFocus,disabled=props.disabled,format=props.format,_props$picker=props.picker,picker=void 0===_props$picker?"date":_props$picker,showTime=props.showTime,use12Hours=props.use12Hours,_props$separator=props.separator,separator=void 0===_props$separator?"~":_props$separator,value=props.value,defaultValue=props.defaultValue,defaultPickerValue=props.defaultPickerValue,open=props.open,defaultOpen=props.defaultOpen,disabledDate=props.disabledDate,_disabledTime=props.disabledTime,dateRender=props.dateRender,panelRender=props.panelRender,ranges=props.ranges,allowEmpty=props.allowEmpty,allowClear=props.allowClear,suffixIcon=props.suffixIcon,clearIcon=props.clearIcon,pickerRef=props.pickerRef,inputReadOnly=props.inputReadOnly,mode=props.mode,renderExtraFooter=props.renderExtraFooter,onChange=props.onChange,onOpenChange=props.onOpenChange,onPanelChange=props.onPanelChange,onCalendarChange=props.onCalendarChange,_onFocus=props.onFocus,onBlur=props.onBlur,onMouseDown=props.onMouseDown,onMouseUp=props.onMouseUp,onMouseEnter=props.onMouseEnter,onMouseLeave=props.onMouseLeave,onClick=props.onClick,_onOk=props.onOk,_onKeyDown=props.onKeyDown,components=props.components,order=props.order,direction=props.direction,activePickerIndex=props.activePickerIndex,_props$autoComplete=props.autoComplete,autoComplete=void 0===_props$autoComplete?"off":_props$autoComplete,needConfirmButton="date"===picker&&!!showTime||"time"===picker,openRecordsRef=(0,react.useRef)({}),containerRef=(0,react.useRef)(null),panelDivRef=(0,react.useRef)(null),startInputDivRef=(0,react.useRef)(null),endInputDivRef=(0,react.useRef)(null),separatorRef=(0,react.useRef)(null),startInputRef=(0,react.useRef)(null),endInputRef=(0,react.useRef)(null),arrowRef=(0,react.useRef)(null);var formatList=toArray(getDefaultFormat(format,picker,showTime,use12Hours)),_useMergedState=(0,useMergedState.Z)(0,{value:activePickerIndex}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),mergedActivePickerIndex=_useMergedState2[0],setMergedActivePickerIndex=_useMergedState2[1],operationRef=(0,react.useRef)(null),mergedDisabled=react.useMemo((function(){return Array.isArray(disabled)?disabled:[disabled||!1,disabled||!1]}),[disabled]),_useMergedState3=(0,useMergedState.Z)(null,{value,defaultValue,postState:function postState(values){return"time"!==picker||order?reorderValues(values,generateConfig):values}}),_useMergedState4=(0,slicedToArray.Z)(_useMergedState3,2),mergedValue=_useMergedState4[0],setInnerValue=_useMergedState4[1],_useRangeViewDates=useRangeViewDates({values:mergedValue,picker,defaultDates:defaultPickerValue,generateConfig}),_useRangeViewDates2=(0,slicedToArray.Z)(_useRangeViewDates,2),getViewDate=_useRangeViewDates2[0],setViewDate=_useRangeViewDates2[1],_useMergedState5=(0,useMergedState.Z)(mergedValue,{postState:function postState(values){var postValues=values;if(mergedDisabled[0]&&mergedDisabled[1])return postValues;for(var i=0;i<2;i+=1)!mergedDisabled[i]||getValue(postValues,i)||getValue(allowEmpty,i)||(postValues=updateValues(postValues,generateConfig.getNow(),i));return postValues}}),_useMergedState6=(0,slicedToArray.Z)(_useMergedState5,2),selectedValue=_useMergedState6[0],setSelectedValue=_useMergedState6[1],_useMergedState7=(0,useMergedState.Z)([picker,picker],{value:mode}),_useMergedState8=(0,slicedToArray.Z)(_useMergedState7,2),mergedModes=_useMergedState8[0],setInnerModes=_useMergedState8[1];(0,react.useEffect)((function(){setInnerModes([picker,picker])}),[picker]);var triggerModesChange=function triggerModesChange(modes,values){setInnerModes(modes),onPanelChange&&onPanelChange(values,modes)},_useRangeDisabled=function useRangeDisabled(_ref,disabledStart,disabledEnd){var picker=_ref.picker,locale=_ref.locale,selectedValue=_ref.selectedValue,disabledDate=_ref.disabledDate,disabled=_ref.disabled,generateConfig=_ref.generateConfig,startDate=getValue(selectedValue,0),endDate=getValue(selectedValue,1);function weekFirstDate(date){return generateConfig.locale.getWeekFirstDate(locale.locale,date)}function monthNumber(date){return 100*generateConfig.getYear(date)+generateConfig.getMonth(date)}function quarterNumber(date){return 10*generateConfig.getYear(date)+getQuarter(generateConfig,date)}return[react.useCallback((function(date){if(disabledDate&&disabledDate(date))return!0;if(disabled[1]&&endDate)return!isSameDate(generateConfig,date,endDate)&&generateConfig.isAfter(date,endDate);if(disabledStart&&endDate)switch(picker){case"quarter":return quarterNumber(date)>quarterNumber(endDate);case"month":return monthNumber(date)>monthNumber(endDate);case"week":return weekFirstDate(date)>weekFirstDate(endDate);default:return!isSameDate(generateConfig,date,endDate)&&generateConfig.isAfter(date,endDate)}return!1}),[disabledDate,disabled[1],endDate,disabledStart]),react.useCallback((function(date){if(disabledDate&&disabledDate(date))return!0;if(disabled[0]&&startDate)return!isSameDate(generateConfig,date,endDate)&&generateConfig.isAfter(startDate,date);if(disabledEnd&&startDate)switch(picker){case"quarter":return quarterNumber(date)<quarterNumber(startDate);case"month":return monthNumber(date)<monthNumber(startDate);case"week":return weekFirstDate(date)<weekFirstDate(startDate);default:return!isSameDate(generateConfig,date,startDate)&&generateConfig.isAfter(startDate,date)}return!1}),[disabledDate,disabled[0],startDate,disabledEnd])]}({picker,selectedValue,locale,disabled:mergedDisabled,disabledDate,generateConfig},openRecordsRef.current[1],openRecordsRef.current[0]),_useRangeDisabled2=(0,slicedToArray.Z)(_useRangeDisabled,2),disabledStartDate=_useRangeDisabled2[0],disabledEndDate=_useRangeDisabled2[1],_useMergedState9=(0,useMergedState.Z)(!1,{value:open,defaultValue:defaultOpen,postState:function postState(postOpen){return!mergedDisabled[mergedActivePickerIndex]&&postOpen},onChange:function onChange(newOpen){onOpenChange&&onOpenChange(newOpen),!newOpen&&operationRef.current&&operationRef.current.onClose&&operationRef.current.onClose()}}),_useMergedState10=(0,slicedToArray.Z)(_useMergedState9,2),mergedOpen=_useMergedState10[0],triggerInnerOpen=_useMergedState10[1],startOpen=mergedOpen&&0===mergedActivePickerIndex,endOpen=mergedOpen&&1===mergedActivePickerIndex,_useState=(0,react.useState)(0),_useState2=(0,slicedToArray.Z)(_useState,2),popupMinWidth=_useState2[0],setPopupMinWidth=_useState2[1];(0,react.useEffect)((function(){!mergedOpen&&containerRef.current&&setPopupMinWidth(containerRef.current.offsetWidth)}),[mergedOpen]);var triggerRef=react.useRef();function _triggerOpen(newOpen,index){if(newOpen)clearTimeout(triggerRef.current),openRecordsRef.current[index]=!0,setMergedActivePickerIndex(index),triggerInnerOpen(newOpen),mergedOpen||setViewDate(null,index);else if(mergedActivePickerIndex===index){triggerInnerOpen(newOpen);var openRecords=openRecordsRef.current;triggerRef.current=setTimeout((function(){openRecords===openRecordsRef.current&&(openRecordsRef.current={})}))}}function triggerOpenAndFocus(index){_triggerOpen(!0,index),setTimeout((function(){var inputRef=[startInputRef,endInputRef][index];inputRef.current&&inputRef.current.focus()}),0)}function triggerChange(newValue,sourceIndex){var values=newValue,startValue=getValue(values,0),endValue=getValue(values,1);startValue&&endValue&&generateConfig.isAfter(startValue,endValue)&&("week"===picker&&!isSameWeek(generateConfig,locale.locale,startValue,endValue)||"quarter"===picker&&!isSameQuarter(generateConfig,startValue,endValue)||"week"!==picker&&"quarter"!==picker&&"time"!==picker&&!isSameDate(generateConfig,startValue,endValue)?(0===sourceIndex?(values=[startValue,null],endValue=null):(startValue=null,values=[null,endValue]),openRecordsRef.current=(0,defineProperty.Z)({},sourceIndex,!0)):"time"===picker&&!1===order||(values=reorderValues(values,generateConfig))),setSelectedValue(values);var startStr=values&&values[0]?formatValue(values[0],{generateConfig,locale,format:formatList[0]}):"",endStr=values&&values[1]?formatValue(values[1],{generateConfig,locale,format:formatList[0]}):"";onCalendarChange&&onCalendarChange(values,[startStr,endStr],{range:0===sourceIndex?"start":"end"});var canStartValueTrigger=canValueTrigger(startValue,0,mergedDisabled,allowEmpty),canEndValueTrigger=canValueTrigger(endValue,1,mergedDisabled,allowEmpty);(null===values||canStartValueTrigger&&canEndValueTrigger)&&(setInnerValue(values),!onChange||isEqual(generateConfig,getValue(mergedValue,0),startValue)&&isEqual(generateConfig,getValue(mergedValue,1),endValue)||onChange(values,[startStr,endStr]));var nextOpenIndex=null;0!==sourceIndex||mergedDisabled[1]?1!==sourceIndex||mergedDisabled[0]||(nextOpenIndex=0):nextOpenIndex=1,null===nextOpenIndex||nextOpenIndex===mergedActivePickerIndex||openRecordsRef.current[nextOpenIndex]&&getValue(values,nextOpenIndex)||!getValue(values,sourceIndex)?_triggerOpen(!1,sourceIndex):triggerOpenAndFocus(nextOpenIndex)}var forwardKeyDown=function forwardKeyDown(e){return mergedOpen&&operationRef.current&&operationRef.current.onKeyDown?operationRef.current.onKeyDown(e):((0,es_warning.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},sharedTextHooksProps={formatList,generateConfig,locale},_useValueTexts=useValueTexts(getValue(selectedValue,0),sharedTextHooksProps),_useValueTexts2=(0,slicedToArray.Z)(_useValueTexts,2),startValueTexts=_useValueTexts2[0],firstStartValueText=_useValueTexts2[1],_useValueTexts3=useValueTexts(getValue(selectedValue,1),sharedTextHooksProps),_useValueTexts4=(0,slicedToArray.Z)(_useValueTexts3,2),endValueTexts=_useValueTexts4[0],firstEndValueText=_useValueTexts4[1],_onTextChange=function onTextChange(newText,index){var inputDate=parseValue(newText,{locale,formatList,generateConfig});inputDate&&!(0===index?disabledStartDate:disabledEndDate)(inputDate)&&(setSelectedValue(updateValues(selectedValue,inputDate,index)),setViewDate(inputDate,index))},_useTextValueMapping=useTextValueMapping({valueTexts:startValueTexts,onTextChange:function onTextChange(newText){return _onTextChange(newText,0)}}),_useTextValueMapping2=(0,slicedToArray.Z)(_useTextValueMapping,3),startText=_useTextValueMapping2[0],triggerStartTextChange=_useTextValueMapping2[1],resetStartText=_useTextValueMapping2[2],_useTextValueMapping3=useTextValueMapping({valueTexts:endValueTexts,onTextChange:function onTextChange(newText){return _onTextChange(newText,1)}}),_useTextValueMapping4=(0,slicedToArray.Z)(_useTextValueMapping3,3),endText=_useTextValueMapping4[0],triggerEndTextChange=_useTextValueMapping4[1],resetEndText=_useTextValueMapping4[2],_useState3=(0,react.useState)(null),_useState4=(0,slicedToArray.Z)(_useState3,2),rangeHoverValue=_useState4[0],setRangeHoverValue=_useState4[1],_useState5=(0,react.useState)(null),_useState6=(0,slicedToArray.Z)(_useState5,2),hoverRangedValue=_useState6[0],setHoverRangedValue=_useState6[1],_useHoverValue=useHoverValue(startText,{formatList,generateConfig,locale}),_useHoverValue2=(0,slicedToArray.Z)(_useHoverValue,3),startHoverValue=_useHoverValue2[0],onStartEnter=_useHoverValue2[1],onStartLeave=_useHoverValue2[2],_useHoverValue3=useHoverValue(endText,{formatList,generateConfig,locale}),_useHoverValue4=(0,slicedToArray.Z)(_useHoverValue3,3),endHoverValue=_useHoverValue4[0],onEndEnter=_useHoverValue4[1],onEndLeave=_useHoverValue4[2],getSharedInputHookProps=function getSharedInputHookProps(index,resetText){return{blurToCancel:needConfirmButton,forwardKeyDown,onBlur,isClickOutside:function isClickOutside(target){return!elementsContains([panelDivRef.current,startInputDivRef.current,endInputDivRef.current,containerRef.current],target)},onFocus:function onFocus(e){setMergedActivePickerIndex(index),_onFocus&&_onFocus(e)},triggerOpen:function triggerOpen(newOpen){_triggerOpen(newOpen,index)},onSubmit:function onSubmit(){if(!selectedValue||disabledDate&&disabledDate(selectedValue[index]))return!1;triggerChange(selectedValue,index),resetText()},onCancel:function onCancel(){_triggerOpen(!1,index),setSelectedValue(mergedValue),resetText()}}},_usePickerInput=usePickerInput((0,objectSpread2.Z)((0,objectSpread2.Z)({},getSharedInputHookProps(0,resetStartText)),{},{open:startOpen,value:startText,onKeyDown:function onKeyDown(e,preventDefault){null==_onKeyDown||_onKeyDown(e,preventDefault)}})),_usePickerInput2=(0,slicedToArray.Z)(_usePickerInput,2),startInputProps=_usePickerInput2[0],_usePickerInput2$=_usePickerInput2[1],startFocused=_usePickerInput2$.focused,startTyping=_usePickerInput2$.typing,_usePickerInput3=usePickerInput((0,objectSpread2.Z)((0,objectSpread2.Z)({},getSharedInputHookProps(1,resetEndText)),{},{open:endOpen,value:endText,onKeyDown:function onKeyDown(e,preventDefault){null==_onKeyDown||_onKeyDown(e,preventDefault)}})),_usePickerInput4=(0,slicedToArray.Z)(_usePickerInput3,2),endInputProps=_usePickerInput4[0],_usePickerInput4$=_usePickerInput4[1],endFocused=_usePickerInput4$.focused,endTyping=_usePickerInput4$.typing,startStr=mergedValue&&mergedValue[0]?formatValue(mergedValue[0],{locale,format:"YYYYMMDDHHmmss",generateConfig}):"",endStr=mergedValue&&mergedValue[1]?formatValue(mergedValue[1],{locale,format:"YYYYMMDDHHmmss",generateConfig}):"";(0,react.useEffect)((function(){mergedOpen||(setSelectedValue(mergedValue),startValueTexts.length&&""!==startValueTexts[0]?firstStartValueText!==startText&&resetStartText():triggerStartTextChange(""),endValueTexts.length&&""!==endValueTexts[0]?firstEndValueText!==endText&&resetEndText():triggerEndTextChange(""))}),[mergedOpen,startValueTexts,endValueTexts]),(0,react.useEffect)((function(){setSelectedValue(mergedValue)}),[startStr,endStr]),pickerRef&&(pickerRef.current={focus:function focus(){startInputRef.current&&startInputRef.current.focus()},blur:function blur(){startInputRef.current&&startInputRef.current.blur(),endInputRef.current&&endInputRef.current.blur()}});var rangeList=Object.keys(ranges||{}).map((function(label){var range=ranges[label],newValues="function"==typeof range?range():range;return{label,onClick:function onClick(){triggerChange(newValues,null),_triggerOpen(!1,mergedActivePickerIndex)},onMouseEnter:function onMouseEnter(){setRangeHoverValue(newValues)},onMouseLeave:function onMouseLeave(){setRangeHoverValue(null)}}}));function renderPanel(){var panelPosition=arguments.length>0&&void 0!==arguments[0]&&arguments[0],panelProps=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},panelHoverRangedValue=null;mergedOpen&&hoverRangedValue&&hoverRangedValue[0]&&hoverRangedValue[1]&&generateConfig.isAfter(hoverRangedValue[1],hoverRangedValue[0])&&(panelHoverRangedValue=hoverRangedValue);var panelShowTime=showTime;if(showTime&&"object"===(0,esm_typeof.Z)(showTime)&&showTime.defaultValue){var timeDefaultValues=showTime.defaultValue;panelShowTime=(0,objectSpread2.Z)((0,objectSpread2.Z)({},showTime),{},{defaultValue:getValue(timeDefaultValues,mergedActivePickerIndex)||void 0})}var panelDateRender=null;return dateRender&&(panelDateRender=function panelDateRender(date,today){return dateRender(date,today,{range:mergedActivePickerIndex?"end":"start"})}),react.createElement(es_RangeContext.Provider,{value:{inRange:!0,panelPosition,rangedValue:rangeHoverValue||selectedValue,hoverRangedValue:panelHoverRangedValue}},react.createElement(es_PickerPanel,(0,esm_extends.Z)({},props,panelProps,{dateRender:panelDateRender,showTime:panelShowTime,mode:mergedModes[mergedActivePickerIndex],generateConfig,style:void 0,direction,disabledDate:0===mergedActivePickerIndex?disabledStartDate:disabledEndDate,disabledTime:function disabledTime(date){return!!_disabledTime&&_disabledTime(date,0===mergedActivePickerIndex?"start":"end")},className:classnames_default()((0,defineProperty.Z)({},"".concat(prefixCls,"-panel-focused"),0===mergedActivePickerIndex?!startTyping:!endTyping)),value:getValue(selectedValue,mergedActivePickerIndex),locale,tabIndex:-1,onPanelChange:function onPanelChange(date,newMode){0===mergedActivePickerIndex&&onStartLeave(!0),1===mergedActivePickerIndex&&onEndLeave(!0),triggerModesChange(updateValues(mergedModes,newMode,mergedActivePickerIndex),updateValues(selectedValue,date,mergedActivePickerIndex));var viewDate=date;"right"===panelPosition&&mergedModes[mergedActivePickerIndex]===newMode&&(viewDate=getClosingViewDate(viewDate,newMode,generateConfig,-1)),setViewDate(viewDate,mergedActivePickerIndex)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:getValue(selectedValue,0===mergedActivePickerIndex?1:0)})))}var arrowLeft=0,panelLeft=0;mergedActivePickerIndex&&startInputDivRef.current&&separatorRef.current&&panelDivRef.current&&(arrowLeft=startInputDivRef.current.offsetWidth+separatorRef.current.offsetWidth,panelDivRef.current.offsetWidth&&arrowRef.current.offsetWidth&&arrowLeft>panelDivRef.current.offsetWidth-arrowRef.current.offsetWidth-("rtl"===direction||arrowRef.current.offsetLeft>arrowLeft?0:arrowRef.current.offsetLeft)&&(panelLeft=arrowLeft));var arrowPositionStyle="rtl"===direction?{right:arrowLeft}:{left:arrowLeft};var suffixNode,clearNode,rangePanel=react.createElement("div",{className:classnames_default()("".concat(prefixCls,"-range-wrapper"),"".concat(prefixCls,"-").concat(picker,"-range-wrapper")),style:{minWidth:popupMinWidth}},react.createElement("div",{ref:arrowRef,className:"".concat(prefixCls,"-range-arrow"),style:arrowPositionStyle}),function renderPanels(){var panels,extraNode=getExtraFooter(prefixCls,mergedModes[mergedActivePickerIndex],renderExtraFooter),rangesNode=getRanges({prefixCls,components,needConfirmButton,okDisabled:!getValue(selectedValue,mergedActivePickerIndex)||disabledDate&&disabledDate(selectedValue[mergedActivePickerIndex]),locale,rangeList,onOk:function onOk(){getValue(selectedValue,mergedActivePickerIndex)&&(triggerChange(selectedValue,mergedActivePickerIndex),_onOk&&_onOk(selectedValue))}});if("time"===picker||showTime)panels=renderPanel();else{var viewDate=getViewDate(mergedActivePickerIndex),nextViewDate=getClosingViewDate(viewDate,picker,generateConfig),showDoublePanel=mergedModes[mergedActivePickerIndex]===picker,leftPanel=renderPanel(!!showDoublePanel&&"left",{pickerValue:viewDate,onPickerValueChange:function onPickerValueChange(newViewDate){setViewDate(newViewDate,mergedActivePickerIndex)}}),rightPanel=renderPanel("right",{pickerValue:nextViewDate,onPickerValueChange:function onPickerValueChange(newViewDate){setViewDate(getClosingViewDate(newViewDate,picker,generateConfig,-1),mergedActivePickerIndex)}});panels="rtl"===direction?react.createElement(react.Fragment,null,rightPanel,showDoublePanel&&leftPanel):react.createElement(react.Fragment,null,leftPanel,showDoublePanel&&rightPanel)}var mergedNodes=react.createElement(react.Fragment,null,react.createElement("div",{className:"".concat(prefixCls,"-panels")},panels),(extraNode||rangesNode)&&react.createElement("div",{className:"".concat(prefixCls,"-footer")},extraNode,rangesNode));return panelRender&&(mergedNodes=panelRender(mergedNodes)),react.createElement("div",{className:"".concat(prefixCls,"-panel-container"),style:{marginLeft:panelLeft},ref:panelDivRef,onMouseDown:function onMouseDown(e){e.preventDefault()}},mergedNodes)}());suffixIcon&&(suffixNode=react.createElement("span",{className:"".concat(prefixCls,"-suffix")},suffixIcon)),allowClear&&(getValue(mergedValue,0)&&!mergedDisabled[0]||getValue(mergedValue,1)&&!mergedDisabled[1])&&(clearNode=react.createElement("span",{onMouseDown:function onMouseDown(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function onMouseUp(e){e.preventDefault(),e.stopPropagation();var values=mergedValue;mergedDisabled[0]||(values=updateValues(values,null,0)),mergedDisabled[1]||(values=updateValues(values,null,1)),triggerChange(values,null),_triggerOpen(!1,mergedActivePickerIndex)},className:"".concat(prefixCls,"-clear")},clearIcon||react.createElement("span",{className:"".concat(prefixCls,"-clear-btn")})));var inputSharedProps={size:getInputSize(picker,formatList[0],generateConfig)},activeBarLeft=0,activeBarWidth=0;startInputDivRef.current&&endInputDivRef.current&&separatorRef.current&&(0===mergedActivePickerIndex?activeBarWidth=startInputDivRef.current.offsetWidth:(activeBarLeft=arrowLeft,activeBarWidth=endInputDivRef.current.offsetWidth));var activeBarPositionStyle="rtl"===direction?{right:activeBarLeft}:{left:activeBarLeft};return react.createElement(es_PanelContext.Provider,{value:{operationRef,hideHeader:"time"===picker,onDateMouseEnter:function onDateMouseEnter(date){setHoverRangedValue(updateValues(selectedValue,date,mergedActivePickerIndex)),0===mergedActivePickerIndex?onStartEnter(date):onEndEnter(date)},onDateMouseLeave:function onDateMouseLeave(){setHoverRangedValue(updateValues(selectedValue,null,mergedActivePickerIndex)),0===mergedActivePickerIndex?onStartLeave():onEndLeave()},hideRanges:!0,onSelect:function onContextSelect(date,type){var values=updateValues(selectedValue,date,mergedActivePickerIndex);"submit"===type||"key"!==type&&!needConfirmButton?(triggerChange(values,mergedActivePickerIndex),0===mergedActivePickerIndex?onStartLeave():onEndLeave()):setSelectedValue(values)},open:mergedOpen}},react.createElement(es_PickerTrigger,{visible:mergedOpen,popupElement:rangePanel,popupStyle,prefixCls,dropdownClassName,dropdownAlign,getPopupContainer,transitionName,range:!0,direction},react.createElement("div",(0,esm_extends.Z)({ref:containerRef,className:classnames_default()(prefixCls,"".concat(prefixCls,"-range"),className,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-disabled"),mergedDisabled[0]&&mergedDisabled[1]),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-focused"),0===mergedActivePickerIndex?startFocused:endFocused),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames2)),style,onClick:function onPickerClick(e){onClick&&onClick(e),mergedOpen||startInputRef.current.contains(e.target)||endInputRef.current.contains(e.target)||(mergedDisabled[0]?mergedDisabled[1]||triggerOpenAndFocus(1):triggerOpenAndFocus(0))},onMouseEnter,onMouseLeave,onMouseDown:function onPickerMouseDown(e){onMouseDown&&onMouseDown(e),!mergedOpen||!startFocused&&!endFocused||startInputRef.current.contains(e.target)||endInputRef.current.contains(e.target)||e.preventDefault()},onMouseUp},getDataOrAriaProps(props)),react.createElement("div",{className:classnames_default()("".concat(prefixCls,"-input"),(_classNames3={},(0,defineProperty.Z)(_classNames3,"".concat(prefixCls,"-input-active"),0===mergedActivePickerIndex),(0,defineProperty.Z)(_classNames3,"".concat(prefixCls,"-input-placeholder"),!!startHoverValue),_classNames3)),ref:startInputDivRef},react.createElement("input",(0,esm_extends.Z)({id,disabled:mergedDisabled[0],readOnly:inputReadOnly||"function"==typeof formatList[0]||!startTyping,value:startHoverValue||startText,onChange:function onChange(e){triggerStartTextChange(e.target.value)},autoFocus,placeholder:getValue(placeholder,0)||"",ref:startInputRef},startInputProps,inputSharedProps,{autoComplete}))),react.createElement("div",{className:"".concat(prefixCls,"-range-separator"),ref:separatorRef},separator),react.createElement("div",{className:classnames_default()("".concat(prefixCls,"-input"),(_classNames4={},(0,defineProperty.Z)(_classNames4,"".concat(prefixCls,"-input-active"),1===mergedActivePickerIndex),(0,defineProperty.Z)(_classNames4,"".concat(prefixCls,"-input-placeholder"),!!endHoverValue),_classNames4)),ref:endInputDivRef},react.createElement("input",(0,esm_extends.Z)({disabled:mergedDisabled[1],readOnly:inputReadOnly||"function"==typeof formatList[0]||!endTyping,value:endHoverValue||endText,onChange:function onChange(e){triggerEndTextChange(e.target.value)},placeholder:getValue(placeholder,1)||"",ref:endInputRef},endInputProps,inputSharedProps,{autoComplete}))),react.createElement("div",{className:"".concat(prefixCls,"-active-bar"),style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},activeBarPositionStyle),{},{width:activeBarWidth,position:"absolute"})}),suffixNode,clearNode)))}const es_RangePicker=function(_React$Component){(0,inherits.Z)(RangePicker,_React$Component);var _super=(0,createSuper.Z)(RangePicker);function RangePicker(){var _this;(0,classCallCheck.Z)(this,RangePicker);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).pickerRef=react.createRef(),_this.focus=function(){_this.pickerRef.current&&_this.pickerRef.current.focus()},_this.blur=function(){_this.pickerRef.current&&_this.pickerRef.current.blur()},_this}return(0,createClass.Z)(RangePicker,[{key:"render",value:function render(){return react.createElement(InnerRangePicker,(0,esm_extends.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),RangePicker}(react.Component),rc_picker_es=es_Picker;var en_US=__webpack_require__("./node_modules/antd/es/date-picker/locale/en_US.js");function getPlaceholder(picker,locale,customizePlaceholder){return void 0!==customizePlaceholder?customizePlaceholder:"year"===picker&&locale.lang.yearPlaceholder?locale.lang.yearPlaceholder:"quarter"===picker&&locale.lang.quarterPlaceholder?locale.lang.quarterPlaceholder:"month"===picker&&locale.lang.monthPlaceholder?locale.lang.monthPlaceholder:"week"===picker&&locale.lang.weekPlaceholder?locale.lang.weekPlaceholder:"time"===picker&&locale.timePickerLocale.placeholder?locale.timePickerLocale.placeholder:locale.lang.placeholder}function getRangePlaceholder(picker,locale,customizePlaceholder){return void 0!==customizePlaceholder?customizePlaceholder:"year"===picker&&locale.lang.yearPlaceholder?locale.lang.rangeYearPlaceholder:"quarter"===picker&&locale.lang.quarterPlaceholder?locale.lang.rangeQuarterPlaceholder:"month"===picker&&locale.lang.monthPlaceholder?locale.lang.rangeMonthPlaceholder:"week"===picker&&locale.lang.weekPlaceholder?locale.lang.rangeWeekPlaceholder:"time"===picker&&locale.timePickerLocale.placeholder?locale.timePickerLocale.rangePlaceholder:locale.lang.rangePlaceholder}function transPlacement2DropdownAlign(direction,placement){var overflow={adjustX:1,adjustY:1};switch(placement){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow};default:return"rtl"===direction?{points:["tr","br"],offset:[0,4],overflow}:{points:["tl","bl"],offset:[0,4],overflow}}}var LocaleReceiver=__webpack_require__("./node_modules/antd/es/locale-provider/LocaleReceiver.js"),SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),form_context=__webpack_require__("./node_modules/antd/es/form/context.js"),statusUtils=__webpack_require__("./node_modules/antd/es/_util/statusUtils.js"),generateSinglePicker_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};const asn_SwapRightOutlined={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};var SwapRightOutlined_SwapRightOutlined=function SwapRightOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_SwapRightOutlined}))};SwapRightOutlined_SwapRightOutlined.displayName="SwapRightOutlined";const icons_SwapRightOutlined=react.forwardRef(SwapRightOutlined_SwapRightOutlined);var generateRangePicker_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};var type=__webpack_require__("./node_modules/antd/es/_util/type.js"),Components={button:function PickerButton(props){return react.createElement(es_button.Z,(0,esm_extends.Z)({size:"small",type:"primary"},props))},rangeItem:function PickerTag(props){return react.createElement(tag,(0,esm_extends.Z)({color:"blue"},props))}};function getTimeProps(props){var format=props.format,picker=props.picker,showHour=props.showHour,showMinute=props.showMinute,showSecond=props.showSecond,use12Hours=props.use12Hours,firstFormat=function generatePicker_toArray(list){return list?Array.isArray(list)?list:[list]:[]}(format)[0],showTimeObj=(0,esm_extends.Z)({},props);return firstFormat&&"string"==typeof firstFormat&&(firstFormat.includes("s")||void 0!==showSecond||(showTimeObj.showSecond=!1),firstFormat.includes("m")||void 0!==showMinute||(showTimeObj.showMinute=!1),firstFormat.includes("H")||firstFormat.includes("h")||void 0!==showHour||(showTimeObj.showHour=!1),(firstFormat.includes("a")||firstFormat.includes("A"))&&void 0===use12Hours&&(showTimeObj.use12Hours=!0)),"time"===picker?showTimeObj:("function"==typeof firstFormat&&delete showTimeObj.format,{showTime:showTimeObj})}(0,type.b)("bottomLeft","bottomRight","topLeft","topRight");const date_picker_generatePicker=function generatePicker_generatePicker(generateConfig){var _generateSinglePicker=function generatePicker(generateConfig){function getPicker(picker,displayName){var Picker=function(_React$Component){(0,inherits.Z)(Picker,_React$Component);var _super=(0,createSuper.Z)(Picker);function Picker(props){var _this;return(0,classCallCheck.Z)(this,Picker),(_this=_super.call(this,props)).pickerRef=react.createRef(),_this.focus=function(){_this.pickerRef.current&&_this.pickerRef.current.focus()},_this.blur=function(){_this.pickerRef.current&&_this.pickerRef.current.blur()},_this.renderPicker=function(contextLocale){var locale=(0,esm_extends.Z)((0,esm_extends.Z)({},contextLocale),_this.props.locale),_this$context=_this.context,getPrefixCls=_this$context.getPrefixCls,direction=_this$context.direction,getPopupContainer=_this$context.getPopupContainer,_a=_this.props,prefixCls=_a.prefixCls,customizeGetPopupContainer=_a.getPopupContainer,className=_a.className,customizeSize=_a.size,_a$bordered=_a.bordered,bordered=void 0===_a$bordered||_a$bordered,placement=_a.placement,placeholder=_a.placeholder,customStatus=_a.status,restProps=generateSinglePicker_rest(_a,["prefixCls","getPopupContainer","className","size","bordered","placement","placeholder","status"]),_this$props=_this.props,format=_this$props.format,showTime=_this$props.showTime,additionalProps={showToday:!0},additionalOverrideProps={};picker&&(additionalOverrideProps.picker=picker);var mergedPicker=picker||_this.props.picker;additionalOverrideProps=(0,esm_extends.Z)((0,esm_extends.Z)((0,esm_extends.Z)({},additionalOverrideProps),showTime?getTimeProps((0,esm_extends.Z)({format,picker:mergedPicker},showTime)):{}),"time"===mergedPicker?getTimeProps((0,esm_extends.Z)((0,esm_extends.Z)({format},_this.props),{picker:mergedPicker})):{});var rootPrefixCls=getPrefixCls();return react.createElement(SizeContext.Z.Consumer,null,(function(size){var mergedSize=customizeSize||size;return react.createElement(form_context.aM.Consumer,null,(function(_ref){var _classNames,hasFeedback=_ref.hasFeedback,contextStatus=_ref.status,feedbackIcon=_ref.feedbackIcon,suffixNode=react.createElement(react.Fragment,null,"time"===mergedPicker?react.createElement(icons_ClockCircleOutlined,null):react.createElement(icons_CalendarOutlined,null),hasFeedback&&feedbackIcon);return react.createElement(rc_picker_es,(0,esm_extends.Z)({ref:_this.pickerRef,placeholder:getPlaceholder(mergedPicker,locale,placeholder),suffixIcon:suffixNode,dropdownAlign:transPlacement2DropdownAlign(direction,placement),clearIcon:react.createElement(CloseCircleFilled.Z,null),prevIcon:react.createElement("span",{className:"".concat(prefixCls,"-prev-icon")}),nextIcon:react.createElement("span",{className:"".concat(prefixCls,"-next-icon")}),superPrevIcon:react.createElement("span",{className:"".concat(prefixCls,"-super-prev-icon")}),superNextIcon:react.createElement("span",{className:"".concat(prefixCls,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(rootPrefixCls,"-slide-up")},additionalProps,restProps,additionalOverrideProps,{locale:locale.lang,className:classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(mergedSize),mergedSize),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-borderless"),!bordered),_classNames),(0,statusUtils.Z)(prefixCls,(0,statusUtils.F)(contextStatus,customStatus),hasFeedback),className),prefixCls,getPopupContainer:customizeGetPopupContainer||getPopupContainer,generateConfig,components:Components,direction}))}))}))},_this}return(0,createClass.Z)(Picker,[{key:"render",value:function render(){return react.createElement(LocaleReceiver.Z,{componentName:"DatePicker",defaultLocale:en_US.Z},this.renderPicker)}}]),Picker}(react.Component);Picker.contextType=context.E_;var PickerWrapper=(0,react.forwardRef)((function(props,ref){var customizePrefixCls=props.prefixCls,prefixCls=(0,(0,react.useContext)(context.E_).getPrefixCls)("picker",customizePrefixCls),pickerProps=(0,esm_extends.Z)((0,esm_extends.Z)({},props),{prefixCls,ref});return react.createElement(Picker,pickerProps)}));return displayName&&(PickerWrapper.displayName=displayName),PickerWrapper}return{DatePicker:getPicker(),WeekPicker:getPicker("week","WeekPicker"),MonthPicker:getPicker("month","MonthPicker"),YearPicker:getPicker("year","YearPicker"),TimePicker:getPicker("time","TimePicker"),QuarterPicker:getPicker("quarter","QuarterPicker")}}(generateConfig),DatePicker=_generateSinglePicker.DatePicker,WeekPicker=_generateSinglePicker.WeekPicker,MonthPicker=_generateSinglePicker.MonthPicker,YearPicker=_generateSinglePicker.YearPicker,TimePicker=_generateSinglePicker.TimePicker,QuarterPicker=_generateSinglePicker.QuarterPicker,RangePicker=function generateRangePicker(generateConfig){var RangePicker=function(_React$Component){(0,inherits.Z)(RangePicker,_React$Component);var _super=(0,createSuper.Z)(RangePicker);function RangePicker(){var _this;return(0,classCallCheck.Z)(this,RangePicker),(_this=_super.apply(this,arguments)).pickerRef=react.createRef(),_this.focus=function(){_this.pickerRef.current&&_this.pickerRef.current.focus()},_this.blur=function(){_this.pickerRef.current&&_this.pickerRef.current.blur()},_this.renderPicker=function(contextLocale){var locale=(0,esm_extends.Z)((0,esm_extends.Z)({},contextLocale),_this.props.locale),_this$context=_this.context,getPrefixCls=_this$context.getPrefixCls,direction=_this$context.direction,getPopupContainer=_this$context.getPopupContainer,_a=_this.props,prefixCls=_a.prefixCls,customGetPopupContainer=_a.getPopupContainer,className=_a.className,placement=_a.placement,customizeSize=_a.size,_a$bordered=_a.bordered,bordered=void 0===_a$bordered||_a$bordered,placeholder=_a.placeholder,customStatus=_a.status,restProps=generateRangePicker_rest(_a,["prefixCls","getPopupContainer","className","placement","size","bordered","placeholder","status"]),_this$props=_this.props,format=_this$props.format,showTime=_this$props.showTime,picker=_this$props.picker,additionalOverrideProps={};additionalOverrideProps=(0,esm_extends.Z)((0,esm_extends.Z)((0,esm_extends.Z)({},additionalOverrideProps),showTime?getTimeProps((0,esm_extends.Z)({format,picker},showTime)):{}),"time"===picker?getTimeProps((0,esm_extends.Z)((0,esm_extends.Z)({format},_this.props),{picker})):{});var rootPrefixCls=getPrefixCls();return react.createElement(SizeContext.Z.Consumer,null,(function(size){var mergedSize=customizeSize||size;return react.createElement(form_context.aM.Consumer,null,(function(_ref){var _classNames,hasFeedback=_ref.hasFeedback,contextStatus=_ref.status,feedbackIcon=_ref.feedbackIcon,suffixNode=react.createElement(react.Fragment,null,"time"===picker?react.createElement(icons_ClockCircleOutlined,null):react.createElement(icons_CalendarOutlined,null),hasFeedback&&feedbackIcon);return react.createElement(es_RangePicker,(0,esm_extends.Z)({separator:react.createElement("span",{"aria-label":"to",className:"".concat(prefixCls,"-separator")},react.createElement(icons_SwapRightOutlined,null)),ref:_this.pickerRef,dropdownAlign:transPlacement2DropdownAlign(direction,placement),placeholder:getRangePlaceholder(picker,locale,placeholder),suffixIcon:suffixNode,clearIcon:react.createElement(CloseCircleFilled.Z,null),prevIcon:react.createElement("span",{className:"".concat(prefixCls,"-prev-icon")}),nextIcon:react.createElement("span",{className:"".concat(prefixCls,"-next-icon")}),superPrevIcon:react.createElement("span",{className:"".concat(prefixCls,"-super-prev-icon")}),superNextIcon:react.createElement("span",{className:"".concat(prefixCls,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(rootPrefixCls,"-slide-up")},restProps,additionalOverrideProps,{className:classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(mergedSize),mergedSize),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-borderless"),!bordered),_classNames),(0,statusUtils.Z)(prefixCls,(0,statusUtils.F)(contextStatus,customStatus),hasFeedback),className),locale:locale.lang,prefixCls,getPopupContainer:customGetPopupContainer||getPopupContainer,generateConfig,components:Components,direction}))}))}))},_this}return(0,createClass.Z)(RangePicker,[{key:"render",value:function render(){return react.createElement(LocaleReceiver.Z,{componentName:"DatePicker",defaultLocale:en_US.Z},this.renderPicker)}}]),RangePicker}(react.Component);return RangePicker.contextType=context.E_,(0,react.forwardRef)((function(props,ref){var customizePrefixCls=props.prefixCls,prefixCls=(0,(0,react.useContext)(context.E_).getPrefixCls)("picker",customizePrefixCls);return react.createElement(RangePicker,(0,esm_extends.Z)({},props,{prefixCls,ref}))}))}(generateConfig),MergedDatePicker=DatePicker;return MergedDatePicker.WeekPicker=WeekPicker,MergedDatePicker.MonthPicker=MonthPicker,MergedDatePicker.YearPicker=YearPicker,MergedDatePicker.RangePicker=RangePicker,MergedDatePicker.TimePicker=TimePicker,MergedDatePicker.QuarterPicker=QuarterPicker,MergedDatePicker};const date_picker=date_picker_generatePicker(generate_moment)},"./node_modules/antd/es/date-picker/locale/en_US.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>date_picker_locale_en_US});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js");const en_US={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"};var locale_en_US=__webpack_require__("./node_modules/antd/es/time-picker/locale/en_US.js");const date_picker_locale_en_US={lang:(0,esm_extends.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},en_US),timePickerLocale:(0,esm_extends.Z)({},locale_en_US.Z)}},"./node_modules/antd/es/dropdown/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>es_dropdown});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),react=__webpack_require__("./node_modules/react/index.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),es=__webpack_require__("./node_modules/rc-trigger/es/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),autoAdjustOverflow={adjustX:1,adjustY:1},targetOffset=[0,0];const es_placements={topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow,offset:[0,-4],targetOffset},topCenter:{points:["bc","tc"],overflow:autoAdjustOverflow,offset:[0,-4],targetOffset},topRight:{points:["br","tr"],overflow:autoAdjustOverflow,offset:[0,-4],targetOffset},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow,offset:[0,4],targetOffset},bottomCenter:{points:["tc","bc"],overflow:autoAdjustOverflow,offset:[0,4],targetOffset},bottomRight:{points:["tr","br"],overflow:autoAdjustOverflow,offset:[0,4],targetOffset}};var KeyCode=__webpack_require__("./node_modules/rc-util/es/KeyCode.js"),ESC=KeyCode.Z.ESC,TAB=KeyCode.Z.TAB;var es_ref=__webpack_require__("./node_modules/rc-util/es/ref.js"),_excluded=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger"];function Dropdown(props,ref){var _props$arrow=props.arrow,arrow=void 0!==_props$arrow&&_props$arrow,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-dropdown":_props$prefixCls,transitionName=props.transitionName,animation=props.animation,align=props.align,_props$placement=props.placement,placement=void 0===_props$placement?"bottomLeft":_props$placement,_props$placements=props.placements,placements=void 0===_props$placements?es_placements:_props$placements,getPopupContainer=props.getPopupContainer,showAction=props.showAction,hideAction=props.hideAction,overlayClassName=props.overlayClassName,overlayStyle=props.overlayStyle,visible=props.visible,_props$trigger=props.trigger,trigger=void 0===_props$trigger?["hover"]:_props$trigger,otherProps=(0,objectWithoutProperties.Z)(props,_excluded),_React$useState=react.useState(),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),triggerVisible=_React$useState2[0],setTriggerVisible=_React$useState2[1],mergedVisible="visible"in props?visible:triggerVisible,triggerRef=react.useRef(null);react.useImperativeHandle(ref,(function(){return triggerRef.current}));var menuRef=react.useRef(null),menuClassName="".concat(prefixCls,"-menu");!function useAccessibility(_ref){var visible=_ref.visible,setTriggerVisible=_ref.setTriggerVisible,triggerRef=_ref.triggerRef,menuRef=_ref.menuRef,onVisibleChange=_ref.onVisibleChange,focusMenuRef=react.useRef(!1),handleCloseMenuAndReturnFocus=function handleCloseMenuAndReturnFocus(){var _triggerRef$current,_triggerRef$current$t,_triggerRef$current$t2,_triggerRef$current$t3;visible&&triggerRef.current&&(null===(_triggerRef$current=triggerRef.current)||void 0===_triggerRef$current||null===(_triggerRef$current$t=_triggerRef$current.triggerRef)||void 0===_triggerRef$current$t||null===(_triggerRef$current$t2=_triggerRef$current$t.current)||void 0===_triggerRef$current$t2||null===(_triggerRef$current$t3=_triggerRef$current$t2.focus)||void 0===_triggerRef$current$t3||_triggerRef$current$t3.call(_triggerRef$current$t2),setTriggerVisible(!1),"function"==typeof onVisibleChange&&onVisibleChange(!1))},handleKeyDown=function handleKeyDown(event){var _menuRef$current;switch(event.keyCode){case ESC:handleCloseMenuAndReturnFocus();break;case TAB:!focusMenuRef.current&&(null===(_menuRef$current=menuRef.current)||void 0===_menuRef$current?void 0:_menuRef$current.focus)?(event.preventDefault(),menuRef.current.focus(),focusMenuRef.current=!0):handleCloseMenuAndReturnFocus()}};react.useEffect((function(){return visible?(window.addEventListener("keydown",handleKeyDown),function(){window.removeEventListener("keydown",handleKeyDown),focusMenuRef.current=!1}):function(){return null}}),[visible])}({visible:mergedVisible,setTriggerVisible,triggerRef,menuRef,onVisibleChange:props.onVisibleChange});var getOverlayElement=function getOverlayElement(){var overlay=props.overlay;return"function"==typeof overlay?overlay():overlay},onClick=function onClick(e){var onOverlayClick=props.onOverlayClick,overlayProps=getOverlayElement().props;setTriggerVisible(!1),onOverlayClick&&onOverlayClick(e),overlayProps.onClick&&overlayProps.onClick(e)},getMenuElement=function getMenuElement(){var _extraOverlayProps,overlayElement=getOverlayElement(),composedMenuRef=(0,es_ref.sQ)(menuRef,overlayElement.ref),extraOverlayProps=(_extraOverlayProps={prefixCls:menuClassName},(0,defineProperty.Z)(_extraOverlayProps,"data-dropdown-inject",!0),(0,defineProperty.Z)(_extraOverlayProps,"onClick",onClick),(0,defineProperty.Z)(_extraOverlayProps,"ref",(0,es_ref.Yr)(overlayElement)?composedMenuRef:void 0),_extraOverlayProps);return"string"==typeof overlayElement.type&&(delete extraOverlayProps.prefixCls,delete extraOverlayProps["data-dropdown-inject"]),react.createElement(react.Fragment,null,arrow&&react.createElement("div",{className:"".concat(prefixCls,"-arrow")}),react.cloneElement(overlayElement,extraOverlayProps))},triggerHideAction=hideAction;return triggerHideAction||-1===trigger.indexOf("contextMenu")||(triggerHideAction=["click"]),react.createElement(es.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({builtinPlacements:placements},otherProps),{},{prefixCls,ref:triggerRef,popupClassName:classnames_default()(overlayClassName,(0,defineProperty.Z)({},"".concat(prefixCls,"-show-arrow"),arrow)),popupStyle:overlayStyle,action:trigger,showAction,hideAction:triggerHideAction||[],popupPlacement:placement,popupAlign:align,popupTransitionName:transitionName,popupAnimation:animation,popupVisible:mergedVisible,stretch:function getMinOverlayWidthMatchTrigger(){var minOverlayWidthMatchTrigger=props.minOverlayWidthMatchTrigger,alignPoint=props.alignPoint;return"minOverlayWidthMatchTrigger"in props?minOverlayWidthMatchTrigger:!alignPoint}()?"minWidth":"",popup:function getMenuElementOrLambda(){return"function"==typeof props.overlay?getMenuElement:getMenuElement()}(),onPopupVisibleChange:function onVisibleChange(newVisible){var onVisibleChangeProp=props.onVisibleChange;setTriggerVisible(newVisible),"function"==typeof onVisibleChangeProp&&onVisibleChangeProp(newVisible)},getPopupContainer}),function renderChildren(){var children=props.children,childrenProps=children.props?children.props:{},childClassName=classnames_default()(childrenProps.className,function getOpenClassName(){var openClassName=props.openClassName;return void 0!==openClassName?openClassName:"".concat(prefixCls,"-open")}());return mergedVisible&&children?react.cloneElement(children,{className:childClassName}):children}())}const rc_dropdown_es=react.forwardRef(Dropdown);var RightOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/RightOutlined.js"),EllipsisOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js"),es_button=__webpack_require__("./node_modules/antd/es/button/index.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},ButtonGroup=es_button.Z.Group,DropdownButton=function DropdownButton(props){var _React$useContext=react.useContext(context.E_),getContextPopupContainer=_React$useContext.getPopupContainer,getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,customizePrefixCls=props.prefixCls,_props$type=props.type,type=void 0===_props$type?"default":_props$type,disabled=props.disabled,loading=props.loading,onClick=props.onClick,htmlType=props.htmlType,children=props.children,className=props.className,overlay=props.overlay,trigger=props.trigger,align=props.align,visible=props.visible,onVisibleChange=props.onVisibleChange,placement=props.placement,getPopupContainer=props.getPopupContainer,href=props.href,_props$icon=props.icon,icon=void 0===_props$icon?react.createElement(EllipsisOutlined.Z,null):_props$icon,title=props.title,_props$buttonsRender=props.buttonsRender,buttonsRender=void 0===_props$buttonsRender?function(buttons){return buttons}:_props$buttonsRender,mouseEnterDelay=props.mouseEnterDelay,mouseLeaveDelay=props.mouseLeaveDelay,overlayClassName=props.overlayClassName,overlayStyle=props.overlayStyle,destroyPopupOnHide=props.destroyPopupOnHide,restProps=__rest(props,["prefixCls","type","disabled","loading","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide"]),prefixCls=getPrefixCls("dropdown-button",customizePrefixCls),dropdownProps={align,overlay,disabled,trigger:disabled?[]:trigger,onVisibleChange,getPopupContainer:getPopupContainer||getContextPopupContainer,mouseEnterDelay,mouseLeaveDelay,overlayClassName,overlayStyle,destroyPopupOnHide};"visible"in props&&(dropdownProps.visible=visible),dropdownProps.placement="placement"in props?placement:"rtl"===direction?"bottomLeft":"bottomRight";var _buttonsRender=buttonsRender([react.createElement(es_button.Z,{type,disabled,loading,onClick,htmlType,href,title},children),react.createElement(es_button.Z,{type,icon})]),_buttonsRender2=(0,slicedToArray.Z)(_buttonsRender,2),leftButtonToRender=_buttonsRender2[0],rightButtonToRender=_buttonsRender2[1];return react.createElement(ButtonGroup,(0,esm_extends.Z)({},restProps,{className:classnames_default()(prefixCls,className)}),leftButtonToRender,react.createElement(dropdown,dropdownProps,rightButtonToRender))};DropdownButton.__ANT_BUTTON=!0;const dropdown_button=DropdownButton;var type=__webpack_require__("./node_modules/antd/es/_util/type.js"),reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js"),_util_placements=__webpack_require__("./node_modules/antd/es/_util/placements.js"),dropdown_Dropdown=((0,type.b)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight","top","bottom"),function Dropdown(props){var alignPoint,_React$useContext=react.useContext(context.E_),getContextPopupContainer=_React$useContext.getPopupContainer,getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,arrow=props.arrow,customizePrefixCls=props.prefixCls,children=props.children,trigger=props.trigger,disabled=props.disabled,getPopupContainer=props.getPopupContainer,overlayClassName=props.overlayClassName,prefixCls=getPrefixCls("dropdown",customizePrefixCls),child=react.Children.only(children),dropdownTrigger=(0,reactNode.Tm)(child,{className:classnames_default()("".concat(prefixCls,"-trigger"),(0,defineProperty.Z)({},"".concat(prefixCls,"-rtl"),"rtl"===direction),child.props.className),disabled}),overlayClassNameCustomized=classnames_default()(overlayClassName,(0,defineProperty.Z)({},"".concat(prefixCls,"-rtl"),"rtl"===direction)),triggerActions=disabled?[]:trigger;triggerActions&&-1!==triggerActions.indexOf("contextMenu")&&(alignPoint=!0);var builtinPlacements=(0,_util_placements.Z)({arrowPointAtCenter:"object"===(0,esm_typeof.Z)(arrow)&&arrow.pointAtCenter,autoAdjustOverflow:!0});return react.createElement(rc_dropdown_es,(0,esm_extends.Z)({alignPoint},props,{builtinPlacements,arrow:!!arrow,overlayClassName:overlayClassNameCustomized,prefixCls,getPopupContainer:getPopupContainer||getContextPopupContainer,transitionName:function getTransitionName(){var rootPrefixCls=getPrefixCls(),_props$placement=props.placement,placement=void 0===_props$placement?"":_props$placement,transitionName=props.transitionName;return void 0!==transitionName?transitionName:placement.indexOf("top")>=0?"".concat(rootPrefixCls,"-slide-down"):"".concat(rootPrefixCls,"-slide-up")}(),trigger:triggerActions,overlay:function overlay(){return function renderOverlay(prefixCls){var overlayNode,overlay=props.overlay;overlayNode="function"==typeof overlay?overlay():overlay;var overlayProps=(overlayNode=react.Children.only("string"==typeof overlayNode?react.createElement("span",null,overlayNode):overlayNode)).props,_overlayProps$selecta=overlayProps.selectable,selectable=void 0!==_overlayProps$selecta&&_overlayProps$selecta,expandIcon=overlayProps.expandIcon,overlayNodeExpandIcon=void 0!==expandIcon&&react.isValidElement(expandIcon)?expandIcon:react.createElement("span",{className:"".concat(prefixCls,"-menu-submenu-arrow")},react.createElement(RightOutlined.Z,{className:"".concat(prefixCls,"-menu-submenu-arrow-icon")}));return"string"==typeof overlayNode.type?overlayNode:(0,reactNode.Tm)(overlayNode,{mode:"vertical",selectable,expandIcon:overlayNodeExpandIcon})}(prefixCls)},placement:function getPlacement(){var placement=props.placement;return placement?placement.includes("Center")?placement.slice(0,placement.indexOf("Center")):placement:"rtl"===direction?"bottomRight":"bottomLeft"}()}),dropdownTrigger)});dropdown_Dropdown.Button=dropdown_button,dropdown_Dropdown.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};const dropdown=dropdown_Dropdown,es_dropdown=dropdown_Dropdown},"./node_modules/antd/es/form/context.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{RV:()=>FormProvider,Rk:()=>FormItemPrefixContext,aM:()=>FormItemInputContext,ap:()=>NoFormStatus,q3:()=>FormContext,qI:()=>NoStyleItemContext});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),rc_util_es_omit__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),rc_field_form__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rc-field-form/es/index.js"),FormContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({labelAlign:"right",vertical:!1,itemRef:function itemRef(){}}),NoStyleItemContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(null),FormProvider=function FormProvider(props){var providerProps=(0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_2__.Z)(props,["prefixCls"]);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(rc_field_form__WEBPACK_IMPORTED_MODULE_1__.RV,providerProps)},FormItemPrefixContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({prefixCls:""}),FormItemInputContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({}),NoFormStatus=function NoFormStatus(_ref){var children=_ref.children,emptyContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((function(){return{}}),[]);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(FormItemInputContext.Provider,{value:emptyContext},children)}},"./node_modules/antd/es/form/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>es_form});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),es=__webpack_require__("./node_modules/rc-field-form/es/index.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),form_context=__webpack_require__("./node_modules/antd/es/form/context.js"),scroll_into_view_if_needed_es=__webpack_require__("./node_modules/scroll-into-view-if-needed/es/index.js"),formItemNameBlackList=["parentNode"];function toArray(candidate){return void 0===candidate||!1===candidate?[]:Array.isArray(candidate)?candidate:[candidate]}function getFieldId(namePath,formName){if(namePath.length){var mergedId=namePath.join("_");return formName?"".concat(formName,"_").concat(mergedId):formItemNameBlackList.indexOf(mergedId)>=0?"".concat("form_item","_").concat(mergedId):mergedId}}function toNamePathStr(name){return toArray(name).join("_")}function useForm(form){var _useRcForm=(0,es.cI)(),rcForm=(0,slicedToArray.Z)(_useRcForm,1)[0],itemsRef=react.useRef({}),wrapForm=react.useMemo((function(){return null!=form?form:(0,esm_extends.Z)((0,esm_extends.Z)({},rcForm),{__INTERNAL__:{itemRef:function itemRef(name){return function(node){var namePathStr=toNamePathStr(name);node?itemsRef.current[namePathStr]=node:delete itemsRef.current[namePathStr]}}},scrollToField:function scrollToField(name){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},namePath=toArray(name),fieldId=getFieldId(namePath,wrapForm.__INTERNAL__.name),node=fieldId?document.getElementById(fieldId):null;node&&(0,scroll_into_view_if_needed_es.Z)(node,(0,esm_extends.Z)({scrollMode:"if-needed",block:"nearest"},options))},getFieldInstance:function getFieldInstance(name){var namePathStr=toNamePathStr(name);return itemsRef.current[namePathStr]}})}),[form,rcForm]);return[wrapForm]}var SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},InternalForm=function InternalForm(props,ref){var _classNames,contextSize=react.useContext(SizeContext.Z),_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,contextForm=_React$useContext.form,customizePrefixCls=props.prefixCls,_props$className=props.className,className=void 0===_props$className?"":_props$className,_props$size=props.size,size=void 0===_props$size?contextSize:_props$size,form=props.form,colon=props.colon,labelAlign=props.labelAlign,labelWrap=props.labelWrap,labelCol=props.labelCol,wrapperCol=props.wrapperCol,hideRequiredMark=props.hideRequiredMark,_props$layout=props.layout,layout=void 0===_props$layout?"horizontal":_props$layout,scrollToFirstError=props.scrollToFirstError,requiredMark=props.requiredMark,onFinishFailed=props.onFinishFailed,name=props.name,restFormProps=__rest(props,["prefixCls","className","size","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),mergedRequiredMark=(0,react.useMemo)((function(){return void 0!==requiredMark?requiredMark:contextForm&&void 0!==contextForm.requiredMark?contextForm.requiredMark:!hideRequiredMark}),[hideRequiredMark,requiredMark,contextForm]),mergedColon=null!=colon?colon:null==contextForm?void 0:contextForm.colon,prefixCls=getPrefixCls("form",customizePrefixCls),formClassName=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(layout),!0),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-hide-required-mark"),!1===mergedRequiredMark),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(size),size),_classNames),className),_useForm=useForm(form),wrapForm=(0,slicedToArray.Z)(_useForm,1)[0],__INTERNAL__=wrapForm.__INTERNAL__;__INTERNAL__.name=name;var formContextValue=(0,react.useMemo)((function(){return{name,labelAlign,labelCol,labelWrap,wrapperCol,vertical:"vertical"===layout,colon:mergedColon,requiredMark:mergedRequiredMark,itemRef:__INTERNAL__.itemRef,form:wrapForm}}),[name,labelAlign,labelCol,wrapperCol,layout,mergedColon,mergedRequiredMark,wrapForm]);react.useImperativeHandle(ref,(function(){return wrapForm}));return react.createElement(SizeContext.q,{size},react.createElement(form_context.q3.Provider,{value:formContextValue},react.createElement(es.ZP,(0,esm_extends.Z)({id:name},restFormProps,{name,onFinishFailed:function onInternalFinishFailed(errorInfo){null==onFinishFailed||onFinishFailed(errorInfo);var defaultScrollToFirstError={block:"nearest"};scrollToFirstError&&errorInfo.errorFields.length&&("object"===(0,esm_typeof.Z)(scrollToFirstError)&&(defaultScrollToFirstError=scrollToFirstError),wrapForm.scrollToField(errorInfo.errorFields[0].name,defaultScrollToFirstError))},form:wrapForm,className:formClassName}))))};const form_Form=react.forwardRef(InternalForm);var toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),ref=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/ref.js"),useState=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/hooks/useState.js"),omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),CheckCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js"),ExclamationCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js"),CloseCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js"),LoadingOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js");const grid_RowContext=(0,react.createContext)({});var type=__webpack_require__("./node_modules/antd/es/_util/type.js"),responsiveObserve=__webpack_require__("./node_modules/antd/es/_util/responsiveObserve.js"),useFlexGapSupport=__webpack_require__("./node_modules/antd/es/_util/hooks/useFlexGapSupport.js"),row_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},Row=((0,type.b)("top","middle","bottom","stretch"),(0,type.b)("start","end","center","space-around","space-between","space-evenly"),react.forwardRef((function(props,ref){var _classNames,customizePrefixCls=props.prefixCls,justify=props.justify,align=props.align,className=props.className,style=props.style,children=props.children,_props$gutter=props.gutter,gutter=void 0===_props$gutter?0:_props$gutter,wrap=props.wrap,others=row_rest(props,["prefixCls","justify","align","className","style","children","gutter","wrap"]),_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,_React$useState=react.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),screens=_React$useState2[0],setScreens=_React$useState2[1],supportFlexGap=(0,useFlexGapSupport.Z)(),gutterRef=react.useRef(gutter);react.useEffect((function(){var token=responsiveObserve.ZP.subscribe((function(screen){var currentGutter=gutterRef.current||0;(!Array.isArray(currentGutter)&&"object"===(0,esm_typeof.Z)(currentGutter)||Array.isArray(currentGutter)&&("object"===(0,esm_typeof.Z)(currentGutter[0])||"object"===(0,esm_typeof.Z)(currentGutter[1])))&&setScreens(screen)}));return function(){return responsiveObserve.ZP.unsubscribe(token)}}),[]);var prefixCls=getPrefixCls("row",customizePrefixCls),gutters=function getGutter(){var results=[void 0,void 0];return(Array.isArray(gutter)?gutter:[gutter,void 0]).forEach((function(g,index){if("object"===(0,esm_typeof.Z)(g))for(var i=0;i<responsiveObserve.c4.length;i++){var breakpoint=responsiveObserve.c4[i];if(screens[breakpoint]&&void 0!==g[breakpoint]){results[index]=g[breakpoint];break}}else results[index]=g})),results}(),classes=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-no-wrap"),!1===wrap),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(justify),justify),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(align),align),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className),rowStyle={},horizontalGutter=null!=gutters[0]&&gutters[0]>0?gutters[0]/-2:void 0,verticalGutter=null!=gutters[1]&&gutters[1]>0?gutters[1]/-2:void 0;if(horizontalGutter&&(rowStyle.marginLeft=horizontalGutter,rowStyle.marginRight=horizontalGutter),supportFlexGap){var _gutters=(0,slicedToArray.Z)(gutters,2);rowStyle.rowGap=_gutters[1]}else verticalGutter&&(rowStyle.marginTop=verticalGutter,rowStyle.marginBottom=verticalGutter);var _gutters2=(0,slicedToArray.Z)(gutters,2),gutterH=_gutters2[0],gutterV=_gutters2[1],rowContext=react.useMemo((function(){return{gutter:[gutterH,gutterV],wrap,supportFlexGap}}),[gutterH,gutterV,wrap,supportFlexGap]);return react.createElement(grid_RowContext.Provider,{value:rowContext},react.createElement("div",(0,esm_extends.Z)({role:"row"},others,{className:classes,style:(0,esm_extends.Z)((0,esm_extends.Z)({},rowStyle),style),ref}),children))})));Row.displayName="Row";const row=Row;var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");const asn_QuestionCircleOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),QuestionCircleOutlined_QuestionCircleOutlined=function QuestionCircleOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_QuestionCircleOutlined}))};QuestionCircleOutlined_QuestionCircleOutlined.displayName="QuestionCircleOutlined";const icons_QuestionCircleOutlined=react.forwardRef(QuestionCircleOutlined_QuestionCircleOutlined);var col_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};var sizes=["xs","sm","md","lg","xl","xxl"],Col=react.forwardRef((function(props,ref){var _classNames,_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,_React$useContext2=react.useContext(grid_RowContext),gutter=_React$useContext2.gutter,wrap=_React$useContext2.wrap,supportFlexGap=_React$useContext2.supportFlexGap,customizePrefixCls=props.prefixCls,span=props.span,order=props.order,offset=props.offset,push=props.push,pull=props.pull,className=props.className,children=props.children,flex=props.flex,style=props.style,others=col_rest(props,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),prefixCls=getPrefixCls("col",customizePrefixCls),sizeClassObj={};sizes.forEach((function(size){var _extends2,sizeProps={},propSize=props[size];"number"==typeof propSize?sizeProps.span=propSize:"object"===(0,esm_typeof.Z)(propSize)&&(sizeProps=propSize||{}),delete others[size],sizeClassObj=(0,esm_extends.Z)((0,esm_extends.Z)({},sizeClassObj),(_extends2={},(0,defineProperty.Z)(_extends2,"".concat(prefixCls,"-").concat(size,"-").concat(sizeProps.span),void 0!==sizeProps.span),(0,defineProperty.Z)(_extends2,"".concat(prefixCls,"-").concat(size,"-order-").concat(sizeProps.order),sizeProps.order||0===sizeProps.order),(0,defineProperty.Z)(_extends2,"".concat(prefixCls,"-").concat(size,"-offset-").concat(sizeProps.offset),sizeProps.offset||0===sizeProps.offset),(0,defineProperty.Z)(_extends2,"".concat(prefixCls,"-").concat(size,"-push-").concat(sizeProps.push),sizeProps.push||0===sizeProps.push),(0,defineProperty.Z)(_extends2,"".concat(prefixCls,"-").concat(size,"-pull-").concat(sizeProps.pull),sizeProps.pull||0===sizeProps.pull),(0,defineProperty.Z)(_extends2,"".concat(prefixCls,"-rtl"),"rtl"===direction),_extends2))}));var classes=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(span),void 0!==span),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-order-").concat(order),order),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-offset-").concat(offset),offset),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-push-").concat(push),push),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-pull-").concat(pull),pull),_classNames),className,sizeClassObj),mergedStyle={};if(gutter&&gutter[0]>0){var horizontalGutter=gutter[0]/2;mergedStyle.paddingLeft=horizontalGutter,mergedStyle.paddingRight=horizontalGutter}if(gutter&&gutter[1]>0&&!supportFlexGap){var verticalGutter=gutter[1]/2;mergedStyle.paddingTop=verticalGutter,mergedStyle.paddingBottom=verticalGutter}return flex&&(mergedStyle.flex=function parseFlex(flex){return"number"==typeof flex?"".concat(flex," ").concat(flex," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(flex)?"0 0 ".concat(flex):flex}(flex),!1!==wrap||mergedStyle.minWidth||(mergedStyle.minWidth=0)),react.createElement("div",(0,esm_extends.Z)({role:"cell"},others,{style:(0,esm_extends.Z)((0,esm_extends.Z)({},mergedStyle),style),className:classes,ref}),children)}));Col.displayName="Col";const col=Col;var LocaleReceiver=__webpack_require__("./node_modules/antd/es/locale-provider/LocaleReceiver.js"),locale_default=__webpack_require__("./node_modules/antd/es/locale/default.js"),es_tooltip=__webpack_require__("./node_modules/antd/es/tooltip/index.js"),FormItemLabel_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};const form_FormItemLabel=function FormItemLabel(_ref){var prefixCls=_ref.prefixCls,label=_ref.label,htmlFor=_ref.htmlFor,labelCol=_ref.labelCol,labelAlign=_ref.labelAlign,colon=_ref.colon,required=_ref.required,requiredMark=_ref.requiredMark,tooltip=_ref.tooltip,_useLocaleReceiver=(0,LocaleReceiver.E)("Form"),formLocale=(0,slicedToArray.Z)(_useLocaleReceiver,1)[0];return label?react.createElement(form_context.q3.Consumer,{key:"label"},(function(_ref2){var _classNames2,_a,vertical=_ref2.vertical,contextLabelAlign=_ref2.labelAlign,contextLabelCol=_ref2.labelCol,labelWrap=_ref2.labelWrap,contextColon=_ref2.colon,mergedLabelCol=labelCol||contextLabelCol||{},mergedLabelAlign=labelAlign||contextLabelAlign,labelClsBasic="".concat(prefixCls,"-item-label"),labelColClassName=classnames_default()(labelClsBasic,"left"===mergedLabelAlign&&"".concat(labelClsBasic,"-left"),mergedLabelCol.className,(0,defineProperty.Z)({},"".concat(labelClsBasic,"-wrap"),!!labelWrap)),labelChildren=label,computedColon=!0===colon||!1!==contextColon&&!1!==colon;computedColon&&!vertical&&"string"==typeof label&&""!==label.trim()&&(labelChildren=label.replace(/[:|:]\s*$/,""));var tooltipProps=function toTooltipProps(tooltip){return tooltip?"object"!==(0,esm_typeof.Z)(tooltip)||react.isValidElement(tooltip)?{title:tooltip}:tooltip:null}(tooltip);if(tooltipProps){var _tooltipProps$icon=tooltipProps.icon,icon=void 0===_tooltipProps$icon?react.createElement(icons_QuestionCircleOutlined,null):_tooltipProps$icon,restTooltipProps=FormItemLabel_rest(tooltipProps,["icon"]),tooltipNode=react.createElement(es_tooltip.Z,restTooltipProps,react.cloneElement(icon,{className:"".concat(prefixCls,"-item-tooltip"),title:""}));labelChildren=react.createElement(react.Fragment,null,labelChildren,tooltipNode)}"optional"!==requiredMark||required||(labelChildren=react.createElement(react.Fragment,null,labelChildren,react.createElement("span",{className:"".concat(prefixCls,"-item-optional"),title:""},(null==formLocale?void 0:formLocale.optional)||(null===(_a=locale_default.Z.Form)||void 0===_a?void 0:_a.optional))));var labelClassName=classnames_default()((_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-item-required"),required),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-item-required-mark-optional"),"optional"===requiredMark),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-item-no-colon"),!computedColon),_classNames2));return react.createElement(col,(0,esm_extends.Z)({},mergedLabelCol,{className:labelColClassName}),react.createElement("label",{htmlFor,className:labelClassName,title:"string"==typeof label?label:""},labelChildren))})):null};var rc_motion_es=__webpack_require__("./node_modules/rc-motion/es/index.js"),motion=__webpack_require__("./node_modules/antd/es/_util/motion.js"),EMPTY_LIST=[];function toErrorEntity(error,errorStatus,prefix){var index=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof error?error:"".concat(prefix,"-").concat(index),error,errorStatus}}function ErrorList(_ref){var help=_ref.help,helpStatus=_ref.helpStatus,_ref$errors=_ref.errors,errors=void 0===_ref$errors?EMPTY_LIST:_ref$errors,_ref$warnings=_ref.warnings,warnings=void 0===_ref$warnings?EMPTY_LIST:_ref$warnings,rootClassName=_ref.className,prefixCls=react.useContext(form_context.Rk).prefixCls,getPrefixCls=react.useContext(context.E_).getPrefixCls,baseClassName="".concat(prefixCls,"-item-explain"),rootPrefixCls=getPrefixCls(),fullKeyList=react.useMemo((function(){return null!=help?[toErrorEntity(help,helpStatus,"help")]:[].concat((0,toConsumableArray.Z)(errors.map((function(error,index){return toErrorEntity(error,"error","error",index)}))),(0,toConsumableArray.Z)(warnings.map((function(warning,index){return toErrorEntity(warning,"warning","warning",index)}))))}),[help,helpStatus,errors,warnings]);return react.createElement(rc_motion_es.Z,(0,esm_extends.Z)({},motion.ZP,{motionName:"".concat(rootPrefixCls,"-show-help"),motionAppear:!1,motionEnter:!1,visible:!!fullKeyList.length,onLeaveStart:function onLeaveStart(node){return node.style.height="auto",{height:node.offsetHeight}}}),(function(holderProps){var holderClassName=holderProps.className,holderStyle=holderProps.style;return react.createElement("div",{className:classnames_default()(baseClassName,holderClassName,rootClassName),style:holderStyle},react.createElement(rc_motion_es.V,(0,esm_extends.Z)({keys:fullKeyList},motion.ZP,{motionName:"".concat(rootPrefixCls,"-show-help-item"),component:!1}),(function(itemProps){var key=itemProps.key,error=itemProps.error,errorStatus=itemProps.errorStatus,itemClassName=itemProps.className,itemStyle=itemProps.style;return react.createElement("div",{key,role:"alert",className:classnames_default()(itemClassName,(0,defineProperty.Z)({},"".concat(baseClassName,"-").concat(errorStatus),errorStatus)),style:itemStyle},error)})))}))}const form_FormItemInput=function FormItemInput(props){var prefixCls=props.prefixCls,status=props.status,wrapperCol=props.wrapperCol,children=props.children,errors=props.errors,warnings=props.warnings,formItemRender=props._internalItemRender,extra=props.extra,help=props.help,baseClassName="".concat(prefixCls,"-item"),formContext=react.useContext(form_context.q3),mergedWrapperCol=wrapperCol||formContext.wrapperCol||{},className=classnames_default()("".concat(baseClassName,"-control"),mergedWrapperCol.className),subFormContext=react.useMemo((function(){return(0,esm_extends.Z)({},formContext)}),[formContext]);delete subFormContext.labelCol,delete subFormContext.wrapperCol;var inputDom=react.createElement("div",{className:"".concat(baseClassName,"-control-input")},react.createElement("div",{className:"".concat(baseClassName,"-control-input-content")},children)),formItemContext=react.useMemo((function(){return{prefixCls,status}}),[prefixCls,status]),errorListDom=react.createElement(form_context.Rk.Provider,{value:formItemContext},react.createElement(ErrorList,{errors,warnings,help,helpStatus:status,className:"".concat(baseClassName,"-explain-connected")})),extraDom=extra?react.createElement("div",{className:"".concat(baseClassName,"-extra")},extra):null,dom=formItemRender&&"pro_table_render"===formItemRender.mark&&formItemRender.render?formItemRender.render(props,{input:inputDom,errorList:errorListDom,extra:extraDom}):react.createElement(react.Fragment,null,inputDom,errorListDom,extraDom);return react.createElement(form_context.q3.Provider,{value:subFormContext},react.createElement(col,(0,esm_extends.Z)({},mergedWrapperCol,{className}),dom))};var reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js"),raf=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/raf.js");function useDebounce(value){var _React$useState=react.useState(value),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),cacheValue=_React$useState2[0],setCacheValue=_React$useState2[1];return react.useEffect((function(){var timeout=setTimeout((function(){setCacheValue(value)}),value.length?0:10);return function(){clearTimeout(timeout)}}),[value]),cacheValue}var FormItem_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},MemoInput=((0,type.b)("success","warning","error","validating",""),react.memo((function(_ref){return _ref.children}),(function(prev,next){return prev.value===next.value&&prev.update===next.update})));var iconMap={success:CheckCircleFilled.Z,warning:ExclamationCircleFilled.Z,error:CloseCircleFilled.Z,validating:LoadingOutlined.Z};const form_FormItem=function FormItem(props){var name=props.name,noStyle=props.noStyle,dependencies=props.dependencies,customizePrefixCls=props.prefixCls,style=props.style,className=props.className,shouldUpdate=props.shouldUpdate,hasFeedback=props.hasFeedback,help=props.help,rules=props.rules,validateStatus=props.validateStatus,children=props.children,required=props.required,label=props.label,messageVariables=props.messageVariables,_props$trigger=props.trigger,trigger=void 0===_props$trigger?"onChange":_props$trigger,validateTrigger=props.validateTrigger,hidden=props.hidden,restProps=FormItem_rest(props,["name","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","messageVariables","trigger","validateTrigger","hidden"]),getPrefixCls=(0,react.useContext)(context.E_).getPrefixCls,_useContext2=(0,react.useContext)(form_context.q3),formName=_useContext2.name,requiredMark=_useContext2.requiredMark,isRenderProps="function"==typeof children,notifyParentMetaChange=(0,react.useContext)(form_context.qI),contextValidateTrigger=(0,react.useContext)(es.zb).validateTrigger,mergedValidateTrigger=void 0!==validateTrigger?validateTrigger:contextValidateTrigger,hasName=function hasValidName(name){return!(null==name)}(name),prefixCls=getPrefixCls("form",customizePrefixCls),listContext=react.useContext(es.ZM),fieldKeyPathRef=react.useRef(),_useFrameState=function useFrameState(defaultValue){var _React$useState=react.useState(defaultValue),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),value=_React$useState2[0],setValue=_React$useState2[1],frameRef=(0,react.useRef)(null),batchRef=(0,react.useRef)([]),destroyRef=(0,react.useRef)(!1);return react.useEffect((function(){return destroyRef.current=!1,function(){destroyRef.current=!0,raf.Z.cancel(frameRef.current),frameRef.current=null}}),[]),[value,function setFrameValue(updater){destroyRef.current||(null===frameRef.current&&(batchRef.current=[],frameRef.current=(0,raf.Z)((function(){frameRef.current=null,setValue((function(prevValue){var current=prevValue;return batchRef.current.forEach((function(func){current=func(current)})),current}))}))),batchRef.current.push(updater))}]}({}),_useFrameState2=(0,slicedToArray.Z)(_useFrameState,2),subFieldErrors=_useFrameState2[0],setSubFieldErrors=_useFrameState2[1],_useState=(0,useState.Z)((function(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[]}})),_useState2=(0,slicedToArray.Z)(_useState,2),meta=_useState2[0],setMeta=_useState2[1],onSubItemMetaChange=function onSubItemMetaChange(subMeta,uniqueKeys){setSubFieldErrors((function(prevSubFieldErrors){var clone=(0,esm_extends.Z)({},prevSubFieldErrors),mergedNameKey=[].concat((0,toConsumableArray.Z)(subMeta.name.slice(0,-1)),(0,toConsumableArray.Z)(uniqueKeys)).join("__SPLIT__");return subMeta.destroy?delete clone[mergedNameKey]:clone[mergedNameKey]=subMeta,clone}))},_React$useMemo=react.useMemo((function(){var errorList=(0,toConsumableArray.Z)(meta.errors),warningList=(0,toConsumableArray.Z)(meta.warnings);return Object.values(subFieldErrors).forEach((function(subFieldError){errorList.push.apply(errorList,(0,toConsumableArray.Z)(subFieldError.errors||[])),warningList.push.apply(warningList,(0,toConsumableArray.Z)(subFieldError.warnings||[]))})),[errorList,warningList]}),[subFieldErrors,meta.errors,meta.warnings]),_React$useMemo2=(0,slicedToArray.Z)(_React$useMemo,2),mergedErrors=_React$useMemo2[0],mergedWarnings=_React$useMemo2[1],debounceErrors=useDebounce(mergedErrors),debounceWarnings=useDebounce(mergedWarnings),getItemRef=function useItemRef(){var itemRef=react.useContext(form_context.q3).itemRef,cacheRef=react.useRef({});return function getRef(name,children){var childrenRef=children&&"object"===(0,esm_typeof.Z)(children)&&children.ref,nameStr=name.join("_");return cacheRef.current.name===nameStr&&cacheRef.current.originRef===childrenRef||(cacheRef.current.name=nameStr,cacheRef.current.originRef=childrenRef,cacheRef.current.ref=(0,ref.sQ)(itemRef(name),childrenRef)),cacheRef.current.ref}}(),mergedValidateStatus="";void 0!==validateStatus?mergedValidateStatus=validateStatus:(null==meta?void 0:meta.validating)?mergedValidateStatus="validating":debounceErrors.length?mergedValidateStatus="error":debounceWarnings.length?mergedValidateStatus="warning":(null==meta?void 0:meta.touched)&&(mergedValidateStatus="success");var formItemStatusContext=(0,react.useMemo)((function(){var feedbackIcon;if(hasFeedback){var IconNode=mergedValidateStatus&&iconMap[mergedValidateStatus];feedbackIcon=IconNode?react.createElement("span",{className:classnames_default()("".concat(prefixCls,"-item-feedback-icon"),"".concat(prefixCls,"-item-feedback-icon-").concat(mergedValidateStatus))},react.createElement(IconNode,null)):null}return{status:mergedValidateStatus,hasFeedback,feedbackIcon,isFormItemInput:!0}}),[mergedValidateStatus,hasFeedback]);function renderLayout(baseChildren,fieldId,isRequired){var _itemClassName;if(noStyle&&!hidden)return baseChildren;var itemClassName=(_itemClassName={},(0,defineProperty.Z)(_itemClassName,"".concat(prefixCls,"-item"),!0),(0,defineProperty.Z)(_itemClassName,"".concat(prefixCls,"-item-with-help"),null!=help||debounceErrors.length||debounceWarnings.length),(0,defineProperty.Z)(_itemClassName,"".concat(className),!!className),(0,defineProperty.Z)(_itemClassName,"".concat(prefixCls,"-item-has-feedback"),mergedValidateStatus&&hasFeedback),(0,defineProperty.Z)(_itemClassName,"".concat(prefixCls,"-item-has-success"),"success"===mergedValidateStatus),(0,defineProperty.Z)(_itemClassName,"".concat(prefixCls,"-item-has-warning"),"warning"===mergedValidateStatus),(0,defineProperty.Z)(_itemClassName,"".concat(prefixCls,"-item-has-error"),"error"===mergedValidateStatus),(0,defineProperty.Z)(_itemClassName,"".concat(prefixCls,"-item-is-validating"),"validating"===mergedValidateStatus),(0,defineProperty.Z)(_itemClassName,"".concat(prefixCls,"-item-hidden"),hidden),_itemClassName);return react.createElement(row,(0,esm_extends.Z)({className:classnames_default()(itemClassName),style,key:"row"},(0,omit.Z)(restProps,["colon","extra","fieldKey","requiredMark","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","labelAlign","labelWrap","labelCol","normalize","preserve","tooltip","validateFirst","valuePropName","wrapperCol","_internalItemRender"])),react.createElement(form_FormItemLabel,(0,esm_extends.Z)({htmlFor:fieldId,required:isRequired,requiredMark},props,{prefixCls})),react.createElement(form_FormItemInput,(0,esm_extends.Z)({},props,meta,{errors:debounceErrors,warnings:debounceWarnings,prefixCls,status:mergedValidateStatus,help}),react.createElement(form_context.qI.Provider,{value:onSubItemMetaChange},react.createElement(form_context.aM.Provider,{value:formItemStatusContext},baseChildren))))}if(!hasName&&!isRenderProps&&!dependencies)return renderLayout(children);var variables={};return"string"==typeof label?variables.label=label:name&&(variables.label=String(name)),messageVariables&&(variables=(0,esm_extends.Z)((0,esm_extends.Z)({},variables),messageVariables)),react.createElement(es.gN,(0,esm_extends.Z)({},props,{messageVariables:variables,trigger,validateTrigger:mergedValidateTrigger,onMetaChange:function onMetaChange(nextMeta){var keyInfo=null==listContext?void 0:listContext.getKey(nextMeta.name);if(setMeta(nextMeta.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[]}:nextMeta,!0),noStyle&¬ifyParentMetaChange){var namePath=nextMeta.name;if(nextMeta.destroy)namePath=fieldKeyPathRef.current||namePath;else if(void 0!==keyInfo){var _keyInfo=(0,slicedToArray.Z)(keyInfo,2),fieldKey=_keyInfo[0],restPath=_keyInfo[1];namePath=[fieldKey].concat((0,toConsumableArray.Z)(restPath)),fieldKeyPathRef.current=namePath}notifyParentMetaChange(nextMeta,namePath)}}}),(function(control,renderMeta,context){var mergedName=toArray(name).length&&renderMeta?renderMeta.name:[],fieldId=getFieldId(mergedName,formName),isRequired=void 0!==required?required:!(!rules||!rules.some((function(rule){if(rule&&"object"===(0,esm_typeof.Z)(rule)&&rule.required&&!rule.warningOnly)return!0;if("function"==typeof rule){var ruleEntity=rule(context);return ruleEntity&&ruleEntity.required&&!ruleEntity.warningOnly}return!1}))),mergedControl=(0,esm_extends.Z)({},control),childNode=null;if(Array.isArray(children)&&hasName)childNode=children;else if(isRenderProps&&(!shouldUpdate&&!dependencies||hasName));else if(!dependencies||isRenderProps||hasName)if((0,reactNode.l$)(children)){var childProps=(0,esm_extends.Z)((0,esm_extends.Z)({},children.props),mergedControl);childProps.id||(childProps.id=fieldId),(0,ref.Yr)(children)&&(childProps.ref=getItemRef(mergedName,children)),new Set([].concat((0,toConsumableArray.Z)(toArray(trigger)),(0,toConsumableArray.Z)(toArray(mergedValidateTrigger)))).forEach((function(eventName){childProps[eventName]=function(){for(var _a2,_c2,_a,_b,_c,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];null===(_a=mergedControl[eventName])||void 0===_a||(_a2=_a).call.apply(_a2,[mergedControl].concat(args)),null===(_c=(_b=children.props)[eventName])||void 0===_c||(_c2=_c).call.apply(_c2,[_b].concat(args))}})),childNode=react.createElement(MemoInput,{value:mergedControl[props.valuePropName||"value"],update:children},(0,reactNode.Tm)(children,childProps))}else childNode=isRenderProps&&(shouldUpdate||dependencies)&&!hasName?children(context):children;else;return renderLayout(childNode,fieldId,isRequired)}))};var FormList_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};const form_FormList=function FormList(_a){var customizePrefixCls=_a.prefixCls,children=_a.children,props=FormList_rest(_a,["prefixCls","children"]),prefixCls=(0,react.useContext(context.E_).getPrefixCls)("form",customizePrefixCls),contextValue=react.useMemo((function(){return{prefixCls,status:"error"}}),[prefixCls]);return react.createElement(es.aV,props,(function(fields,operation,meta){return react.createElement(form_context.Rk.Provider,{value:contextValue},children(fields.map((function(field){return(0,esm_extends.Z)((0,esm_extends.Z)({},field),{fieldKey:field.key})})),operation,{errors:meta.errors,warnings:meta.warnings}))}))};var es_form_Form=form_Form;es_form_Form.Item=form_FormItem,es_form_Form.List=form_FormList,es_form_Form.ErrorList=ErrorList,es_form_Form.useForm=useForm,es_form_Form.useFormInstance=function useFormInstance(){return(0,react.useContext)(form_context.q3).form},es_form_Form.useWatch=es.qo,es_form_Form.Provider=form_context.RV,es_form_Form.create=function(){};const es_form=es_form_Form},"./node_modules/antd/es/grid/hooks/useBreakpoint.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>hooks_useBreakpoint});var react=__webpack_require__("./node_modules/react/index.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");function useForceUpdate(){var _React$useReducer=react.useReducer((function(x){return x+1}),0);return(0,slicedToArray.Z)(_React$useReducer,2)[1]}var responsiveObserve=__webpack_require__("./node_modules/antd/es/_util/responsiveObserve.js");const hooks_useBreakpoint=function useBreakpoint(){var refreshOnChange=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],screensRef=(0,react.useRef)({}),forceUpdate=useForceUpdate();return(0,react.useEffect)((function(){var token=responsiveObserve.ZP.subscribe((function(supportScreens){screensRef.current=supportScreens,refreshOnChange&&forceUpdate()}));return function(){return responsiveObserve.ZP.unsubscribe(token)}}),[]),screensRef.current}},"./node_modules/antd/es/input-number/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>input_number});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),DownOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/DownOutlined.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("./node_modules/react/index.js");const asn_UpOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),UpOutlined_UpOutlined=function UpOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_UpOutlined}))};UpOutlined_UpOutlined.displayName="UpOutlined";const icons_UpOutlined=react.forwardRef(UpOutlined_UpOutlined);var classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),KeyCode=__webpack_require__("./node_modules/rc-util/es/KeyCode.js"),es_ref=__webpack_require__("./node_modules/rc-util/es/ref.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js");function supportBigInt(){return"function"==typeof BigInt}function trimNumber(numStr){var str=numStr.trim(),negative=str.startsWith("-");negative&&(str=str.slice(1)),(str=str.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(str="0".concat(str));var trimStr=str||"0",splitNumber=trimStr.split("."),integerStr=splitNumber[0]||"0",decimalStr=splitNumber[1]||"0";"0"===integerStr&&"0"===decimalStr&&(negative=!1);var negativeStr=negative?"-":"";return{negative,negativeStr,trimStr,integerStr,decimalStr,fullStr:"".concat(negativeStr).concat(trimStr)}}function isE(number){var str=String(number);return!Number.isNaN(Number(str))&&str.includes("e")}function getNumberPrecision(number){var numStr=String(number);if(isE(number)){var precision=Number(numStr.slice(numStr.indexOf("e-")+2)),decimalMatch=numStr.match(/\.(\d+)/);return(null==decimalMatch?void 0:decimalMatch[1])&&(precision+=decimalMatch[1].length),precision}return numStr.includes(".")&&validateNumber(numStr)?numStr.length-numStr.indexOf(".")-1:0}function num2str(number){var numStr=String(number);if(isE(number)){if(number>Number.MAX_SAFE_INTEGER)return String(supportBigInt()?BigInt(number).toString():Number.MAX_SAFE_INTEGER);if(number<Number.MIN_SAFE_INTEGER)return String(supportBigInt()?BigInt(number).toString():Number.MIN_SAFE_INTEGER);numStr=number.toFixed(getNumberPrecision(numStr))}return trimNumber(numStr).fullStr}function validateNumber(num){return"number"==typeof num?!Number.isNaN(num):!!num&&(/^\s*-?\d+(\.\d+)?\s*$/.test(num)||/^\s*-?\d+\.\s*$/.test(num)||/^\s*-?\.\d+\s*$/.test(num))}var NumberDecimal=function(){function NumberDecimal(value){(0,classCallCheck.Z)(this,NumberDecimal),this.origin="",this.number=void 0,this.empty=void 0,(value||0===value)&&String(value).trim()?(this.origin=String(value),this.number=Number(value)):this.empty=!0}return(0,createClass.Z)(NumberDecimal,[{key:"negate",value:function negate(){return new NumberDecimal(-this.toNumber())}},{key:"add",value:function add(value){if(this.isInvalidate())return new NumberDecimal(value);var target=Number(value);if(Number.isNaN(target))return this;var number=this.number+target;if(number>Number.MAX_SAFE_INTEGER)return new NumberDecimal(Number.MAX_SAFE_INTEGER);if(number<Number.MIN_SAFE_INTEGER)return new NumberDecimal(Number.MIN_SAFE_INTEGER);var maxPrecision=Math.max(getNumberPrecision(this.number),getNumberPrecision(target));return new NumberDecimal(number.toFixed(maxPrecision))}},{key:"isEmpty",value:function isEmpty(){return this.empty}},{key:"isNaN",value:function isNaN(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function isInvalidate(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function equals(target){return this.toNumber()===(null==target?void 0:target.toNumber())}},{key:"lessEquals",value:function lessEquals(target){return this.add(target.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function toNumber(){return this.number}},{key:"toString",value:function toString(){var safe=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return safe?this.isInvalidate()?"":num2str(this.number):this.origin}}]),NumberDecimal}(),BigIntDecimal=function(){function BigIntDecimal(value){if((0,classCallCheck.Z)(this,BigIntDecimal),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,(value||0===value)&&String(value).trim())if(this.origin=String(value),"-"!==value){var mergedValue=value;if(isE(mergedValue)&&(mergedValue=Number(mergedValue)),validateNumber(mergedValue="string"==typeof mergedValue?mergedValue:num2str(mergedValue))){var trimRet=trimNumber(mergedValue);this.negative=trimRet.negative;var numbers=trimRet.trimStr.split(".");this.integer=BigInt(numbers[0]);var decimalStr=numbers[1]||"0";this.decimal=BigInt(decimalStr),this.decimalLen=decimalStr.length}else this.nan=!0}else this.nan=!0;else this.empty=!0}return(0,createClass.Z)(BigIntDecimal,[{key:"getMark",value:function getMark(){return this.negative?"-":""}},{key:"getIntegerStr",value:function getIntegerStr(){return this.integer.toString()}},{key:"getDecimalStr",value:function getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function alignDecimal(decimalLength){var str="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(decimalLength,"0"));return BigInt(str)}},{key:"negate",value:function negate(){var clone=new BigIntDecimal(this.toString());return clone.negative=!clone.negative,clone}},{key:"add",value:function add(value){if(this.isInvalidate())return new BigIntDecimal(value);var offset=new BigIntDecimal(value);if(offset.isInvalidate())return this;var maxDecimalLength=Math.max(this.getDecimalStr().length,offset.getDecimalStr().length),_trimNumber=trimNumber((this.alignDecimal(maxDecimalLength)+offset.alignDecimal(maxDecimalLength)).toString()),negativeStr=_trimNumber.negativeStr,trimStr=_trimNumber.trimStr,hydrateValueStr="".concat(negativeStr).concat(trimStr.padStart(maxDecimalLength+1,"0"));return new BigIntDecimal("".concat(hydrateValueStr.slice(0,-maxDecimalLength),".").concat(hydrateValueStr.slice(-maxDecimalLength)))}},{key:"isEmpty",value:function isEmpty(){return this.empty}},{key:"isNaN",value:function isNaN(){return this.nan}},{key:"isInvalidate",value:function isInvalidate(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function equals(target){return this.toString()===(null==target?void 0:target.toString())}},{key:"lessEquals",value:function lessEquals(target){return this.add(target.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function toNumber(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function toString(){var safe=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return safe?this.isInvalidate()?"":trimNumber("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),BigIntDecimal}();function getMiniDecimal(value){return supportBigInt()?new BigIntDecimal(value):new NumberDecimal(value)}function toFixed(numStr,separatorStr,precision){if(""===numStr)return"";var _trimNumber2=trimNumber(numStr),negativeStr=_trimNumber2.negativeStr,integerStr=_trimNumber2.integerStr,decimalStr=_trimNumber2.decimalStr,precisionDecimalStr="".concat(separatorStr).concat(decimalStr),numberWithoutDecimal="".concat(negativeStr).concat(integerStr);if(precision>=0){var advancedNum=Number(decimalStr[precision]);return advancedNum>=5?toFixed(getMiniDecimal(numStr).add("".concat(negativeStr,"0.").concat("0".repeat(precision)).concat(10-advancedNum)).toString(),separatorStr,precision):0===precision?numberWithoutDecimal:"".concat(numberWithoutDecimal).concat(separatorStr).concat(decimalStr.padEnd(precision,"0").slice(0,precision))}return".0"===precisionDecimalStr?numberWithoutDecimal:"".concat(numberWithoutDecimal).concat(precisionDecimalStr)}var isMobile=__webpack_require__("./node_modules/rc-util/es/isMobile.js");function StepHandler(_ref){var prefixCls=_ref.prefixCls,upNode=_ref.upNode,downNode=_ref.downNode,upDisabled=_ref.upDisabled,downDisabled=_ref.downDisabled,onStep=_ref.onStep,stepTimeoutRef=react.useRef(),onStepRef=react.useRef();onStepRef.current=onStep;var onStepMouseDown=function onStepMouseDown(e,up){e.preventDefault(),onStepRef.current(up),stepTimeoutRef.current=setTimeout((function loopStep(){onStepRef.current(up),stepTimeoutRef.current=setTimeout(loopStep,200)}),600)},onStopStep=function onStopStep(){clearTimeout(stepTimeoutRef.current)};if(react.useEffect((function(){return onStopStep}),[]),(0,isMobile.Z)())return null;var handlerClassName="".concat(prefixCls,"-handler"),upClassName=classnames_default()(handlerClassName,"".concat(handlerClassName,"-up"),(0,defineProperty.Z)({},"".concat(handlerClassName,"-up-disabled"),upDisabled)),downClassName=classnames_default()(handlerClassName,"".concat(handlerClassName,"-down"),(0,defineProperty.Z)({},"".concat(handlerClassName,"-down-disabled"),downDisabled)),sharedHandlerProps={unselectable:"on",role:"button",onMouseUp:onStopStep,onMouseLeave:onStopStep};return react.createElement("div",{className:"".concat(handlerClassName,"-wrap")},react.createElement("span",(0,esm_extends.Z)({},sharedHandlerProps,{onMouseDown:function onMouseDown(e){onStepMouseDown(e,!0)},"aria-label":"Increase Value","aria-disabled":upDisabled,className:upClassName}),upNode||react.createElement("span",{unselectable:"on",className:"".concat(prefixCls,"-handler-up-inner")})),react.createElement("span",(0,esm_extends.Z)({},sharedHandlerProps,{onMouseDown:function onMouseDown(e){onStepMouseDown(e,!1)},"aria-label":"Decrease Value","aria-disabled":downDisabled,className:downClassName}),downNode||react.createElement("span",{unselectable:"on",className:"".concat(prefixCls,"-handler-down-inner")})))}var warning=__webpack_require__("./node_modules/rc-util/es/warning.js");var useLayoutEffect=(0,__webpack_require__("./node_modules/rc-util/es/Dom/canUseDom.js").Z)()?react.useLayoutEffect:react.useEffect;function useUpdateEffect(callback,condition){var initRef=react.useRef(!1);useLayoutEffect((function(){if(initRef.current)return callback();initRef.current=!0}),condition)}var raf=__webpack_require__("./node_modules/rc-util/es/raf.js");var _excluded=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],getDecimalValue=function getDecimalValue(stringMode,decimalValue){return stringMode||decimalValue.isEmpty()?decimalValue.toString():decimalValue.toNumber()},getDecimalIfValidate=function getDecimalIfValidate(value){var decimal=getMiniDecimal(value);return decimal.isInvalidate()?null:decimal},InputNumber=react.forwardRef((function(props,ref){var _classNames,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-input-number":_props$prefixCls,className=props.className,style=props.style,min=props.min,max=props.max,_props$step=props.step,step=void 0===_props$step?1:_props$step,defaultValue=props.defaultValue,value=props.value,disabled=props.disabled,readOnly=props.readOnly,upHandler=props.upHandler,downHandler=props.downHandler,keyboard=props.keyboard,_props$controls=props.controls,controls=void 0===_props$controls||_props$controls,stringMode=props.stringMode,parser=props.parser,formatter=props.formatter,precision=props.precision,decimalSeparator=props.decimalSeparator,onChange=props.onChange,onInput=props.onInput,onPressEnter=props.onPressEnter,onStep=props.onStep,inputProps=(0,objectWithoutProperties.Z)(props,_excluded),inputClassName="".concat(prefixCls,"-input"),inputRef=react.useRef(null),_React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),focus=_React$useState2[0],setFocus=_React$useState2[1],userTypingRef=react.useRef(!1),compositionRef=react.useRef(!1),_React$useState3=react.useState((function(){return getMiniDecimal(null!=value?value:defaultValue)})),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),decimalValue=_React$useState4[0],setDecimalValue=_React$useState4[1];var getPrecision=react.useCallback((function(numStr,userTyping){if(!userTyping)return precision>=0?precision:Math.max(getNumberPrecision(numStr),getNumberPrecision(step))}),[precision,step]),mergedParser=react.useCallback((function(num){var numStr=String(num);if(parser)return parser(numStr);var parsedStr=numStr;return decimalSeparator&&(parsedStr=parsedStr.replace(decimalSeparator,".")),parsedStr.replace(/[^\w.-]+/g,"")}),[parser,decimalSeparator]),inputValueRef=react.useRef(""),mergedFormatter=react.useCallback((function(number,userTyping){if(formatter)return formatter(number,{userTyping,input:String(inputValueRef.current)});var str="number"==typeof number?num2str(number):number;if(!userTyping){var mergedPrecision=getPrecision(str,userTyping);if(validateNumber(str)&&(decimalSeparator||mergedPrecision>=0))str=toFixed(str,decimalSeparator||".",mergedPrecision)}return str}),[formatter,getPrecision,decimalSeparator]),_React$useState5=react.useState((function(){var initValue=null!=defaultValue?defaultValue:value;return decimalValue.isInvalidate()&&["string","number"].includes((0,esm_typeof.Z)(initValue))?Number.isNaN(initValue)?"":initValue:mergedFormatter(decimalValue.toString(),!1)})),_React$useState6=(0,slicedToArray.Z)(_React$useState5,2),inputValue=_React$useState6[0],setInternalInputValue=_React$useState6[1];function setInputValue(newValue,userTyping){setInternalInputValue(mergedFormatter(newValue.isInvalidate()?newValue.toString(!1):newValue.toString(!userTyping),userTyping))}inputValueRef.current=inputValue;var idRef,cleanUp,maxDecimal=react.useMemo((function(){return getDecimalIfValidate(max)}),[max]),minDecimal=react.useMemo((function(){return getDecimalIfValidate(min)}),[min]),upDisabled=react.useMemo((function(){return!(!maxDecimal||!decimalValue||decimalValue.isInvalidate())&&maxDecimal.lessEquals(decimalValue)}),[maxDecimal,decimalValue]),downDisabled=react.useMemo((function(){return!(!minDecimal||!decimalValue||decimalValue.isInvalidate())&&decimalValue.lessEquals(minDecimal)}),[minDecimal,decimalValue]),_useCursor=function useCursor(input,focused){var selectionRef=(0,react.useRef)(null);return[function recordCursor(){try{var start=input.selectionStart,end=input.selectionEnd,value=input.value,beforeTxt=value.substring(0,start),afterTxt=value.substring(end);selectionRef.current={start,end,value,beforeTxt,afterTxt}}catch(e){}},function restoreCursor(){if(input&&selectionRef.current&&focused)try{var value=input.value,_selectionRef$current=selectionRef.current,beforeTxt=_selectionRef$current.beforeTxt,afterTxt=_selectionRef$current.afterTxt,start=_selectionRef$current.start,startPos=value.length;if(value.endsWith(afterTxt))startPos=value.length-selectionRef.current.afterTxt.length;else if(value.startsWith(beforeTxt))startPos=beforeTxt.length;else{var beforeLastChar=beforeTxt[start-1],newIndex=value.indexOf(beforeLastChar,start-1);-1!==newIndex&&(startPos=newIndex+1)}input.setSelectionRange(startPos,startPos)}catch(e){(0,warning.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]}(inputRef.current,focus),_useCursor2=(0,slicedToArray.Z)(_useCursor,2),recordCursor=_useCursor2[0],restoreCursor=_useCursor2[1],getRangeValue=function getRangeValue(target){return maxDecimal&&!target.lessEquals(maxDecimal)?maxDecimal:minDecimal&&!minDecimal.lessEquals(target)?minDecimal:null},isInRange=function isInRange(target){return!getRangeValue(target)},triggerValueUpdate=function triggerValueUpdate(newValue,userTyping){var updateValue=newValue,isRangeValidate=isInRange(updateValue)||updateValue.isEmpty();if(updateValue.isEmpty()||userTyping||(updateValue=getRangeValue(updateValue)||updateValue,isRangeValidate=!0),!readOnly&&!disabled&&isRangeValidate){var numStr=updateValue.toString(),mergedPrecision=getPrecision(numStr,userTyping);return mergedPrecision>=0&&(updateValue=getMiniDecimal(toFixed(numStr,".",mergedPrecision))),updateValue.equals(decimalValue)||(!function setUncontrolledDecimalValue(newDecimal){void 0===value&&setDecimalValue(newDecimal)}(updateValue),null==onChange||onChange(updateValue.isEmpty()?null:getDecimalValue(stringMode,updateValue)),void 0===value&&setInputValue(updateValue,userTyping)),updateValue}return decimalValue},onNextPromise=(idRef=(0,react.useRef)(0),cleanUp=function cleanUp(){raf.Z.cancel(idRef.current)},(0,react.useEffect)((function(){return cleanUp}),[]),function(callback){cleanUp(),idRef.current=(0,raf.Z)((function(){callback()}))}),collectInputValue=function collectInputValue(inputStr){if(recordCursor(),setInternalInputValue(inputStr),!compositionRef.current){var finalDecimal=getMiniDecimal(mergedParser(inputStr));finalDecimal.isNaN()||triggerValueUpdate(finalDecimal,!0)}null==onInput||onInput(inputStr),onNextPromise((function(){var nextInputStr=inputStr;parser||(nextInputStr=inputStr.replace(/。/g,".")),nextInputStr!==inputStr&&collectInputValue(nextInputStr)}))},onInternalStep=function onInternalStep(up){var _inputRef$current;if(!(up&&upDisabled||!up&&downDisabled)){userTypingRef.current=!1;var stepDecimal=getMiniDecimal(step);up||(stepDecimal=stepDecimal.negate());var target=(decimalValue||getMiniDecimal(0)).add(stepDecimal.toString()),updatedValue=triggerValueUpdate(target,!1);null==onStep||onStep(getDecimalValue(stringMode,updatedValue),{offset:step,type:up?"up":"down"}),null===(_inputRef$current=inputRef.current)||void 0===_inputRef$current||_inputRef$current.focus()}},flushInputValue=function flushInputValue(userTyping){var parsedValue=getMiniDecimal(mergedParser(inputValue)),formatValue=parsedValue;formatValue=parsedValue.isNaN()?decimalValue:triggerValueUpdate(parsedValue,userTyping),void 0!==value?setInputValue(decimalValue,!1):formatValue.isNaN()||setInputValue(formatValue,!1)};return useUpdateEffect((function(){decimalValue.isInvalidate()||setInputValue(decimalValue,!1)}),[precision]),useUpdateEffect((function(){var newValue=getMiniDecimal(value);setDecimalValue(newValue);var currentParsedValue=getMiniDecimal(mergedParser(inputValue));newValue.equals(currentParsedValue)&&userTypingRef.current&&!formatter||setInputValue(newValue,userTypingRef.current)}),[value]),useUpdateEffect((function(){formatter&&restoreCursor()}),[inputValue]),react.createElement("div",{className:classnames_default()(prefixCls,className,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-focused"),focus),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-disabled"),disabled),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-readonly"),readOnly),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-not-a-number"),decimalValue.isNaN()),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-out-of-range"),!decimalValue.isInvalidate()&&!isInRange(decimalValue)),_classNames)),style,onFocus:function onFocus(){setFocus(!0)},onBlur:function onBlur(){flushInputValue(!1),setFocus(!1),userTypingRef.current=!1},onKeyDown:function onKeyDown(event){var which=event.which;userTypingRef.current=!0,which===KeyCode.Z.ENTER&&(compositionRef.current||(userTypingRef.current=!1),flushInputValue(!1),null==onPressEnter||onPressEnter(event)),!1!==keyboard&&!compositionRef.current&&[KeyCode.Z.UP,KeyCode.Z.DOWN].includes(which)&&(onInternalStep(KeyCode.Z.UP===which),event.preventDefault())},onKeyUp:function onKeyUp(){userTypingRef.current=!1},onCompositionStart:function onCompositionStart(){compositionRef.current=!0},onCompositionEnd:function onCompositionEnd(){compositionRef.current=!1,collectInputValue(inputRef.current.value)}},controls&&react.createElement(StepHandler,{prefixCls,upNode:upHandler,downNode:downHandler,upDisabled,downDisabled,onStep:onInternalStep}),react.createElement("div",{className:"".concat(inputClassName,"-wrap")},react.createElement("input",(0,esm_extends.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":min,"aria-valuemax":max,"aria-valuenow":decimalValue.isInvalidate()?null:decimalValue.toString(),step},inputProps,{ref:(0,es_ref.sQ)(inputRef,ref),className:inputClassName,value:inputValue,onChange:function onInternalInput(e){collectInputValue(e.target.value)},disabled,readOnly}))))}));InputNumber.displayName="InputNumber";const es=InputNumber;var context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),form_context=__webpack_require__("./node_modules/antd/es/form/context.js"),reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js"),statusUtils=__webpack_require__("./node_modules/antd/es/_util/statusUtils.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};const input_number=react.forwardRef((function(props,ref){var _classNames,_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,size=react.useContext(SizeContext.Z),_React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),focused=_React$useState2[0],setFocus=_React$useState2[1],inputRef=react.useRef(null);react.useImperativeHandle(ref,(function(){return inputRef.current}));var className=props.className,customizeSize=props.size,customizePrefixCls=props.prefixCls,addonBefore=props.addonBefore,addonAfter=props.addonAfter,prefix=props.prefix,_props$bordered=props.bordered,bordered=void 0===_props$bordered||_props$bordered,readOnly=props.readOnly,customStatus=props.status,controls=props.controls,others=__rest(props,["className","size","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),prefixCls=getPrefixCls("input-number",customizePrefixCls),upIcon=react.createElement(icons_UpOutlined,{className:"".concat(prefixCls,"-handler-up-inner")}),downIcon=react.createElement(DownOutlined.Z,{className:"".concat(prefixCls,"-handler-down-inner")}),controlsTemp="boolean"==typeof controls?controls:void 0;"object"===(0,esm_typeof.Z)(controls)&&(upIcon=void 0===controls.upIcon?upIcon:react.createElement("span",{className:"".concat(prefixCls,"-handler-up-inner")},controls.upIcon),downIcon=void 0===controls.downIcon?downIcon:react.createElement("span",{className:"".concat(prefixCls,"-handler-down-inner")},controls.downIcon));var _useContext=(0,react.useContext)(form_context.aM),hasFeedback=_useContext.hasFeedback,contextStatus=_useContext.status,isFormItemInput=_useContext.isFormItemInput,feedbackIcon=_useContext.feedbackIcon,mergedStatus=(0,statusUtils.F)(contextStatus,customStatus),mergeSize=customizeSize||size,inputNumberClass=classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-lg"),"large"===mergeSize),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-sm"),"small"===mergeSize),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-readonly"),readOnly),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-borderless"),!bordered),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-in-form-item"),isFormItemInput),_classNames),(0,statusUtils.Z)(prefixCls,mergedStatus),className),element=react.createElement(es,(0,esm_extends.Z)({ref:inputRef,className:inputNumberClass,upHandler:upIcon,downHandler:downIcon,prefixCls,readOnly,controls:controlsTemp},others));if(null!=prefix||hasFeedback){var _classNames2,affixWrapperCls=classnames_default()("".concat(prefixCls,"-affix-wrapper"),(0,statusUtils.Z)("".concat(prefixCls,"-affix-wrapper"),mergedStatus,hasFeedback),(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-focused"),focused),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-disabled"),props.disabled),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-sm"),"small"===size),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-lg"),"large"===size),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-readonly"),readOnly),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-borderless"),!bordered),(0,defineProperty.Z)(_classNames2,"".concat(className),!(addonBefore||addonAfter)&&className),_classNames2));element=react.createElement("div",{className:affixWrapperCls,style:props.style,onMouseUp:function onMouseUp(){return inputRef.current.focus()}},prefix&&react.createElement("span",{className:"".concat(prefixCls,"-prefix")},prefix),(0,reactNode.Tm)(element,{style:null,value:props.value,onFocus:function onFocus(event){var _a;setFocus(!0),null===(_a=props.onFocus)||void 0===_a||_a.call(props,event)},onBlur:function onBlur(event){var _a;setFocus(!1),null===(_a=props.onBlur)||void 0===_a||_a.call(props,event)}}),hasFeedback&&react.createElement("span",{className:"".concat(prefixCls,"-suffix")},feedbackIcon))}if(null!=addonBefore||null!=addonAfter){var _classNames4,wrapperClassName="".concat(prefixCls,"-group"),addonClassName="".concat(wrapperClassName,"-addon"),addonBeforeNode=addonBefore?react.createElement("div",{className:addonClassName},addonBefore):null,addonAfterNode=addonAfter?react.createElement("div",{className:addonClassName},addonAfter):null,mergedWrapperClassName=classnames_default()("".concat(prefixCls,"-wrapper"),wrapperClassName,(0,defineProperty.Z)({},"".concat(wrapperClassName,"-rtl"),"rtl"===direction)),mergedGroupClassName=classnames_default()("".concat(prefixCls,"-group-wrapper"),(_classNames4={},(0,defineProperty.Z)(_classNames4,"".concat(prefixCls,"-group-wrapper-sm"),"small"===size),(0,defineProperty.Z)(_classNames4,"".concat(prefixCls,"-group-wrapper-lg"),"large"===size),(0,defineProperty.Z)(_classNames4,"".concat(prefixCls,"-group-wrapper-rtl"),"rtl"===direction),_classNames4),(0,statusUtils.Z)("".concat(prefixCls,"-group-wrapper"),mergedStatus,hasFeedback),className);element=react.createElement("div",{className:mergedGroupClassName,style:props.style},react.createElement("div",{className:mergedWrapperClassName},addonBeforeNode&&react.createElement(form_context.ap,null,addonBeforeNode),(0,reactNode.Tm)(element,{style:null}),addonAfterNode&&react.createElement(form_context.ap,null,addonAfterNode)))}return element}))},"./node_modules/antd/es/input/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>input});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames);function hasAddon(props){return!(!props.addonBefore&&!props.addonAfter)}function hasPrefixSuffix(props){return!!(props.prefix||props.suffix||props.allowClear)}function resolveOnChange(target,e,onChange,targetValue){if(onChange){var event=e;if("click"===e.type){var currentTarget=target.cloneNode(!0);return event=Object.create(e,{target:{value:currentTarget},currentTarget:{value:currentTarget}}),currentTarget.value="",void onChange(event)}if(void 0!==targetValue)return event=Object.create(e,{target:{value:target},currentTarget:{value:target}}),target.value=targetValue,void onChange(event);onChange(event)}}function fixControlledValue(value){return null==value?"":String(value)}const es_BaseInput=function BaseInput(props){var inputElement=props.inputElement,prefixCls=props.prefixCls,prefix=props.prefix,suffix=props.suffix,addonBefore=props.addonBefore,addonAfter=props.addonAfter,className=props.className,style=props.style,affixWrapperClassName=props.affixWrapperClassName,groupClassName=props.groupClassName,wrapperClassName=props.wrapperClassName,disabled=props.disabled,readOnly=props.readOnly,focused=props.focused,triggerFocus=props.triggerFocus,allowClear=props.allowClear,value=props.value,handleReset=props.handleReset,hidden=props.hidden,containerRef=(0,react.useRef)(null),element=(0,react.cloneElement)(inputElement,{value,hidden});if(hasPrefixSuffix(props)){var _classNames2,affixWrapperPrefixCls="".concat(prefixCls,"-affix-wrapper"),affixWrapperCls=classnames_default()(affixWrapperPrefixCls,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(affixWrapperPrefixCls,"-disabled"),disabled),(0,defineProperty.Z)(_classNames2,"".concat(affixWrapperPrefixCls,"-focused"),focused),(0,defineProperty.Z)(_classNames2,"".concat(affixWrapperPrefixCls,"-readonly"),readOnly),(0,defineProperty.Z)(_classNames2,"".concat(affixWrapperPrefixCls,"-input-with-clear-btn"),suffix&&allowClear&&value),_classNames2),!hasAddon(props)&&className,affixWrapperClassName),suffixNode=(suffix||allowClear)&&react.createElement("span",{className:"".concat(prefixCls,"-suffix")},function getClearIcon(){var _classNames;if(!allowClear)return null;var needClear=!disabled&&!readOnly&&value,clearIconCls="".concat(prefixCls,"-clear-icon"),iconNode="object"===(0,esm_typeof.Z)(allowClear)&&(null==allowClear?void 0:allowClear.clearIcon)?allowClear.clearIcon:"✖";return react.createElement("span",{onClick:handleReset,onMouseDown:function onMouseDown(e){return e.preventDefault()},className:classnames_default()(clearIconCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(clearIconCls,"-hidden"),!needClear),(0,defineProperty.Z)(_classNames,"".concat(clearIconCls,"-has-suffix"),!!suffix),_classNames)),role:"button",tabIndex:-1},iconNode)}(),suffix);element=react.createElement("span",{className:affixWrapperCls,style,hidden:!hasAddon(props)&&hidden,onMouseDown:function onInputMouseDown(e){var _containerRef$current;(null===(_containerRef$current=containerRef.current)||void 0===_containerRef$current?void 0:_containerRef$current.contains(e.target))&&(null==triggerFocus||triggerFocus())},ref:containerRef},prefix&&react.createElement("span",{className:"".concat(prefixCls,"-prefix")},prefix),(0,react.cloneElement)(inputElement,{style:null,value,hidden:null}),suffixNode)}if(hasAddon(props)){var wrapperCls="".concat(prefixCls,"-group"),addonCls="".concat(wrapperCls,"-addon"),mergedWrapperClassName=classnames_default()("".concat(prefixCls,"-wrapper"),wrapperCls,wrapperClassName),mergedGroupClassName=classnames_default()("".concat(prefixCls,"-group-wrapper"),className,groupClassName);return react.createElement("span",{className:mergedGroupClassName,style,hidden},react.createElement("span",{className:mergedWrapperClassName},addonBefore&&react.createElement("span",{className:addonCls},addonBefore),(0,react.cloneElement)(element,{style:null,hidden:null}),addonAfter&&react.createElement("span",{className:addonCls},addonAfter)))}return element};var toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");function useMergedState(defaultStateValue,option){var _ref=option||{},defaultValue=_ref.defaultValue,value=_ref.value,onChange=_ref.onChange,postState=_ref.postState,_useState=function useSafeState(defaultValue){var destroyRef=react.useRef(!1),_React$useState=react.useState(defaultValue),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),value=_React$useState2[0],setValue=_React$useState2[1];return react.useEffect((function(){return destroyRef.current=!1,function(){destroyRef.current=!0}}),[]),[value,function safeSetState(updater,ignoreDestroy){ignoreDestroy&&destroyRef.current||setValue(updater)}]}((function(){return void 0!==value?value:void 0!==defaultValue?"function"==typeof defaultValue?defaultValue():defaultValue:"function"==typeof defaultStateValue?defaultStateValue():defaultStateValue})),_useState2=(0,slicedToArray.Z)(_useState,2),innerValue=_useState2[0],setInnerValue=_useState2[1],mergedValue=void 0!==value?value:innerValue;postState&&(mergedValue=postState(mergedValue));var onChangeRef=react.useRef(onChange);onChangeRef.current=onChange;var triggerChange=react.useCallback((function(newValue,ignoreDestroy){setInnerValue(newValue,ignoreDestroy),mergedValue!==newValue&&onChangeRef.current&&onChangeRef.current(newValue,mergedValue)}),[mergedValue,onChangeRef]),prevValueRef=react.useRef(value);return react.useEffect((function(){void 0===value&&value!==prevValueRef.current&&setInnerValue(value),prevValueRef.current=value}),[value]),[mergedValue,triggerChange]}var _excluded=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","inputClassName"],Input=(0,react.forwardRef)((function(props,ref){var autoComplete=props.autoComplete,onChange=props.onChange,onFocus=props.onFocus,onBlur=props.onBlur,onPressEnter=props.onPressEnter,onKeyDown=props.onKeyDown,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-input":_props$prefixCls,disabled=props.disabled,htmlSize=props.htmlSize,className=props.className,maxLength=props.maxLength,suffix=props.suffix,showCount=props.showCount,_props$type=props.type,type=void 0===_props$type?"text":_props$type,inputClassName=props.inputClassName,rest=(0,objectWithoutProperties.Z)(props,_excluded),_useMergedState=useMergedState(props.defaultValue,{value:props.value}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),value=_useMergedState2[0],setValue=_useMergedState2[1],_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),focused=_useState2[0],setFocused=_useState2[1],inputRef=(0,react.useRef)(null),focus=function focus(option){inputRef.current&&function triggerFocus(element,option){if(element){element.focus(option);var cursor=(option||{}).cursor;if(cursor){var len=element.value.length;switch(cursor){case"start":element.setSelectionRange(0,0);break;case"end":element.setSelectionRange(len,len);break;default:element.setSelectionRange(0,len)}}}}(inputRef.current,option)};(0,react.useImperativeHandle)(ref,(function(){return{focus,blur:function blur(){var _inputRef$current;null===(_inputRef$current=inputRef.current)||void 0===_inputRef$current||_inputRef$current.blur()},setSelectionRange:function setSelectionRange(start,end,direction){var _inputRef$current2;null===(_inputRef$current2=inputRef.current)||void 0===_inputRef$current2||_inputRef$current2.setSelectionRange(start,end,direction)},select:function select(){var _inputRef$current3;null===(_inputRef$current3=inputRef.current)||void 0===_inputRef$current3||_inputRef$current3.select()},input:inputRef.current}})),(0,react.useEffect)((function(){setFocused((function(prev){return(!prev||!disabled)&&prev}))}),[disabled]);var handleChange=function handleChange(e){void 0===props.value&&setValue(e.target.value),inputRef.current&&resolveOnChange(inputRef.current,e,onChange)},handleKeyDown=function handleKeyDown(e){onPressEnter&&"Enter"===e.key&&onPressEnter(e),null==onKeyDown||onKeyDown(e)},handleFocus=function handleFocus(e){setFocused(!0),null==onFocus||onFocus(e)},handleBlur=function handleBlur(e){setFocused(!1),null==onBlur||onBlur(e)};return react.createElement(es_BaseInput,(0,objectSpread2.Z)((0,objectSpread2.Z)({},rest),{},{prefixCls,className,inputElement:function getInputElement(){var otherProps=function omit(obj,fields){var clone=(0,objectSpread2.Z)({},obj);return Array.isArray(fields)&&fields.forEach((function(key){delete clone[key]})),clone}(props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName","htmlSize"]);return react.createElement("input",(0,objectSpread2.Z)((0,objectSpread2.Z)({autoComplete},otherProps),{},{onChange:handleChange,onFocus:handleFocus,onBlur:handleBlur,onKeyDown:handleKeyDown,className:classnames_default()(prefixCls,(0,defineProperty.Z)({},"".concat(prefixCls,"-disabled"),disabled),inputClassName,!hasAddon(props)&&!hasPrefixSuffix(props)&&className),ref:inputRef,size:htmlSize,type}))}(),handleReset:function handleReset(e){setValue(""),focus(),inputRef.current&&resolveOnChange(inputRef.current,e,onChange)},value:fixControlledValue(value),focused,triggerFocus:focus,suffix:function getSuffix(){var hasMaxLength=Number(maxLength)>0;if(suffix||showCount){var valueLength=(0,toConsumableArray.Z)(fixControlledValue(value)).length,dataCount="object"===(0,esm_typeof.Z)(showCount)?showCount.formatter({count:valueLength,maxLength}):"".concat(valueLength).concat(hasMaxLength?" / ".concat(maxLength):"");return react.createElement(react.Fragment,null,!!showCount&&react.createElement("span",{className:classnames_default()("".concat(prefixCls,"-show-count-suffix"),(0,defineProperty.Z)({},"".concat(prefixCls,"-show-count-has-suffix"),!!suffix))},dataCount),suffix)}return null}(),disabled}))}));const es=Input;var CloseCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js"),es_ref=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/ref.js"),SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),statusUtils=__webpack_require__("./node_modules/antd/es/_util/statusUtils.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),form_context=__webpack_require__("./node_modules/antd/es/form/context.js");var __rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};function Input_resolveOnChange(target,e,onChange,targetValue){if(onChange){var event=e;if("click"===e.type){var currentTarget=target.cloneNode(!0);return event=Object.create(e,{target:{value:currentTarget},currentTarget:{value:currentTarget}}),currentTarget.value="",void onChange(event)}if(void 0!==targetValue)return event=Object.create(e,{target:{value:target},currentTarget:{value:target}}),target.value=targetValue,void onChange(event);onChange(event)}}var Input_Input=(0,react.forwardRef)((function(props,ref){var _classNames,_classNames2,_classNames4,customizePrefixCls=props.prefixCls,_props$bordered=props.bordered,bordered=void 0===_props$bordered||_props$bordered,customStatus=props.status,customSize=props.size,onBlur=props.onBlur,onFocus=props.onFocus,suffix=props.suffix,allowClear=props.allowClear,addonAfter=props.addonAfter,addonBefore=props.addonBefore,rest=__rest(props,["prefixCls","bordered","status","size","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore"]),_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,input=_React$useContext.input,prefixCls=getPrefixCls("input",customizePrefixCls),inputRef=(0,react.useRef)(null),size=react.useContext(SizeContext.Z),mergedSize=customSize||size,_useContext=(0,react.useContext)(form_context.aM),contextStatus=_useContext.status,hasFeedback=_useContext.hasFeedback,feedbackIcon=_useContext.feedbackIcon,mergedStatus=(0,statusUtils.F)(contextStatus,customStatus),inputHasPrefixSuffix=function utils_hasPrefixSuffix(props){return!!(props.prefix||props.suffix||props.allowClear)}(props)||!!hasFeedback,prevHasPrefixSuffix=(0,react.useRef)(inputHasPrefixSuffix);(0,react.useEffect)((function(){inputHasPrefixSuffix&&prevHasPrefixSuffix.current,prevHasPrefixSuffix.current=inputHasPrefixSuffix}),[inputHasPrefixSuffix]);var removePasswordTimeoutRef=(0,react.useRef)([]),removePasswordTimeout=function removePasswordTimeout(){removePasswordTimeoutRef.current.push(window.setTimeout((function(){var _a,_b,_c,_d;(null===(_a=inputRef.current)||void 0===_a?void 0:_a.input)&&"password"===(null===(_b=inputRef.current)||void 0===_b?void 0:_b.input.getAttribute("type"))&&(null===(_c=inputRef.current)||void 0===_c?void 0:_c.input.hasAttribute("value"))&&(null===(_d=inputRef.current)||void 0===_d||_d.input.removeAttribute("value"))})))};(0,react.useEffect)((function(){return removePasswordTimeout(),function(){return removePasswordTimeoutRef.current.forEach((function(item){return window.clearTimeout(item)}))}}),[]);var mergedAllowClear,suffixNode=(hasFeedback||suffix)&&react.createElement(react.Fragment,null,suffix,hasFeedback&&feedbackIcon);return"object"===(0,esm_typeof.Z)(allowClear)&&(null==allowClear?void 0:allowClear.clearIcon)?mergedAllowClear=allowClear:allowClear&&(mergedAllowClear={clearIcon:react.createElement(CloseCircleFilled.Z,null)}),react.createElement(es,(0,esm_extends.Z)({ref:(0,es_ref.sQ)(ref,inputRef),prefixCls,autoComplete:null==input?void 0:input.autoComplete},rest,{onBlur:function handleBlur(e){removePasswordTimeout(),null==onBlur||onBlur(e)},onFocus:function handleFocus(e){removePasswordTimeout(),null==onFocus||onFocus(e)},suffix:suffixNode,allowClear:mergedAllowClear,addonAfter:addonAfter&&react.createElement(form_context.ap,null,addonAfter),addonBefore:addonBefore&&react.createElement(form_context.ap,null,addonBefore),inputClassName:classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-sm"),"small"===mergedSize),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-lg"),"large"===mergedSize),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-borderless"),!bordered),_classNames),!inputHasPrefixSuffix&&(0,statusUtils.Z)(prefixCls,mergedStatus)),affixWrapperClassName:classnames_default()((_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-sm"),"small"===mergedSize),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-lg"),"large"===mergedSize),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-borderless"),!bordered),_classNames2),(0,statusUtils.Z)("".concat(prefixCls,"-affix-wrapper"),mergedStatus,hasFeedback)),wrapperClassName:classnames_default()((0,defineProperty.Z)({},"".concat(prefixCls,"-group-rtl"),"rtl"===direction)),groupClassName:classnames_default()((_classNames4={},(0,defineProperty.Z)(_classNames4,"".concat(prefixCls,"-group-wrapper-sm"),"small"===mergedSize),(0,defineProperty.Z)(_classNames4,"".concat(prefixCls,"-group-wrapper-lg"),"large"===mergedSize),(0,defineProperty.Z)(_classNames4,"".concat(prefixCls,"-group-wrapper-rtl"),"rtl"===direction),_classNames4),(0,statusUtils.Z)("".concat(prefixCls,"-group-wrapper"),mergedStatus,hasFeedback))}))}));const input_Input=Input_Input;const input_Group=function Group(props){var _classNames,_useContext=(0,react.useContext)(context.E_),getPrefixCls=_useContext.getPrefixCls,direction=_useContext.direction,customizePrefixCls=props.prefixCls,_props$className=props.className,className=void 0===_props$className?"":_props$className,prefixCls=getPrefixCls("input-group",customizePrefixCls),cls=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-lg"),"large"===props.size),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-sm"),"small"===props.size),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-compact"),props.compact),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className),formItemContext=(0,react.useContext)(form_context.aM),groupFormItemContext=(0,react.useMemo)((function(){return(0,esm_extends.Z)((0,esm_extends.Z)({},formItemContext),{isFormItemInput:!1})}),[formItemContext]);return react.createElement("span",{className:cls,style:props.style,onMouseEnter:props.onMouseEnter,onMouseLeave:props.onMouseLeave,onFocus:props.onFocus,onBlur:props.onBlur},react.createElement(form_context.aM.Provider,{value:groupFormItemContext},props.children))};var SearchOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/SearchOutlined.js"),es_button=__webpack_require__("./node_modules/antd/es/button/index.js"),reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js"),Search_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},Search=react.forwardRef((function(props,ref){var _classNames,button,customizePrefixCls=props.prefixCls,customizeInputPrefixCls=props.inputPrefixCls,className=props.className,customizeSize=props.size,suffix=props.suffix,_props$enterButton=props.enterButton,enterButton=void 0!==_props$enterButton&&_props$enterButton,addonAfter=props.addonAfter,loading=props.loading,disabled=props.disabled,customOnSearch=props.onSearch,customOnChange=props.onChange,onCompositionStart=props.onCompositionStart,onCompositionEnd=props.onCompositionEnd,restProps=Search_rest(props,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,contextSize=react.useContext(SizeContext.Z),composedRef=react.useRef(!1),size=customizeSize||contextSize,inputRef=react.useRef(null),onMouseDown=function onMouseDown(e){var _a;document.activeElement===(null===(_a=inputRef.current)||void 0===_a?void 0:_a.input)&&e.preventDefault()},onSearch=function onSearch(e){var _a,_b;customOnSearch&&customOnSearch(null===(_b=null===(_a=inputRef.current)||void 0===_a?void 0:_a.input)||void 0===_b?void 0:_b.value,e)},prefixCls=getPrefixCls("input-search",customizePrefixCls),inputPrefixCls=getPrefixCls("input",customizeInputPrefixCls),searchIcon="boolean"==typeof enterButton?react.createElement(SearchOutlined.Z,null):null,btnClassName="".concat(prefixCls,"-button"),enterButtonAsElement=enterButton||{},isAntdButton=enterButtonAsElement.type&&!0===enterButtonAsElement.type.__ANT_BUTTON;button=isAntdButton||"button"===enterButtonAsElement.type?(0,reactNode.Tm)(enterButtonAsElement,(0,esm_extends.Z)({onMouseDown,onClick:function onClick(e){var _a,_b;null===(_b=null===(_a=null==enterButtonAsElement?void 0:enterButtonAsElement.props)||void 0===_a?void 0:_a.onClick)||void 0===_b||_b.call(_a,e),onSearch(e)},key:"enterButton"},isAntdButton?{className:btnClassName,size}:{})):react.createElement(es_button.Z,{className:btnClassName,type:enterButton?"primary":void 0,size,disabled,key:"enterButton",onMouseDown,onClick:onSearch,loading,icon:searchIcon},enterButton),addonAfter&&(button=[button,(0,reactNode.Tm)(addonAfter,{key:"addonAfter"})]);var cls=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(size),!!size),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-with-button"),!!enterButton),_classNames),className);return react.createElement(input_Input,(0,esm_extends.Z)({ref:(0,es_ref.sQ)(inputRef,ref),onPressEnter:function onPressEnter(e){composedRef.current||onSearch(e)}},restProps,{size,onCompositionStart:function handleOnCompositionStart(e){composedRef.current=!0,null==onCompositionStart||onCompositionStart(e)},onCompositionEnd:function handleOnCompositionEnd(e){composedRef.current=!1,null==onCompositionEnd||onCompositionEnd(e)},prefixCls:inputPrefixCls,addonAfter:button,suffix,onChange:function onChange(e){e&&e.target&&"click"===e.type&&customOnSearch&&customOnSearch(e.target.value,e),customOnChange&&customOnChange(e)},className:cls,disabled}))}));Search.displayName="Search";const input_Search=Search;var hiddenTextarea,classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),rc_resize_observer_es=__webpack_require__("./node_modules/rc-resize-observer/es/index.js"),es_omit=__webpack_require__("./node_modules/rc-util/es/omit.js"),HIDDEN_TEXTAREA_STYLE="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",SIZING_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],computedStyleCache={};function calculateNodeStyling(node){var useCache=arguments.length>1&&void 0!==arguments[1]&&arguments[1],nodeRef=node.getAttribute("id")||node.getAttribute("data-reactid")||node.getAttribute("name");if(useCache&&computedStyleCache[nodeRef])return computedStyleCache[nodeRef];var style=window.getComputedStyle(node),boxSizing=style.getPropertyValue("box-sizing")||style.getPropertyValue("-moz-box-sizing")||style.getPropertyValue("-webkit-box-sizing"),paddingSize=parseFloat(style.getPropertyValue("padding-bottom"))+parseFloat(style.getPropertyValue("padding-top")),borderSize=parseFloat(style.getPropertyValue("border-bottom-width"))+parseFloat(style.getPropertyValue("border-top-width")),sizingStyle=SIZING_STYLE.map((function(name){return"".concat(name,":").concat(style.getPropertyValue(name))})).join(";"),nodeInfo={sizingStyle,paddingSize,borderSize,boxSizing};return useCache&&nodeRef&&(computedStyleCache[nodeRef]=nodeInfo),nodeInfo}var RESIZE_STATUS,shallowequal=__webpack_require__("./node_modules/shallowequal/index.js"),shallowequal_default=__webpack_require__.n(shallowequal);!function(RESIZE_STATUS){RESIZE_STATUS[RESIZE_STATUS.NONE=0]="NONE",RESIZE_STATUS[RESIZE_STATUS.RESIZING=1]="RESIZING",RESIZE_STATUS[RESIZE_STATUS.RESIZED=2]="RESIZED"}(RESIZE_STATUS||(RESIZE_STATUS={}));const es_ResizableTextArea=function(_React$Component){(0,inherits.Z)(ResizableTextArea,_React$Component);var _super=(0,createSuper.Z)(ResizableTextArea);function ResizableTextArea(props){var _this;return(0,classCallCheck.Z)(this,ResizableTextArea),(_this=_super.call(this,props)).nextFrameActionId=void 0,_this.resizeFrameId=void 0,_this.textArea=void 0,_this.saveTextArea=function(textArea){_this.textArea=textArea},_this.handleResize=function(size){var resizeStatus=_this.state.resizeStatus,_this$props=_this.props,autoSize=_this$props.autoSize,onResize=_this$props.onResize;resizeStatus===RESIZE_STATUS.NONE&&("function"==typeof onResize&&onResize(size),autoSize&&_this.resizeOnNextFrame())},_this.resizeOnNextFrame=function(){cancelAnimationFrame(_this.nextFrameActionId),_this.nextFrameActionId=requestAnimationFrame(_this.resizeTextarea)},_this.resizeTextarea=function(){var autoSize=_this.props.autoSize;if(autoSize&&_this.textArea){var minRows=autoSize.minRows,maxRows=autoSize.maxRows,textareaStyles=function calculateNodeHeight(uiTextNode){var useCache=arguments.length>1&&void 0!==arguments[1]&&arguments[1],minRows=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,maxRows=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;hiddenTextarea||((hiddenTextarea=document.createElement("textarea")).setAttribute("tab-index","-1"),hiddenTextarea.setAttribute("aria-hidden","true"),document.body.appendChild(hiddenTextarea)),uiTextNode.getAttribute("wrap")?hiddenTextarea.setAttribute("wrap",uiTextNode.getAttribute("wrap")):hiddenTextarea.removeAttribute("wrap");var _calculateNodeStyling=calculateNodeStyling(uiTextNode,useCache),paddingSize=_calculateNodeStyling.paddingSize,borderSize=_calculateNodeStyling.borderSize,boxSizing=_calculateNodeStyling.boxSizing,sizingStyle=_calculateNodeStyling.sizingStyle;hiddenTextarea.setAttribute("style","".concat(sizingStyle,";").concat(HIDDEN_TEXTAREA_STYLE)),hiddenTextarea.value=uiTextNode.value||uiTextNode.placeholder||"";var overflowY,minHeight=Number.MIN_SAFE_INTEGER,maxHeight=Number.MAX_SAFE_INTEGER,height=hiddenTextarea.scrollHeight;if("border-box"===boxSizing?height+=borderSize:"content-box"===boxSizing&&(height-=paddingSize),null!==minRows||null!==maxRows){hiddenTextarea.value=" ";var singleRowHeight=hiddenTextarea.scrollHeight-paddingSize;null!==minRows&&(minHeight=singleRowHeight*minRows,"border-box"===boxSizing&&(minHeight=minHeight+paddingSize+borderSize),height=Math.max(minHeight,height)),null!==maxRows&&(maxHeight=singleRowHeight*maxRows,"border-box"===boxSizing&&(maxHeight=maxHeight+paddingSize+borderSize),overflowY=height>maxHeight?"":"hidden",height=Math.min(maxHeight,height))}return{height,minHeight,maxHeight,overflowY,resize:"none"}}(_this.textArea,!1,minRows,maxRows);_this.setState({textareaStyles,resizeStatus:RESIZE_STATUS.RESIZING},(function(){cancelAnimationFrame(_this.resizeFrameId),_this.resizeFrameId=requestAnimationFrame((function(){_this.setState({resizeStatus:RESIZE_STATUS.RESIZED},(function(){_this.resizeFrameId=requestAnimationFrame((function(){_this.setState({resizeStatus:RESIZE_STATUS.NONE}),_this.fixFirefoxAutoScroll()}))}))}))}))}},_this.renderTextArea=function(){var _this$props2=_this.props,_this$props2$prefixCl=_this$props2.prefixCls,prefixCls=void 0===_this$props2$prefixCl?"rc-textarea":_this$props2$prefixCl,autoSize=_this$props2.autoSize,onResize=_this$props2.onResize,className=_this$props2.className,disabled=_this$props2.disabled,_this$state=_this.state,textareaStyles=_this$state.textareaStyles,resizeStatus=_this$state.resizeStatus,otherProps=(0,es_omit.Z)(_this.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),cls=classnames_default()(prefixCls,className,(0,defineProperty.Z)({},"".concat(prefixCls,"-disabled"),disabled));"value"in otherProps&&(otherProps.value=otherProps.value||"");var style=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},_this.props.style),textareaStyles),resizeStatus===RESIZE_STATUS.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return react.createElement(rc_resize_observer_es.Z,{onResize:_this.handleResize,disabled:!(autoSize||onResize)},react.createElement("textarea",(0,esm_extends.Z)({},otherProps,{className:cls,style,ref:_this.saveTextArea})))},_this.state={textareaStyles:{},resizeStatus:RESIZE_STATUS.NONE},_this}return(0,createClass.Z)(ResizableTextArea,[{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){prevProps.value===this.props.value&&shallowequal_default()(prevProps.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function componentWillUnmount(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function fixFirefoxAutoScroll(){try{if(document.activeElement===this.textArea){var currentStart=this.textArea.selectionStart,currentEnd=this.textArea.selectionEnd;this.textArea.setSelectionRange(currentStart,currentEnd)}}catch(e){}}},{key:"render",value:function render(){return this.renderTextArea()}}]),ResizableTextArea}(react.Component);const rc_textarea_es=function(_React$Component){(0,inherits.Z)(TextArea,_React$Component);var _super=(0,createSuper.Z)(TextArea);function TextArea(props){var _this;(0,classCallCheck.Z)(this,TextArea),(_this=_super.call(this,props)).resizableTextArea=void 0,_this.focus=function(){_this.resizableTextArea.textArea.focus()},_this.saveTextArea=function(resizableTextArea){_this.resizableTextArea=resizableTextArea},_this.handleChange=function(e){var onChange=_this.props.onChange;_this.setValue(e.target.value,(function(){_this.resizableTextArea.resizeTextarea()})),onChange&&onChange(e)},_this.handleKeyDown=function(e){var _this$props=_this.props,onPressEnter=_this$props.onPressEnter,onKeyDown=_this$props.onKeyDown;13===e.keyCode&&onPressEnter&&onPressEnter(e),onKeyDown&&onKeyDown(e)};var value=void 0===props.value||null===props.value?props.defaultValue:props.value;return _this.state={value},_this}return(0,createClass.Z)(TextArea,[{key:"setValue",value:function setValue(value,callback){"value"in this.props||this.setState({value},callback)}},{key:"blur",value:function blur(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function render(){return react.createElement(es_ResizableTextArea,(0,esm_extends.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps){return"value"in nextProps?{value:nextProps.value}:null}}]),TextArea}(react.Component);var hooks_useMergedState=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/hooks/useMergedState.js"),rc_util_es_omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),ClearableInputType=(0,__webpack_require__("./node_modules/antd/es/_util/type.js").b)("text","input");const input_ClearableLabeledInput=function(_React$Component){(0,inherits.Z)(ClearableLabeledInput,_React$Component);var _super=(0,createSuper.Z)(ClearableLabeledInput);function ClearableLabeledInput(){return(0,classCallCheck.Z)(this,ClearableLabeledInput),_super.apply(this,arguments)}return(0,createClass.Z)(ClearableLabeledInput,[{key:"renderClearIcon",value:function renderClearIcon(prefixCls){var _classNames,_this$props=this.props,value=_this$props.value,disabled=_this$props.disabled,readOnly=_this$props.readOnly,handleReset=_this$props.handleReset,suffix=_this$props.suffix,needClear=!disabled&&!readOnly&&value,className="".concat(prefixCls,"-clear-icon");return react.createElement(CloseCircleFilled.Z,{onClick:handleReset,onMouseDown:function onMouseDown(e){return e.preventDefault()},className:classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(className,"-hidden"),!needClear),(0,defineProperty.Z)(_classNames,"".concat(className,"-has-suffix"),!!suffix),_classNames),className),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function renderTextAreaWithClearIcon(prefixCls,element,statusContext){var _classNames2,_this$props2=this.props,value=_this$props2.value,allowClear=_this$props2.allowClear,className=_this$props2.className,style=_this$props2.style,direction=_this$props2.direction,bordered=_this$props2.bordered,hidden=_this$props2.hidden,customStatus=_this$props2.status,contextStatus=statusContext.status,hasFeedback=statusContext.hasFeedback;if(!allowClear)return(0,reactNode.Tm)(element,{value});var affixWrapperCls=classnames_default()("".concat(prefixCls,"-affix-wrapper"),"".concat(prefixCls,"-affix-wrapper-textarea-with-clear-btn"),(0,statusUtils.Z)("".concat(prefixCls,"-affix-wrapper"),(0,statusUtils.F)(contextStatus,customStatus),hasFeedback),(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-affix-wrapper-borderless"),!bordered),(0,defineProperty.Z)(_classNames2,"".concat(className),!function ClearableLabeledInput_hasAddon(props){return!(!props.addonBefore&&!props.addonAfter)}(this.props)&&className),_classNames2));return react.createElement("span",{className:affixWrapperCls,style,hidden},(0,reactNode.Tm)(element,{style:null,value}),this.renderClearIcon(prefixCls))}},{key:"render",value:function render(){var _this=this;return react.createElement(form_context.aM.Consumer,null,(function(statusContext){var _this$props3=_this.props,prefixCls=_this$props3.prefixCls,inputType=_this$props3.inputType,element=_this$props3.element;if(inputType===ClearableInputType[0])return _this.renderTextAreaWithClearIcon(prefixCls,element,statusContext)}))}}]),ClearableLabeledInput}(react.Component);var TextArea_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};function fixEmojiLength(value,maxLength){return(0,toConsumableArray.Z)(value||"").slice(0,maxLength).join("")}function setTriggerValue(isCursorInEnd,preValue,triggerValue,maxLength){var newTriggerValue=triggerValue;return isCursorInEnd?newTriggerValue=fixEmojiLength(triggerValue,maxLength):(0,toConsumableArray.Z)(preValue||"").length<triggerValue.length&&(0,toConsumableArray.Z)(triggerValue||"").length>maxLength&&(newTriggerValue=preValue),newTriggerValue}const input_TextArea=react.forwardRef((function(_a,ref){var _classNames,customizePrefixCls=_a.prefixCls,_a$bordered=_a.bordered,bordered=void 0===_a$bordered||_a$bordered,_a$showCount=_a.showCount,showCount=void 0!==_a$showCount&&_a$showCount,maxLength=_a.maxLength,className=_a.className,style=_a.style,customizeSize=_a.size,onCompositionStart=_a.onCompositionStart,onCompositionEnd=_a.onCompositionEnd,onChange=_a.onChange,customStatus=_a.status,props=TextArea_rest(_a,["prefixCls","bordered","showCount","maxLength","className","style","size","onCompositionStart","onCompositionEnd","onChange","status"]),_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,size=react.useContext(SizeContext.Z),_React$useContext2=react.useContext(form_context.aM),contextStatus=_React$useContext2.status,hasFeedback=_React$useContext2.hasFeedback,isFormItemInput=_React$useContext2.isFormItemInput,feedbackIcon=_React$useContext2.feedbackIcon,mergedStatus=(0,statusUtils.F)(contextStatus,customStatus),innerRef=react.useRef(null),clearableInputRef=react.useRef(null),_React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),compositing=_React$useState2[0],setCompositing=_React$useState2[1],oldCompositionValueRef=react.useRef(),oldSelectionStartRef=react.useRef(0),_useMergedState=(0,hooks_useMergedState.Z)(props.defaultValue,{value:props.value}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),value=_useMergedState2[0],setValue=_useMergedState2[1],hidden=props.hidden,handleSetValue=function handleSetValue(val,callback){void 0===props.value&&(setValue(val),null==callback||callback())},hasMaxLength=Number(maxLength)>0,prefixCls=getPrefixCls("input",customizePrefixCls);react.useImperativeHandle(ref,(function(){var _a;return{resizableTextArea:null===(_a=innerRef.current)||void 0===_a?void 0:_a.resizableTextArea,focus:function focus(option){var _a,_b;!function Input_triggerFocus(element,option){if(element){element.focus(option);var cursor=(option||{}).cursor;if(cursor){var len=element.value.length;switch(cursor){case"start":element.setSelectionRange(0,0);break;case"end":element.setSelectionRange(len,len);break;default:element.setSelectionRange(0,len)}}}}(null===(_b=null===(_a=innerRef.current)||void 0===_a?void 0:_a.resizableTextArea)||void 0===_b?void 0:_b.textArea,option)},blur:function blur(){var _a;return null===(_a=innerRef.current)||void 0===_a?void 0:_a.blur()}}}));var textArea=react.createElement(rc_textarea_es,(0,esm_extends.Z)({},(0,rc_util_es_omit.Z)(props,["allowClear"]),{className:classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-borderless"),!bordered),(0,defineProperty.Z)(_classNames,className,className&&!showCount),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-sm"),"small"===size||"small"===customizeSize),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-lg"),"large"===size||"large"===customizeSize),_classNames),(0,statusUtils.Z)(prefixCls,mergedStatus)),style:showCount?void 0:style,prefixCls,onCompositionStart:function onInternalCompositionStart(e){setCompositing(!0),oldCompositionValueRef.current=value,oldSelectionStartRef.current=e.currentTarget.selectionStart,null==onCompositionStart||onCompositionStart(e)},onChange:function handleChange(e){var triggerValue=e.target.value;!compositing&&hasMaxLength&&(triggerValue=setTriggerValue(e.target.selectionStart>=maxLength+1||e.target.selectionStart===triggerValue.length||!e.target.selectionStart,value,triggerValue,maxLength));handleSetValue(triggerValue),Input_resolveOnChange(e.currentTarget,e,onChange,triggerValue)},onCompositionEnd:function onInternalCompositionEnd(e){var _a;setCompositing(!1);var triggerValue=e.currentTarget.value;hasMaxLength&&(triggerValue=setTriggerValue(oldSelectionStartRef.current>=maxLength+1||oldSelectionStartRef.current===(null===(_a=oldCompositionValueRef.current)||void 0===_a?void 0:_a.length),oldCompositionValueRef.current,triggerValue,maxLength));triggerValue!==value&&(handleSetValue(triggerValue),Input_resolveOnChange(e.currentTarget,e,onChange,triggerValue)),null==onCompositionEnd||onCompositionEnd(e)},ref:innerRef})),val=function Input_fixControlledValue(value){return null==value?"":String(value)}(value);compositing||!hasMaxLength||null!==props.value&&void 0!==props.value||(val=fixEmojiLength(val,maxLength));var textareaNode=react.createElement(input_ClearableLabeledInput,(0,esm_extends.Z)({},props,{prefixCls,direction,inputType:"text",value:val,element:textArea,handleReset:function handleReset(e){var _a,_b;handleSetValue("",(function(){var _a;null===(_a=innerRef.current)||void 0===_a||_a.focus()})),Input_resolveOnChange(null===(_b=null===(_a=innerRef.current)||void 0===_a?void 0:_a.resizableTextArea)||void 0===_b?void 0:_b.textArea,e,onChange)},ref:clearableInputRef,bordered,status:customStatus,style:showCount?void 0:style}));if(showCount||hasFeedback){var _classNames2,valueLength=(0,toConsumableArray.Z)(val).length,dataCount="";return dataCount="object"===(0,esm_typeof.Z)(showCount)?showCount.formatter({count:valueLength,maxLength}):"".concat(valueLength).concat(hasMaxLength?" / ".concat(maxLength):""),react.createElement("div",{hidden,className:classnames_default()("".concat(prefixCls,"-textarea"),(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-textarea-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-textarea-show-count"),showCount),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-textarea-in-form-item"),isFormItemInput),_classNames2),(0,statusUtils.Z)("".concat(prefixCls,"-textarea"),mergedStatus,hasFeedback),className),style,"data-count":dataCount},textareaNode,hasFeedback&&react.createElement("span",{className:"".concat(prefixCls,"-textarea-suffix")},feedbackIcon))}return textareaNode}));const asn_EyeOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),EyeOutlined_EyeOutlined=function EyeOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_EyeOutlined}))};EyeOutlined_EyeOutlined.displayName="EyeOutlined";const icons_EyeOutlined=react.forwardRef(EyeOutlined_EyeOutlined);const asn_EyeInvisibleOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};var EyeInvisibleOutlined_EyeInvisibleOutlined=function EyeInvisibleOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_EyeInvisibleOutlined}))};EyeInvisibleOutlined_EyeInvisibleOutlined.displayName="EyeInvisibleOutlined";const icons_EyeInvisibleOutlined=react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined);var Password_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},ActionMap={click:"onClick",hover:"onMouseOver"},Password=react.forwardRef((function(props,ref){var _useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),visible=_useState2[0],setVisible=_useState2[1],onVisibleChange=function onVisibleChange(){props.disabled||setVisible(!visible)},renderPassword=function renderPassword(_ref){var getPrefixCls=_ref.getPrefixCls,className=props.className,customizePrefixCls=props.prefixCls,customizeInputPrefixCls=props.inputPrefixCls,size=props.size,visibilityToggle=props.visibilityToggle,restProps=Password_rest(props,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),inputPrefixCls=getPrefixCls("input",customizeInputPrefixCls),prefixCls=getPrefixCls("input-password",customizePrefixCls),suffixIcon=visibilityToggle&&function getIcon(prefixCls){var _iconProps,action=props.action,_props$iconRender=props.iconRender,iconTrigger=ActionMap[action]||"",icon=(void 0===_props$iconRender?function(){return null}:_props$iconRender)(visible),iconProps=(_iconProps={},(0,defineProperty.Z)(_iconProps,iconTrigger,onVisibleChange),(0,defineProperty.Z)(_iconProps,"className","".concat(prefixCls,"-icon")),(0,defineProperty.Z)(_iconProps,"key","passwordIcon"),(0,defineProperty.Z)(_iconProps,"onMouseDown",(function onMouseDown(e){e.preventDefault()})),(0,defineProperty.Z)(_iconProps,"onMouseUp",(function onMouseUp(e){e.preventDefault()})),_iconProps);return react.cloneElement(react.isValidElement(icon)?icon:react.createElement("span",null,icon),iconProps)}(prefixCls),inputClassName=classnames_default()(prefixCls,className,(0,defineProperty.Z)({},"".concat(prefixCls,"-").concat(size),!!size)),omittedProps=(0,esm_extends.Z)((0,esm_extends.Z)({},(0,rc_util_es_omit.Z)(restProps,["suffix","iconRender"])),{type:visible?"text":"password",className:inputClassName,prefixCls:inputPrefixCls,suffix:suffixIcon});return size&&(omittedProps.size=size),react.createElement(input_Input,(0,esm_extends.Z)({ref},omittedProps))};return react.createElement(context.C,null,renderPassword)}));Password.defaultProps={action:"click",visibilityToggle:!0,iconRender:function iconRender(visible){return visible?react.createElement(icons_EyeOutlined,null):react.createElement(icons_EyeInvisibleOutlined,null)}},Password.displayName="Password";const input_Password=Password;var es_input_Input=input_Input;es_input_Input.Group=input_Group,es_input_Input.Search=input_Search,es_input_Input.TextArea=input_TextArea,es_input_Input.Password=input_Password;const input=es_input_Input},"./node_modules/antd/es/layout/Sider.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>SiderContext,Z:()=>layout_Sider});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");const asn_BarsOutlined={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),BarsOutlined_BarsOutlined=function BarsOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_BarsOutlined}))};BarsOutlined_BarsOutlined.displayName="BarsOutlined";const icons_BarsOutlined=react.forwardRef(BarsOutlined_BarsOutlined);var RightOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/RightOutlined.js"),LeftOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LeftOutlined.js"),layout=__webpack_require__("./node_modules/antd/es/layout/layout.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js");const _util_isNumeric=function isNumeric(value){return!isNaN(parseFloat(value))&&isFinite(value)};var i,__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},dimensionMaxMap={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},SiderContext=react.createContext({}),generateId=(i=0,function(){var prefix=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i+=1,"".concat(prefix).concat(i)}),Sider=react.forwardRef((function(_a,ref){var customizePrefixCls=_a.prefixCls,className=_a.className,trigger=_a.trigger,children=_a.children,_a$defaultCollapsed=_a.defaultCollapsed,defaultCollapsed=void 0!==_a$defaultCollapsed&&_a$defaultCollapsed,_a$theme=_a.theme,theme=void 0===_a$theme?"dark":_a$theme,_a$style=_a.style,style=void 0===_a$style?{}:_a$style,_a$collapsible=_a.collapsible,collapsible=void 0!==_a$collapsible&&_a$collapsible,_a$reverseArrow=_a.reverseArrow,reverseArrow=void 0!==_a$reverseArrow&&_a$reverseArrow,_a$width=_a.width,width=void 0===_a$width?200:_a$width,_a$collapsedWidth=_a.collapsedWidth,collapsedWidth=void 0===_a$collapsedWidth?80:_a$collapsedWidth,zeroWidthTriggerStyle=_a.zeroWidthTriggerStyle,breakpoint=_a.breakpoint,onCollapse=_a.onCollapse,onBreakpoint=_a.onBreakpoint,props=__rest(_a,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),siderHook=(0,react.useContext)(layout.Gs).siderHook,_useState=(0,react.useState)("collapsed"in props?props.collapsed:defaultCollapsed),_useState2=(0,slicedToArray.Z)(_useState,2),collapsed=_useState2[0],setCollapsed=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),below=_useState4[0],setBelow=_useState4[1];(0,react.useEffect)((function(){"collapsed"in props&&setCollapsed(props.collapsed)}),[props.collapsed]);var handleSetCollapsed=function handleSetCollapsed(value,type){"collapsed"in props||setCollapsed(value),null==onCollapse||onCollapse(value,type)},responsiveHandlerRef=(0,react.useRef)();responsiveHandlerRef.current=function(mql){setBelow(mql.matches),null==onBreakpoint||onBreakpoint(mql.matches),collapsed!==mql.matches&&handleSetCollapsed(mql.matches,"responsive")},(0,react.useEffect)((function(){function responsiveHandler(mql){return responsiveHandlerRef.current(mql)}var mql;if("undefined"!=typeof window){var matchMedia=window.matchMedia;if(matchMedia&&breakpoint&&breakpoint in dimensionMaxMap){mql=matchMedia("(max-width: ".concat(dimensionMaxMap[breakpoint],")"));try{mql.addEventListener("change",responsiveHandler)}catch(error){mql.addListener(responsiveHandler)}responsiveHandler(mql)}}return function(){try{null==mql||mql.removeEventListener("change",responsiveHandler)}catch(error){null==mql||mql.removeListener(responsiveHandler)}}}),[breakpoint]),(0,react.useEffect)((function(){var uniqueId=generateId("ant-sider-");return siderHook.addSider(uniqueId),function(){return siderHook.removeSider(uniqueId)}}),[]);var toggle=function toggle(){handleSetCollapsed(!collapsed,"clickTrigger")},getPrefixCls=(0,react.useContext)(context.E_).getPrefixCls,contextValue=react.useMemo((function(){return{siderCollapsed:collapsed}}),[collapsed]);return react.createElement(SiderContext.Provider,{value:contextValue},function renderSider(){var _classNames,prefixCls=getPrefixCls("layout-sider",customizePrefixCls),divProps=(0,omit.Z)(props,["collapsed"]),rawWidth=collapsed?collapsedWidth:width,siderWidth=_util_isNumeric(rawWidth)?"".concat(rawWidth,"px"):String(rawWidth),zeroWidthTrigger=0===parseFloat(String(collapsedWidth||0))?react.createElement("span",{onClick:toggle,className:classnames_default()("".concat(prefixCls,"-zero-width-trigger"),"".concat(prefixCls,"-zero-width-trigger-").concat(reverseArrow?"right":"left")),style:zeroWidthTriggerStyle},trigger||react.createElement(icons_BarsOutlined,null)):null,defaultTrigger={expanded:reverseArrow?react.createElement(RightOutlined.Z,null):react.createElement(LeftOutlined.Z,null),collapsed:reverseArrow?react.createElement(LeftOutlined.Z,null):react.createElement(RightOutlined.Z,null)}[collapsed?"collapsed":"expanded"],triggerDom=null!==trigger?zeroWidthTrigger||react.createElement("div",{className:"".concat(prefixCls,"-trigger"),onClick:toggle,style:{width:siderWidth}},trigger||defaultTrigger):null,divStyle=(0,esm_extends.Z)((0,esm_extends.Z)({},style),{flex:"0 0 ".concat(siderWidth),maxWidth:siderWidth,minWidth:siderWidth,width:siderWidth}),siderCls=classnames_default()(prefixCls,"".concat(prefixCls,"-").concat(theme),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-collapsed"),!!collapsed),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-has-trigger"),collapsible&&null!==trigger&&!zeroWidthTrigger),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-below"),!!below),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-zero-width"),0===parseFloat(siderWidth)),_classNames),className);return react.createElement("aside",(0,esm_extends.Z)({className:siderCls},divProps,{style:divStyle,ref}),react.createElement("div",{className:"".concat(prefixCls,"-children")},children),collapsible||below&&zeroWidthTrigger?triggerDom:null)}())}));Sider.displayName="Sider";const layout_Sider=Sider},"./node_modules/antd/es/layout/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _layout__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/antd/es/layout/layout.js"),_Sider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/antd/es/layout/Sider.js"),Layout=_layout__WEBPACK_IMPORTED_MODULE_0__.ZP;Layout.Header=_layout__WEBPACK_IMPORTED_MODULE_0__.h4,Layout.Footer=_layout__WEBPACK_IMPORTED_MODULE_0__.$_,Layout.Content=_layout__WEBPACK_IMPORTED_MODULE_0__.VY,Layout.Sider=_Sider__WEBPACK_IMPORTED_MODULE_1__.Z;const __WEBPACK_DEFAULT_EXPORT__=Layout},"./node_modules/antd/es/layout/layout.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$_:()=>Footer,Gs:()=>LayoutContext,VY:()=>Content,ZP:()=>__WEBPACK_DEFAULT_EXPORT__,h4:()=>Header});var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),_config_provider__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},LayoutContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({siderHook:{addSider:function addSider(){return null},removeSider:function removeSider(){return null}}});function generator(_ref){var suffixCls=_ref.suffixCls,tagName=_ref.tagName,displayName=_ref.displayName;return function(BasicComponent){var Adapter=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(props,ref){var getPrefixCls=react__WEBPACK_IMPORTED_MODULE_0__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__.E_).getPrefixCls,customizePrefixCls=props.prefixCls,prefixCls=getPrefixCls(suffixCls,customizePrefixCls);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(BasicComponent,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__.Z)({ref,prefixCls,tagName},props))}));return Adapter.displayName=displayName,Adapter}}var Basic=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(props,ref){var prefixCls=props.prefixCls,className=props.className,children=props.children,tagName=props.tagName,others=__rest(props,["prefixCls","className","children","tagName"]),classString=classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls,className);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(tagName,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__.Z)({className:classString},others),{ref}),children)})),BasicLayout=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(props,ref){var _classNames,direction=react__WEBPACK_IMPORTED_MODULE_0__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__.E_).direction,_React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState([]),_React$useState2=(0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__.Z)(_React$useState,2),siders=_React$useState2[0],setSiders=_React$useState2[1],prefixCls=props.prefixCls,className=props.className,children=props.children,hasSider=props.hasSider,Tag=props.tagName,others=__rest(props,["prefixCls","className","children","hasSider","tagName"]),classString=classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls,(_classNames={},(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__.Z)(_classNames,"".concat(prefixCls,"-has-sider"),"boolean"==typeof hasSider?hasSider:siders.length>0),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className),contextValue=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return{siderHook:{addSider:function addSider(id){setSiders((function(prev){return[].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__.Z)(prev),[id])}))},removeSider:function removeSider(id){setSiders((function(prev){return prev.filter((function(currentId){return currentId!==id}))}))}}}}),[]);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(LayoutContext.Provider,{value:contextValue},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Tag,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__.Z)({ref,className:classString},others),children))})),Layout=generator({suffixCls:"layout",tagName:"section",displayName:"Layout"})(BasicLayout),Header=generator({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(Basic),Footer=generator({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(Basic),Content=generator({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(Basic);const __WEBPACK_DEFAULT_EXPORT__=Layout},"./node_modules/antd/es/locale-provider/LocaleReceiver.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>LocaleReceiver,E:()=>useLocaleReceiver});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),react=__webpack_require__("./node_modules/react/index.js");const locale_provider_default=__webpack_require__("./node_modules/antd/es/locale/default.js").Z;var context=__webpack_require__("./node_modules/antd/es/locale-provider/context.js"),LocaleReceiver=function(_React$Component){(0,inherits.Z)(LocaleReceiver,_React$Component);var _super=(0,createSuper.Z)(LocaleReceiver);function LocaleReceiver(){return(0,classCallCheck.Z)(this,LocaleReceiver),_super.apply(this,arguments)}return(0,createClass.Z)(LocaleReceiver,[{key:"getLocale",value:function getLocale(){var _this$props=this.props,componentName=_this$props.componentName,locale=_this$props.defaultLocale||locale_provider_default[null!=componentName?componentName:"global"],antLocale=this.context,localeFromContext=componentName&&antLocale?antLocale[componentName]:{};return(0,esm_extends.Z)((0,esm_extends.Z)({},locale instanceof Function?locale():locale),localeFromContext||{})}},{key:"getLocaleCode",value:function getLocaleCode(){var antLocale=this.context,localeCode=antLocale&&antLocale.locale;return antLocale&&antLocale.exist&&!localeCode?locale_provider_default.locale:localeCode}},{key:"render",value:function render(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),LocaleReceiver}(react.Component);function useLocaleReceiver(componentName,defaultLocale){var antLocale=react.useContext(context.Z);return[react.useMemo((function(){var locale=defaultLocale||locale_provider_default[componentName||"global"],localeFromContext=componentName&&antLocale?antLocale[componentName]:{};return(0,esm_extends.Z)((0,esm_extends.Z)({},"function"==typeof locale?locale():locale),localeFromContext||{})}),[componentName,defaultLocale,antLocale])]}LocaleReceiver.defaultProps={componentName:"global"},LocaleReceiver.contextType=context.Z},"./node_modules/antd/es/locale-provider/context.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=(0,__webpack_require__("./node_modules/react/index.js").createContext)(void 0)},"./node_modules/antd/es/locale/default.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>locale_default});var en_US=__webpack_require__("./node_modules/rc-pagination/es/locale/en_US.js"),locale_en_US=__webpack_require__("./node_modules/antd/es/date-picker/locale/en_US.js"),time_picker_locale_en_US=__webpack_require__("./node_modules/antd/es/time-picker/locale/en_US.js");const calendar_locale_en_US=locale_en_US.Z;var typeTemplate="${label} is not a valid ${type}";const locale_default={locale:"en",Pagination:en_US.Z,DatePicker:locale_en_US.Z,TimePicker:time_picker_locale_en_US.Z,Calendar:calendar_locale_en_US,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:typeTemplate,method:typeTemplate,array:typeTemplate,object:typeTemplate,number:typeTemplate,date:typeTemplate,boolean:typeTemplate,integer:typeTemplate,float:typeTemplate,regexp:typeTemplate,email:typeTemplate,url:typeTemplate,hex:typeTemplate},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}}},"./node_modules/antd/es/menu/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>menu});var classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),shallowequal=__webpack_require__("./node_modules/shallowequal/index.js"),shallowequal_default=__webpack_require__.n(shallowequal),useMergedState=__webpack_require__("./node_modules/rc-util/es/hooks/useMergedState.js"),warning=__webpack_require__("./node_modules/rc-util/es/warning.js"),es=__webpack_require__("./node_modules/rc-overflow/es/index.js"),KeyCode=__webpack_require__("./node_modules/rc-util/es/KeyCode.js"),omit=__webpack_require__("./node_modules/rc-util/es/omit.js"),useMemo=__webpack_require__("./node_modules/rc-util/es/hooks/useMemo.js"),_excluded=["children","locked"],MenuContext=react.createContext(null);function InheritableContextProvider(_ref){var children=_ref.children,locked=_ref.locked,restProps=(0,objectWithoutProperties.Z)(_ref,_excluded),context=react.useContext(MenuContext),inheritableContext=(0,useMemo.Z)((function(){return function mergeProps(origin,target){var clone=(0,objectSpread2.Z)({},origin);return Object.keys(target).forEach((function(key){var value=target[key];void 0!==value&&(clone[key]=value)})),clone}(context,restProps)}),[context,restProps],(function(prev,next){return!(locked||prev[0]===next[0]&&shallowequal_default()(prev[1],next[1]))}));return react.createElement(MenuContext.Provider,{value:inheritableContext},children)}function useActive(eventKey,disabled,onMouseEnter,onMouseLeave){var _React$useContext=react.useContext(MenuContext),activeKey=_React$useContext.activeKey,onActive=_React$useContext.onActive,onInactive=_React$useContext.onInactive,ret={active:activeKey===eventKey};return disabled||(ret.onMouseEnter=function(domEvent){null==onMouseEnter||onMouseEnter({key:eventKey,domEvent}),onActive(eventKey)},ret.onMouseLeave=function(domEvent){null==onMouseLeave||onMouseLeave({key:eventKey,domEvent}),onInactive(eventKey)}),ret}var warnUtil_excluded=["item"];function warnItemProp(_ref){var item=_ref.item,restInfo=(0,objectWithoutProperties.Z)(_ref,warnUtil_excluded);return Object.defineProperty(restInfo,"item",{get:function get(){return(0,warning.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),item}}),restInfo}function Icon(_ref){var icon=_ref.icon,props=_ref.props,children=_ref.children;return("function"==typeof icon?react.createElement(icon,(0,objectSpread2.Z)({},props)):icon)||children||null}function useDirectionStyle(level){var _React$useContext=react.useContext(MenuContext),mode=_React$useContext.mode,rtl=_React$useContext.rtl,inlineIndent=_React$useContext.inlineIndent;if("inline"!==mode)return null;return rtl?{paddingRight:level*inlineIndent}:{paddingLeft:level*inlineIndent}}var EmptyList=[],PathRegisterContext=react.createContext(null);function useMeasure(){return react.useContext(PathRegisterContext)}var PathTrackerContext=react.createContext(EmptyList);function useFullPath(eventKey){var parentKeyPath=react.useContext(PathTrackerContext);return react.useMemo((function(){return void 0!==eventKey?[].concat((0,toConsumableArray.Z)(parentKeyPath),[eventKey]):parentKeyPath}),[parentKeyPath,eventKey])}var PathUserContext=react.createContext(null),IdContext=react.createContext(null);function getMenuId(uuid,eventKey){return void 0===uuid?null:"".concat(uuid,"-").concat(eventKey)}function useMenuId(eventKey){return getMenuId(react.useContext(IdContext),eventKey)}const context_PrivateContext=react.createContext({});var MenuItem_excluded=["title","attribute","elementRef"],_excluded2=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],_excluded3=["active"],LegacyMenuItem=function(_React$Component){(0,inherits.Z)(LegacyMenuItem,_React$Component);var _super=(0,createSuper.Z)(LegacyMenuItem);function LegacyMenuItem(){return(0,classCallCheck.Z)(this,LegacyMenuItem),_super.apply(this,arguments)}return(0,createClass.Z)(LegacyMenuItem,[{key:"render",value:function render(){var _this$props=this.props,title=_this$props.title,attribute=_this$props.attribute,elementRef=_this$props.elementRef,restProps=(0,objectWithoutProperties.Z)(_this$props,MenuItem_excluded),passedProps=(0,omit.Z)(restProps,["eventKey"]);return(0,warning.ZP)(!attribute,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),react.createElement(es.Z.Item,(0,esm_extends.Z)({},attribute,{title:"string"==typeof title?title:void 0},passedProps,{ref:elementRef}))}}]),LegacyMenuItem}(react.Component),InternalMenuItem=function InternalMenuItem(props){var _classNames,style=props.style,className=props.className,eventKey=props.eventKey,disabled=(props.warnKey,props.disabled),itemIcon=props.itemIcon,children=props.children,role=props.role,onMouseEnter=props.onMouseEnter,onMouseLeave=props.onMouseLeave,onClick=props.onClick,onKeyDown=props.onKeyDown,onFocus=props.onFocus,restProps=(0,objectWithoutProperties.Z)(props,_excluded2),domDataId=useMenuId(eventKey),_React$useContext=react.useContext(MenuContext),prefixCls=_React$useContext.prefixCls,onItemClick=_React$useContext.onItemClick,contextDisabled=_React$useContext.disabled,overflowDisabled=_React$useContext.overflowDisabled,contextItemIcon=_React$useContext.itemIcon,selectedKeys=_React$useContext.selectedKeys,onActive=_React$useContext.onActive,_internalRenderMenuItem=react.useContext(context_PrivateContext)._internalRenderMenuItem,itemCls="".concat(prefixCls,"-item"),legacyMenuItemRef=react.useRef(),elementRef=react.useRef(),mergedDisabled=contextDisabled||disabled,connectedKeys=useFullPath(eventKey);var getEventInfo=function getEventInfo(e){return{key:eventKey,keyPath:(0,toConsumableArray.Z)(connectedKeys).reverse(),item:legacyMenuItemRef.current,domEvent:e}},mergedItemIcon=itemIcon||contextItemIcon,_useActive=useActive(eventKey,mergedDisabled,onMouseEnter,onMouseLeave),active=_useActive.active,activeProps=(0,objectWithoutProperties.Z)(_useActive,_excluded3),selected=selectedKeys.includes(eventKey),directionStyle=useDirectionStyle(connectedKeys.length),optionRoleProps={};"option"===props.role&&(optionRoleProps["aria-selected"]=selected);var renderNode=react.createElement(LegacyMenuItem,(0,esm_extends.Z)({ref:legacyMenuItemRef,elementRef,role:null===role?"none":role||"menuitem",tabIndex:disabled?null:-1,"data-menu-id":overflowDisabled&&domDataId?null:domDataId},restProps,activeProps,optionRoleProps,{component:"li","aria-disabled":disabled,style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},directionStyle),style),className:classnames_default()(itemCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(itemCls,"-active"),active),(0,defineProperty.Z)(_classNames,"".concat(itemCls,"-selected"),selected),(0,defineProperty.Z)(_classNames,"".concat(itemCls,"-disabled"),mergedDisabled),_classNames),className),onClick:function onInternalClick(e){if(!mergedDisabled){var info=getEventInfo(e);null==onClick||onClick(warnItemProp(info)),onItemClick(info)}},onKeyDown:function onInternalKeyDown(e){if(null==onKeyDown||onKeyDown(e),e.which===KeyCode.Z.ENTER){var info=getEventInfo(e);null==onClick||onClick(warnItemProp(info)),onItemClick(info)}},onFocus:function onInternalFocus(e){onActive(eventKey),null==onFocus||onFocus(e)}}),children,react.createElement(Icon,{props:(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{isSelected:selected}),icon:mergedItemIcon}));return _internalRenderMenuItem&&(renderNode=_internalRenderMenuItem(renderNode,props,{selected})),renderNode};const es_MenuItem=function MenuItem(props){var eventKey=props.eventKey,measure=useMeasure(),connectedKeyPath=useFullPath(eventKey);return react.useEffect((function(){if(measure)return measure.registerPath(eventKey,connectedKeyPath),function(){measure.unregisterPath(eventKey,connectedKeyPath)}}),[connectedKeyPath]),measure?null:react.createElement(InternalMenuItem,props)};var esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),toArray=__webpack_require__("./node_modules/rc-util/es/Children/toArray.js"),nodeUtil_excluded=["label","children","key","type"];function parseChildren(children,keyPath){return(0,toArray.Z)(children).map((function(child,index){if(react.isValidElement(child)){var _child$props$eventKey,_child$props,key=child.key,eventKey=null!==(_child$props$eventKey=null===(_child$props=child.props)||void 0===_child$props?void 0:_child$props.eventKey)&&void 0!==_child$props$eventKey?_child$props$eventKey:key;null==eventKey&&(eventKey="tmp_key-".concat([].concat((0,toConsumableArray.Z)(keyPath),[index]).join("-")));var cloneProps={key:eventKey,eventKey};return react.cloneElement(child,cloneProps)}return child}))}function convertItemsToNodes(list){return(list||[]).map((function(opt,index){if(opt&&"object"===(0,esm_typeof.Z)(opt)){var label=opt.label,children=opt.children,key=opt.key,type=opt.type,restProps=(0,objectWithoutProperties.Z)(opt,nodeUtil_excluded),mergedKey=null!=key?key:"tmp-".concat(index);return children||"group"===type?"group"===type?react.createElement(MenuItemGroup,(0,esm_extends.Z)({key:mergedKey},restProps,{title:label}),convertItemsToNodes(children)):react.createElement(SubMenu,(0,esm_extends.Z)({key:mergedKey},restProps,{title:label}),convertItemsToNodes(children)):"divider"===type?react.createElement(Divider,(0,esm_extends.Z)({key:mergedKey},restProps)):react.createElement(es_MenuItem,(0,esm_extends.Z)({key:mergedKey},restProps),label)}return null})).filter((function(opt){return opt}))}function parseItems(children,items,keyPath){var childNodes=children;return items&&(childNodes=convertItemsToNodes(items)),parseChildren(childNodes,keyPath)}function useMemoCallback(func){var funRef=react.useRef(func);funRef.current=func;var callback=react.useCallback((function(){for(var _funRef$current,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return null===(_funRef$current=funRef.current)||void 0===_funRef$current?void 0:_funRef$current.call.apply(_funRef$current,[funRef].concat(args))}),[]);return func?callback:void 0}var SubMenuList_excluded=["className","children"],InternalSubMenuList=function InternalSubMenuList(_ref,ref){var className=_ref.className,children=_ref.children,restProps=(0,objectWithoutProperties.Z)(_ref,SubMenuList_excluded),_React$useContext=react.useContext(MenuContext),prefixCls=_React$useContext.prefixCls,mode=_React$useContext.mode,rtl=_React$useContext.rtl;return react.createElement("ul",(0,esm_extends.Z)({className:classnames_default()(prefixCls,rtl&&"".concat(prefixCls,"-rtl"),"".concat(prefixCls,"-sub"),"".concat(prefixCls,"-").concat("inline"===mode?"inline":"vertical"),className)},restProps,{"data-menu-list":!0,ref}),children)},SubMenuList=react.forwardRef(InternalSubMenuList);SubMenuList.displayName="SubMenuList";const SubMenu_SubMenuList=SubMenuList;var rc_trigger_es=__webpack_require__("./node_modules/rc-trigger/es/index.js"),raf=__webpack_require__("./node_modules/rc-util/es/raf.js"),autoAdjustOverflow={adjustX:1,adjustY:1},placements={topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:autoAdjustOverflow,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:autoAdjustOverflow,offset:[4,0]}},placementsRtl={topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:autoAdjustOverflow,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:autoAdjustOverflow,offset:[4,0]}};function getMotion(mode,motion,defaultMotions){return motion||(defaultMotions?defaultMotions[mode]||defaultMotions.other:void 0)}var popupPlacementMap={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function PopupTrigger(_ref){var prefixCls=_ref.prefixCls,visible=_ref.visible,children=_ref.children,popup=_ref.popup,popupClassName=_ref.popupClassName,popupOffset=_ref.popupOffset,disabled=_ref.disabled,mode=_ref.mode,onVisibleChange=_ref.onVisibleChange,_React$useContext=react.useContext(MenuContext),getPopupContainer=_React$useContext.getPopupContainer,rtl=_React$useContext.rtl,subMenuOpenDelay=_React$useContext.subMenuOpenDelay,subMenuCloseDelay=_React$useContext.subMenuCloseDelay,builtinPlacements=_React$useContext.builtinPlacements,triggerSubMenuAction=_React$useContext.triggerSubMenuAction,forceSubMenuRender=_React$useContext.forceSubMenuRender,rootClassName=_React$useContext.rootClassName,motion=_React$useContext.motion,defaultMotions=_React$useContext.defaultMotions,_React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),innerVisible=_React$useState2[0],setInnerVisible=_React$useState2[1],placement=rtl?(0,objectSpread2.Z)((0,objectSpread2.Z)({},placementsRtl),builtinPlacements):(0,objectSpread2.Z)((0,objectSpread2.Z)({},placements),builtinPlacements),popupPlacement=popupPlacementMap[mode],targetMotion=getMotion(mode,motion,defaultMotions),mergedMotion=(0,objectSpread2.Z)((0,objectSpread2.Z)({},targetMotion),{},{leavedClassName:"".concat(prefixCls,"-hidden"),removeOnLeave:!1,motionAppear:!0}),visibleRef=react.useRef();return react.useEffect((function(){return visibleRef.current=(0,raf.Z)((function(){setInnerVisible(visible)})),function(){raf.Z.cancel(visibleRef.current)}}),[visible]),react.createElement(rc_trigger_es.Z,{prefixCls,popupClassName:classnames_default()("".concat(prefixCls,"-popup"),(0,defineProperty.Z)({},"".concat(prefixCls,"-rtl"),rtl),popupClassName,rootClassName),stretch:"horizontal"===mode?"minWidth":null,getPopupContainer,builtinPlacements:placement,popupPlacement,popupVisible:innerVisible,popup,popupAlign:popupOffset&&{offset:popupOffset},action:disabled?[]:[triggerSubMenuAction],mouseEnterDelay:subMenuOpenDelay,mouseLeaveDelay:subMenuCloseDelay,onPopupVisibleChange:onVisibleChange,forceRender:forceSubMenuRender,popupMotion:mergedMotion},children)}var rc_motion_es=__webpack_require__("./node_modules/rc-motion/es/index.js");function InlineSubMenuList(_ref){var id=_ref.id,open=_ref.open,keyPath=_ref.keyPath,children=_ref.children,_React$useContext=react.useContext(MenuContext),prefixCls=_React$useContext.prefixCls,forceSubMenuRender=_React$useContext.forceSubMenuRender,motion=_React$useContext.motion,defaultMotions=_React$useContext.defaultMotions,mode=_React$useContext.mode,sameModeRef=react.useRef(!1);sameModeRef.current="inline"===mode;var _React$useState=react.useState(!sameModeRef.current),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),destroy=_React$useState2[0],setDestroy=_React$useState2[1],mergedOpen=!!sameModeRef.current&&open;react.useEffect((function(){sameModeRef.current&&setDestroy(!1)}),[mode]);var mergedMotion=(0,objectSpread2.Z)({},getMotion("inline",motion,defaultMotions));keyPath.length>1&&(mergedMotion.motionAppear=!1);var originOnVisibleChanged=mergedMotion.onVisibleChanged;return mergedMotion.onVisibleChanged=function(newVisible){return sameModeRef.current||newVisible||setDestroy(!0),null==originOnVisibleChanged?void 0:originOnVisibleChanged(newVisible)},destroy?null:react.createElement(InheritableContextProvider,{mode:"inline",locked:!sameModeRef.current},react.createElement(rc_motion_es.Z,(0,esm_extends.Z)({visible:mergedOpen},mergedMotion,{forceRender:forceSubMenuRender,removeOnLeave:!1,leavedClassName:"".concat(prefixCls,"-hidden")}),(function(_ref2){var motionClassName=_ref2.className,motionStyle=_ref2.style;return react.createElement(SubMenu_SubMenuList,{id,className:motionClassName,style:motionStyle},children)})))}var SubMenu_excluded=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],SubMenu_excluded2=["active"],InternalSubMenu=function InternalSubMenu(props){var _classNames,style=props.style,className=props.className,title=props.title,eventKey=props.eventKey,disabled=(props.warnKey,props.disabled),internalPopupClose=props.internalPopupClose,children=props.children,itemIcon=props.itemIcon,expandIcon=props.expandIcon,popupClassName=props.popupClassName,popupOffset=props.popupOffset,onClick=props.onClick,onMouseEnter=props.onMouseEnter,onMouseLeave=props.onMouseLeave,onTitleClick=props.onTitleClick,onTitleMouseEnter=props.onTitleMouseEnter,onTitleMouseLeave=props.onTitleMouseLeave,restProps=(0,objectWithoutProperties.Z)(props,SubMenu_excluded),domDataId=useMenuId(eventKey),_React$useContext=react.useContext(MenuContext),prefixCls=_React$useContext.prefixCls,mode=_React$useContext.mode,openKeys=_React$useContext.openKeys,contextDisabled=_React$useContext.disabled,overflowDisabled=_React$useContext.overflowDisabled,activeKey=_React$useContext.activeKey,selectedKeys=_React$useContext.selectedKeys,contextItemIcon=_React$useContext.itemIcon,contextExpandIcon=_React$useContext.expandIcon,onItemClick=_React$useContext.onItemClick,onOpenChange=_React$useContext.onOpenChange,onActive=_React$useContext.onActive,_internalRenderSubMenuItem=react.useContext(context_PrivateContext)._internalRenderSubMenuItem,isSubPathKey=react.useContext(PathUserContext).isSubPathKey,connectedPath=useFullPath(),subMenuPrefixCls="".concat(prefixCls,"-submenu"),mergedDisabled=contextDisabled||disabled,elementRef=react.useRef(),popupRef=react.useRef();var mergedItemIcon=itemIcon||contextItemIcon,mergedExpandIcon=expandIcon||contextExpandIcon,originOpen=openKeys.includes(eventKey),open=!overflowDisabled&&originOpen,childrenSelected=isSubPathKey(selectedKeys,eventKey),_useActive=useActive(eventKey,mergedDisabled,onTitleMouseEnter,onTitleMouseLeave),active=_useActive.active,activeProps=(0,objectWithoutProperties.Z)(_useActive,SubMenu_excluded2),_React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),childrenActive=_React$useState2[0],setChildrenActive=_React$useState2[1],triggerChildrenActive=function triggerChildrenActive(newActive){mergedDisabled||setChildrenActive(newActive)},mergedActive=react.useMemo((function(){return active||"inline"!==mode&&(childrenActive||isSubPathKey([activeKey],eventKey))}),[mode,active,activeKey,childrenActive,eventKey,isSubPathKey]),directionStyle=useDirectionStyle(connectedPath.length),onMergedItemClick=useMemoCallback((function(info){null==onClick||onClick(warnItemProp(info)),onItemClick(info)})),popupId=domDataId&&"".concat(domDataId,"-popup"),titleNode=react.createElement("div",(0,esm_extends.Z)({role:"menuitem",style:directionStyle,className:"".concat(subMenuPrefixCls,"-title"),tabIndex:mergedDisabled?null:-1,ref:elementRef,title:"string"==typeof title?title:null,"data-menu-id":overflowDisabled&&domDataId?null:domDataId,"aria-expanded":open,"aria-haspopup":!0,"aria-controls":popupId,"aria-disabled":mergedDisabled,onClick:function onInternalTitleClick(e){mergedDisabled||(null==onTitleClick||onTitleClick({key:eventKey,domEvent:e}),"inline"===mode&&onOpenChange(eventKey,!originOpen))},onFocus:function onInternalFocus(){onActive(eventKey)}},activeProps),title,react.createElement(Icon,{icon:"horizontal"!==mode?mergedExpandIcon:null,props:(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{isOpen:open,isSubMenu:!0})},react.createElement("i",{className:"".concat(subMenuPrefixCls,"-arrow")}))),triggerModeRef=react.useRef(mode);if("inline"!==mode&&(triggerModeRef.current=connectedPath.length>1?"vertical":mode),!overflowDisabled){var triggerMode=triggerModeRef.current;titleNode=react.createElement(PopupTrigger,{mode:triggerMode,prefixCls:subMenuPrefixCls,visible:!internalPopupClose&&open&&"inline"!==mode,popupClassName,popupOffset,popup:react.createElement(InheritableContextProvider,{mode:"horizontal"===triggerMode?"vertical":triggerMode},react.createElement(SubMenu_SubMenuList,{id:popupId,ref:popupRef},children)),disabled:mergedDisabled,onVisibleChange:function onPopupVisibleChange(newVisible){"inline"!==mode&&onOpenChange(eventKey,newVisible)}},titleNode)}var listNode=react.createElement(es.Z.Item,(0,esm_extends.Z)({role:"none"},restProps,{component:"li",style,className:classnames_default()(subMenuPrefixCls,"".concat(subMenuPrefixCls,"-").concat(mode),className,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(subMenuPrefixCls,"-open"),open),(0,defineProperty.Z)(_classNames,"".concat(subMenuPrefixCls,"-active"),mergedActive),(0,defineProperty.Z)(_classNames,"".concat(subMenuPrefixCls,"-selected"),childrenSelected),(0,defineProperty.Z)(_classNames,"".concat(subMenuPrefixCls,"-disabled"),mergedDisabled),_classNames)),onMouseEnter:function onInternalMouseEnter(domEvent){triggerChildrenActive(!0),null==onMouseEnter||onMouseEnter({key:eventKey,domEvent})},onMouseLeave:function onInternalMouseLeave(domEvent){triggerChildrenActive(!1),null==onMouseLeave||onMouseLeave({key:eventKey,domEvent})}}),titleNode,!overflowDisabled&&react.createElement(InlineSubMenuList,{id:popupId,open,keyPath:connectedPath},children));return _internalRenderSubMenuItem&&(listNode=_internalRenderSubMenuItem(listNode,props,{selected:childrenSelected,active:mergedActive,open,disabled:mergedDisabled})),react.createElement(InheritableContextProvider,{onItemClick:onMergedItemClick,mode:"horizontal"===mode?"vertical":mode,itemIcon:mergedItemIcon,expandIcon:mergedExpandIcon},listNode)};function SubMenu(props){var renderNode,eventKey=props.eventKey,children=props.children,connectedKeyPath=useFullPath(eventKey),childList=parseChildren(children,connectedKeyPath),measure=useMeasure();return react.useEffect((function(){if(measure)return measure.registerPath(eventKey,connectedKeyPath),function(){measure.unregisterPath(eventKey,connectedKeyPath)}}),[connectedKeyPath]),renderNode=measure?childList:react.createElement(InternalSubMenu,props,childList),react.createElement(PathTrackerContext.Provider,{value:connectedKeyPath},renderNode)}var isVisible=__webpack_require__("./node_modules/rc-util/es/Dom/isVisible.js");function focusable(node){var includePositive=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,isVisible.Z)(node)){var nodeName=node.nodeName.toLowerCase(),isFocusableElement=["input","select","textarea","button"].includes(nodeName)||node.isContentEditable||"a"===nodeName&&!!node.getAttribute("href"),tabIndexAttr=node.getAttribute("tabindex"),tabIndexNum=Number(tabIndexAttr),tabIndex=null;return tabIndexAttr&&!Number.isNaN(tabIndexNum)?tabIndex=tabIndexNum:isFocusableElement&&null===tabIndex&&(tabIndex=0),isFocusableElement&&node.disabled&&(tabIndex=null),null!==tabIndex&&(tabIndex>=0||includePositive&&tabIndex<0)}return!1}function getFocusNodeList(node){var includePositive=arguments.length>1&&void 0!==arguments[1]&&arguments[1],res=(0,toConsumableArray.Z)(node.querySelectorAll("*")).filter((function(child){return focusable(child,includePositive)}));return focusable(node,includePositive)&&res.unshift(node),res}var LEFT=KeyCode.Z.LEFT,RIGHT=KeyCode.Z.RIGHT,UP=KeyCode.Z.UP,DOWN=KeyCode.Z.DOWN,ENTER=KeyCode.Z.ENTER,ESC=KeyCode.Z.ESC,HOME=KeyCode.Z.HOME,END=KeyCode.Z.END,ArrowKeys=[UP,DOWN,LEFT,RIGHT];function getFocusableElements(container,elements){return getFocusNodeList(container,!0).filter((function(ele){return elements.has(ele)}))}function getNextFocusElement(parentQueryContainer,elements,focusMenuElement){var offset=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!parentQueryContainer)return null;var sameLevelFocusableMenuElementList=getFocusableElements(parentQueryContainer,elements),count=sameLevelFocusableMenuElementList.length,focusIndex=sameLevelFocusableMenuElementList.findIndex((function(ele){return focusMenuElement===ele}));return offset<0?-1===focusIndex?focusIndex=count-1:focusIndex-=1:offset>0&&(focusIndex+=1),sameLevelFocusableMenuElementList[focusIndex=(focusIndex+count)%count]}function useAccessibility(mode,activeKey,isRtl,id,containerRef,getKeys,getKeyPath,triggerActiveKey,triggerAccessibilityOpen,originOnKeyDown){var rafRef=react.useRef(),activeRef=react.useRef();activeRef.current=activeKey;var cleanRaf=function cleanRaf(){raf.Z.cancel(rafRef.current)};return react.useEffect((function(){return function(){cleanRaf()}}),[]),function(e){var which=e.which;if([].concat(ArrowKeys,[ENTER,ESC,HOME,END]).includes(which)){var elements,key2element,element2key,refreshElements=function refreshElements(){return elements=new Set,key2element=new Map,element2key=new Map,getKeys().forEach((function(key){var element=document.querySelector("[data-menu-id='".concat(getMenuId(id,key),"']"));element&&(elements.add(element),element2key.set(element,key),key2element.set(key,element))})),elements};refreshElements();var focusMenuElement=function getFocusElement(activeElement,elements){for(var current=activeElement||document.activeElement;current;){if(elements.has(current))return current;current=current.parentElement}return null}(key2element.get(activeKey),elements),focusMenuKey=element2key.get(focusMenuElement),offsetObj=function getOffset(mode,isRootLevel,isRtl,which){var _inline,_horizontal,_vertical,_offsets$;if("inline"===mode&&which===ENTER)return{inlineTrigger:!0};var inline=(_inline={},(0,defineProperty.Z)(_inline,UP,"prev"),(0,defineProperty.Z)(_inline,DOWN,"next"),_inline),horizontal=(_horizontal={},(0,defineProperty.Z)(_horizontal,LEFT,isRtl?"next":"prev"),(0,defineProperty.Z)(_horizontal,RIGHT,isRtl?"prev":"next"),(0,defineProperty.Z)(_horizontal,DOWN,"children"),(0,defineProperty.Z)(_horizontal,ENTER,"children"),_horizontal),vertical=(_vertical={},(0,defineProperty.Z)(_vertical,UP,"prev"),(0,defineProperty.Z)(_vertical,DOWN,"next"),(0,defineProperty.Z)(_vertical,ENTER,"children"),(0,defineProperty.Z)(_vertical,ESC,"parent"),(0,defineProperty.Z)(_vertical,LEFT,isRtl?"children":"parent"),(0,defineProperty.Z)(_vertical,RIGHT,isRtl?"parent":"children"),_vertical);switch(null===(_offsets$={inline,horizontal,vertical,inlineSub:inline,horizontalSub:vertical,verticalSub:vertical}["".concat(mode).concat(isRootLevel?"":"Sub")])||void 0===_offsets$?void 0:_offsets$[which]){case"prev":return{offset:-1,sibling:!0};case"next":return{offset:1,sibling:!0};case"parent":return{offset:-1,sibling:!1};case"children":return{offset:1,sibling:!1};default:return null}}(mode,1===getKeyPath(focusMenuKey,!0).length,isRtl,which);if(!offsetObj&&which!==HOME&&which!==END)return;(ArrowKeys.includes(which)||[HOME,END].includes(which))&&e.preventDefault();var tryFocus=function tryFocus(menuElement){if(menuElement){var focusTargetElement=menuElement,link=menuElement.querySelector("a");(null==link?void 0:link.getAttribute("href"))&&(focusTargetElement=link);var targetKey=element2key.get(menuElement);triggerActiveKey(targetKey),cleanRaf(),rafRef.current=(0,raf.Z)((function(){activeRef.current===targetKey&&focusTargetElement.focus()}))}};if([HOME,END].includes(which)||offsetObj.sibling||!focusMenuElement){var parentQueryContainer,targetElement,focusableElements=getFocusableElements(parentQueryContainer=focusMenuElement&&"inline"!==mode?function findContainerUL(element){for(var current=element;current;){if(current.getAttribute("data-menu-list"))return current;current=current.parentElement}return null}(focusMenuElement):containerRef.current,elements);targetElement=which===HOME?focusableElements[0]:which===END?focusableElements[focusableElements.length-1]:getNextFocusElement(parentQueryContainer,elements,focusMenuElement,offsetObj.offset),tryFocus(targetElement)}else if(offsetObj.inlineTrigger)triggerAccessibilityOpen(focusMenuKey);else if(offsetObj.offset>0)triggerAccessibilityOpen(focusMenuKey,!0),cleanRaf(),rafRef.current=(0,raf.Z)((function(){refreshElements();var controlId=focusMenuElement.getAttribute("aria-controls"),targetElement=getNextFocusElement(document.getElementById(controlId),elements);tryFocus(targetElement)}),5);else if(offsetObj.offset<0){var keyPath=getKeyPath(focusMenuKey,!0),parentKey=keyPath[keyPath.length-2],parentMenuElement=key2element.get(parentKey);triggerAccessibilityOpen(parentKey,!1),tryFocus(parentMenuElement)}}null==originOnKeyDown||originOnKeyDown(e)}}var uniquePrefix=Math.random().toFixed(5).toString().slice(2),internalId=0;var PATH_SPLIT="__RC_UTIL_PATH_SPLIT__",getPathStr=function getPathStr(keyPath){return keyPath.join(PATH_SPLIT)};function useKeyRecords(){var _React$useState=react.useState({}),internalForceUpdate=(0,slicedToArray.Z)(_React$useState,2)[1],key2pathRef=(0,react.useRef)(new Map),path2keyRef=(0,react.useRef)(new Map),_React$useState3=react.useState([]),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),overflowKeys=_React$useState4[0],setOverflowKeys=_React$useState4[1],updateRef=(0,react.useRef)(0),destroyRef=(0,react.useRef)(!1),registerPath=(0,react.useCallback)((function(key,keyPath){var connectedPath=getPathStr(keyPath);path2keyRef.current.set(connectedPath,key),key2pathRef.current.set(key,connectedPath),updateRef.current+=1;var id=updateRef.current;!function nextSlice(callback){Promise.resolve().then(callback)}((function(){id===updateRef.current&&function forceUpdate(){destroyRef.current||internalForceUpdate({})}()}))}),[]),unregisterPath=(0,react.useCallback)((function(key,keyPath){var connectedPath=getPathStr(keyPath);path2keyRef.current.delete(connectedPath),key2pathRef.current.delete(key)}),[]),refreshOverflowKeys=(0,react.useCallback)((function(keys){setOverflowKeys(keys)}),[]),getKeyPath=(0,react.useCallback)((function(eventKey,includeOverflow){var keys=function getPathKeys(keyPathStr){return keyPathStr.split(PATH_SPLIT)}(key2pathRef.current.get(eventKey)||"");return includeOverflow&&overflowKeys.includes(keys[0])&&keys.unshift("rc-menu-more"),keys}),[overflowKeys]),isSubPathKey=(0,react.useCallback)((function(pathKeys,eventKey){return pathKeys.some((function(pathKey){return getKeyPath(pathKey,!0).includes(eventKey)}))}),[getKeyPath]),getSubPathKeys=(0,react.useCallback)((function(key){var connectedPath="".concat(key2pathRef.current.get(key)).concat(PATH_SPLIT),pathKeys=new Set;return(0,toConsumableArray.Z)(path2keyRef.current.keys()).forEach((function(pathKey){pathKey.startsWith(connectedPath)&&pathKeys.add(path2keyRef.current.get(pathKey))})),pathKeys}),[]);return react.useEffect((function(){return function(){destroyRef.current=!0}}),[]),{registerPath,unregisterPath,refreshOverflowKeys,isSubPathKey,getKeyPath,getKeys:function getKeys(){var keys=(0,toConsumableArray.Z)(key2pathRef.current.keys());return overflowKeys.length&&keys.push("rc-menu-more"),keys},getSubPathKeys}}var Menu_excluded=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],EMPTY_LIST=[],Menu=react.forwardRef((function(props,ref){var _childList$,_classNames,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-menu":_props$prefixCls,rootClassName=props.rootClassName,style=props.style,className=props.className,_props$tabIndex=props.tabIndex,tabIndex=void 0===_props$tabIndex?0:_props$tabIndex,items=props.items,children=props.children,direction=props.direction,id=props.id,_props$mode=props.mode,mode=void 0===_props$mode?"vertical":_props$mode,inlineCollapsed=props.inlineCollapsed,disabled=props.disabled,disabledOverflow=props.disabledOverflow,_props$subMenuOpenDel=props.subMenuOpenDelay,subMenuOpenDelay=void 0===_props$subMenuOpenDel?.1:_props$subMenuOpenDel,_props$subMenuCloseDe=props.subMenuCloseDelay,subMenuCloseDelay=void 0===_props$subMenuCloseDe?.1:_props$subMenuCloseDe,forceSubMenuRender=props.forceSubMenuRender,defaultOpenKeys=props.defaultOpenKeys,openKeys=props.openKeys,activeKey=props.activeKey,defaultActiveFirst=props.defaultActiveFirst,_props$selectable=props.selectable,selectable=void 0===_props$selectable||_props$selectable,_props$multiple=props.multiple,multiple=void 0!==_props$multiple&&_props$multiple,defaultSelectedKeys=props.defaultSelectedKeys,selectedKeys=props.selectedKeys,onSelect=props.onSelect,onDeselect=props.onDeselect,_props$inlineIndent=props.inlineIndent,inlineIndent=void 0===_props$inlineIndent?24:_props$inlineIndent,motion=props.motion,defaultMotions=props.defaultMotions,_props$triggerSubMenu=props.triggerSubMenuAction,triggerSubMenuAction=void 0===_props$triggerSubMenu?"hover":_props$triggerSubMenu,builtinPlacements=props.builtinPlacements,itemIcon=props.itemIcon,expandIcon=props.expandIcon,_props$overflowedIndi=props.overflowedIndicator,overflowedIndicator=void 0===_props$overflowedIndi?"...":_props$overflowedIndi,overflowedIndicatorPopupClassName=props.overflowedIndicatorPopupClassName,getPopupContainer=props.getPopupContainer,onClick=props.onClick,onOpenChange=props.onOpenChange,onKeyDown=props.onKeyDown,_internalRenderMenuItem=(props.openAnimation,props.openTransitionName,props._internalRenderMenuItem),_internalRenderSubMenuItem=props._internalRenderSubMenuItem,restProps=(0,objectWithoutProperties.Z)(props,Menu_excluded),childList=react.useMemo((function(){return parseItems(children,items,EMPTY_LIST)}),[children,items]),_React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),mounted=_React$useState2[0],setMounted=_React$useState2[1],containerRef=react.useRef();(0,react.useImperativeHandle)(ref,(function(){return{list:containerRef.current,focus:function focus(options){var _containerRef$current;null===(_containerRef$current=containerRef.current)||void 0===_containerRef$current||_containerRef$current.focus(options)}}}));var uuid=function useUUID(id){var _useMergedState=(0,useMergedState.Z)(id,{value:id}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),uuid=_useMergedState2[0],setUUID=_useMergedState2[1];return react.useEffect((function(){internalId+=1;var newId="".concat(uniquePrefix,"-").concat(internalId);setUUID("rc-menu-uuid-".concat(newId))}),[]),uuid}(id),isRtl="rtl"===direction;var _React$useMemo=react.useMemo((function(){return"inline"!==mode&&"vertical"!==mode||!inlineCollapsed?[mode,!1]:["vertical",inlineCollapsed]}),[mode,inlineCollapsed]),_React$useMemo2=(0,slicedToArray.Z)(_React$useMemo,2),mergedMode=_React$useMemo2[0],mergedInlineCollapsed=_React$useMemo2[1],_React$useState3=react.useState(0),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),lastVisibleIndex=_React$useState4[0],setLastVisibleIndex=_React$useState4[1],allVisible=lastVisibleIndex>=childList.length-1||"horizontal"!==mergedMode||disabledOverflow,_useMergedState=(0,useMergedState.Z)(defaultOpenKeys,{value:openKeys,postState:function postState(keys){return keys||EMPTY_LIST}}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),mergedOpenKeys=_useMergedState2[0],setMergedOpenKeys=_useMergedState2[1],triggerOpenKeys=function triggerOpenKeys(keys){setMergedOpenKeys(keys),null==onOpenChange||onOpenChange(keys)},_React$useState5=react.useState(mergedOpenKeys),_React$useState6=(0,slicedToArray.Z)(_React$useState5,2),inlineCacheOpenKeys=_React$useState6[0],setInlineCacheOpenKeys=_React$useState6[1],isInlineMode="inline"===mergedMode,mountRef=react.useRef(!1);react.useEffect((function(){isInlineMode&&setInlineCacheOpenKeys(mergedOpenKeys)}),[mergedOpenKeys]),react.useEffect((function(){mountRef.current?isInlineMode?setMergedOpenKeys(inlineCacheOpenKeys):triggerOpenKeys(EMPTY_LIST):mountRef.current=!0}),[isInlineMode]);var _useKeyRecords=useKeyRecords(),registerPath=_useKeyRecords.registerPath,unregisterPath=_useKeyRecords.unregisterPath,refreshOverflowKeys=_useKeyRecords.refreshOverflowKeys,isSubPathKey=_useKeyRecords.isSubPathKey,getKeyPath=_useKeyRecords.getKeyPath,getKeys=_useKeyRecords.getKeys,getSubPathKeys=_useKeyRecords.getSubPathKeys,registerPathContext=react.useMemo((function(){return{registerPath,unregisterPath}}),[registerPath,unregisterPath]),pathUserContext=react.useMemo((function(){return{isSubPathKey}}),[isSubPathKey]);react.useEffect((function(){refreshOverflowKeys(allVisible?EMPTY_LIST:childList.slice(lastVisibleIndex+1).map((function(child){return child.key})))}),[lastVisibleIndex,allVisible]);var _useMergedState3=(0,useMergedState.Z)(activeKey||defaultActiveFirst&&(null===(_childList$=childList[0])||void 0===_childList$?void 0:_childList$.key),{value:activeKey}),_useMergedState4=(0,slicedToArray.Z)(_useMergedState3,2),mergedActiveKey=_useMergedState4[0],setMergedActiveKey=_useMergedState4[1],onActive=useMemoCallback((function(key){setMergedActiveKey(key)})),onInactive=useMemoCallback((function(){setMergedActiveKey(void 0)})),_useMergedState5=(0,useMergedState.Z)(defaultSelectedKeys||[],{value:selectedKeys,postState:function postState(keys){return Array.isArray(keys)?keys:null==keys?EMPTY_LIST:[keys]}}),_useMergedState6=(0,slicedToArray.Z)(_useMergedState5,2),mergedSelectKeys=_useMergedState6[0],setMergedSelectKeys=_useMergedState6[1],onInternalClick=useMemoCallback((function(info){null==onClick||onClick(warnItemProp(info)),function triggerSelection(info){if(selectable){var newSelectKeys,targetKey=info.key,exist=mergedSelectKeys.includes(targetKey);newSelectKeys=multiple?exist?mergedSelectKeys.filter((function(key){return key!==targetKey})):[].concat((0,toConsumableArray.Z)(mergedSelectKeys),[targetKey]):[targetKey],setMergedSelectKeys(newSelectKeys);var selectInfo=(0,objectSpread2.Z)((0,objectSpread2.Z)({},info),{},{selectedKeys:newSelectKeys});exist?null==onDeselect||onDeselect(selectInfo):null==onSelect||onSelect(selectInfo)}!multiple&&mergedOpenKeys.length&&"inline"!==mergedMode&&triggerOpenKeys(EMPTY_LIST)}(info)})),onInternalOpenChange=useMemoCallback((function(key,open){var newOpenKeys=mergedOpenKeys.filter((function(k){return k!==key}));if(open)newOpenKeys.push(key);else if("inline"!==mergedMode){var subPathKeys=getSubPathKeys(key);newOpenKeys=newOpenKeys.filter((function(k){return!subPathKeys.has(k)}))}shallowequal_default()(mergedOpenKeys,newOpenKeys)||triggerOpenKeys(newOpenKeys)})),getInternalPopupContainer=useMemoCallback(getPopupContainer),onInternalKeyDown=useAccessibility(mergedMode,mergedActiveKey,isRtl,uuid,containerRef,getKeys,getKeyPath,setMergedActiveKey,(function triggerAccessibilityOpen(key,open){var nextOpen=null!=open?open:!mergedOpenKeys.includes(key);onInternalOpenChange(key,nextOpen)}),onKeyDown);react.useEffect((function(){setMounted(!0)}),[]);var privateContext=react.useMemo((function(){return{_internalRenderMenuItem,_internalRenderSubMenuItem}}),[_internalRenderMenuItem,_internalRenderSubMenuItem]),wrappedChildList="horizontal"!==mergedMode||disabledOverflow?childList:childList.map((function(child,index){return react.createElement(InheritableContextProvider,{key:child.key,overflowDisabled:index>lastVisibleIndex},child)})),container=react.createElement(es.Z,(0,esm_extends.Z)({id,ref:containerRef,prefixCls:"".concat(prefixCls,"-overflow"),component:"ul",itemComponent:es_MenuItem,className:classnames_default()(prefixCls,"".concat(prefixCls,"-root"),"".concat(prefixCls,"-").concat(mergedMode),className,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-inline-collapsed"),mergedInlineCollapsed),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),isRtl),_classNames),rootClassName),dir:direction,style,role:"menu",tabIndex,data:wrappedChildList,renderRawItem:function renderRawItem(node){return node},renderRawRest:function renderRawRest(omitItems){var len=omitItems.length,originOmitItems=len?childList.slice(-len):null;return react.createElement(SubMenu,{eventKey:"rc-menu-more",title:overflowedIndicator,disabled:allVisible,internalPopupClose:0===len,popupClassName:overflowedIndicatorPopupClassName},originOmitItems)},maxCount:"horizontal"!==mergedMode||disabledOverflow?es.Z.INVALIDATE:es.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function onVisibleChange(newLastIndex){setLastVisibleIndex(newLastIndex)},onKeyDown:onInternalKeyDown},restProps));return react.createElement(context_PrivateContext.Provider,{value:privateContext},react.createElement(IdContext.Provider,{value:uuid},react.createElement(InheritableContextProvider,{prefixCls,rootClassName,mode:mergedMode,openKeys:mergedOpenKeys,rtl:isRtl,disabled,motion:mounted?motion:null,defaultMotions:mounted?defaultMotions:null,activeKey:mergedActiveKey,onActive,onInactive,selectedKeys:mergedSelectKeys,inlineIndent,subMenuOpenDelay,subMenuCloseDelay,forceSubMenuRender,builtinPlacements,triggerSubMenuAction,getPopupContainer:getInternalPopupContainer,itemIcon,expandIcon,onItemClick:onInternalClick,onOpenChange:onInternalOpenChange},react.createElement(PathUserContext.Provider,{value:pathUserContext},container),react.createElement("div",{style:{display:"none"},"aria-hidden":!0},react.createElement(PathRegisterContext.Provider,{value:registerPathContext},childList)))))}));var MenuItemGroup_excluded=["className","title","eventKey","children"],MenuItemGroup_excluded2=["children"],InternalMenuItemGroup=function InternalMenuItemGroup(_ref){var className=_ref.className,title=_ref.title,children=(_ref.eventKey,_ref.children),restProps=(0,objectWithoutProperties.Z)(_ref,MenuItemGroup_excluded),prefixCls=react.useContext(MenuContext).prefixCls,groupPrefixCls="".concat(prefixCls,"-item-group");return react.createElement("li",(0,esm_extends.Z)({},restProps,{onClick:function onClick(e){return e.stopPropagation()},className:classnames_default()(groupPrefixCls,className)}),react.createElement("div",{className:"".concat(groupPrefixCls,"-title"),title:"string"==typeof title?title:void 0},title),react.createElement("ul",{className:"".concat(groupPrefixCls,"-list")},children))};function MenuItemGroup(_ref2){var children=_ref2.children,props=(0,objectWithoutProperties.Z)(_ref2,MenuItemGroup_excluded2),childList=parseChildren(children,useFullPath(props.eventKey));return useMeasure()?childList:react.createElement(InternalMenuItemGroup,(0,omit.Z)(props,["warnKey"]),childList)}function Divider(_ref){var className=_ref.className,style=_ref.style,prefixCls=react.useContext(MenuContext).prefixCls;return useMeasure()?null:react.createElement("li",{className:classnames_default()("".concat(prefixCls,"-item-divider"),className),style})}var es_useFullPath=useFullPath,ExportMenu=Menu;ExportMenu.Item=es_MenuItem,ExportMenu.SubMenu=SubMenu,ExportMenu.ItemGroup=MenuItemGroup,ExportMenu.Divider=Divider;const rc_menu_es=ExportMenu;var es_omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),EllipsisOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js");const menu_MenuContext=(0,react.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js");const menu_SubMenu=function SubMenu_SubMenu(props){var _a,titleNode,popupClassName=props.popupClassName,icon=props.icon,title=props.title,theme=props.theme,context=react.useContext(menu_MenuContext),prefixCls=context.prefixCls,inlineCollapsed=context.inlineCollapsed,antdMenuTheme=context.antdMenuTheme,parentPath=es_useFullPath();if(icon){var titleIsSpan=(0,reactNode.l$)(title)&&"span"===title.type;titleNode=react.createElement(react.Fragment,null,(0,reactNode.Tm)(icon,{className:classnames_default()((0,reactNode.l$)(icon)?null===(_a=icon.props)||void 0===_a?void 0:_a.className:"","".concat(prefixCls,"-item-icon"))}),titleIsSpan?title:react.createElement("span",{className:"".concat(prefixCls,"-title-content")},title))}else titleNode=inlineCollapsed&&!parentPath.length&&title&&"string"==typeof title?react.createElement("div",{className:"".concat(prefixCls,"-inline-collapsed-noicon")},title.charAt(0)):react.createElement("span",{className:"".concat(prefixCls,"-title-content")},title);var contextValue=react.useMemo((function(){return(0,esm_extends.Z)((0,esm_extends.Z)({},context),{firstLevel:!1})}),[context]);return react.createElement(menu_MenuContext.Provider,{value:contextValue},react.createElement(SubMenu,(0,esm_extends.Z)({},(0,es_omit.Z)(props,["icon"]),{title:titleNode,popupClassName:classnames_default()(prefixCls,"".concat(prefixCls,"-").concat(theme||antdMenuTheme),popupClassName)})))};var Children_toArray=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/Children/toArray.js"),tooltip=__webpack_require__("./node_modules/antd/es/tooltip/index.js"),Sider=__webpack_require__("./node_modules/antd/es/layout/Sider.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},MenuItem_MenuItem=function(_React$Component){(0,inherits.Z)(MenuItem,_React$Component);var _super=(0,createSuper.Z)(MenuItem);function MenuItem(){var _this;return(0,classCallCheck.Z)(this,MenuItem),(_this=_super.apply(this,arguments)).renderItem=function(_ref){var _classNames,_a,siderCollapsed=_ref.siderCollapsed,_this$context=_this.context,prefixCls=_this$context.prefixCls,firstLevel=_this$context.firstLevel,inlineCollapsed=_this$context.inlineCollapsed,direction=_this$context.direction,disableMenuItemTitleTooltip=_this$context.disableMenuItemTitleTooltip,_this$props=_this.props,className=_this$props.className,children=_this$props.children,_b=_this.props,title=_b.title,icon=_b.icon,danger=_b.danger,rest=__rest(_b,["title","icon","danger"]),tooltipTitle=title;void 0===title?tooltipTitle=firstLevel?children:"":!1===title&&(tooltipTitle="");var tooltipProps={title:tooltipTitle};siderCollapsed||inlineCollapsed||(tooltipProps.title=null,tooltipProps.visible=!1);var childrenLength=(0,Children_toArray.Z)(children).length,returnNode=react.createElement(es_MenuItem,(0,esm_extends.Z)({},rest,{className:classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-item-danger"),danger),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-item-only-child"),1===(icon?childrenLength+1:childrenLength)),_classNames),className),title:"string"==typeof title?title:void 0}),(0,reactNode.Tm)(icon,{className:classnames_default()((0,reactNode.l$)(icon)?null===(_a=icon.props)||void 0===_a?void 0:_a.className:"","".concat(prefixCls,"-item-icon"))}),_this.renderItemChildren(inlineCollapsed));return disableMenuItemTitleTooltip||(returnNode=react.createElement(tooltip.Z,(0,esm_extends.Z)({},tooltipProps,{placement:"rtl"===direction?"left":"right",overlayClassName:"".concat(prefixCls,"-inline-collapsed-tooltip")}),returnNode)),returnNode},_this}return(0,createClass.Z)(MenuItem,[{key:"renderItemChildren",value:function renderItemChildren(inlineCollapsed){var _this$context2=this.context,prefixCls=_this$context2.prefixCls,firstLevel=_this$context2.firstLevel,_this$props2=this.props,icon=_this$props2.icon,children=_this$props2.children,wrapNode=react.createElement("span",{className:"".concat(prefixCls,"-title-content")},children);return(!icon||(0,reactNode.l$)(children)&&"span"===children.type)&&children&&inlineCollapsed&&firstLevel&&"string"==typeof children?react.createElement("div",{className:"".concat(prefixCls,"-inline-collapsed-noicon")},children.charAt(0)):wrapNode}},{key:"render",value:function render(){return react.createElement(Sider.D.Consumer,null,this.renderItem)}}]),MenuItem}(react.Component);MenuItem_MenuItem.contextType=menu_MenuContext;var context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),motion=__webpack_require__("./node_modules/antd/es/_util/motion.js"),MenuDivider_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};const menu_MenuDivider=function MenuDivider(_a){var customizePrefixCls=_a.prefixCls,className=_a.className,dashed=_a.dashed,restProps=MenuDivider_rest(_a,["prefixCls","className","dashed"]),prefixCls=(0,react.useContext(context.E_).getPrefixCls)("menu",customizePrefixCls),classString=classnames_default()((0,defineProperty.Z)({},"".concat(prefixCls,"-item-divider-dashed"),!!dashed),className);return react.createElement(Divider,(0,esm_extends.Z)({className:classString},restProps))};var useItems_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};function useItems_convertItemsToNodes(list){return(list||[]).map((function(opt,index){if(opt&&"object"===(0,esm_typeof.Z)(opt)){var _a=opt,label=_a.label,children=_a.children,key=_a.key,type=_a.type,restProps=useItems_rest(_a,["label","children","key","type"]),mergedKey=null!=key?key:"tmp-".concat(index);return children||"group"===type?"group"===type?react.createElement(MenuItemGroup,(0,esm_extends.Z)({key:mergedKey},restProps,{title:label}),useItems_convertItemsToNodes(children)):react.createElement(menu_SubMenu,(0,esm_extends.Z)({key:mergedKey},restProps,{title:label}),useItems_convertItemsToNodes(children)):"divider"===type?react.createElement(menu_MenuDivider,(0,esm_extends.Z)({key:mergedKey},restProps)):react.createElement(MenuItem_MenuItem,(0,esm_extends.Z)({key:mergedKey},restProps),label)}return null})).filter((function(opt){return opt}))}function useItems(items){return react.useMemo((function(){return items?useItems_convertItemsToNodes(items):items}),[items])}var menu_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},InternalMenu=(0,react.forwardRef)((function(props,ref){var _React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,getPopupContainer=_React$useContext.getPopupContainer,direction=_React$useContext.direction,rootPrefixCls=getPrefixCls(),customizePrefixCls=props.prefixCls,className=props.className,_props$theme=props.theme,theme=void 0===_props$theme?"light":_props$theme,expandIcon=props.expandIcon,_internalDisableMenuItemTitleTooltip=props._internalDisableMenuItemTitleTooltip,inlineCollapsed=props.inlineCollapsed,siderCollapsed=props.siderCollapsed,items=props.items,children=props.children,restProps=menu_rest(props,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children"]),passedProps=(0,es_omit.Z)(restProps,["collapsedWidth"]),mergedChildren=useItems(items)||children,mergedInlineCollapsed=react.useMemo((function(){return void 0!==siderCollapsed?siderCollapsed:inlineCollapsed}),[inlineCollapsed,siderCollapsed]),defaultMotions={horizontal:{motionName:"".concat(rootPrefixCls,"-slide-up")},inline:motion.ZP,other:{motionName:"".concat(rootPrefixCls,"-zoom-big")}},prefixCls=getPrefixCls("menu",customizePrefixCls),menuClassName=classnames_default()("".concat(prefixCls,"-").concat(theme),className),contextValue=react.useMemo((function(){return{prefixCls,inlineCollapsed:mergedInlineCollapsed||!1,antdMenuTheme:theme,direction,firstLevel:!0,disableMenuItemTitleTooltip:_internalDisableMenuItemTitleTooltip}}),[prefixCls,mergedInlineCollapsed,theme,direction,_internalDisableMenuItemTitleTooltip]);return react.createElement(menu_MenuContext.Provider,{value:contextValue},react.createElement(rc_menu_es,(0,esm_extends.Z)({getPopupContainer,overflowedIndicator:react.createElement(EllipsisOutlined.Z,null),overflowedIndicatorPopupClassName:"".concat(prefixCls,"-").concat(theme)},passedProps,{inlineCollapsed:mergedInlineCollapsed,className:menuClassName,prefixCls,direction,defaultMotions,expandIcon:"function"==typeof expandIcon?expandIcon:(0,reactNode.Tm)(expandIcon,{className:"".concat(prefixCls,"-submenu-expand-icon")}),ref}),mergedChildren))})),menu_Menu=function(_React$Component){(0,inherits.Z)(Menu,_React$Component);var _super=(0,createSuper.Z)(Menu);function Menu(){var _this;return(0,classCallCheck.Z)(this,Menu),(_this=_super.apply(this,arguments)).focus=function(options){var _a;null===(_a=_this.menu)||void 0===_a||_a.focus(options)},_this}return(0,createClass.Z)(Menu,[{key:"render",value:function render(){var _this2=this;return react.createElement(Sider.D.Consumer,null,(function(context){return react.createElement(InternalMenu,(0,esm_extends.Z)({ref:function ref(node){_this2.menu=node}},_this2.props,context))}))}}]),Menu}(react.Component);menu_Menu.Divider=menu_MenuDivider,menu_Menu.Item=MenuItem_MenuItem,menu_Menu.SubMenu=menu_SubMenu,menu_Menu.ItemGroup=MenuItemGroup;const menu=menu_Menu},"./node_modules/antd/es/modal/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>modal});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),react_namespaceObject=__webpack_require__.t(react,2),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),raf=function raf(callback){return+setTimeout(callback,16)},caf=function caf(num){return clearTimeout(num)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(raf=function raf(callback){return window.requestAnimationFrame(callback)},caf=function caf(handle){return window.cancelAnimationFrame(handle)});var rafUUID=0,rafIds=new Map;function cleanup(id){rafIds.delete(id)}function wrapperRaf(callback){var times=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,id=rafUUID+=1;function callRef(leftTimes){if(0===leftTimes)cleanup(id),callback();else{var realId=raf((function(){callRef(leftTimes-1)}));rafIds.set(id,realId)}}return callRef(times),id}wrapperRaf.cancel=function(id){var realId=rafIds.get(id);return cleanup(realId),caf(realId)};var react_dom=__webpack_require__("./node_modules/react-dom/index.js"),react_dom_namespaceObject=__webpack_require__.t(react_dom,2);function canUseDom(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var Portal=(0,react.forwardRef)((function(props,ref){var didUpdate=props.didUpdate,getContainer=props.getContainer,children=props.children,parentRef=(0,react.useRef)(),containerRef=(0,react.useRef)();(0,react.useImperativeHandle)(ref,(function(){return{}}));var initRef=(0,react.useRef)(!1);return!initRef.current&&canUseDom()&&(containerRef.current=getContainer(),parentRef.current=containerRef.current.parentNode,initRef.current=!0),(0,react.useEffect)((function(){null==didUpdate||didUpdate(props)})),(0,react.useEffect)((function(){return null===containerRef.current.parentNode&&null!==parentRef.current&&parentRef.current.appendChild(containerRef.current),function(){var _containerRef$current,_containerRef$current2;null===(_containerRef$current=containerRef.current)||void 0===_containerRef$current||null===(_containerRef$current2=_containerRef$current.parentNode)||void 0===_containerRef$current2||_containerRef$current2.removeChild(containerRef.current)}}),[]),containerRef.current?react_dom.createPortal(children,containerRef.current):null}));const es_Portal=Portal;var cached;function getScrollBarSize(fresh){if("undefined"==typeof document)return 0;if(fresh||void 0===cached){var inner=document.createElement("div");inner.style.width="100%",inner.style.height="200px";var outer=document.createElement("div"),outerStyle=outer.style;outerStyle.position="absolute",outerStyle.top="0",outerStyle.left="0",outerStyle.pointerEvents="none",outerStyle.visibility="hidden",outerStyle.width="200px",outerStyle.height="150px",outerStyle.overflow="hidden",outer.appendChild(inner),document.body.appendChild(outer);var widthContained=inner.offsetWidth;outer.style.overflow="scroll";var widthScroll=inner.offsetWidth;widthContained===widthScroll&&(widthScroll=outer.clientWidth),document.body.removeChild(outer),cached=widthContained-widthScroll}return cached}const es_setStyle=function setStyle(style){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!style)return{};var _options$element=options.element,element=void 0===_options$element?document.body:_options$element,oldStyle={},styleKeys=Object.keys(style);return styleKeys.forEach((function(key){oldStyle[key]=element.style[key]})),styleKeys.forEach((function(key){element.style[key]=style[key]})),oldStyle};var cacheStyle={};const switchScrollingEffect=function(close){if(function isBodyOverflowing(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}()||close){var scrollingEffectClassNameReg=new RegExp("".concat("ant-scrolling-effect"),"g"),bodyClassName=document.body.className;if(close){if(!scrollingEffectClassNameReg.test(bodyClassName))return;return es_setStyle(cacheStyle),cacheStyle={},void(document.body.className=bodyClassName.replace(scrollingEffectClassNameReg,"").trim())}var scrollBarSize=getScrollBarSize();if(scrollBarSize&&(cacheStyle=es_setStyle({position:"relative",width:"calc(100% - ".concat(scrollBarSize,"px)")}),!scrollingEffectClassNameReg.test(bodyClassName))){var addClassName="".concat(bodyClassName," ").concat("ant-scrolling-effect");document.body.className=addClassName.trim()}}};var toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),locks=[],scrollingEffectClassNameReg=new RegExp("".concat("ant-scrolling-effect"),"g"),uuid=0,scrollLocker_cacheStyle=new Map,ScrollLocker=(0,createClass.Z)((function ScrollLocker(_options){var _this=this;(0,classCallCheck.Z)(this,ScrollLocker),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var _this$options;return null===(_this$options=_this.options)||void 0===_this$options?void 0:_this$options.container},this.reLock=function(options){var findLock=locks.find((function(_ref){return _ref.target===_this.lockTarget}));findLock&&_this.unLock(),_this.options=options,findLock&&(findLock.options=options,_this.lock())},this.lock=function(){var _this$options3;if(!locks.some((function(_ref2){return _ref2.target===_this.lockTarget})))if(locks.some((function(_ref3){var _this$options2,options=_ref3.options;return(null==options?void 0:options.container)===(null===(_this$options2=_this.options)||void 0===_this$options2?void 0:_this$options2.container)})))locks=[].concat((0,toConsumableArray.Z)(locks),[{target:_this.lockTarget,options:_this.options}]);else{var scrollBarSize=0,container=(null===(_this$options3=_this.options)||void 0===_this$options3?void 0:_this$options3.container)||document.body;(container===document.body&&window.innerWidth-document.documentElement.clientWidth>0||container.scrollHeight>container.clientHeight)&&(scrollBarSize=getScrollBarSize());var containerClassName=container.className;if(0===locks.filter((function(_ref4){var _this$options4,options=_ref4.options;return(null==options?void 0:options.container)===(null===(_this$options4=_this.options)||void 0===_this$options4?void 0:_this$options4.container)})).length&&scrollLocker_cacheStyle.set(container,es_setStyle({width:0!==scrollBarSize?"calc(100% - ".concat(scrollBarSize,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:container})),!scrollingEffectClassNameReg.test(containerClassName)){var addClassName="".concat(containerClassName," ").concat("ant-scrolling-effect");container.className=addClassName.trim()}locks=[].concat((0,toConsumableArray.Z)(locks),[{target:_this.lockTarget,options:_this.options}])}},this.unLock=function(){var _this$options5,findLock=locks.find((function(_ref5){return _ref5.target===_this.lockTarget}));if(locks=locks.filter((function(_ref6){return _ref6.target!==_this.lockTarget})),findLock&&!locks.some((function(_ref7){var _findLock$options,options=_ref7.options;return(null==options?void 0:options.container)===(null===(_findLock$options=findLock.options)||void 0===_findLock$options?void 0:_findLock$options.container)}))){var container=(null===(_this$options5=_this.options)||void 0===_this$options5?void 0:_this$options5.container)||document.body,containerClassName=container.className;scrollingEffectClassNameReg.test(containerClassName)&&(es_setStyle(scrollLocker_cacheStyle.get(container),{element:container}),scrollLocker_cacheStyle.delete(container),container.className=container.className.replace(scrollingEffectClassNameReg,"").trim())}},this.lockTarget=uuid++,this.options=_options})),openCount=0,supportDom=canUseDom();var cacheOverflow={},getParent=function getParent(getContainer){if(!supportDom)return null;if(getContainer){if("string"==typeof getContainer)return document.querySelectorAll(getContainer)[0];if("function"==typeof getContainer)return getContainer();if("object"===(0,esm_typeof.Z)(getContainer)&&getContainer instanceof window.HTMLElement)return getContainer}return document.body},PortalWrapper=function(_React$Component){(0,inherits.Z)(PortalWrapper,_React$Component);var _super=(0,createSuper.Z)(PortalWrapper);function PortalWrapper(props){var _this;return(0,classCallCheck.Z)(this,PortalWrapper),(_this=_super.call(this,props)).container=void 0,_this.componentRef=react.createRef(),_this.rafId=void 0,_this.scrollLocker=void 0,_this.renderComponent=void 0,_this.updateScrollLocker=function(prevProps){var prevVisible=(prevProps||{}).visible,_this$props=_this.props,getContainer=_this$props.getContainer,visible=_this$props.visible;visible&&visible!==prevVisible&&supportDom&&getParent(getContainer)!==_this.scrollLocker.getContainer()&&_this.scrollLocker.reLock({container:getParent(getContainer)})},_this.updateOpenCount=function(prevProps){var _ref2=prevProps||{},prevVisible=_ref2.visible,prevGetContainer=_ref2.getContainer,_this$props2=_this.props,visible=_this$props2.visible,getContainer=_this$props2.getContainer;visible!==prevVisible&&supportDom&&getParent(getContainer)===document.body&&(visible&&!prevVisible?openCount+=1:prevProps&&(openCount-=1)),("function"==typeof getContainer&&"function"==typeof prevGetContainer?getContainer.toString()!==prevGetContainer.toString():getContainer!==prevGetContainer)&&_this.removeCurrentContainer()},_this.attachToParent=function(){var force=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(force||_this.container&&!_this.container.parentNode){var parent=getParent(_this.props.getContainer);return!!parent&&(parent.appendChild(_this.container),!0)}return!0},_this.getContainer=function(){return supportDom?(_this.container||(_this.container=document.createElement("div"),_this.attachToParent(!0)),_this.setWrapperClassName(),_this.container):null},_this.setWrapperClassName=function(){var wrapperClassName=_this.props.wrapperClassName;_this.container&&wrapperClassName&&wrapperClassName!==_this.container.className&&(_this.container.className=wrapperClassName)},_this.removeCurrentContainer=function(){var _this$container,_this$container$paren;null===(_this$container=_this.container)||void 0===_this$container||null===(_this$container$paren=_this$container.parentNode)||void 0===_this$container$paren||_this$container$paren.removeChild(_this.container)},_this.switchScrollingEffect=function(){1!==openCount||Object.keys(cacheOverflow).length?openCount||(es_setStyle(cacheOverflow),cacheOverflow={},switchScrollingEffect(!0)):(switchScrollingEffect(),cacheOverflow=es_setStyle({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))},_this.scrollLocker=new ScrollLocker({container:getParent(props.getContainer)}),_this}return(0,createClass.Z)(PortalWrapper,[{key:"componentDidMount",value:function componentDidMount(){var _this2=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=wrapperRaf((function(){_this2.forceUpdate()})))}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){this.updateOpenCount(prevProps),this.updateScrollLocker(prevProps),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function componentWillUnmount(){var _this$props3=this.props,visible=_this$props3.visible,getContainer=_this$props3.getContainer;supportDom&&getParent(getContainer)===document.body&&(openCount=visible&&openCount?openCount-1:openCount),this.removeCurrentContainer(),wrapperRaf.cancel(this.rafId)}},{key:"render",value:function render(){var _this$props4=this.props,children=_this$props4.children,forceRender=_this$props4.forceRender,visible=_this$props4.visible,portal=null,childProps={getOpenCount:function getOpenCount(){return openCount},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(forceRender||visible||this.componentRef.current)&&(portal=react.createElement(es_Portal,{getContainer:this.getContainer,ref:this.componentRef},children(childProps))),portal}}]),PortalWrapper}(react.Component);const es_PortalWrapper=PortalWrapper;var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),KeyCode={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function isTextModifyingKeyEvent(e){var keyCode=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||keyCode>=KeyCode.F1&&keyCode<=KeyCode.F12)return!1;switch(keyCode){case KeyCode.ALT:case KeyCode.CAPS_LOCK:case KeyCode.CONTEXT_MENU:case KeyCode.CTRL:case KeyCode.DOWN:case KeyCode.END:case KeyCode.ESC:case KeyCode.HOME:case KeyCode.INSERT:case KeyCode.LEFT:case KeyCode.MAC_FF_META:case KeyCode.META:case KeyCode.NUMLOCK:case KeyCode.NUM_CENTER:case KeyCode.PAGE_DOWN:case KeyCode.PAGE_UP:case KeyCode.PAUSE:case KeyCode.PRINT_SCREEN:case KeyCode.RIGHT:case KeyCode.SHIFT:case KeyCode.UP:case KeyCode.WIN_KEY:case KeyCode.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function isCharacterKey(keyCode){if(keyCode>=KeyCode.ZERO&&keyCode<=KeyCode.NINE)return!0;if(keyCode>=KeyCode.NUM_ZERO&&keyCode<=KeyCode.NUM_MULTIPLY)return!0;if(keyCode>=KeyCode.A&&keyCode<=KeyCode.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===keyCode)return!0;switch(keyCode){case KeyCode.SPACE:case KeyCode.QUESTION_MARK:case KeyCode.NUM_PLUS:case KeyCode.NUM_MINUS:case KeyCode.NUM_PERIOD:case KeyCode.NUM_DIVISION:case KeyCode.SEMICOLON:case KeyCode.DASH:case KeyCode.EQUALS:case KeyCode.COMMA:case KeyCode.PERIOD:case KeyCode.SLASH:case KeyCode.APOSTROPHE:case KeyCode.SINGLE_QUOTE:case KeyCode.OPEN_SQUARE_BRACKET:case KeyCode.BACKSLASH:case KeyCode.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const es_KeyCode=KeyCode;var useId_uuid=0;function useId(id){var _React$useState=react.useState("ssr-id"),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),innerId=_React$useState2[0],setInnerId=_React$useState2[1],useOriginId=function getUseId(){return(0,objectSpread2.Z)({},react_namespaceObject).useId}(),reactNativeId=null==useOriginId?void 0:useOriginId();return react.useEffect((function(){if(!useOriginId){var nextId=useId_uuid;useId_uuid+=1,setInnerId("rc_unique_".concat(nextId))}}),[]),id||(reactNativeId||innerId)}var propList="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function match(key,prefix){return 0===key.indexOf(prefix)}var es=__webpack_require__("./node_modules/rc-motion/es/index.js");function Mask(props){var prefixCls=props.prefixCls,style=props.style,visible=props.visible,maskProps=props.maskProps,motionName=props.motionName;return react.createElement(es.Z,{key:"mask",visible,motionName,leavedClassName:"".concat(prefixCls,"-mask-hidden")},(function(_ref){var motionClassName=_ref.className,motionStyle=_ref.style;return react.createElement("div",(0,esm_extends.Z)({style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},motionStyle),style),className:classnames_default()("".concat(prefixCls,"-mask"),motionClassName)},maskProps))}))}function getMotionName(prefixCls,transitionName,animationName){var motionName=transitionName;return!motionName&&animationName&&(motionName="".concat(prefixCls,"-").concat(animationName)),motionName}function getScroll(w,top){var ret=w["page".concat(top?"Y":"X","Offset")],method="scroll".concat(top?"Top":"Left");if("number"!=typeof ret){var d=w.document;"number"!=typeof(ret=d.documentElement[method])&&(ret=d.body[method])}return ret}const MemoChildren=react.memo((function(_ref){return _ref.children}),(function(_,_ref2){return!_ref2.shouldUpdate}));var sentinelStyle={width:0,height:0,overflow:"hidden",outline:"none"},Content=react.forwardRef((function(props,ref){var closable=props.closable,prefixCls=props.prefixCls,width=props.width,height=props.height,footer=props.footer,title=props.title,closeIcon=props.closeIcon,style=props.style,className=props.className,visible=props.visible,forceRender=props.forceRender,bodyStyle=props.bodyStyle,bodyProps=props.bodyProps,children=props.children,destroyOnClose=props.destroyOnClose,modalRender=props.modalRender,motionName=props.motionName,ariaId=props.ariaId,onClose=props.onClose,onVisibleChanged=props.onVisibleChanged,onMouseDown=props.onMouseDown,onMouseUp=props.onMouseUp,mousePosition=props.mousePosition,sentinelStartRef=(0,react.useRef)(),sentinelEndRef=(0,react.useRef)(),dialogRef=(0,react.useRef)();react.useImperativeHandle(ref,(function(){return{focus:function focus(){var _sentinelStartRef$cur;null===(_sentinelStartRef$cur=sentinelStartRef.current)||void 0===_sentinelStartRef$cur||_sentinelStartRef$cur.focus()},changeActive:function changeActive(next){var activeElement=document.activeElement;next&&activeElement===sentinelEndRef.current?sentinelStartRef.current.focus():next||activeElement!==sentinelStartRef.current||sentinelEndRef.current.focus()}}}));var footerNode,headerNode,closer,_React$useState=react.useState(),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),transformOrigin=_React$useState2[0],setTransformOrigin=_React$useState2[1],contentStyle={};function onPrepare(){var elementOffset=function offset(el){var rect=el.getBoundingClientRect(),pos={left:rect.left,top:rect.top},doc=el.ownerDocument,w=doc.defaultView||doc.parentWindow;return pos.left+=getScroll(w),pos.top+=getScroll(w,!0),pos}(dialogRef.current);setTransformOrigin(mousePosition?"".concat(mousePosition.x-elementOffset.left,"px ").concat(mousePosition.y-elementOffset.top,"px"):"")}void 0!==width&&(contentStyle.width=width),void 0!==height&&(contentStyle.height=height),transformOrigin&&(contentStyle.transformOrigin=transformOrigin),footer&&(footerNode=react.createElement("div",{className:"".concat(prefixCls,"-footer")},footer)),title&&(headerNode=react.createElement("div",{className:"".concat(prefixCls,"-header")},react.createElement("div",{className:"".concat(prefixCls,"-title"),id:ariaId},title))),closable&&(closer=react.createElement("button",{type:"button",onClick:onClose,"aria-label":"Close",className:"".concat(prefixCls,"-close")},closeIcon||react.createElement("span",{className:"".concat(prefixCls,"-close-x")})));var content=react.createElement("div",{className:"".concat(prefixCls,"-content")},closer,headerNode,react.createElement("div",(0,esm_extends.Z)({className:"".concat(prefixCls,"-body"),style:bodyStyle},bodyProps),children),footerNode);return react.createElement(es.Z,{visible,onVisibleChanged,onAppearPrepare:onPrepare,onEnterPrepare:onPrepare,forceRender,motionName,removeOnLeave:destroyOnClose,ref:dialogRef},(function(_ref,motionRef){var motionClassName=_ref.className,motionStyle=_ref.style;return react.createElement("div",{key:"dialog-element",role:"dialog","aria-modal":"true",ref:motionRef,style:(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},motionStyle),style),contentStyle),className:classnames_default()(prefixCls,className,motionClassName),onMouseDown,onMouseUp},react.createElement("div",{tabIndex:0,ref:sentinelStartRef,style:sentinelStyle,"aria-hidden":"true"}),react.createElement(MemoChildren,{shouldUpdate:visible||forceRender},modalRender?modalRender(content):content),react.createElement("div",{tabIndex:0,ref:sentinelEndRef,style:sentinelStyle,"aria-hidden":"true"}))}))}));Content.displayName="Content";const Dialog_Content=Content;function Dialog(props){var _props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-dialog":_props$prefixCls,zIndex=props.zIndex,_props$visible=props.visible,visible=void 0!==_props$visible&&_props$visible,_props$keyboard=props.keyboard,keyboard=void 0===_props$keyboard||_props$keyboard,_props$focusTriggerAf=props.focusTriggerAfterClose,focusTriggerAfterClose=void 0===_props$focusTriggerAf||_props$focusTriggerAf,scrollLocker=props.scrollLocker,title=props.title,wrapStyle=props.wrapStyle,wrapClassName=props.wrapClassName,wrapProps=props.wrapProps,onClose=props.onClose,afterClose=props.afterClose,transitionName=props.transitionName,animation=props.animation,_props$closable=props.closable,closable=void 0===_props$closable||_props$closable,_props$mask=props.mask,mask=void 0===_props$mask||_props$mask,maskTransitionName=props.maskTransitionName,maskAnimation=props.maskAnimation,_props$maskClosable=props.maskClosable,maskClosable=void 0===_props$maskClosable||_props$maskClosable,maskStyle=props.maskStyle,maskProps=props.maskProps,rootClassName=props.rootClassName,lastOutSideActiveElementRef=(0,react.useRef)(),wrapperRef=(0,react.useRef)(),contentRef=(0,react.useRef)(),_React$useState=react.useState(visible),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),animatedVisible=_React$useState2[0],setAnimatedVisible=_React$useState2[1],ariaId=useId();function onInternalClose(e){null==onClose||onClose(e)}var contentClickRef=(0,react.useRef)(!1),contentTimeoutRef=(0,react.useRef)(),onWrapperClick=null;return maskClosable&&(onWrapperClick=function onWrapperClick(e){contentClickRef.current?contentClickRef.current=!1:wrapperRef.current===e.target&&onInternalClose(e)}),(0,react.useEffect)((function(){return visible&&setAnimatedVisible(!0),function(){}}),[visible]),(0,react.useEffect)((function(){return function(){clearTimeout(contentTimeoutRef.current)}}),[]),(0,react.useEffect)((function(){return animatedVisible?(null==scrollLocker||scrollLocker.lock(),null==scrollLocker?void 0:scrollLocker.unLock):function(){}}),[animatedVisible,scrollLocker]),react.createElement("div",(0,esm_extends.Z)({className:classnames_default()("".concat(prefixCls,"-root"),rootClassName)},function pickAttrs(props){var mergedConfig,ariaOnly=arguments.length>1&&void 0!==arguments[1]&&arguments[1];mergedConfig=!1===ariaOnly?{aria:!0,data:!0,attr:!0}:!0===ariaOnly?{aria:!0}:(0,objectSpread2.Z)({},ariaOnly);var attrs={};return Object.keys(props).forEach((function(key){(mergedConfig.aria&&("role"===key||match(key,"aria-"))||mergedConfig.data&&match(key,"data-")||mergedConfig.attr&&propList.includes(key))&&(attrs[key]=props[key])})),attrs}(props,{data:!0})),react.createElement(Mask,{prefixCls,visible:mask&&visible,motionName:getMotionName(prefixCls,maskTransitionName,maskAnimation),style:(0,objectSpread2.Z)({zIndex},maskStyle),maskProps}),react.createElement("div",(0,esm_extends.Z)({tabIndex:-1,onKeyDown:function onWrapperKeyDown(e){if(keyboard&&e.keyCode===es_KeyCode.ESC)return e.stopPropagation(),void onInternalClose(e);visible&&e.keyCode===es_KeyCode.TAB&&contentRef.current.changeActive(!e.shiftKey)},className:classnames_default()("".concat(prefixCls,"-wrap"),wrapClassName),ref:wrapperRef,onClick:onWrapperClick,"aria-labelledby":title?ariaId:null,style:(0,objectSpread2.Z)((0,objectSpread2.Z)({zIndex},wrapStyle),{},{display:animatedVisible?null:"none"})},wrapProps),react.createElement(Dialog_Content,(0,esm_extends.Z)({},props,{onMouseDown:function onContentMouseDown(){clearTimeout(contentTimeoutRef.current),contentClickRef.current=!0},onMouseUp:function onContentMouseUp(){contentTimeoutRef.current=setTimeout((function(){contentClickRef.current=!1}))},ref:contentRef,closable,ariaId,prefixCls,visible,onClose:onInternalClose,onVisibleChanged:function onDialogVisibleChanged(newVisible){if(newVisible){var _contentRef$current;if(!function contains(root,n){return!!root&&root.contains(n)}(wrapperRef.current,document.activeElement))lastOutSideActiveElementRef.current=document.activeElement,null===(_contentRef$current=contentRef.current)||void 0===_contentRef$current||_contentRef$current.focus()}else{if(setAnimatedVisible(!1),mask&&lastOutSideActiveElementRef.current&&focusTriggerAfterClose){try{lastOutSideActiveElementRef.current.focus({preventScroll:!0})}catch(e){}lastOutSideActiveElementRef.current=null}animatedVisible&&(null==afterClose||afterClose())}},motionName:getMotionName(prefixCls,transitionName,animation)}))))}var DialogWrap=function DialogWrap(props){var visible=props.visible,getContainer=props.getContainer,forceRender=props.forceRender,_props$destroyOnClose=props.destroyOnClose,destroyOnClose=void 0!==_props$destroyOnClose&&_props$destroyOnClose,_afterClose=props.afterClose,_React$useState=react.useState(visible),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),animatedVisible=_React$useState2[0],setAnimatedVisible=_React$useState2[1];return react.useEffect((function(){visible&&setAnimatedVisible(!0)}),[visible]),!1===getContainer?react.createElement(Dialog,(0,esm_extends.Z)({},props,{getOpenCount:function getOpenCount(){return 2}})):forceRender||!destroyOnClose||animatedVisible?react.createElement(es_PortalWrapper,{visible,forceRender,getContainer},(function(childProps){return react.createElement(Dialog,(0,esm_extends.Z)({},props,{destroyOnClose,afterClose:function afterClose(){null==_afterClose||_afterClose(),setAnimatedVisible(!1)}},childProps))})):null};DialogWrap.displayName="Dialog";const rc_dialog_es=DialogWrap;var CloseOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),locale_default=__webpack_require__("./node_modules/antd/es/locale/default.js"),runtimeLocale=(0,esm_extends.Z)({},locale_default.Z.Modal);function changeConfirmLocale(newLocale){runtimeLocale=newLocale?(0,esm_extends.Z)((0,esm_extends.Z)({},runtimeLocale),newLocale):(0,esm_extends.Z)({},locale_default.Z.Modal)}function getConfirmLocale(){return runtimeLocale}var mousePosition,es_button=__webpack_require__("./node_modules/antd/es/button/index.js"),button_button=__webpack_require__("./node_modules/antd/es/button/button.js"),LocaleReceiver=__webpack_require__("./node_modules/antd/es/locale-provider/LocaleReceiver.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),styleChecker=__webpack_require__("./node_modules/antd/es/_util/styleChecker.js"),motion=__webpack_require__("./node_modules/antd/es/_util/motion.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};(0,styleChecker.jD)()&&document.documentElement.addEventListener("click",(function getClickPosition(e){mousePosition={x:e.pageX,y:e.pageY},setTimeout((function(){mousePosition=null}),100)}),!0);var Modal=function Modal(props){var _classNames,_React$useContext=react.useContext(context.E_),getContextPopupContainer=_React$useContext.getPopupContainer,getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,handleCancel=function handleCancel(e){var onCancel=props.onCancel;null==onCancel||onCancel(e)},handleOk=function handleOk(e){var onOk=props.onOk;null==onOk||onOk(e)},renderFooter=function renderFooter(locale){var okText=props.okText,okType=props.okType,cancelText=props.cancelText,confirmLoading=props.confirmLoading;return react.createElement(react.Fragment,null,react.createElement(es_button.Z,(0,esm_extends.Z)({onClick:handleCancel},props.cancelButtonProps),cancelText||locale.cancelText),react.createElement(es_button.Z,(0,esm_extends.Z)({},(0,button_button.n)(okType),{loading:confirmLoading,onClick:handleOk},props.okButtonProps),okText||locale.okText))},customizePrefixCls=props.prefixCls,footer=props.footer,visible=props.visible,wrapClassName=props.wrapClassName,centered=props.centered,getContainer=props.getContainer,closeIcon=props.closeIcon,_props$focusTriggerAf=props.focusTriggerAfterClose,focusTriggerAfterClose=void 0===_props$focusTriggerAf||_props$focusTriggerAf,restProps=__rest(props,["prefixCls","footer","visible","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),prefixCls=getPrefixCls("modal",customizePrefixCls),rootPrefixCls=getPrefixCls(),defaultFooter=react.createElement(LocaleReceiver.Z,{componentName:"Modal",defaultLocale:getConfirmLocale()},renderFooter),closeIconToRender=react.createElement("span",{className:"".concat(prefixCls,"-close-x")},closeIcon||react.createElement(CloseOutlined.Z,{className:"".concat(prefixCls,"-close-icon")})),wrapClassNameExtended=classnames_default()(wrapClassName,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-centered"),!!centered),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-wrap-rtl"),"rtl"===direction),_classNames));return react.createElement(rc_dialog_es,(0,esm_extends.Z)({},restProps,{getContainer:void 0===getContainer?getContextPopupContainer:getContainer,prefixCls,wrapClassName:wrapClassNameExtended,footer:void 0===footer?defaultFooter:footer,visible,mousePosition,onClose:handleCancel,closeIcon:closeIconToRender,focusTriggerAfterClose,transitionName:(0,motion.mL)(rootPrefixCls,"zoom",props.transitionName),maskTransitionName:(0,motion.mL)(rootPrefixCls,"fade",props.maskTransitionName)}))};Modal.defaultProps={width:520,confirmLoading:!1,visible:!1,okType:"primary"};const modal_Modal=Modal;var createRoot,regenerator=__webpack_require__("./node_modules/@babel/runtime/regenerator/index.js"),regenerator_default=__webpack_require__.n(regenerator),asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),fullClone=(0,objectSpread2.Z)({},react_dom_namespaceObject),version=fullClone.version,reactRender=fullClone.render,unmountComponentAtNode=fullClone.unmountComponentAtNode;try{Number((version||"").split(".")[0])>=18&&(createRoot=fullClone.createRoot)}catch(e){}function toggleWarning(skip){var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fullClone.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED&&"object"===(0,esm_typeof.Z)(__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)&&(__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint=skip)}var MARK="__rc_react_root__";function render_render(node,container){createRoot?function modernRender(node,container){toggleWarning(!0);var root=container[MARK]||createRoot(container);toggleWarning(!1),root.render(node),container[MARK]=root}(node,container):function legacyRender(node,container){reactRender(node,container)}(node,container)}function modernUnmount(_x){return _modernUnmount.apply(this,arguments)}function _modernUnmount(){return(_modernUnmount=(0,asyncToGenerator.Z)(regenerator_default().mark((function _callee(container){return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.abrupt("return",Promise.resolve().then((function(){var _container$MARK;null===(_container$MARK=container[MARK])||void 0===_container$MARK||_container$MARK.unmount(),delete container[MARK]})));case 1:case"end":return _context.stop()}}),_callee)})))).apply(this,arguments)}function legacyUnmount(container){unmountComponentAtNode(container)}function unmount(_x2){return _unmount.apply(this,arguments)}function _unmount(){return(_unmount=(0,asyncToGenerator.Z)(regenerator_default().mark((function _callee2(container){return regenerator_default().wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(void 0===createRoot){_context2.next=2;break}return _context2.abrupt("return",modernUnmount(container));case 2:legacyUnmount(container);case 3:case"end":return _context2.stop()}}),_callee2)})))).apply(this,arguments)}const asn_InfoCircleOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),InfoCircleOutlined_InfoCircleOutlined=function InfoCircleOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_InfoCircleOutlined}))};InfoCircleOutlined_InfoCircleOutlined.displayName="InfoCircleOutlined";const icons_InfoCircleOutlined=react.forwardRef(InfoCircleOutlined_InfoCircleOutlined);const asn_CheckCircleOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};var CheckCircleOutlined_CheckCircleOutlined=function CheckCircleOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_CheckCircleOutlined}))};CheckCircleOutlined_CheckCircleOutlined.displayName="CheckCircleOutlined";const icons_CheckCircleOutlined=react.forwardRef(CheckCircleOutlined_CheckCircleOutlined);const asn_CloseCircleOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"};var CloseCircleOutlined_CloseCircleOutlined=function CloseCircleOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_CloseCircleOutlined}))};CloseCircleOutlined_CloseCircleOutlined.displayName="CloseCircleOutlined";const icons_CloseCircleOutlined=react.forwardRef(CloseCircleOutlined_CloseCircleOutlined);const asn_ExclamationCircleOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};var ExclamationCircleOutlined_ExclamationCircleOutlined=function ExclamationCircleOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_ExclamationCircleOutlined}))};ExclamationCircleOutlined_ExclamationCircleOutlined.displayName="ExclamationCircleOutlined";const icons_ExclamationCircleOutlined=react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined);var useState=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/hooks/useState.js");function isThenable(thing){return!(!thing||!thing.then)}const _util_ActionButton=function ActionButton(props){var clickedRef=react.useRef(!1),ref=react.useRef(),_useState=(0,useState.Z)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),loading=_useState2[0],setLoading=_useState2[1];react.useEffect((function(){var timeoutId;if(props.autoFocus){var $this=ref.current;timeoutId=setTimeout((function(){return $this.focus()}))}return function(){timeoutId&&clearTimeout(timeoutId)}}),[]);var type=props.type,children=props.children,prefixCls=props.prefixCls,buttonProps=props.buttonProps;return react.createElement(es_button.Z,(0,esm_extends.Z)({},(0,button_button.n)(type),{onClick:function onClick(e){var actionFn=props.actionFn,close=props.close;if(!clickedRef.current)if(clickedRef.current=!0,actionFn){var returnValueOfOnOk;if(props.emitEvent){if(returnValueOfOnOk=actionFn(e),props.quitOnNullishReturnValue&&!isThenable(returnValueOfOnOk))return clickedRef.current=!1,void close(e)}else if(actionFn.length)returnValueOfOnOk=actionFn(close),clickedRef.current=!1;else if(!(returnValueOfOnOk=actionFn()))return void close();!function handlePromiseOnOk(returnValueOfOnOk){var close=props.close;isThenable(returnValueOfOnOk)&&(setLoading(!0),returnValueOfOnOk.then((function(){setLoading(!1,!0),close.apply(void 0,arguments),clickedRef.current=!1}),(function(e){console.error(e),setLoading(!1,!0),clickedRef.current=!1})))}(returnValueOfOnOk)}else close()},loading,prefixCls},buttonProps,{ref}),children)};var Context=__webpack_require__("./node_modules/@ant-design/icons/es/components/Context.js"),rc_field_form_es=__webpack_require__("./node_modules/rc-field-form/es/index.js"),useMemo=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/hooks/useMemo.js"),safeIsNaN=Number.isNaN||function ponyfill(value){return"number"==typeof value&&value!=value};function areInputsEqual(newInputs,lastInputs){if(newInputs.length!==lastInputs.length)return!1;for(var i=0;i<newInputs.length;i++)if(first=newInputs[i],second=lastInputs[i],!(first===second||safeIsNaN(first)&&safeIsNaN(second)))return!1;var first,second;return!0}var locale_provider_context=__webpack_require__("./node_modules/antd/es/locale-provider/context.js"),LocaleProvider=function(_React$Component){(0,inherits.Z)(LocaleProvider,_React$Component);var _super=(0,createSuper.Z)(LocaleProvider);function LocaleProvider(props){var _this;return(0,classCallCheck.Z)(this,LocaleProvider),(_this=_super.call(this,props)).getMemoizedContextValue=function memoizeOne(resultFn,isEqual){void 0===isEqual&&(isEqual=areInputsEqual);var cache=null;function memoized(){for(var newArgs=[],_i=0;_i<arguments.length;_i++)newArgs[_i]=arguments[_i];if(cache&&cache.lastThis===this&&isEqual(newArgs,cache.lastArgs))return cache.lastResult;var lastResult=resultFn.apply(this,newArgs);return cache={lastResult,lastArgs:newArgs,lastThis:this},lastResult}return memoized.clear=function clear(){cache=null},memoized}((function(localeValue){return(0,esm_extends.Z)((0,esm_extends.Z)({},localeValue),{exist:!0})})),changeConfirmLocale(props.locale&&props.locale.Modal),_this}return(0,createClass.Z)(LocaleProvider,[{key:"componentDidMount",value:function componentDidMount(){changeConfirmLocale(this.props.locale&&this.props.locale.Modal)}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){var locale=this.props.locale;prevProps.locale!==locale&&changeConfirmLocale(locale&&locale.Modal)}},{key:"componentWillUnmount",value:function componentWillUnmount(){changeConfirmLocale()}},{key:"render",value:function render(){var _this$props=this.props,locale=_this$props.locale,children=_this$props.children,contextValue=this.getMemoizedContextValue(locale);return react.createElement(locale_provider_context.Z.Provider,{value:contextValue},children)}}]),LocaleProvider}(react.Component);LocaleProvider.defaultProps={locale:{}};var render_createRoot,SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),render_fullClone=(0,objectSpread2.Z)({},react_dom_namespaceObject),render_version=render_fullClone.version,render_reactRender=render_fullClone.render,render_unmountComponentAtNode=render_fullClone.unmountComponentAtNode;try{Number((render_version||"").split(".")[0])>=18&&(render_createRoot=render_fullClone.createRoot)}catch(e){}function render_toggleWarning(skip){var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=render_fullClone.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED&&"object"===(0,esm_typeof.Z)(__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)&&(__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint=skip)}var render_MARK="__rc_react_root__";function render(node,container){render_createRoot?function render_modernRender(node,container){render_toggleWarning(!0);var root=container[render_MARK]||render_createRoot(container);render_toggleWarning(!1),root.render(node),container[render_MARK]=root}(node,container):function render_legacyRender(node,container){render_reactRender(node,container)}(node,container)}function render_modernUnmount(_x){return React_render_modernUnmount.apply(this,arguments)}function React_render_modernUnmount(){return(React_render_modernUnmount=(0,asyncToGenerator.Z)(regenerator_default().mark((function _callee(container){return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.abrupt("return",Promise.resolve().then((function(){var _container$MARK;null===(_container$MARK=container[render_MARK])||void 0===_container$MARK||_container$MARK.unmount(),delete container[render_MARK]})));case 1:case"end":return _context.stop()}}),_callee)})))).apply(this,arguments)}function render_legacyUnmount(container){render_unmountComponentAtNode(container)}function React_render_unmount(){return(React_render_unmount=(0,asyncToGenerator.Z)(regenerator_default().mark((function _callee2(container){return regenerator_default().wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(void 0===render_createRoot){_context2.next=2;break}return _context2.abrupt("return",render_modernUnmount(container));case 2:render_legacyUnmount(container);case 3:case"end":return _context2.stop()}}),_callee2)})))).apply(this,arguments)}var Notice=function(_Component){(0,inherits.Z)(Notice,_Component);var _super=(0,createSuper.Z)(Notice);function Notice(){var _this;(0,classCallCheck.Z)(this,Notice);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).closeTimer=null,_this.close=function(e){e&&e.stopPropagation(),_this.clearCloseTimer();var _this$props=_this.props,onClose=_this$props.onClose,noticeKey=_this$props.noticeKey;onClose&&onClose(noticeKey)},_this.startCloseTimer=function(){_this.props.duration&&(_this.closeTimer=window.setTimeout((function(){_this.close()}),1e3*_this.props.duration))},_this.clearCloseTimer=function(){_this.closeTimer&&(clearTimeout(_this.closeTimer),_this.closeTimer=null)},_this}return(0,createClass.Z)(Notice,[{key:"componentDidMount",value:function componentDidMount(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){(this.props.duration!==prevProps.duration||this.props.updateMark!==prevProps.updateMark||this.props.visible!==prevProps.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function restartCloseTimer(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function render(){var _this2=this,_this$props2=this.props,prefixCls=_this$props2.prefixCls,className=_this$props2.className,closable=_this$props2.closable,closeIcon=_this$props2.closeIcon,style=_this$props2.style,onClick=_this$props2.onClick,children=_this$props2.children,holder=_this$props2.holder,componentClass="".concat(prefixCls,"-notice"),dataOrAriaAttributeProps=Object.keys(this.props).reduce((function(acc,key){return"data-"!==key.substr(0,5)&&"aria-"!==key.substr(0,5)&&"role"!==key||(acc[key]=_this2.props[key]),acc}),{}),node=react.createElement("div",(0,esm_extends.Z)({className:classnames_default()(componentClass,className,(0,defineProperty.Z)({},"".concat(componentClass,"-closable"),closable)),style,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick},dataOrAriaAttributeProps),react.createElement("div",{className:"".concat(componentClass,"-content")},children),closable?react.createElement("a",{tabIndex:0,onClick:this.close,className:"".concat(componentClass,"-close")},closeIcon||react.createElement("span",{className:"".concat(componentClass,"-close-x")})):null);return holder?react_dom.createPortal(node,holder):node}}]),Notice}(react.Component);function useNotification_useNotification(notificationInstance){var createdRef=react.useRef({}),_React$useState=react.useState([]),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),elements=_React$useState2[0],setElements=_React$useState2[1];return[function notify(noticeProps){var firstMount=!0;notificationInstance.add(noticeProps,(function(div,props){var key=props.key;if(div&&(!createdRef.current[key]||firstMount)){var noticeEle=react.createElement(Notice,(0,esm_extends.Z)({},props,{holder:div}));createdRef.current[key]=noticeEle,setElements((function(originElements){var index=originElements.findIndex((function(ele){return ele.key===props.key}));if(-1===index)return[].concat((0,toConsumableArray.Z)(originElements),[noticeEle]);var cloneList=(0,toConsumableArray.Z)(originElements);return cloneList[index]=noticeEle,cloneList}))}firstMount=!1}))},react.createElement(react.Fragment,null,elements)]}Notice.defaultProps={onClose:function onClose(){},duration:1.5};var _excluded=["getContainer"],seed=0,now=Date.now();function getUuid(){var id=seed;return seed+=1,"rcNotification_".concat(now,"_").concat(id)}var Notification=function(_Component){(0,inherits.Z)(Notification,_Component);var _super=(0,createSuper.Z)(Notification);function Notification(){var _this;(0,classCallCheck.Z)(this,Notification);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).state={notices:[]},_this.hookRefs=new Map,_this.add=function(originNotice,holderCallback){var key=originNotice.key||getUuid(),notice=(0,objectSpread2.Z)((0,objectSpread2.Z)({},originNotice),{},{key}),maxCount=_this.props.maxCount;_this.setState((function(previousState){var notices=previousState.notices,noticeIndex=notices.map((function(v){return v.notice.key})).indexOf(key),updatedNotices=notices.concat();return-1!==noticeIndex?updatedNotices.splice(noticeIndex,1,{notice,holderCallback}):(maxCount&¬ices.length>=maxCount&&(notice.key=updatedNotices[0].notice.key,notice.updateMark=getUuid(),notice.userPassKey=key,updatedNotices.shift()),updatedNotices.push({notice,holderCallback})),{notices:updatedNotices}}))},_this.remove=function(removeKey){_this.setState((function(_ref){return{notices:_ref.notices.filter((function(_ref2){var _ref2$notice=_ref2.notice,key=_ref2$notice.key;return(_ref2$notice.userPassKey||key)!==removeKey}))}}))},_this.noticePropsMap={},_this}return(0,createClass.Z)(Notification,[{key:"getTransitionName",value:function getTransitionName(){var _this$props=this.props,prefixCls=_this$props.prefixCls,animation=_this$props.animation,transitionName=this.props.transitionName;return!transitionName&&animation&&(transitionName="".concat(prefixCls,"-").concat(animation)),transitionName}},{key:"render",value:function render(){var _this2=this,notices=this.state.notices,_this$props2=this.props,prefixCls=_this$props2.prefixCls,className=_this$props2.className,closeIcon=_this$props2.closeIcon,style=_this$props2.style,noticeKeys=[];return notices.forEach((function(_ref3,index){var notice=_ref3.notice,holderCallback=_ref3.holderCallback,updateMark=index===notices.length-1?notice.updateMark:void 0,key=notice.key,userPassKey=notice.userPassKey,noticeProps=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({prefixCls,closeIcon},notice),notice.props),{},{key,noticeKey:userPassKey||key,updateMark,onClose:function onClose(noticeKey){var _notice$onClose;_this2.remove(noticeKey),null===(_notice$onClose=notice.onClose)||void 0===_notice$onClose||_notice$onClose.call(notice)},onClick:notice.onClick,children:notice.content});noticeKeys.push(key),_this2.noticePropsMap[key]={props:noticeProps,holderCallback}})),react.createElement("div",{className:classnames_default()(prefixCls,className),style},react.createElement(es.V,{keys:noticeKeys,motionName:this.getTransitionName(),onVisibleChanged:function onVisibleChanged(changedVisible,_ref4){var key=_ref4.key;changedVisible||delete _this2.noticePropsMap[key]}},(function(_ref5){var key=_ref5.key,motionClassName=_ref5.className,motionStyle=_ref5.style,visible=_ref5.visible,_this2$noticePropsMap=_this2.noticePropsMap[key],noticeProps=_this2$noticePropsMap.props,holderCallback=_this2$noticePropsMap.holderCallback;return holderCallback?react.createElement("div",{key,className:classnames_default()(motionClassName,"".concat(prefixCls,"-hook-holder")),style:(0,objectSpread2.Z)({},motionStyle),ref:function ref(div){void 0!==key&&(div?(_this2.hookRefs.set(key,div),holderCallback(div,noticeProps)):_this2.hookRefs.delete(key))}}):react.createElement(Notice,(0,esm_extends.Z)({},noticeProps,{className:classnames_default()(motionClassName,null==noticeProps?void 0:noticeProps.className),style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},motionStyle),null==noticeProps?void 0:noticeProps.style),visible}))})))}}]),Notification}(react.Component);Notification.newInstance=void 0,Notification.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},Notification.newInstance=function newNotificationInstance(properties,callback){var _ref6=properties||{},getContainer=_ref6.getContainer,props=(0,objectWithoutProperties.Z)(_ref6,_excluded),div=document.createElement("div");getContainer?getContainer().appendChild(div):document.body.appendChild(div);var called=!1;render(react.createElement(Notification,(0,esm_extends.Z)({},props,{ref:function ref(notification){called||(called=!0,callback({notice:function notice(noticeProps){notification.add(noticeProps)},removeNotice:function removeNotice(key){notification.remove(key)},component:notification,destroy:function destroy(){!function render_unmount(_x2){return React_render_unmount.apply(this,arguments)}(div),div.parentNode&&div.parentNode.removeChild(div)},useNotification:function useNotification(){return useNotification_useNotification(notification)}}))}})),div)};const rc_notification_es=Notification;var LoadingOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js"),ExclamationCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js"),CloseCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js"),CheckCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js");const asn_InfoCircleFilled={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var InfoCircleFilled_InfoCircleFilled=function InfoCircleFilled(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_InfoCircleFilled}))};InfoCircleFilled_InfoCircleFilled.displayName="InfoCircleFilled";var messageInstance,defaultTop,getContainer,maxCount,defaultDuration=3,key=1,localPrefixCls="",transitionName="move-up",hasTransitionName=!1,rtl=!1;function getKeyThenIncreaseKey(){return key++}function getRCNotificationInstance(args,callback){var customizePrefixCls=args.prefixCls,getContextPopupContainer=args.getPopupContainer,_globalConfig=globalConfig(),getPrefixCls=_globalConfig.getPrefixCls,getRootPrefixCls=_globalConfig.getRootPrefixCls,getIconPrefixCls=_globalConfig.getIconPrefixCls,prefixCls=getPrefixCls("message",customizePrefixCls||localPrefixCls),rootPrefixCls=getRootPrefixCls(args.rootPrefixCls,prefixCls),iconPrefixCls=getIconPrefixCls();if(messageInstance)callback({prefixCls,rootPrefixCls,iconPrefixCls,instance:messageInstance});else{var instanceConfig={prefixCls,transitionName:hasTransitionName?transitionName:"".concat(rootPrefixCls,"-").concat(transitionName),style:{top:defaultTop},getContainer:getContainer||getContextPopupContainer,maxCount};rc_notification_es.newInstance(instanceConfig,(function(instance){messageInstance?callback({prefixCls,rootPrefixCls,iconPrefixCls,instance:messageInstance}):(messageInstance=instance,callback({prefixCls,rootPrefixCls,iconPrefixCls,instance}))}))}}var typeToIcon={info:react.forwardRef(InfoCircleFilled_InfoCircleFilled),success:CheckCircleFilled.Z,error:CloseCircleFilled.Z,warning:ExclamationCircleFilled.Z,loading:LoadingOutlined.Z},typeList=Object.keys(typeToIcon);function getRCNoticeProps(args,prefixCls,iconPrefixCls){var _classNames,duration=void 0!==args.duration?args.duration:defaultDuration,IconComponent=typeToIcon[args.type],messageClass=classnames_default()("".concat(prefixCls,"-custom-content"),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-").concat(args.type),args.type),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),!0===rtl),_classNames));return{key:args.key,duration,style:args.style||{},className:args.className,content:react.createElement(config_provider,{iconPrefixCls},react.createElement("div",{className:messageClass},args.icon||IconComponent&&react.createElement(IconComponent,null),react.createElement("span",null,args.content))),onClose:args.onClose,onClick:args.onClick}}var api={open:function notice(args){var target=args.key||getKeyThenIncreaseKey(),closePromise=new Promise((function(resolve){var callback=function callback(){return"function"==typeof args.onClose&&args.onClose(),resolve(!0)};getRCNotificationInstance(args,(function(_ref){var prefixCls=_ref.prefixCls,iconPrefixCls=_ref.iconPrefixCls;_ref.instance.notice(getRCNoticeProps((0,esm_extends.Z)((0,esm_extends.Z)({},args),{key:target,onClose:callback}),prefixCls,iconPrefixCls))}))})),result=function result(){messageInstance&&messageInstance.removeNotice(target)};return result.then=function(filled,rejected){return closePromise.then(filled,rejected)},result.promise=closePromise,result},config:function setMessageConfig(options){void 0!==options.top&&(defaultTop=options.top,messageInstance=null),void 0!==options.duration&&(defaultDuration=options.duration),void 0!==options.prefixCls&&(localPrefixCls=options.prefixCls),void 0!==options.getContainer&&(getContainer=options.getContainer,messageInstance=null),void 0!==options.transitionName&&(transitionName=options.transitionName,messageInstance=null,hasTransitionName=!0),void 0!==options.maxCount&&(maxCount=options.maxCount,messageInstance=null),void 0!==options.rtl&&(rtl=options.rtl)},destroy:function destroy(messageKey){if(messageInstance)if(messageKey){(0,messageInstance.removeNotice)(messageKey)}else{var destroy=messageInstance.destroy;destroy(),messageInstance=null}}};function attachTypeApi(originalApi,type){originalApi[type]=function(content,duration,onClose){return function isArgsProps(content){return"[object Object]"===Object.prototype.toString.call(content)&&!!content.content}(content)?originalApi.open((0,esm_extends.Z)((0,esm_extends.Z)({},content),{type})):("function"==typeof duration&&(onClose=duration,duration=void 0),originalApi.open({content,duration,type,onClose}))}}typeList.forEach((function(type){return attachTypeApi(api,type)})),api.warn=api.warning,api.useMessage=function createUseMessage(getRcNotificationInstance,getRCNoticeProps){return function useMessage(){var getPrefixCls,getPopupContainer,innerInstance=null,_useRCNotification=useNotification_useNotification({add:function add(noticeProps,holderCallback){null==innerInstance||innerInstance.component.add(noticeProps,holderCallback)}}),_useRCNotification2=(0,slicedToArray.Z)(_useRCNotification,2),hookNotify=_useRCNotification2[0],holder=_useRCNotification2[1];var hookApiRef=react.useRef({});return hookApiRef.current.open=function notify(args){var customizePrefixCls=args.prefixCls,mergedPrefixCls=getPrefixCls("message",customizePrefixCls),rootPrefixCls=getPrefixCls(),target=args.key||getKeyThenIncreaseKey(),closePromise=new Promise((function(resolve){var callback=function callback(){return"function"==typeof args.onClose&&args.onClose(),resolve(!0)};getRcNotificationInstance((0,esm_extends.Z)((0,esm_extends.Z)({},args),{prefixCls:mergedPrefixCls,rootPrefixCls,getPopupContainer}),(function(_ref){var prefixCls=_ref.prefixCls,instance=_ref.instance;innerInstance=instance,hookNotify(getRCNoticeProps((0,esm_extends.Z)((0,esm_extends.Z)({},args),{key:target,onClose:callback}),prefixCls))}))})),result=function result(){innerInstance&&innerInstance.removeNotice(target)};return result.then=function(filled,rejected){return closePromise.then(filled,rejected)},result.promise=closePromise,result},typeList.forEach((function(type){return attachTypeApi(hookApiRef.current,type)})),[hookApiRef.current,react.createElement(context.C,{key:"holder"},(function(context){return getPrefixCls=context.getPrefixCls,getPopupContainer=context.getPopupContainer,holder}))]}}(getRCNotificationInstance,getRCNoticeProps);const message=api;var defaultGetContainer,defaultCloseIcon,notification_maxCount,notificationInstance={},notification_defaultDuration=4.5,notification_defaultTop=24,defaultBottom=24,defaultPrefixCls="",defaultPlacement="topRight",notification_rtl=!1;function getPlacementStyle(placement){var style,top=arguments.length>1&&void 0!==arguments[1]?arguments[1]:notification_defaultTop,bottom=arguments.length>2&&void 0!==arguments[2]?arguments[2]:defaultBottom;switch(placement){case"top":style={left:"50%",transform:"translateX(-50%)",right:"auto",top,bottom:"auto"};break;case"topLeft":style={left:0,top,bottom:"auto"};break;case"topRight":style={right:0,top,bottom:"auto"};break;case"bottom":style={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom};break;case"bottomLeft":style={left:0,top:"auto",bottom};break;default:style={right:0,top:"auto",bottom}}return style}function getNotificationInstance(args,callback){var _args$placement=args.placement,placement=void 0===_args$placement?defaultPlacement:_args$placement,top=args.top,bottom=args.bottom,_args$getContainer=args.getContainer,getContainer=void 0===_args$getContainer?defaultGetContainer:_args$getContainer,customizePrefixCls=args.prefixCls,_globalConfig=globalConfig(),getPrefixCls=_globalConfig.getPrefixCls,getIconPrefixCls=_globalConfig.getIconPrefixCls,prefixCls=getPrefixCls("notification",customizePrefixCls||defaultPrefixCls),iconPrefixCls=getIconPrefixCls(),cacheKey="".concat(prefixCls,"-").concat(placement),cacheInstance=notificationInstance[cacheKey];if(cacheInstance)Promise.resolve(cacheInstance).then((function(instance){callback({prefixCls:"".concat(prefixCls,"-notice"),iconPrefixCls,instance})}));else{var notificationClass=classnames_default()("".concat(prefixCls,"-").concat(placement),(0,defineProperty.Z)({},"".concat(prefixCls,"-rtl"),!0===notification_rtl));notificationInstance[cacheKey]=new Promise((function(resolve){rc_notification_es.newInstance({prefixCls,className:notificationClass,style:getPlacementStyle(placement,top,bottom),getContainer,maxCount:notification_maxCount},(function(notification){resolve(notification),callback({prefixCls:"".concat(prefixCls,"-notice"),iconPrefixCls,instance:notification})}))}))}}var notification_typeToIcon={success:icons_CheckCircleOutlined,info:icons_InfoCircleOutlined,error:icons_CloseCircleOutlined,warning:icons_ExclamationCircleOutlined};function notification_getRCNoticeProps(args,prefixCls,iconPrefixCls){var durationArg=args.duration,icon=args.icon,type=args.type,description=args.description,message=args.message,btn=args.btn,onClose=args.onClose,onClick=args.onClick,key=args.key,style=args.style,className=args.className,_args$closeIcon=args.closeIcon,closeIcon=void 0===_args$closeIcon?defaultCloseIcon:_args$closeIcon,duration=void 0===durationArg?notification_defaultDuration:durationArg,iconNode=null;icon?iconNode=react.createElement("span",{className:"".concat(prefixCls,"-icon")},args.icon):type&&(iconNode=react.createElement(notification_typeToIcon[type]||null,{className:"".concat(prefixCls,"-icon ").concat(prefixCls,"-icon-").concat(type)}));var closeIconToRender=react.createElement("span",{className:"".concat(prefixCls,"-close-x")},closeIcon||react.createElement(CloseOutlined.Z,{className:"".concat(prefixCls,"-close-icon")})),autoMarginTag=!description&&iconNode?react.createElement("span",{className:"".concat(prefixCls,"-message-single-line-auto-margin")}):null;return{content:react.createElement(config_provider,{iconPrefixCls},react.createElement("div",{className:iconNode?"".concat(prefixCls,"-with-icon"):"",role:"alert"},iconNode,react.createElement("div",{className:"".concat(prefixCls,"-message")},autoMarginTag,message),react.createElement("div",{className:"".concat(prefixCls,"-description")},description),btn?react.createElement("span",{className:"".concat(prefixCls,"-btn")},btn):null)),duration,closable:!0,closeIcon:closeIconToRender,onClose,onClick,key,style:style||{},className:classnames_default()(className,(0,defineProperty.Z)({},"".concat(prefixCls,"-").concat(type),!!type))}}var notification_api={open:function notification_notice(args){getNotificationInstance(args,(function(_ref){var prefixCls=_ref.prefixCls,iconPrefixCls=_ref.iconPrefixCls;_ref.instance.notice(notification_getRCNoticeProps(args,prefixCls,iconPrefixCls))}))},close:function close(key){Object.keys(notificationInstance).forEach((function(cacheKey){return Promise.resolve(notificationInstance[cacheKey]).then((function(instance){instance.removeNotice(key)}))}))},config:function setNotificationConfig(options){var duration=options.duration,placement=options.placement,bottom=options.bottom,top=options.top,getContainer=options.getContainer,closeIcon=options.closeIcon,prefixCls=options.prefixCls;void 0!==prefixCls&&(defaultPrefixCls=prefixCls),void 0!==duration&&(notification_defaultDuration=duration),void 0!==placement?defaultPlacement=placement:options.rtl&&(defaultPlacement="topLeft"),void 0!==bottom&&(defaultBottom=bottom),void 0!==top&&(notification_defaultTop=top),void 0!==getContainer&&(defaultGetContainer=getContainer),void 0!==closeIcon&&(defaultCloseIcon=closeIcon),void 0!==options.rtl&&(notification_rtl=options.rtl),void 0!==options.maxCount&&(notification_maxCount=options.maxCount)},destroy:function destroy(){Object.keys(notificationInstance).forEach((function(cacheKey){Promise.resolve(notificationInstance[cacheKey]).then((function(instance){instance.destroy()})),delete notificationInstance[cacheKey]}))}};["success","info","warning","error"].forEach((function(type){notification_api[type]=function(args){return notification_api.open((0,esm_extends.Z)((0,esm_extends.Z)({},args),{type}))}})),notification_api.warn=notification_api.warning,notification_api.useNotification=function createUseNotification(getNotificationInstance,getRCNoticeProps){return function useNotification(){var getPrefixCls,innerInstance=null,_useRCNotification=useNotification_useNotification({add:function add(noticeProps,holderCallback){null==innerInstance||innerInstance.component.add(noticeProps,holderCallback)}}),_useRCNotification2=(0,slicedToArray.Z)(_useRCNotification,2),hookNotify=_useRCNotification2[0],holder=_useRCNotification2[1];var hookApiRef=react.useRef({});return hookApiRef.current.open=function notify(args){var customizePrefixCls=args.prefixCls,mergedPrefixCls=getPrefixCls("notification",customizePrefixCls);getNotificationInstance((0,esm_extends.Z)((0,esm_extends.Z)({},args),{prefixCls:mergedPrefixCls}),(function(_ref){var prefixCls=_ref.prefixCls,instance=_ref.instance;innerInstance=instance,hookNotify(getRCNoticeProps(args,prefixCls))}))},["success","info","warning","error"].forEach((function(type){hookApiRef.current[type]=function(args){return hookApiRef.current.open((0,esm_extends.Z)((0,esm_extends.Z)({},args),{type}))}})),[hookApiRef.current,react.createElement(context.C,{key:"holder"},(function(context){return getPrefixCls=context.getPrefixCls,holder}))]}}(getNotificationInstance,notification_getRCNoticeProps);const notification=notification_api;var dynamicCSS=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/Dom/dynamicCSS.js"),Dom_canUseDom=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/Dom/canUseDom.js"),conversion=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/conversion.js"),css_color_names=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/css-color-names.js"),format_input=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/format-input.js"),util=__webpack_require__("./node_modules/@ctrl/tinycolor/dist/module/util.js"),TinyColor=function(){function TinyColor(color,opts){var _a;if(void 0===color&&(color=""),void 0===opts&&(opts={}),color instanceof TinyColor)return color;"number"==typeof color&&(color=(0,conversion.Yt)(color)),this.originalInput=color;var rgb=(0,format_input.uA)(color);this.originalInput=color,this.r=rgb.r,this.g=rgb.g,this.b=rgb.b,this.a=rgb.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(_a=opts.format)&&void 0!==_a?_a:rgb.format,this.gradientType=opts.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=rgb.ok}return TinyColor.prototype.isDark=function(){return this.getBrightness()<128},TinyColor.prototype.isLight=function(){return!this.isDark()},TinyColor.prototype.getBrightness=function(){var rgb=this.toRgb();return(299*rgb.r+587*rgb.g+114*rgb.b)/1e3},TinyColor.prototype.getLuminance=function(){var rgb=this.toRgb(),RsRGB=rgb.r/255,GsRGB=rgb.g/255,BsRGB=rgb.b/255;return.2126*(RsRGB<=.03928?RsRGB/12.92:Math.pow((RsRGB+.055)/1.055,2.4))+.7152*(GsRGB<=.03928?GsRGB/12.92:Math.pow((GsRGB+.055)/1.055,2.4))+.0722*(BsRGB<=.03928?BsRGB/12.92:Math.pow((BsRGB+.055)/1.055,2.4))},TinyColor.prototype.getAlpha=function(){return this.a},TinyColor.prototype.setAlpha=function(alpha){return this.a=(0,util.Yq)(alpha),this.roundA=Math.round(100*this.a)/100,this},TinyColor.prototype.toHsv=function(){var hsv=(0,conversion.py)(this.r,this.g,this.b);return{h:360*hsv.h,s:hsv.s,v:hsv.v,a:this.a}},TinyColor.prototype.toHsvString=function(){var hsv=(0,conversion.py)(this.r,this.g,this.b),h=Math.round(360*hsv.h),s=Math.round(100*hsv.s),v=Math.round(100*hsv.v);return 1===this.a?"hsv(".concat(h,", ").concat(s,"%, ").concat(v,"%)"):"hsva(".concat(h,", ").concat(s,"%, ").concat(v,"%, ").concat(this.roundA,")")},TinyColor.prototype.toHsl=function(){var hsl=(0,conversion.lC)(this.r,this.g,this.b);return{h:360*hsl.h,s:hsl.s,l:hsl.l,a:this.a}},TinyColor.prototype.toHslString=function(){var hsl=(0,conversion.lC)(this.r,this.g,this.b),h=Math.round(360*hsl.h),s=Math.round(100*hsl.s),l=Math.round(100*hsl.l);return 1===this.a?"hsl(".concat(h,", ").concat(s,"%, ").concat(l,"%)"):"hsla(".concat(h,", ").concat(s,"%, ").concat(l,"%, ").concat(this.roundA,")")},TinyColor.prototype.toHex=function(allow3Char){return void 0===allow3Char&&(allow3Char=!1),(0,conversion.vq)(this.r,this.g,this.b,allow3Char)},TinyColor.prototype.toHexString=function(allow3Char){return void 0===allow3Char&&(allow3Char=!1),"#"+this.toHex(allow3Char)},TinyColor.prototype.toHex8=function(allow4Char){return void 0===allow4Char&&(allow4Char=!1),(0,conversion.s)(this.r,this.g,this.b,this.a,allow4Char)},TinyColor.prototype.toHex8String=function(allow4Char){return void 0===allow4Char&&(allow4Char=!1),"#"+this.toHex8(allow4Char)},TinyColor.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},TinyColor.prototype.toRgbString=function(){var r=Math.round(this.r),g=Math.round(this.g),b=Math.round(this.b);return 1===this.a?"rgb(".concat(r,", ").concat(g,", ").concat(b,")"):"rgba(".concat(r,", ").concat(g,", ").concat(b,", ").concat(this.roundA,")")},TinyColor.prototype.toPercentageRgb=function(){var fmt=function(x){return"".concat(Math.round(100*(0,util.sh)(x,255)),"%")};return{r:fmt(this.r),g:fmt(this.g),b:fmt(this.b),a:this.a}},TinyColor.prototype.toPercentageRgbString=function(){var rnd=function(x){return Math.round(100*(0,util.sh)(x,255))};return 1===this.a?"rgb(".concat(rnd(this.r),"%, ").concat(rnd(this.g),"%, ").concat(rnd(this.b),"%)"):"rgba(".concat(rnd(this.r),"%, ").concat(rnd(this.g),"%, ").concat(rnd(this.b),"%, ").concat(this.roundA,")")},TinyColor.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var hex="#"+(0,conversion.vq)(this.r,this.g,this.b,!1),_i=0,_a=Object.entries(css_color_names.R);_i<_a.length;_i++){var _b=_a[_i],key=_b[0];if(hex===_b[1])return key}return!1},TinyColor.prototype.toString=function(format){var formatSet=Boolean(format);format=null!=format?format:this.format;var formattedString=!1,hasAlpha=this.a<1&&this.a>=0;return formatSet||!hasAlpha||!format.startsWith("hex")&&"name"!==format?("rgb"===format&&(formattedString=this.toRgbString()),"prgb"===format&&(formattedString=this.toPercentageRgbString()),"hex"!==format&&"hex6"!==format||(formattedString=this.toHexString()),"hex3"===format&&(formattedString=this.toHexString(!0)),"hex4"===format&&(formattedString=this.toHex8String(!0)),"hex8"===format&&(formattedString=this.toHex8String()),"name"===format&&(formattedString=this.toName()),"hsl"===format&&(formattedString=this.toHslString()),"hsv"===format&&(formattedString=this.toHsvString()),formattedString||this.toHexString()):"name"===format&&0===this.a?this.toName():this.toRgbString()},TinyColor.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},TinyColor.prototype.clone=function(){return new TinyColor(this.toString())},TinyColor.prototype.lighten=function(amount){void 0===amount&&(amount=10);var hsl=this.toHsl();return hsl.l+=amount/100,hsl.l=(0,util.V2)(hsl.l),new TinyColor(hsl)},TinyColor.prototype.brighten=function(amount){void 0===amount&&(amount=10);var rgb=this.toRgb();return rgb.r=Math.max(0,Math.min(255,rgb.r-Math.round(-amount/100*255))),rgb.g=Math.max(0,Math.min(255,rgb.g-Math.round(-amount/100*255))),rgb.b=Math.max(0,Math.min(255,rgb.b-Math.round(-amount/100*255))),new TinyColor(rgb)},TinyColor.prototype.darken=function(amount){void 0===amount&&(amount=10);var hsl=this.toHsl();return hsl.l-=amount/100,hsl.l=(0,util.V2)(hsl.l),new TinyColor(hsl)},TinyColor.prototype.tint=function(amount){return void 0===amount&&(amount=10),this.mix("white",amount)},TinyColor.prototype.shade=function(amount){return void 0===amount&&(amount=10),this.mix("black",amount)},TinyColor.prototype.desaturate=function(amount){void 0===amount&&(amount=10);var hsl=this.toHsl();return hsl.s-=amount/100,hsl.s=(0,util.V2)(hsl.s),new TinyColor(hsl)},TinyColor.prototype.saturate=function(amount){void 0===amount&&(amount=10);var hsl=this.toHsl();return hsl.s+=amount/100,hsl.s=(0,util.V2)(hsl.s),new TinyColor(hsl)},TinyColor.prototype.greyscale=function(){return this.desaturate(100)},TinyColor.prototype.spin=function(amount){var hsl=this.toHsl(),hue=(hsl.h+amount)%360;return hsl.h=hue<0?360+hue:hue,new TinyColor(hsl)},TinyColor.prototype.mix=function(color,amount){void 0===amount&&(amount=50);var rgb1=this.toRgb(),rgb2=new TinyColor(color).toRgb(),p=amount/100;return new TinyColor({r:(rgb2.r-rgb1.r)*p+rgb1.r,g:(rgb2.g-rgb1.g)*p+rgb1.g,b:(rgb2.b-rgb1.b)*p+rgb1.b,a:(rgb2.a-rgb1.a)*p+rgb1.a})},TinyColor.prototype.analogous=function(results,slices){void 0===results&&(results=6),void 0===slices&&(slices=30);var hsl=this.toHsl(),part=360/slices,ret=[this];for(hsl.h=(hsl.h-(part*results>>1)+720)%360;--results;)hsl.h=(hsl.h+part)%360,ret.push(new TinyColor(hsl));return ret},TinyColor.prototype.complement=function(){var hsl=this.toHsl();return hsl.h=(hsl.h+180)%360,new TinyColor(hsl)},TinyColor.prototype.monochromatic=function(results){void 0===results&&(results=6);for(var hsv=this.toHsv(),h=hsv.h,s=hsv.s,v=hsv.v,res=[],modification=1/results;results--;)res.push(new TinyColor({h,s,v})),v=(v+modification)%1;return res},TinyColor.prototype.splitcomplement=function(){var hsl=this.toHsl(),h=hsl.h;return[this,new TinyColor({h:(h+72)%360,s:hsl.s,l:hsl.l}),new TinyColor({h:(h+216)%360,s:hsl.s,l:hsl.l})]},TinyColor.prototype.onBackground=function(background){var fg=this.toRgb(),bg=new TinyColor(background).toRgb();return new TinyColor({r:bg.r+(fg.r-bg.r)*fg.a,g:bg.g+(fg.g-bg.g)*fg.a,b:bg.b+(fg.b-bg.b)*fg.a})},TinyColor.prototype.triad=function(){return this.polyad(3)},TinyColor.prototype.tetrad=function(){return this.polyad(4)},TinyColor.prototype.polyad=function(n){for(var hsl=this.toHsl(),h=hsl.h,result=[this],increment=360/n,i=1;i<n;i++)result.push(new TinyColor({h:(h+i*increment)%360,s:hsl.s,l:hsl.l}));return result},TinyColor.prototype.equals=function(color){return this.toRgbString()===new TinyColor(color).toRgbString()},TinyColor}();var index_esm=__webpack_require__("./node_modules/@ant-design/colors/dist/index.esm.js"),dynamicStyleMark="-ant-".concat(Date.now(),"-").concat(Math.random());function registerTheme(globalPrefixCls,theme){var style=function getStyle(globalPrefixCls,theme){var variables={},formatColor=function formatColor(color,updater){var clone=color.clone();return(clone=(null==updater?void 0:updater(clone))||clone).toRgbString()},fillColor=function fillColor(colorVal,type){var baseColor=new TinyColor(colorVal),colorPalettes=(0,index_esm.R_)(baseColor.toRgbString());variables["".concat(type,"-color")]=formatColor(baseColor),variables["".concat(type,"-color-disabled")]=colorPalettes[1],variables["".concat(type,"-color-hover")]=colorPalettes[4],variables["".concat(type,"-color-active")]=colorPalettes[7],variables["".concat(type,"-color-outline")]=baseColor.clone().setAlpha(.2).toRgbString(),variables["".concat(type,"-color-deprecated-bg")]=colorPalettes[1],variables["".concat(type,"-color-deprecated-border")]=colorPalettes[3]};if(theme.primaryColor){fillColor(theme.primaryColor,"primary");var primaryColor=new TinyColor(theme.primaryColor),primaryColors=(0,index_esm.R_)(primaryColor.toRgbString());primaryColors.forEach((function(color,index){variables["primary-".concat(index+1)]=color})),variables["primary-color-deprecated-l-35"]=formatColor(primaryColor,(function(c){return c.lighten(35)})),variables["primary-color-deprecated-l-20"]=formatColor(primaryColor,(function(c){return c.lighten(20)})),variables["primary-color-deprecated-t-20"]=formatColor(primaryColor,(function(c){return c.tint(20)})),variables["primary-color-deprecated-t-50"]=formatColor(primaryColor,(function(c){return c.tint(50)})),variables["primary-color-deprecated-f-12"]=formatColor(primaryColor,(function(c){return c.setAlpha(.12*c.getAlpha())}));var primaryActiveColor=new TinyColor(primaryColors[0]);variables["primary-color-active-deprecated-f-30"]=formatColor(primaryActiveColor,(function(c){return c.setAlpha(.3*c.getAlpha())})),variables["primary-color-active-deprecated-d-02"]=formatColor(primaryActiveColor,(function(c){return c.darken(2)}))}theme.successColor&&fillColor(theme.successColor,"success"),theme.warningColor&&fillColor(theme.warningColor,"warning"),theme.errorColor&&fillColor(theme.errorColor,"error"),theme.infoColor&&fillColor(theme.infoColor,"info");var cssList=Object.keys(variables).map((function(key){return"--".concat(globalPrefixCls,"-").concat(key,": ").concat(variables[key],";")}));return"\n :root {\n ".concat(cssList.join("\n"),"\n }\n ").trim()}(globalPrefixCls,theme);(0,Dom_canUseDom.Z)()&&(0,dynamicCSS.hq)(style,"".concat(dynamicStyleMark,"-dynamic-theme"))}var globalPrefixCls,globalIconPrefixCls,PASSED_PROPS=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","form"];function getGlobalPrefixCls(){return globalPrefixCls||"ant"}function getGlobalIconPrefixCls(){return globalIconPrefixCls||"anticon"}var globalConfig=function globalConfig(){return{getPrefixCls:function getPrefixCls(suffixCls,customizePrefixCls){return customizePrefixCls||(suffixCls?"".concat(getGlobalPrefixCls(),"-").concat(suffixCls):getGlobalPrefixCls())},getIconPrefixCls:getGlobalIconPrefixCls,getRootPrefixCls:function getRootPrefixCls(rootPrefixCls,customizePrefixCls){return rootPrefixCls||(globalPrefixCls||(customizePrefixCls&&customizePrefixCls.includes("-")?customizePrefixCls.replace(/^(.*)-[^-]*$/,"$1"):getGlobalPrefixCls()))}}},ProviderChildren=function ProviderChildren(props){var _a,_b,children=props.children,csp=props.csp,autoInsertSpaceInButton=props.autoInsertSpaceInButton,form=props.form,locale=props.locale,componentSize=props.componentSize,direction=props.direction,space=props.space,virtual=props.virtual,dropdownMatchSelectWidth=props.dropdownMatchSelectWidth,legacyLocale=props.legacyLocale,parentContext=props.parentContext,iconPrefixCls=props.iconPrefixCls,getPrefixCls=react.useCallback((function(suffixCls,customizePrefixCls){var prefixCls=props.prefixCls;if(customizePrefixCls)return customizePrefixCls;var mergedPrefixCls=prefixCls||parentContext.getPrefixCls("");return suffixCls?"".concat(mergedPrefixCls,"-").concat(suffixCls):mergedPrefixCls}),[parentContext.getPrefixCls,props.prefixCls]),config=(0,esm_extends.Z)((0,esm_extends.Z)({},parentContext),{csp,autoInsertSpaceInButton,locale:locale||legacyLocale,direction,space,virtual,dropdownMatchSelectWidth,getPrefixCls});PASSED_PROPS.forEach((function(propName){var propValue=props[propName];propValue&&(config[propName]=propValue)}));var memoedConfig=(0,useMemo.Z)((function(){return config}),config,(function(prevConfig,currentConfig){var prevKeys=Object.keys(prevConfig),currentKeys=Object.keys(currentConfig);return prevKeys.length!==currentKeys.length||prevKeys.some((function(key){return prevConfig[key]!==currentConfig[key]}))})),memoIconContextValue=react.useMemo((function(){return{prefixCls:iconPrefixCls,csp}}),[iconPrefixCls,csp]),childNode=children,validateMessages={};return locale&&(validateMessages=(null===(_a=locale.Form)||void 0===_a?void 0:_a.defaultValidateMessages)||(null===(_b=locale_default.Z.Form)||void 0===_b?void 0:_b.defaultValidateMessages)||{}),form&&form.validateMessages&&(validateMessages=(0,esm_extends.Z)((0,esm_extends.Z)({},validateMessages),form.validateMessages)),Object.keys(validateMessages).length>0&&(childNode=react.createElement(rc_field_form_es.RV,{validateMessages},children)),locale&&(childNode=react.createElement(LocaleProvider,{locale,_ANT_MARK__:"internalMark"},childNode)),(iconPrefixCls||csp)&&(childNode=react.createElement(Context.Z.Provider,{value:memoIconContextValue},childNode)),componentSize&&(childNode=react.createElement(SizeContext.q,{size:componentSize},childNode)),react.createElement(context.E_.Provider,{value:memoedConfig},childNode)},ConfigProvider=function ConfigProvider(props){return react.useEffect((function(){props.direction&&(message.config({rtl:"rtl"===props.direction}),notification.config({rtl:"rtl"===props.direction}))}),[props.direction]),react.createElement(LocaleReceiver.Z,null,(function(_,__,legacyLocale){return react.createElement(context.C,null,(function(context){return react.createElement(ProviderChildren,(0,esm_extends.Z)({parentContext:context,legacyLocale},props))}))}))};ConfigProvider.ConfigContext=context.E_,ConfigProvider.SizeContext=SizeContext.Z,ConfigProvider.config=function setGlobalConfig(_ref){var prefixCls=_ref.prefixCls,iconPrefixCls=_ref.iconPrefixCls,theme=_ref.theme;void 0!==prefixCls&&(globalPrefixCls=prefixCls),void 0!==iconPrefixCls&&(globalIconPrefixCls=iconPrefixCls),theme&®isterTheme(getGlobalPrefixCls(),theme)};const config_provider=ConfigProvider;const modal_ConfirmDialog=function ConfirmDialog(props){var icon=props.icon,onCancel=props.onCancel,onOk=props.onOk,close=props.close,zIndex=props.zIndex,afterClose=props.afterClose,visible=props.visible,keyboard=props.keyboard,centered=props.centered,getContainer=props.getContainer,maskStyle=props.maskStyle,okText=props.okText,okButtonProps=props.okButtonProps,cancelText=props.cancelText,cancelButtonProps=props.cancelButtonProps,direction=props.direction,prefixCls=props.prefixCls,wrapClassName=props.wrapClassName,rootPrefixCls=props.rootPrefixCls,iconPrefixCls=props.iconPrefixCls,bodyStyle=props.bodyStyle,_props$closable=props.closable,closable=void 0!==_props$closable&&_props$closable,closeIcon=props.closeIcon,modalRender=props.modalRender,focusTriggerAfterClose=props.focusTriggerAfterClose,okType=props.okType||"primary",contentPrefixCls="".concat(prefixCls,"-confirm"),okCancel=!("okCancel"in props)||props.okCancel,width=props.width||416,style=props.style||{},mask=void 0===props.mask||props.mask,maskClosable=void 0!==props.maskClosable&&props.maskClosable,autoFocusButton=null!==props.autoFocusButton&&(props.autoFocusButton||"ok"),classString=classnames_default()(contentPrefixCls,"".concat(contentPrefixCls,"-").concat(props.type),(0,defineProperty.Z)({},"".concat(contentPrefixCls,"-rtl"),"rtl"===direction),props.className),cancelButton=okCancel&&react.createElement(_util_ActionButton,{actionFn:onCancel,close,autoFocus:"cancel"===autoFocusButton,buttonProps:cancelButtonProps,prefixCls:"".concat(rootPrefixCls,"-btn")},cancelText);return react.createElement(config_provider,{prefixCls:rootPrefixCls,iconPrefixCls,direction},react.createElement(modal_Modal,{prefixCls,className:classString,wrapClassName:classnames_default()((0,defineProperty.Z)({},"".concat(contentPrefixCls,"-centered"),!!props.centered),wrapClassName),onCancel:function onCancel(){return close({triggerCancel:!0})},visible,title:"",footer:"",transitionName:(0,motion.mL)(rootPrefixCls,"zoom",props.transitionName),maskTransitionName:(0,motion.mL)(rootPrefixCls,"fade",props.maskTransitionName),mask,maskClosable,maskStyle,style,bodyStyle,width,zIndex,afterClose,keyboard,centered,getContainer,closable,closeIcon,modalRender,focusTriggerAfterClose},react.createElement("div",{className:"".concat(contentPrefixCls,"-body-wrapper")},react.createElement("div",{className:"".concat(contentPrefixCls,"-body")},icon,void 0===props.title?null:react.createElement("span",{className:"".concat(contentPrefixCls,"-title")},props.title),react.createElement("div",{className:"".concat(contentPrefixCls,"-content")},props.content)),react.createElement("div",{className:"".concat(contentPrefixCls,"-btns")},cancelButton,react.createElement(_util_ActionButton,{type:okType,actionFn:onOk,close,autoFocus:"ok"===autoFocusButton,buttonProps:okButtonProps,prefixCls:"".concat(rootPrefixCls,"-btn")},okText)))))};const modal_destroyFns=[];var confirm_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},defaultRootPrefixCls="";function confirm_confirm(config){var container=document.createDocumentFragment(),currentConfig=(0,esm_extends.Z)((0,esm_extends.Z)({},config),{close,visible:!0});function destroy(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var triggerCancel=args.some((function(param){return param&¶m.triggerCancel}));config.onCancel&&triggerCancel&&config.onCancel.apply(config,args);for(var i=0;i<modal_destroyFns.length;i++){var fn=modal_destroyFns[i];if(fn===close){modal_destroyFns.splice(i,1);break}}unmount(container)}function render(_a){var okText=_a.okText,cancelText=_a.cancelText,customizePrefixCls=_a.prefixCls,props=confirm_rest(_a,["okText","cancelText","prefixCls"]);setTimeout((function(){var runtimeLocale=getConfirmLocale(),_globalConfig=globalConfig(),getPrefixCls=_globalConfig.getPrefixCls,getIconPrefixCls=_globalConfig.getIconPrefixCls,rootPrefixCls=getPrefixCls(void 0,function getRootPrefixCls(){return defaultRootPrefixCls}()),prefixCls=customizePrefixCls||"".concat(rootPrefixCls,"-modal"),iconPrefixCls=getIconPrefixCls();render_render(react.createElement(modal_ConfirmDialog,(0,esm_extends.Z)({},props,{prefixCls,rootPrefixCls,iconPrefixCls,okText:okText||(props.okCancel?runtimeLocale.okText:runtimeLocale.justOkText),cancelText:cancelText||runtimeLocale.cancelText})),container)}))}function close(){for(var _this=this,_len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];render(currentConfig=(0,esm_extends.Z)((0,esm_extends.Z)({},currentConfig),{visible:!1,afterClose:function afterClose(){"function"==typeof config.afterClose&&config.afterClose(),destroy.apply(_this,args)}}))}return render(currentConfig),modal_destroyFns.push(close),{destroy:close,update:function update(configUpdate){render(currentConfig="function"==typeof configUpdate?configUpdate(currentConfig):(0,esm_extends.Z)((0,esm_extends.Z)({},currentConfig),configUpdate))}}}function withWarn(props){return(0,esm_extends.Z)((0,esm_extends.Z)({icon:react.createElement(icons_ExclamationCircleOutlined,null),okCancel:!1},props),{type:"warning"})}function withInfo(props){return(0,esm_extends.Z)((0,esm_extends.Z)({icon:react.createElement(icons_InfoCircleOutlined,null),okCancel:!1},props),{type:"info"})}function withSuccess(props){return(0,esm_extends.Z)((0,esm_extends.Z)({icon:react.createElement(icons_CheckCircleOutlined,null),okCancel:!1},props),{type:"success"})}function withError(props){return(0,esm_extends.Z)((0,esm_extends.Z)({icon:react.createElement(icons_CloseCircleOutlined,null),okCancel:!1},props),{type:"error"})}function withConfirm(props){return(0,esm_extends.Z)((0,esm_extends.Z)({icon:react.createElement(icons_ExclamationCircleOutlined,null),okCancel:!0},props),{type:"confirm"})}var HookModal=function HookModal(_ref,ref){var afterClose=_ref.afterClose,config=_ref.config,_React$useState=react.useState(!0),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),visible=_React$useState2[0],setVisible=_React$useState2[1],_React$useState3=react.useState(config),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),innerConfig=_React$useState4[0],setInnerConfig=_React$useState4[1],_React$useContext=react.useContext(context.E_),direction=_React$useContext.direction,getPrefixCls=_React$useContext.getPrefixCls,prefixCls=getPrefixCls("modal"),rootPrefixCls=getPrefixCls(),close=function close(){setVisible(!1);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var triggerCancel=args.some((function(param){return param&¶m.triggerCancel}));innerConfig.onCancel&&triggerCancel&&innerConfig.onCancel()};return react.useImperativeHandle(ref,(function(){return{destroy:close,update:function update(newConfig){setInnerConfig((function(originConfig){return(0,esm_extends.Z)((0,esm_extends.Z)({},originConfig),newConfig)}))}}})),react.createElement(LocaleReceiver.Z,{componentName:"Modal",defaultLocale:locale_default.Z.Modal},(function(modalLocale){return react.createElement(modal_ConfirmDialog,(0,esm_extends.Z)({prefixCls,rootPrefixCls},innerConfig,{close,visible,afterClose,okText:innerConfig.okText||(innerConfig.okCancel?modalLocale.okText:modalLocale.justOkText),direction,cancelText:innerConfig.cancelText||modalLocale.cancelText}))}))};const useModal_HookModal=react.forwardRef(HookModal);var useModal_uuid=0,ElementsHolder=react.memo(react.forwardRef((function(_props,ref){var _usePatchElement=function usePatchElement(){var _React$useState=react.useState([]),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),elements=_React$useState2[0],setElements=_React$useState2[1];return[elements,react.useCallback((function(element){return setElements((function(originElements){return[].concat((0,toConsumableArray.Z)(originElements),[element])})),function(){setElements((function(originElements){return originElements.filter((function(ele){return ele!==element}))}))}}),[])]}(),_usePatchElement2=(0,slicedToArray.Z)(_usePatchElement,2),elements=_usePatchElement2[0],patchElement=_usePatchElement2[1];return react.useImperativeHandle(ref,(function(){return{patchElement}}),[]),react.createElement(react.Fragment,null,elements)})));function modalWarn(props){return confirm_confirm(withWarn(props))}var es_modal_Modal=modal_Modal;es_modal_Modal.useModal=function useModal(){var holderRef=react.useRef(null),_React$useState=react.useState([]),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),actionQueue=_React$useState2[0],setActionQueue=_React$useState2[1];react.useEffect((function(){actionQueue.length&&((0,toConsumableArray.Z)(actionQueue).forEach((function(action){action()})),setActionQueue([]))}),[actionQueue]);var getConfirmFunc=react.useCallback((function(withFunc){return function hookConfirm(config){var _a;useModal_uuid+=1;var closeFunc,modalRef=react.createRef(),modal=react.createElement(useModal_HookModal,{key:"modal-".concat(useModal_uuid),config:withFunc(config),ref:modalRef,afterClose:function afterClose(){closeFunc()}});return closeFunc=null===(_a=holderRef.current)||void 0===_a?void 0:_a.patchElement(modal),{destroy:function destroy(){function destroyAction(){var _a;null===(_a=modalRef.current)||void 0===_a||_a.destroy()}modalRef.current?destroyAction():setActionQueue((function(prev){return[].concat((0,toConsumableArray.Z)(prev),[destroyAction])}))},update:function update(newConfig){function updateAction(){var _a;null===(_a=modalRef.current)||void 0===_a||_a.update(newConfig)}modalRef.current?updateAction():setActionQueue((function(prev){return[].concat((0,toConsumableArray.Z)(prev),[updateAction])}))}}}}),[]);return[react.useMemo((function(){return{info:getConfirmFunc(withInfo),success:getConfirmFunc(withSuccess),error:getConfirmFunc(withError),warning:getConfirmFunc(withWarn),confirm:getConfirmFunc(withConfirm)}}),[]),react.createElement(ElementsHolder,{ref:holderRef})]},es_modal_Modal.info=function infoFn(props){return confirm_confirm(withInfo(props))},es_modal_Modal.success=function successFn(props){return confirm_confirm(withSuccess(props))},es_modal_Modal.error=function errorFn(props){return confirm_confirm(withError(props))},es_modal_Modal.warning=modalWarn,es_modal_Modal.warn=modalWarn,es_modal_Modal.confirm=function confirmFn(props){return confirm_confirm(withConfirm(props))},es_modal_Modal.destroyAll=function destroyAllFn(){for(;modal_destroyFns.length;){var close=modal_destroyFns.pop();close&&close()}},es_modal_Modal.config=function modalGlobalConfig(_ref){var rootPrefixCls=_ref.rootPrefixCls;defaultRootPrefixCls=rootPrefixCls};const modal=es_modal_Modal},"./node_modules/antd/es/pagination/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>pagination});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames);const es_Pager=function Pager(props){var _classNames,prefixCls="".concat(props.rootPrefixCls,"-item"),cls=classnames_default()(prefixCls,"".concat(prefixCls,"-").concat(props.page),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-active"),props.active),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-disabled"),!props.page),(0,defineProperty.Z)(_classNames,props.className,!!props.className),_classNames));return react.createElement("li",{title:props.showTitle?props.page:null,className:cls,onClick:function handleClick(){props.onClick(props.page)},onKeyPress:function handleKeyPress(e){props.onKeyPress(e,props.onClick,props.page)},tabIndex:"0"},props.itemRender(props.page,"page",react.createElement("a",{rel:"nofollow"},props.page)))},KeyCode_ENTER=13,KeyCode_ARROW_UP=38,KeyCode_ARROW_DOWN=40;var Options=function(_React$Component){(0,inherits.Z)(Options,_React$Component);var _super=(0,createSuper.Z)(Options);function Options(){var _this;(0,classCallCheck.Z)(this,Options);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).state={goInputText:""},_this.buildOptionText=function(value){return"".concat(value," ").concat(_this.props.locale.items_per_page)},_this.changeSize=function(value){_this.props.changeSize(Number(value))},_this.handleChange=function(e){_this.setState({goInputText:e.target.value})},_this.handleBlur=function(e){var _this$props=_this.props,goButton=_this$props.goButton,quickGo=_this$props.quickGo,rootPrefixCls=_this$props.rootPrefixCls,goInputText=_this.state.goInputText;goButton||""===goInputText||(_this.setState({goInputText:""}),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(rootPrefixCls,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(rootPrefixCls,"-item"))>=0)||quickGo(_this.getValidValue()))},_this.go=function(e){""!==_this.state.goInputText&&(e.keyCode!==KeyCode_ENTER&&"click"!==e.type||(_this.setState({goInputText:""}),_this.props.quickGo(_this.getValidValue())))},_this}return(0,createClass.Z)(Options,[{key:"getValidValue",value:function getValidValue(){var goInputText=this.state.goInputText;return!goInputText||isNaN(goInputText)?void 0:Number(goInputText)}},{key:"getPageSizeOptions",value:function getPageSizeOptions(){var _this$props2=this.props,pageSize=_this$props2.pageSize,pageSizeOptions=_this$props2.pageSizeOptions;return pageSizeOptions.some((function(option){return option.toString()===pageSize.toString()}))?pageSizeOptions:pageSizeOptions.concat([pageSize.toString()]).sort((function(a,b){return(isNaN(Number(a))?0:Number(a))-(isNaN(Number(b))?0:Number(b))}))}},{key:"render",value:function render(){var _this2=this,_this$props3=this.props,pageSize=_this$props3.pageSize,locale=_this$props3.locale,rootPrefixCls=_this$props3.rootPrefixCls,changeSize=_this$props3.changeSize,quickGo=_this$props3.quickGo,goButton=_this$props3.goButton,selectComponentClass=_this$props3.selectComponentClass,buildOptionText=_this$props3.buildOptionText,selectPrefixCls=_this$props3.selectPrefixCls,disabled=_this$props3.disabled,goInputText=this.state.goInputText,prefixCls="".concat(rootPrefixCls,"-options"),Select=selectComponentClass,changeSelect=null,goInput=null,gotoButton=null;if(!changeSize&&!quickGo)return null;var pageSizeOptions=this.getPageSizeOptions();if(changeSize&&Select){var options=pageSizeOptions.map((function(opt,i){return react.createElement(Select.Option,{key:i,value:opt.toString()},(buildOptionText||_this2.buildOptionText)(opt))}));changeSelect=react.createElement(Select,{disabled,prefixCls:selectPrefixCls,showSearch:!1,className:"".concat(prefixCls,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(pageSize||pageSizeOptions[0]).toString(),onChange:this.changeSize,getPopupContainer:function getPopupContainer(triggerNode){return triggerNode.parentNode},"aria-label":locale.page_size,defaultOpen:!1},options)}return quickGo&&(goButton&&(gotoButton="boolean"==typeof goButton?react.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled,className:"".concat(prefixCls,"-quick-jumper-button")},locale.jump_to_confirm):react.createElement("span",{onClick:this.go,onKeyUp:this.go},goButton)),goInput=react.createElement("div",{className:"".concat(prefixCls,"-quick-jumper")},locale.jump_to,react.createElement("input",{disabled,type:"text",value:goInputText,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":locale.page}),locale.page,gotoButton)),react.createElement("li",{className:"".concat(prefixCls)},changeSelect,goInput)}}]),Options}(react.Component);Options.defaultProps={pageSizeOptions:["10","20","50","100"]};const es_Options=Options;function noop(){}function isInteger(v){var value=Number(v);return"number"==typeof value&&!isNaN(value)&&isFinite(value)&&Math.floor(value)===value}function calculatePage(p,state,props){var pageSize=void 0===p?state.pageSize:p;return Math.floor((props.total-1)/pageSize)+1}var Pagination=function(_React$Component){(0,inherits.Z)(Pagination,_React$Component);var _super=(0,createSuper.Z)(Pagination);function Pagination(props){var _this;(0,classCallCheck.Z)(this,Pagination),(_this=_super.call(this,props)).getJumpPrevPage=function(){return Math.max(1,_this.state.current-(_this.props.showLessItems?3:5))},_this.getJumpNextPage=function(){return Math.min(calculatePage(void 0,_this.state,_this.props),_this.state.current+(_this.props.showLessItems?3:5))},_this.getItemIcon=function(icon,label){var prefixCls=_this.props.prefixCls,iconNode=icon||react.createElement("button",{type:"button","aria-label":label,className:"".concat(prefixCls,"-item-link")});return"function"==typeof icon&&(iconNode=react.createElement(icon,(0,objectSpread2.Z)({},_this.props))),iconNode},_this.savePaginationNode=function(node){_this.paginationNode=node},_this.isValid=function(page){var total=_this.props.total;return isInteger(page)&&page!==_this.state.current&&isInteger(total)&&total>0},_this.shouldDisplayQuickJumper=function(){var _this$props=_this.props,showQuickJumper=_this$props.showQuickJumper;return!(_this$props.total<=_this.state.pageSize)&&showQuickJumper},_this.handleKeyDown=function(e){e.keyCode!==KeyCode_ARROW_UP&&e.keyCode!==KeyCode_ARROW_DOWN||e.preventDefault()},_this.handleKeyUp=function(e){var value=_this.getValidValue(e);value!==_this.state.currentInputValue&&_this.setState({currentInputValue:value}),e.keyCode===KeyCode_ENTER?_this.handleChange(value):e.keyCode===KeyCode_ARROW_UP?_this.handleChange(value-1):e.keyCode===KeyCode_ARROW_DOWN&&_this.handleChange(value+1)},_this.handleBlur=function(e){var value=_this.getValidValue(e);_this.handleChange(value)},_this.changePageSize=function(size){var current=_this.state.current,newCurrent=calculatePage(size,_this.state,_this.props);current=current>newCurrent?newCurrent:current,0===newCurrent&&(current=_this.state.current),"number"==typeof size&&("pageSize"in _this.props||_this.setState({pageSize:size}),"current"in _this.props||_this.setState({current,currentInputValue:current})),_this.props.onShowSizeChange(current,size),"onChange"in _this.props&&_this.props.onChange&&_this.props.onChange(current,size)},_this.handleChange=function(p){var disabled=_this.props.disabled,page=p;if(_this.isValid(page)&&!disabled){var currentPage=calculatePage(void 0,_this.state,_this.props);page>currentPage?page=currentPage:page<1&&(page=1),"current"in _this.props||_this.setState({current:page,currentInputValue:page});var pageSize=_this.state.pageSize;return _this.props.onChange(page,pageSize),page}return _this.state.current},_this.prev=function(){_this.hasPrev()&&_this.handleChange(_this.state.current-1)},_this.next=function(){_this.hasNext()&&_this.handleChange(_this.state.current+1)},_this.jumpPrev=function(){_this.handleChange(_this.getJumpPrevPage())},_this.jumpNext=function(){_this.handleChange(_this.getJumpNextPage())},_this.hasPrev=function(){return _this.state.current>1},_this.hasNext=function(){return _this.state.current<calculatePage(void 0,_this.state,_this.props)},_this.runIfEnter=function(event,callback){if("Enter"===event.key||13===event.charCode){for(var _len=arguments.length,restParams=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)restParams[_key-2]=arguments[_key];callback.apply(void 0,restParams)}},_this.runIfEnterPrev=function(e){_this.runIfEnter(e,_this.prev)},_this.runIfEnterNext=function(e){_this.runIfEnter(e,_this.next)},_this.runIfEnterJumpPrev=function(e){_this.runIfEnter(e,_this.jumpPrev)},_this.runIfEnterJumpNext=function(e){_this.runIfEnter(e,_this.jumpNext)},_this.handleGoTO=function(e){e.keyCode!==KeyCode_ENTER&&"click"!==e.type||_this.handleChange(_this.state.currentInputValue)};var hasOnChange=props.onChange!==noop;"current"in props&&!hasOnChange&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var _current=props.defaultCurrent;"current"in props&&(_current=props.current);var _pageSize=props.defaultPageSize;return"pageSize"in props&&(_pageSize=props.pageSize),_current=Math.min(_current,calculatePage(_pageSize,void 0,props)),_this.state={current:_current,currentInputValue:_current,pageSize:_pageSize},_this}return(0,createClass.Z)(Pagination,[{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){var prefixCls=this.props.prefixCls;if(prevState.current!==this.state.current&&this.paginationNode){var lastCurrentNode=this.paginationNode.querySelector(".".concat(prefixCls,"-item-").concat(prevState.current));lastCurrentNode&&document.activeElement===lastCurrentNode&&lastCurrentNode.blur()}}},{key:"getValidValue",value:function getValidValue(e){var inputValue=e.target.value,allPages=calculatePage(void 0,this.state,this.props),currentInputValue=this.state.currentInputValue;return""===inputValue?inputValue:isNaN(Number(inputValue))?currentInputValue:inputValue>=allPages?allPages:Number(inputValue)}},{key:"getShowSizeChanger",value:function getShowSizeChanger(){var _this$props2=this.props,showSizeChanger=_this$props2.showSizeChanger,total=_this$props2.total,totalBoundaryShowSizeChanger=_this$props2.totalBoundaryShowSizeChanger;return void 0!==showSizeChanger?showSizeChanger:total>totalBoundaryShowSizeChanger}},{key:"renderPrev",value:function renderPrev(prevPage){var _this$props3=this.props,prevIcon=_this$props3.prevIcon,prevButton=(0,_this$props3.itemRender)(prevPage,"prev",this.getItemIcon(prevIcon,"prev page")),disabled=!this.hasPrev();return(0,react.isValidElement)(prevButton)?(0,react.cloneElement)(prevButton,{disabled}):prevButton}},{key:"renderNext",value:function renderNext(nextPage){var _this$props4=this.props,nextIcon=_this$props4.nextIcon,nextButton=(0,_this$props4.itemRender)(nextPage,"next",this.getItemIcon(nextIcon,"next page")),disabled=!this.hasNext();return(0,react.isValidElement)(nextButton)?(0,react.cloneElement)(nextButton,{disabled}):nextButton}},{key:"render",value:function render(){var _this2=this,_this$props5=this.props,prefixCls=_this$props5.prefixCls,className=_this$props5.className,style=_this$props5.style,disabled=_this$props5.disabled,hideOnSinglePage=_this$props5.hideOnSinglePage,total=_this$props5.total,locale=_this$props5.locale,showQuickJumper=_this$props5.showQuickJumper,showLessItems=_this$props5.showLessItems,showTitle=_this$props5.showTitle,showTotal=_this$props5.showTotal,simple=_this$props5.simple,itemRender=_this$props5.itemRender,showPrevNextJumpers=_this$props5.showPrevNextJumpers,jumpPrevIcon=_this$props5.jumpPrevIcon,jumpNextIcon=_this$props5.jumpNextIcon,selectComponentClass=_this$props5.selectComponentClass,selectPrefixCls=_this$props5.selectPrefixCls,pageSizeOptions=_this$props5.pageSizeOptions,_this$state=this.state,current=_this$state.current,pageSize=_this$state.pageSize,currentInputValue=_this$state.currentInputValue;if(!0===hideOnSinglePage&&total<=pageSize)return null;var allPages=calculatePage(void 0,this.state,this.props),pagerList=[],jumpPrev=null,jumpNext=null,firstPager=null,lastPager=null,gotoButton=null,goButton=showQuickJumper&&showQuickJumper.goButton,pageBufferSize=showLessItems?1:2,prevPage=current-1>0?current-1:0,nextPage=current+1<allPages?current+1:allPages,dataOrAriaAttributeProps=Object.keys(this.props).reduce((function(prev,key){return"data-"!==key.substr(0,5)&&"aria-"!==key.substr(0,5)&&"role"!==key||(prev[key]=_this2.props[key]),prev}),{});if(simple)return goButton&&(gotoButton="boolean"==typeof goButton?react.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},locale.jump_to_confirm):react.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},goButton),gotoButton=react.createElement("li",{title:showTitle?"".concat(locale.jump_to).concat(current,"/").concat(allPages):null,className:"".concat(prefixCls,"-simple-pager")},gotoButton)),react.createElement("ul",(0,esm_extends.Z)({className:classnames_default()(prefixCls,"".concat(prefixCls,"-simple"),(0,defineProperty.Z)({},"".concat(prefixCls,"-disabled"),disabled),className),style,ref:this.savePaginationNode},dataOrAriaAttributeProps),react.createElement("li",{title:showTitle?locale.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:classnames_default()("".concat(prefixCls,"-prev"),(0,defineProperty.Z)({},"".concat(prefixCls,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(prevPage)),react.createElement("li",{title:showTitle?"".concat(current,"/").concat(allPages):null,className:"".concat(prefixCls,"-simple-pager")},react.createElement("input",{type:"text",value:currentInputValue,disabled,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),react.createElement("span",{className:"".concat(prefixCls,"-slash")},"/"),allPages),react.createElement("li",{title:showTitle?locale.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:classnames_default()("".concat(prefixCls,"-next"),(0,defineProperty.Z)({},"".concat(prefixCls,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(nextPage)),gotoButton);if(allPages<=3+2*pageBufferSize){var pagerProps={locale,rootPrefixCls:prefixCls,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle,itemRender};allPages||pagerList.push(react.createElement(es_Pager,(0,esm_extends.Z)({},pagerProps,{key:"noPager",page:1,className:"".concat(prefixCls,"-item-disabled")})));for(var i=1;i<=allPages;i+=1){var active=current===i;pagerList.push(react.createElement(es_Pager,(0,esm_extends.Z)({},pagerProps,{key:i,page:i,active})))}}else{var prevItemTitle=showLessItems?locale.prev_3:locale.prev_5,nextItemTitle=showLessItems?locale.next_3:locale.next_5;showPrevNextJumpers&&(jumpPrev=react.createElement("li",{title:showTitle?prevItemTitle:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:classnames_default()("".concat(prefixCls,"-jump-prev"),(0,defineProperty.Z)({},"".concat(prefixCls,"-jump-prev-custom-icon"),!!jumpPrevIcon))},itemRender(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(jumpPrevIcon,"prev page"))),jumpNext=react.createElement("li",{title:showTitle?nextItemTitle:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:classnames_default()("".concat(prefixCls,"-jump-next"),(0,defineProperty.Z)({},"".concat(prefixCls,"-jump-next-custom-icon"),!!jumpNextIcon))},itemRender(this.getJumpNextPage(),"jump-next",this.getItemIcon(jumpNextIcon,"next page")))),lastPager=react.createElement(es_Pager,{locale,last:!0,rootPrefixCls:prefixCls,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:allPages,page:allPages,active:!1,showTitle,itemRender}),firstPager=react.createElement(es_Pager,{locale,rootPrefixCls:prefixCls,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle,itemRender});var left=Math.max(1,current-pageBufferSize),right=Math.min(current+pageBufferSize,allPages);current-1<=pageBufferSize&&(right=1+2*pageBufferSize),allPages-current<=pageBufferSize&&(left=allPages-2*pageBufferSize);for(var _i=left;_i<=right;_i+=1){var _active=current===_i;pagerList.push(react.createElement(es_Pager,{locale,rootPrefixCls:prefixCls,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_i,page:_i,active:_active,showTitle,itemRender}))}current-1>=2*pageBufferSize&&3!==current&&(pagerList[0]=(0,react.cloneElement)(pagerList[0],{className:"".concat(prefixCls,"-item-after-jump-prev")}),pagerList.unshift(jumpPrev)),allPages-current>=2*pageBufferSize&¤t!==allPages-2&&(pagerList[pagerList.length-1]=(0,react.cloneElement)(pagerList[pagerList.length-1],{className:"".concat(prefixCls,"-item-before-jump-next")}),pagerList.push(jumpNext)),1!==left&&pagerList.unshift(firstPager),right!==allPages&&pagerList.push(lastPager)}var totalText=null;showTotal&&(totalText=react.createElement("li",{className:"".concat(prefixCls,"-total-text")},showTotal(total,[0===total?0:(current-1)*pageSize+1,current*pageSize>total?total:current*pageSize])));var prevDisabled=!this.hasPrev()||!allPages,nextDisabled=!this.hasNext()||!allPages;return react.createElement("ul",(0,esm_extends.Z)({className:classnames_default()(prefixCls,className,(0,defineProperty.Z)({},"".concat(prefixCls,"-disabled"),disabled)),style,unselectable:"unselectable",ref:this.savePaginationNode},dataOrAriaAttributeProps),totalText,react.createElement("li",{title:showTitle?locale.prev_page:null,onClick:this.prev,tabIndex:prevDisabled?null:0,onKeyPress:this.runIfEnterPrev,className:classnames_default()("".concat(prefixCls,"-prev"),(0,defineProperty.Z)({},"".concat(prefixCls,"-disabled"),prevDisabled)),"aria-disabled":prevDisabled},this.renderPrev(prevPage)),pagerList,react.createElement("li",{title:showTitle?locale.next_page:null,onClick:this.next,tabIndex:nextDisabled?null:0,onKeyPress:this.runIfEnterNext,className:classnames_default()("".concat(prefixCls,"-next"),(0,defineProperty.Z)({},"".concat(prefixCls,"-disabled"),nextDisabled)),"aria-disabled":nextDisabled},this.renderNext(nextPage)),react.createElement(es_Options,{disabled,locale,rootPrefixCls:prefixCls,selectComponentClass,selectPrefixCls,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current,pageSize,pageSizeOptions,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton}))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,prevState){var newState={};if("current"in props&&(newState.current=props.current,props.current!==prevState.current&&(newState.currentInputValue=newState.current)),"pageSize"in props&&props.pageSize!==prevState.pageSize){var current=prevState.current,newCurrent=calculatePage(props.pageSize,prevState,props);current=current>newCurrent?newCurrent:current,"current"in props||(newState.current=current,newState.currentInputValue=current),newState.pageSize=props.pageSize}return newState}}]),Pagination}(react.Component);Pagination.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:noop,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:noop,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function defaultItemRender(page,type,element){return element},totalBoundaryShowSizeChanger:50};const es_Pagination=Pagination;var en_US=__webpack_require__("./node_modules/rc-pagination/es/locale/en_US.js"),LeftOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LeftOutlined.js"),RightOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/RightOutlined.js");const asn_DoubleLeftOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),DoubleLeftOutlined_DoubleLeftOutlined=function DoubleLeftOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_DoubleLeftOutlined}))};DoubleLeftOutlined_DoubleLeftOutlined.displayName="DoubleLeftOutlined";const icons_DoubleLeftOutlined=react.forwardRef(DoubleLeftOutlined_DoubleLeftOutlined);const asn_DoubleRightOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};var DoubleRightOutlined_DoubleRightOutlined=function DoubleRightOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_DoubleRightOutlined}))};DoubleRightOutlined_DoubleRightOutlined.displayName="DoubleRightOutlined";const icons_DoubleRightOutlined=react.forwardRef(DoubleRightOutlined_DoubleRightOutlined);var es_select=__webpack_require__("./node_modules/antd/es/select/index.js"),MiniSelect=function MiniSelect(props){return react.createElement(es_select.Z,(0,esm_extends.Z)({},props,{size:"small"}))},MiddleSelect=function MiddleSelect(props){return react.createElement(es_select.Z,(0,esm_extends.Z)({},props,{size:"middle"}))};MiniSelect.Option=es_select.Z.Option,MiddleSelect.Option=es_select.Z.Option;var LocaleReceiver=__webpack_require__("./node_modules/antd/es/locale-provider/LocaleReceiver.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),useBreakpoint=__webpack_require__("./node_modules/antd/es/grid/hooks/useBreakpoint.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t};const pagination=function Pagination(_a){var customizePrefixCls=_a.prefixCls,customizeSelectPrefixCls=_a.selectPrefixCls,className=_a.className,size=_a.size,customLocale=_a.locale,selectComponentClass=_a.selectComponentClass,responsive=_a.responsive,restProps=__rest(_a,["prefixCls","selectPrefixCls","className","size","locale","selectComponentClass","responsive"]),xs=(0,useBreakpoint.Z)(responsive).xs,_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,prefixCls=getPrefixCls("pagination",customizePrefixCls),renderPagination=function renderPagination(contextLocale){var locale=(0,esm_extends.Z)((0,esm_extends.Z)({},contextLocale),customLocale),isSmall="small"===size||!(!xs||size||!responsive),selectPrefixCls=getPrefixCls("select",customizeSelectPrefixCls),extendedClassName=classnames_default()((0,defineProperty.Z)({mini:isSmall},"".concat(prefixCls,"-rtl"),"rtl"===direction),className);return react.createElement(es_Pagination,(0,esm_extends.Z)({},function getIconsProps(){var ellipsis=react.createElement("span",{className:"".concat(prefixCls,"-item-ellipsis")},"•••"),prevIcon=react.createElement("button",{className:"".concat(prefixCls,"-item-link"),type:"button",tabIndex:-1},react.createElement(LeftOutlined.Z,null)),nextIcon=react.createElement("button",{className:"".concat(prefixCls,"-item-link"),type:"button",tabIndex:-1},react.createElement(RightOutlined.Z,null)),jumpPrevIcon=react.createElement("a",{className:"".concat(prefixCls,"-item-link")},react.createElement("div",{className:"".concat(prefixCls,"-item-container")},react.createElement(icons_DoubleLeftOutlined,{className:"".concat(prefixCls,"-item-link-icon")}),ellipsis)),jumpNextIcon=react.createElement("a",{className:"".concat(prefixCls,"-item-link")},react.createElement("div",{className:"".concat(prefixCls,"-item-container")},react.createElement(icons_DoubleRightOutlined,{className:"".concat(prefixCls,"-item-link-icon")}),ellipsis));if("rtl"===direction){var _ref=[nextIcon,prevIcon];prevIcon=_ref[0],nextIcon=_ref[1];var _ref2=[jumpNextIcon,jumpPrevIcon];jumpPrevIcon=_ref2[0],jumpNextIcon=_ref2[1]}return{prevIcon,nextIcon,jumpPrevIcon,jumpNextIcon}}(),restProps,{prefixCls,selectPrefixCls,className:extendedClassName,selectComponentClass:selectComponentClass||(isSmall?MiniSelect:MiddleSelect),locale}))};return react.createElement(LocaleReceiver.Z,{componentName:"Pagination",defaultLocale:en_US.Z},renderPagination)}},"./node_modules/antd/es/popover/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>popover});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),tooltip=__webpack_require__("./node_modules/antd/es/tooltip/index.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),getRenderPropValue=function getRenderPropValue(propValue){return propValue?"function"==typeof propValue?propValue():propValue:null},motion=__webpack_require__("./node_modules/antd/es/_util/motion.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},Popover=react.forwardRef((function(_a,ref){var customizePrefixCls=_a.prefixCls,title=_a.title,content=_a.content,otherProps=__rest(_a,["prefixCls","title","content"]),getPrefixCls=react.useContext(context.E_).getPrefixCls,prefixCls=getPrefixCls("popover",customizePrefixCls),rootPrefixCls=getPrefixCls();return react.createElement(tooltip.Z,(0,esm_extends.Z)({},otherProps,{prefixCls,ref,overlay:function getOverlay(prefixCls){if(title||content)return react.createElement(react.Fragment,null,title&&react.createElement("div",{className:"".concat(prefixCls,"-title")},getRenderPropValue(title)),react.createElement("div",{className:"".concat(prefixCls,"-inner-content")},getRenderPropValue(content)))}(prefixCls),transitionName:(0,motion.mL)(rootPrefixCls,"zoom-big",otherProps.transitionName)}))}));Popover.displayName="Popover",Popover.defaultProps={placement:"top",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}};const popover=Popover},"./node_modules/antd/es/radio/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ZP:()=>es_radio});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),Checkbox=function(_Component){(0,inherits.Z)(Checkbox,_Component);var _super=(0,createSuper.Z)(Checkbox);function Checkbox(props){var _this;(0,classCallCheck.Z)(this,Checkbox),(_this=_super.call(this,props)).handleChange=function(e){var _this$props=_this.props,disabled=_this$props.disabled,onChange=_this$props.onChange;disabled||("checked"in _this.props||_this.setState({checked:e.target.checked}),onChange&&onChange({target:(0,objectSpread2.Z)((0,objectSpread2.Z)({},_this.props),{},{checked:e.target.checked}),stopPropagation:function stopPropagation(){e.stopPropagation()},preventDefault:function preventDefault(){e.preventDefault()},nativeEvent:e.nativeEvent}))},_this.saveInput=function(node){_this.input=node};var checked="checked"in props?props.checked:props.defaultChecked;return _this.state={checked},_this}return(0,createClass.Z)(Checkbox,[{key:"focus",value:function focus(){this.input.focus()}},{key:"blur",value:function blur(){this.input.blur()}},{key:"render",value:function render(){var _classNames,_this$props2=this.props,prefixCls=_this$props2.prefixCls,className=_this$props2.className,style=_this$props2.style,name=_this$props2.name,id=_this$props2.id,type=_this$props2.type,disabled=_this$props2.disabled,readOnly=_this$props2.readOnly,tabIndex=_this$props2.tabIndex,onClick=_this$props2.onClick,onFocus=_this$props2.onFocus,onBlur=_this$props2.onBlur,onKeyDown=_this$props2.onKeyDown,onKeyPress=_this$props2.onKeyPress,onKeyUp=_this$props2.onKeyUp,autoFocus=_this$props2.autoFocus,value=_this$props2.value,required=_this$props2.required,others=(0,objectWithoutProperties.Z)(_this$props2,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),globalProps=Object.keys(others).reduce((function(prev,key){return"aria-"!==key.substr(0,5)&&"data-"!==key.substr(0,5)&&"role"!==key||(prev[key]=others[key]),prev}),{}),checked=this.state.checked,classString=classnames_default()(prefixCls,className,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-checked"),checked),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-disabled"),disabled),_classNames));return react.createElement("span",{className:classString,style},react.createElement("input",(0,esm_extends.Z)({name,id,type,required,readOnly,disabled,tabIndex,className:"".concat(prefixCls,"-input"),checked:!!checked,onClick,onFocus,onBlur,onKeyUp,onKeyDown,onKeyPress,onChange:this.handleChange,autoFocus,ref:this.saveInput,value},globalProps)),react.createElement("span",{className:"".concat(prefixCls,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,state){return"checked"in props?(0,objectSpread2.Z)((0,objectSpread2.Z)({},state),{},{checked:props.checked}):null}}]),Checkbox}(react.Component);Checkbox.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function onFocus(){},onBlur:function onBlur(){},onChange:function onChange(){},onKeyDown:function onKeyDown(){},onKeyPress:function onKeyPress(){},onKeyUp:function onKeyUp(){}};const es=Checkbox;var es_ref=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/ref.js"),context=__webpack_require__("./node_modules/antd/es/form/context.js"),config_provider_context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),RadioGroupContext=react.createContext(null),RadioGroupContextProvider=RadioGroupContext.Provider;const radio_context=RadioGroupContext;var RadioOptionTypeContext=react.createContext(null),RadioOptionTypeContextProvider=RadioOptionTypeContext.Provider,__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},InternalRadio=function InternalRadio(props,ref){var _classNames,groupContext=react.useContext(radio_context),radioOptionTypeContext=react.useContext(RadioOptionTypeContext),_React$useContext=react.useContext(config_provider_context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,innerRef=react.useRef(),mergedRef=(0,es_ref.sQ)(ref,innerRef),isFormItemInput=(0,react.useContext)(context.aM).isFormItemInput,customizePrefixCls=props.prefixCls,className=props.className,children=props.children,style=props.style,restProps=__rest(props,["prefixCls","className","children","style"]),radioPrefixCls=getPrefixCls("radio",customizePrefixCls),prefixCls="button"===((null==groupContext?void 0:groupContext.optionType)||radioOptionTypeContext)?"".concat(radioPrefixCls,"-button"):radioPrefixCls,radioProps=(0,esm_extends.Z)({},restProps);groupContext&&(radioProps.name=groupContext.name,radioProps.onChange=function onChange(e){var _a,_b;null===(_a=props.onChange)||void 0===_a||_a.call(props,e),null===(_b=null==groupContext?void 0:groupContext.onChange)||void 0===_b||_b.call(groupContext,e)},radioProps.checked=props.value===groupContext.value,radioProps.disabled=props.disabled||groupContext.disabled);var wrapperClassString=classnames_default()("".concat(prefixCls,"-wrapper"),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-wrapper-checked"),radioProps.checked),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-wrapper-disabled"),radioProps.disabled),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-wrapper-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-wrapper-in-form-item"),isFormItemInput),_classNames),className);return react.createElement("label",{className:wrapperClassString,style,onMouseEnter:props.onMouseEnter,onMouseLeave:props.onMouseLeave},react.createElement(es,(0,esm_extends.Z)({},radioProps,{type:"radio",prefixCls,ref:mergedRef})),void 0!==children?react.createElement("span",null,children):null)},Radio=react.forwardRef(InternalRadio);Radio.displayName="Radio";const radio_radio=Radio;var slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),useMergedState=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/hooks/useMergedState.js"),SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js");var RadioGroup=react.forwardRef((function(props,ref){var _React$useContext=react.useContext(config_provider_context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,size=react.useContext(SizeContext.Z),_useMergedState=(0,useMergedState.Z)(props.defaultValue,{value:props.value}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),value=_useMergedState2[0],setValue=_useMergedState2[1];return react.createElement(RadioGroupContextProvider,{value:{onChange:function onRadioChange(ev){var lastValue=value,val=ev.target.value;"value"in props||setValue(val);var onChange=props.onChange;onChange&&val!==lastValue&&onChange(ev)},value,disabled:props.disabled,name:props.name,optionType:props.optionType}},function renderGroup(){var _classNames,customizePrefixCls=props.prefixCls,_props$className=props.className,className=void 0===_props$className?"":_props$className,options=props.options,_props$buttonStyle=props.buttonStyle,buttonStyle=void 0===_props$buttonStyle?"outline":_props$buttonStyle,disabled=props.disabled,children=props.children,customizeSize=props.size,style=props.style,id=props.id,onMouseEnter=props.onMouseEnter,onMouseLeave=props.onMouseLeave,prefixCls=getPrefixCls("radio",customizePrefixCls),groupPrefixCls="".concat(prefixCls,"-group"),childrenToRender=children;options&&options.length>0&&(childrenToRender=options.map((function(option){return"string"==typeof option||"number"==typeof option?react.createElement(radio_radio,{key:option.toString(),prefixCls,disabled,value:option,checked:value===option},option):react.createElement(radio_radio,{key:"radio-group-value-options-".concat(option.value),prefixCls,disabled:option.disabled||disabled,value:option.value,checked:value===option.value,style:option.style},option.label)})));var mergedSize=customizeSize||size,classString=classnames_default()(groupPrefixCls,"".concat(groupPrefixCls,"-").concat(buttonStyle),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(groupPrefixCls,"-").concat(mergedSize),mergedSize),(0,defineProperty.Z)(_classNames,"".concat(groupPrefixCls,"-rtl"),"rtl"===direction),_classNames),className);return react.createElement("div",(0,esm_extends.Z)({},function getDataOrAriaProps(props){return Object.keys(props).reduce((function(prev,key){return!key.startsWith("data-")&&!key.startsWith("aria-")&&"role"!==key||key.startsWith("data-__")||(prev[key]=props[key]),prev}),{})}(props),{className:classString,style,onMouseEnter,onMouseLeave,id,ref}),childrenToRender)}())}));const group=react.memo(RadioGroup);var radioButton_rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},RadioButton=function RadioButton(props,ref){var getPrefixCls=react.useContext(config_provider_context.E_).getPrefixCls,customizePrefixCls=props.prefixCls,radioProps=radioButton_rest(props,["prefixCls"]),prefixCls=getPrefixCls("radio",customizePrefixCls);return react.createElement(RadioOptionTypeContextProvider,{value:"button"},react.createElement(radio_radio,(0,esm_extends.Z)({prefixCls},radioProps,{type:"radio",ref})))};const radioButton=react.forwardRef(RadioButton);var radio_Radio=radio_radio;radio_Radio.Button=radioButton,radio_Radio.Group=group;const es_radio=radio_Radio},"./node_modules/antd/es/select/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),rc_select__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/rc-select/es/index.js"),_config_provider__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),_utils_iconUtil__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/antd/es/select/utils/iconUtil.js"),_config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),_form_context__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/antd/es/form/context.js"),_util_statusUtils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/antd/es/_util/statusUtils.js"),_util_motion__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/antd/es/_util/motion.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},InternalSelect=function InternalSelect(_a,ref){var _classNames2,mergedNotFound,customizePrefixCls=_a.prefixCls,_a$bordered=_a.bordered,bordered=void 0===_a$bordered||_a$bordered,className=_a.className,getPopupContainer=_a.getPopupContainer,dropdownClassName=_a.dropdownClassName,_a$listHeight=_a.listHeight,listHeight=void 0===_a$listHeight?256:_a$listHeight,placement=_a.placement,_a$listItemHeight=_a.listItemHeight,listItemHeight=void 0===_a$listItemHeight?24:_a$listItemHeight,customizeSize=_a.size,notFoundContent=_a.notFoundContent,customStatus=_a.status,showArrow=_a.showArrow,props=__rest(_a,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","listHeight","placement","listItemHeight","size","notFoundContent","status","showArrow"]),_React$useContext=react__WEBPACK_IMPORTED_MODULE_0__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__.E_),getContextPopupContainer=_React$useContext.getPopupContainer,getPrefixCls=_React$useContext.getPrefixCls,renderEmpty=_React$useContext.renderEmpty,direction=_React$useContext.direction,virtual=_React$useContext.virtual,dropdownMatchSelectWidth=_React$useContext.dropdownMatchSelectWidth,size=react__WEBPACK_IMPORTED_MODULE_0__.useContext(_config_provider_SizeContext__WEBPACK_IMPORTED_MODULE_4__.Z),prefixCls=getPrefixCls("select",customizePrefixCls),rootPrefixCls=getPrefixCls(),mode=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){var m=props.mode;if("combobox"!==m)return"SECRET_COMBOBOX_MODE_DO_NOT_USE"===m?"combobox":m}),[props.mode]),isMultiple="multiple"===mode||"tags"===mode,mergedShowArrow=void 0!==showArrow?showArrow:props.loading||!(isMultiple||"combobox"===mode),_useContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_form_context__WEBPACK_IMPORTED_MODULE_5__.aM),contextStatus=_useContext.status,hasFeedback=_useContext.hasFeedback,isFormItemInput=_useContext.isFormItemInput,feedbackIcon=_useContext.feedbackIcon,mergedStatus=(0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_6__.F)(contextStatus,customStatus);mergedNotFound=void 0!==notFoundContent?notFoundContent:"combobox"===mode?null:renderEmpty("Select");var _getIcons=(0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_7__.Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__.Z)({},props),{multiple:isMultiple,hasFeedback,feedbackIcon,showArrow:mergedShowArrow,prefixCls})),suffixIcon=_getIcons.suffixIcon,itemIcon=_getIcons.itemIcon,removeIcon=_getIcons.removeIcon,clearIcon=_getIcons.clearIcon,selectProps=(0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__.Z)(props,["suffixIcon","itemIcon"]),rcSelectRtlDropdownClassName=classnames__WEBPACK_IMPORTED_MODULE_1___default()(dropdownClassName,(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__.Z)({},"".concat(prefixCls,"-dropdown-").concat(direction),"rtl"===direction)),mergedSize=customizeSize||size,mergedClassName=classnames__WEBPACK_IMPORTED_MODULE_1___default()((_classNames2={},(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__.Z)(_classNames2,"".concat(prefixCls,"-lg"),"large"===mergedSize),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__.Z)(_classNames2,"".concat(prefixCls,"-sm"),"small"===mergedSize),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__.Z)(_classNames2,"".concat(prefixCls,"-rtl"),"rtl"===direction),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__.Z)(_classNames2,"".concat(prefixCls,"-borderless"),!bordered),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__.Z)(_classNames2,"".concat(prefixCls,"-in-form-item"),isFormItemInput),_classNames2),(0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_6__.Z)(prefixCls,mergedStatus,hasFeedback),className);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_2__.ZP,(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__.Z)({ref,virtual,dropdownMatchSelectWidth},selectProps,{transitionName:(0,_util_motion__WEBPACK_IMPORTED_MODULE_11__.mL)(rootPrefixCls,(0,_util_motion__WEBPACK_IMPORTED_MODULE_11__.q0)(placement),props.transitionName),listHeight,listItemHeight,mode,prefixCls,placement:function getPlacement(){return void 0!==placement?placement:"rtl"===direction?"bottomRight":"bottomLeft"}(),direction,inputIcon:suffixIcon,menuItemSelectedIcon:itemIcon,removeIcon,clearIcon,notFoundContent:mergedNotFound,className:mergedClassName,getPopupContainer:getPopupContainer||getContextPopupContainer,dropdownClassName:rcSelectRtlDropdownClassName,showArrow:hasFeedback||showArrow}))},Select=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(InternalSelect);Select.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Select.Option=rc_select__WEBPACK_IMPORTED_MODULE_2__.Wx,Select.OptGroup=rc_select__WEBPACK_IMPORTED_MODULE_2__.Xo;const __WEBPACK_DEFAULT_EXPORT__=Select},"./node_modules/antd/es/select/utils/iconUtil.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>getIcons});var react=__webpack_require__("./node_modules/react/index.js"),DownOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/DownOutlined.js"),LoadingOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");const asn_CheckOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),CheckOutlined_CheckOutlined=function CheckOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_CheckOutlined}))};CheckOutlined_CheckOutlined.displayName="CheckOutlined";const icons_CheckOutlined=react.forwardRef(CheckOutlined_CheckOutlined);var CloseOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),CloseCircleFilled=__webpack_require__("./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js"),SearchOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/SearchOutlined.js");function getIcons(_ref){var suffixIcon=_ref.suffixIcon,clearIcon=_ref.clearIcon,menuItemSelectedIcon=_ref.menuItemSelectedIcon,removeIcon=_ref.removeIcon,loading=_ref.loading,multiple=_ref.multiple,hasFeedback=_ref.hasFeedback,prefixCls=_ref.prefixCls,showArrow=_ref.showArrow,feedbackIcon=_ref.feedbackIcon,mergedClearIcon=clearIcon;clearIcon||(mergedClearIcon=react.createElement(CloseCircleFilled.Z,null));var getSuffixIconNode=function getSuffixIconNode(arrowIcon){return react.createElement(react.Fragment,null,!1!==showArrow&&arrowIcon,hasFeedback&&feedbackIcon)},mergedSuffixIcon=null;if(void 0!==suffixIcon)mergedSuffixIcon=getSuffixIconNode(suffixIcon);else if(loading)mergedSuffixIcon=getSuffixIconNode(react.createElement(LoadingOutlined.Z,{spin:!0}));else{var iconCls="".concat(prefixCls,"-suffix");mergedSuffixIcon=function mergedSuffixIcon(_ref2){var open=_ref2.open,showSearch=_ref2.showSearch;return getSuffixIconNode(open&&showSearch?react.createElement(SearchOutlined.Z,{className:iconCls}):react.createElement(DownOutlined.Z,{className:iconCls}))}}return{clearIcon:mergedClearIcon,suffixIcon:mergedSuffixIcon,itemIcon:void 0!==menuItemSelectedIcon?menuItemSelectedIcon:multiple?react.createElement(icons_CheckOutlined,null):null,removeIcon:void 0!==removeIcon?removeIcon:react.createElement(CloseOutlined.Z,null)}}},"./node_modules/antd/es/skeleton/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>skeleton});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames);const skeleton_Title=function Title(_ref){var prefixCls=_ref.prefixCls,className=_ref.className,width=_ref.width,style=_ref.style;return react.createElement("h3",{className:classnames_default()(prefixCls,className),style:(0,esm_extends.Z)({width},style)})};var toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");const skeleton_Paragraph=function Paragraph(props){var getWidth=function getWidth(index){var width=props.width,_props$rows=props.rows,rows=void 0===_props$rows?2:_props$rows;return Array.isArray(width)?width[index]:rows-1===index?width:void 0},prefixCls=props.prefixCls,className=props.className,style=props.style,rows=props.rows,rowList=(0,toConsumableArray.Z)(Array(rows)).map((function(_,index){return react.createElement("li",{key:index,style:{width:getWidth(index)}})}));return react.createElement("ul",{className:classnames_default()(prefixCls,className),style},rowList)};var context=__webpack_require__("./node_modules/antd/es/config-provider/context.js");const skeleton_Element=function Element(props){var _classNames,_classNames2,prefixCls=props.prefixCls,className=props.className,style=props.style,size=props.size,shape=props.shape,sizeCls=classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-lg"),"large"===size),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-sm"),"small"===size),_classNames)),shapeCls=classnames_default()((_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-circle"),"circle"===shape),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-square"),"square"===shape),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-round"),"round"===shape),_classNames2)),sizeStyle="number"==typeof size?{width:size,height:size,lineHeight:"".concat(size,"px")}:{};return react.createElement("span",{className:classnames_default()(prefixCls,sizeCls,shapeCls,className),style:(0,esm_extends.Z)((0,esm_extends.Z)({},sizeStyle),style)})};var omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),SkeletonAvatar=function SkeletonAvatar(props){var customizePrefixCls=props.prefixCls,className=props.className,active=props.active,prefixCls=(0,react.useContext(context.E_).getPrefixCls)("skeleton",customizePrefixCls),otherProps=(0,omit.Z)(props,["prefixCls","className"]),cls=classnames_default()(prefixCls,"".concat(prefixCls,"-element"),(0,defineProperty.Z)({},"".concat(prefixCls,"-active"),active),className);return react.createElement("div",{className:cls},react.createElement(skeleton_Element,(0,esm_extends.Z)({prefixCls:"".concat(prefixCls,"-avatar")},otherProps)))};SkeletonAvatar.defaultProps={size:"default",shape:"circle"};const Avatar=SkeletonAvatar;var SkeletonButton=function SkeletonButton(props){var _classNames,customizePrefixCls=props.prefixCls,className=props.className,active=props.active,_props$block=props.block,block=void 0!==_props$block&&_props$block,prefixCls=(0,react.useContext(context.E_).getPrefixCls)("skeleton",customizePrefixCls),otherProps=(0,omit.Z)(props,["prefixCls"]),cls=classnames_default()(prefixCls,"".concat(prefixCls,"-element"),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-active"),active),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-block"),block),_classNames),className);return react.createElement("div",{className:cls},react.createElement(skeleton_Element,(0,esm_extends.Z)({prefixCls:"".concat(prefixCls,"-button")},otherProps)))};SkeletonButton.defaultProps={size:"default"};const Button=SkeletonButton;var SkeletonInput=function SkeletonInput(props){var _classNames,customizePrefixCls=props.prefixCls,className=props.className,active=props.active,block=props.block,prefixCls=(0,react.useContext(context.E_).getPrefixCls)("skeleton",customizePrefixCls),otherProps=(0,omit.Z)(props,["prefixCls"]),cls=classnames_default()(prefixCls,"".concat(prefixCls,"-element"),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-active"),active),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-block"),block),_classNames),className);return react.createElement("div",{className:cls},react.createElement(skeleton_Element,(0,esm_extends.Z)({prefixCls:"".concat(prefixCls,"-input")},otherProps)))};SkeletonInput.defaultProps={size:"default"};const Input=SkeletonInput;const Image=function SkeletonImage(props){var customizePrefixCls=props.prefixCls,className=props.className,style=props.style,prefixCls=(0,react.useContext(context.E_).getPrefixCls)("skeleton",customizePrefixCls),cls=classnames_default()(prefixCls,"".concat(prefixCls,"-element"),className);return react.createElement("div",{className:cls},react.createElement("div",{className:classnames_default()("".concat(prefixCls,"-image"),className),style},react.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(prefixCls,"-image-svg")},react.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(prefixCls,"-image-path")}))))};function getComponentProps(prop){return prop&&"object"===(0,esm_typeof.Z)(prop)?prop:{}}var Skeleton=function Skeleton(props){var customizePrefixCls=props.prefixCls,loading=props.loading,className=props.className,style=props.style,children=props.children,avatar=props.avatar,title=props.title,paragraph=props.paragraph,active=props.active,round=props.round,_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,prefixCls=getPrefixCls("skeleton",customizePrefixCls);if(loading||!("loading"in props)){var _classNames,avatarNode,contentNode,hasAvatar=!!avatar,hasTitle=!!title,hasParagraph=!!paragraph;if(hasAvatar){var avatarProps=(0,esm_extends.Z)((0,esm_extends.Z)({prefixCls:"".concat(prefixCls,"-avatar")},function getAvatarBasicProps(hasTitle,hasParagraph){return hasTitle&&!hasParagraph?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(hasTitle,hasParagraph)),getComponentProps(avatar));avatarNode=react.createElement("div",{className:"".concat(prefixCls,"-header")},react.createElement(skeleton_Element,avatarProps))}if(hasTitle||hasParagraph){var $title,paragraphNode;if(hasTitle){var titleProps=(0,esm_extends.Z)((0,esm_extends.Z)({prefixCls:"".concat(prefixCls,"-title")},function getTitleBasicProps(hasAvatar,hasParagraph){return!hasAvatar&&hasParagraph?{width:"38%"}:hasAvatar&&hasParagraph?{width:"50%"}:{}}(hasAvatar,hasParagraph)),getComponentProps(title));$title=react.createElement(skeleton_Title,titleProps)}if(hasParagraph){var paragraphProps=(0,esm_extends.Z)((0,esm_extends.Z)({prefixCls:"".concat(prefixCls,"-paragraph")},function getParagraphBasicProps(hasAvatar,hasTitle){var basicProps={};return hasAvatar&&hasTitle||(basicProps.width="61%"),basicProps.rows=!hasAvatar&&hasTitle?3:2,basicProps}(hasAvatar,hasTitle)),getComponentProps(paragraph));paragraphNode=react.createElement(skeleton_Paragraph,paragraphProps)}contentNode=react.createElement("div",{className:"".concat(prefixCls,"-content")},$title,paragraphNode)}var cls=classnames_default()(prefixCls,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-with-avatar"),hasAvatar),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-active"),active),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-round"),round),_classNames),className);return react.createElement("div",{className:cls,style},avatarNode,contentNode)}return void 0!==children?children:null};Skeleton.defaultProps={avatar:!1,title:!0,paragraph:!0},Skeleton.Button=Button,Skeleton.Avatar=Avatar,Skeleton.Input=Input,Skeleton.Image=Image;const skeleton=Skeleton},"./node_modules/antd/es/space/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>SpaceContext,Z:()=>space});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),toArray=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/Children/toArray.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js");function Item(_ref){var className=_ref.className,direction=_ref.direction,index=_ref.index,marginDirection=_ref.marginDirection,children=_ref.children,split=_ref.split,wrap=_ref.wrap,_React$useContext=react.useContext(SpaceContext),horizontalSize=_React$useContext.horizontalSize,verticalSize=_React$useContext.verticalSize,latestIndex=_React$useContext.latestIndex,style={};return _React$useContext.supportFlexGap||("vertical"===direction?index<latestIndex&&(style={marginBottom:horizontalSize/(split?2:1)}):style=(0,esm_extends.Z)((0,esm_extends.Z)({},index<latestIndex&&(0,defineProperty.Z)({},marginDirection,horizontalSize/(split?2:1))),wrap&&{paddingBottom:verticalSize})),null==children?null:react.createElement(react.Fragment,null,react.createElement("div",{className,style},children),index<latestIndex&&split&&react.createElement("span",{className:"".concat(className,"-split"),style},split))}var useFlexGapSupport=__webpack_require__("./node_modules/antd/es/_util/hooks/useFlexGapSupport.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},SpaceContext=react.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),spaceSize={small:8,middle:16,large:24};const space=function Space(props){var _classNames,_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,space=_React$useContext.space,directionConfig=_React$useContext.direction,_props$size=props.size,size=void 0===_props$size?(null==space?void 0:space.size)||"small":_props$size,align=props.align,className=props.className,children=props.children,_props$direction=props.direction,direction=void 0===_props$direction?"horizontal":_props$direction,customizePrefixCls=props.prefixCls,split=props.split,style=props.style,_props$wrap=props.wrap,wrap=void 0!==_props$wrap&&_props$wrap,otherProps=__rest(props,["size","align","className","children","direction","prefixCls","split","style","wrap"]),supportFlexGap=(0,useFlexGapSupport.Z)(),_React$useMemo=react.useMemo((function(){return(Array.isArray(size)?size:[size,size]).map((function(item){return function getNumberSize(size){return"string"==typeof size?spaceSize[size]:size||0}(item)}))}),[size]),_React$useMemo2=(0,slicedToArray.Z)(_React$useMemo,2),horizontalSize=_React$useMemo2[0],verticalSize=_React$useMemo2[1],childNodes=(0,toArray.Z)(children,{keepEmpty:!0}),mergedAlign=void 0===align&&"horizontal"===direction?"center":align,prefixCls=getPrefixCls("space",customizePrefixCls),cn=classnames_default()(prefixCls,"".concat(prefixCls,"-").concat(direction),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===directionConfig),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-align-").concat(mergedAlign),mergedAlign),_classNames),className),itemClassName="".concat(prefixCls,"-item"),marginDirection="rtl"===directionConfig?"marginLeft":"marginRight",latestIndex=0,nodes=childNodes.map((function(child,i){null!=child&&(latestIndex=i);var key=child&&child.key||"".concat(itemClassName,"-").concat(i);return react.createElement(Item,{className:itemClassName,key,direction,index:i,marginDirection,split,wrap},child)})),spaceContext=react.useMemo((function(){return{horizontalSize,verticalSize,latestIndex,supportFlexGap}}),[horizontalSize,verticalSize,latestIndex,supportFlexGap]);if(0===childNodes.length)return null;var gapStyle={};return wrap&&(gapStyle.flexWrap="wrap",supportFlexGap||(gapStyle.marginBottom=-verticalSize)),supportFlexGap&&(gapStyle.columnGap=horizontalSize,gapStyle.rowGap=verticalSize),react.createElement("div",(0,esm_extends.Z)({className:cn,style:(0,esm_extends.Z)((0,esm_extends.Z)({},gapStyle),style)},otherProps),react.createElement(SpaceContext.Provider,{value:spaceContext},nodes))}},"./node_modules/antd/es/spin/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),lodash_debounce__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lodash/debounce.js"),lodash_debounce__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(lodash_debounce__WEBPACK_IMPORTED_MODULE_2__),_config_provider__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),_util_type__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/antd/es/_util/type.js"),_util_reactNode__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/antd/es/_util/reactNode.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},defaultIndicator=((0,_util_type__WEBPACK_IMPORTED_MODULE_3__.b)("small","default","large"),null);var Spin=function(_React$Component){(0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__.Z)(Spin,_React$Component);var _super=(0,_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_6__.Z)(Spin);function Spin(props){var _this;(0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_7__.Z)(this,Spin),(_this=_super.call(this,props)).debouncifyUpdateSpinning=function(props){var delay=(props||_this.props).delay;delay&&(_this.cancelExistingSpin(),_this.updateSpinning=lodash_debounce__WEBPACK_IMPORTED_MODULE_2___default()(_this.originalUpdateSpinning,delay))},_this.updateSpinning=function(){var spinning=_this.props.spinning;_this.state.spinning!==spinning&&_this.setState({spinning})},_this.renderSpin=function(_ref2){var _classNames,direction=_ref2.direction,_a=_this.props,prefixCls=_a.spinPrefixCls,className=_a.className,size=_a.size,tip=_a.tip,wrapperClassName=_a.wrapperClassName,style=_a.style,restProps=__rest(_a,["spinPrefixCls","className","size","tip","wrapperClassName","style"]),spinning=_this.state.spinning,spinClassName=classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls,(_classNames={},(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.Z)(_classNames,"".concat(prefixCls,"-sm"),"small"===size),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.Z)(_classNames,"".concat(prefixCls,"-lg"),"large"===size),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.Z)(_classNames,"".concat(prefixCls,"-spinning"),spinning),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.Z)(_classNames,"".concat(prefixCls,"-show-text"),!!tip),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className),divProps=(0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__.Z)(restProps,["spinning","delay","indicator","prefixCls"]),spinElement=react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__.Z)({},divProps,{style,className:spinClassName,"aria-live":"polite","aria-busy":spinning}),function renderIndicator(prefixCls,props){var indicator=props.indicator,dotClassName="".concat(prefixCls,"-dot");return null===indicator?null:(0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__.l$)(indicator)?(0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__.Tm)(indicator,{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(indicator.props.className,dotClassName)}):(0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__.l$)(defaultIndicator)?(0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__.Tm)(defaultIndicator,{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(defaultIndicator.props.className,dotClassName)}):react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()(dotClassName,"".concat(prefixCls,"-dot-spin"))},react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"".concat(prefixCls,"-dot-item")}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"".concat(prefixCls,"-dot-item")}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"".concat(prefixCls,"-dot-item")}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"".concat(prefixCls,"-dot-item")}))}(prefixCls,_this.props),tip?react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"".concat(prefixCls,"-text")},tip):null);if(_this.isNestedPattern()){var containerClassName=classnames__WEBPACK_IMPORTED_MODULE_1___default()("".concat(prefixCls,"-container"),(0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.Z)({},"".concat(prefixCls,"-blur"),spinning));return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__.Z)({},divProps,{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()("".concat(prefixCls,"-nested-loading"),wrapperClassName)}),spinning&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{key:"loading"},spinElement),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:containerClassName,key:"container"},_this.props.children))}return spinElement};var spinning=props.spinning,shouldBeDelayed=function shouldDelay(spinning,delay){return!!spinning&&!!delay&&!isNaN(Number(delay))}(spinning,props.delay);return _this.state={spinning:spinning&&!shouldBeDelayed},_this.originalUpdateSpinning=_this.updateSpinning,_this.debouncifyUpdateSpinning(props),_this}return(0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_11__.Z)(Spin,[{key:"componentDidMount",value:function componentDidMount(){this.updateSpinning()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.debouncifyUpdateSpinning(),this.updateSpinning()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.cancelExistingSpin()}},{key:"cancelExistingSpin",value:function cancelExistingSpin(){var updateSpinning=this.updateSpinning;updateSpinning&&updateSpinning.cancel&&updateSpinning.cancel()}},{key:"isNestedPattern",value:function isNestedPattern(){return!(!this.props||void 0===this.props.children)}},{key:"render",value:function render(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_config_provider__WEBPACK_IMPORTED_MODULE_12__.C,null,this.renderSpin)}}]),Spin}(react__WEBPACK_IMPORTED_MODULE_0__.Component);Spin.defaultProps={spinning:!0,size:"default",wrapperClassName:""};var SpinFC=function SpinFC(props){var customizePrefixCls=props.prefixCls,spinPrefixCls=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_12__.E_).getPrefixCls)("spin",customizePrefixCls),spinClassProps=(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__.Z)({},props),{spinPrefixCls});return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Spin,spinClassProps)};SpinFC.setDefaultIndicator=function(indicator){defaultIndicator=indicator};const __WEBPACK_DEFAULT_EXPORT__=SpinFC},"./node_modules/antd/es/switch/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>es_switch});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),react=__webpack_require__("./node_modules/react/index.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),useMergedState=__webpack_require__("./node_modules/rc-util/es/hooks/useMergedState.js"),KeyCode=__webpack_require__("./node_modules/rc-util/es/KeyCode.js"),Switch=react.forwardRef((function(_ref,ref){var _classNames,_ref$prefixCls=_ref.prefixCls,prefixCls=void 0===_ref$prefixCls?"rc-switch":_ref$prefixCls,className=_ref.className,checked=_ref.checked,defaultChecked=_ref.defaultChecked,disabled=_ref.disabled,loadingIcon=_ref.loadingIcon,checkedChildren=_ref.checkedChildren,unCheckedChildren=_ref.unCheckedChildren,onClick=_ref.onClick,onChange=_ref.onChange,onKeyDown=_ref.onKeyDown,restProps=(0,objectWithoutProperties.Z)(_ref,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),_useMergedState=(0,useMergedState.Z)(!1,{value:checked,defaultValue:defaultChecked}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),innerChecked=_useMergedState2[0],setInnerChecked=_useMergedState2[1];function triggerChange(newChecked,event){var mergedChecked=innerChecked;return disabled||(setInnerChecked(mergedChecked=newChecked),null==onChange||onChange(mergedChecked,event)),mergedChecked}var switchClassName=classnames_default()(prefixCls,className,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-checked"),innerChecked),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-disabled"),disabled),_classNames));return react.createElement("button",Object.assign({},restProps,{type:"button",role:"switch","aria-checked":innerChecked,disabled,className:switchClassName,ref,onKeyDown:function onInternalKeyDown(e){e.which===KeyCode.Z.LEFT?triggerChange(!1,e):e.which===KeyCode.Z.RIGHT&&triggerChange(!0,e),null==onKeyDown||onKeyDown(e)},onClick:function onInternalClick(e){var ret=triggerChange(!innerChecked,e);null==onClick||onClick(ret,e)}}),loadingIcon,react.createElement("span",{className:"".concat(prefixCls,"-inner")},innerChecked?checkedChildren:unCheckedChildren))}));Switch.displayName="Switch";const es=Switch;var LoadingOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js"),wave=__webpack_require__("./node_modules/antd/es/_util/wave.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},switch_Switch=react.forwardRef((function(_a,ref){var _classNames,customizePrefixCls=_a.prefixCls,customizeSize=_a.size,loading=_a.loading,_a$className=_a.className,className=void 0===_a$className?"":_a$className,disabled=_a.disabled,props=__rest(_a,["prefixCls","size","loading","className","disabled"]),_React$useContext=react.useContext(context.E_),getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,size=react.useContext(SizeContext.Z),prefixCls=getPrefixCls("switch",customizePrefixCls),loadingIcon=react.createElement("div",{className:"".concat(prefixCls,"-handle")},loading&&react.createElement(LoadingOutlined.Z,{className:"".concat(prefixCls,"-loading-icon")})),classes=classnames_default()((_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-small"),"small"===(customizeSize||size)),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-loading"),loading),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-rtl"),"rtl"===direction),_classNames),className);return react.createElement(wave.Z,{insertExtraNode:!0},react.createElement(es,(0,esm_extends.Z)({},props,{prefixCls,className:classes,disabled:disabled||loading,ref,loadingIcon})))}));switch_Switch.__ANT_SWITCH=!0,switch_Switch.displayName="Switch";const es_switch=switch_Switch},"./node_modules/antd/es/time-picker/locale/en_US.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},"./node_modules/antd/es/tooltip/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>tooltip});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),es=__webpack_require__("./node_modules/rc-trigger/es/index.js"),placements=__webpack_require__("./node_modules/rc-tooltip/es/placements.js");const es_Content=function Content(props){var overlay=props.overlay,prefixCls=props.prefixCls,id=props.id,overlayInnerStyle=props.overlayInnerStyle;return react.createElement("div",{className:"".concat(prefixCls,"-inner"),id,role:"tooltip",style:overlayInnerStyle},"function"==typeof overlay?overlay():overlay)};var Tooltip=function Tooltip(props,ref){var overlayClassName=props.overlayClassName,_props$trigger=props.trigger,trigger=void 0===_props$trigger?["hover"]:_props$trigger,_props$mouseEnterDela=props.mouseEnterDelay,mouseEnterDelay=void 0===_props$mouseEnterDela?0:_props$mouseEnterDela,_props$mouseLeaveDela=props.mouseLeaveDelay,mouseLeaveDelay=void 0===_props$mouseLeaveDela?.1:_props$mouseLeaveDela,overlayStyle=props.overlayStyle,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-tooltip":_props$prefixCls,children=props.children,onVisibleChange=props.onVisibleChange,afterVisibleChange=props.afterVisibleChange,transitionName=props.transitionName,animation=props.animation,motion=props.motion,_props$placement=props.placement,placement=void 0===_props$placement?"right":_props$placement,_props$align=props.align,align=void 0===_props$align?{}:_props$align,_props$destroyTooltip=props.destroyTooltipOnHide,destroyTooltipOnHide=void 0!==_props$destroyTooltip&&_props$destroyTooltip,defaultVisible=props.defaultVisible,getTooltipContainer=props.getTooltipContainer,overlayInnerStyle=props.overlayInnerStyle,restProps=(0,objectWithoutProperties.Z)(props,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),domRef=(0,react.useRef)(null);(0,react.useImperativeHandle)(ref,(function(){return domRef.current}));var extraProps=(0,objectSpread2.Z)({},restProps);"visible"in props&&(extraProps.popupVisible=props.visible);var destroyTooltip=!1,autoDestroy=!1;if("boolean"==typeof destroyTooltipOnHide)destroyTooltip=destroyTooltipOnHide;else if(destroyTooltipOnHide&&"object"===(0,esm_typeof.Z)(destroyTooltipOnHide)){var keepParent=destroyTooltipOnHide.keepParent;destroyTooltip=!0===keepParent,autoDestroy=!1===keepParent}return react.createElement(es.Z,(0,esm_extends.Z)({popupClassName:overlayClassName,prefixCls,popup:function getPopupElement(){var _props$arrowContent=props.arrowContent,arrowContent=void 0===_props$arrowContent?null:_props$arrowContent,overlay=props.overlay,id=props.id;return[react.createElement("div",{className:"".concat(prefixCls,"-arrow"),key:"arrow"},arrowContent),react.createElement(es_Content,{key:"content",prefixCls,id,overlay,overlayInnerStyle})]},action:trigger,builtinPlacements:placements.C,popupPlacement:placement,ref:domRef,popupAlign:align,getPopupContainer:getTooltipContainer,onPopupVisibleChange:onVisibleChange,afterPopupVisibleChange:afterVisibleChange,popupTransitionName:transitionName,popupAnimation:animation,popupMotion:motion,defaultPopupVisible:defaultVisible,destroyPopupOnHide:destroyTooltip,autoDestroy,mouseLeaveDelay,popupStyle:overlayStyle,mouseEnterDelay},extraProps),children)};const rc_tooltip_es=(0,react.forwardRef)(Tooltip);var useMergedState=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/hooks/useMergedState.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),_util_placements=__webpack_require__("./node_modules/antd/es/_util/placements.js"),reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),colors=__webpack_require__("./node_modules/antd/es/_util/colors.js"),motion=__webpack_require__("./node_modules/antd/es/_util/motion.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},PresetColorRegex=new RegExp("^(".concat(colors.Y.join("|"),")(-inverse)?$"));function getDisabledCompatibleChildren(element,prefixCls){var elementType=element.type;if((!0===elementType.__ANT_BUTTON||"button"===element.type)&&element.props.disabled||!0===elementType.__ANT_SWITCH&&(element.props.disabled||element.props.loading)){var _splitObject=function splitObject(obj,keys){var picked={},omitted=(0,esm_extends.Z)({},obj);return keys.forEach((function(key){obj&&key in obj&&(picked[key]=obj[key],delete omitted[key])})),{picked,omitted}}(element.props.style,["position","left","right","top","bottom","float","display","zIndex"]),picked=_splitObject.picked,omitted=_splitObject.omitted,spanStyle=(0,esm_extends.Z)((0,esm_extends.Z)({display:"inline-block"},picked),{cursor:"not-allowed",width:element.props.block?"100%":null}),buttonStyle=(0,esm_extends.Z)((0,esm_extends.Z)({},omitted),{pointerEvents:"none"}),child=(0,reactNode.Tm)(element,{style:buttonStyle,className:null});return react.createElement("span",{style:spanStyle,className:classnames_default()(element.props.className,"".concat(prefixCls,"-disabled-compatible-wrapper"))},child)}return element}var tooltip_Tooltip=react.forwardRef((function(props,ref){var _classNames2,_React$useContext=react.useContext(context.E_),getContextPopupContainer=_React$useContext.getPopupContainer,getPrefixCls=_React$useContext.getPrefixCls,direction=_React$useContext.direction,_useMergedState=(0,useMergedState.Z)(!1,{value:props.visible,defaultValue:props.defaultVisible}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),visible=_useMergedState2[0],setVisible=_useMergedState2[1],isNoTitle=function isNoTitle(){var title=props.title,overlay=props.overlay;return!title&&!overlay&&0!==title},getTooltipPlacements=function getTooltipPlacements(){var builtinPlacements=props.builtinPlacements,arrowPointAtCenter=props.arrowPointAtCenter,autoAdjustOverflow=props.autoAdjustOverflow;return builtinPlacements||(0,_util_placements.Z)({arrowPointAtCenter,autoAdjustOverflow})},getPopupContainer=props.getPopupContainer,otherProps=__rest(props,["getPopupContainer"]),customizePrefixCls=props.prefixCls,openClassName=props.openClassName,getTooltipContainer=props.getTooltipContainer,overlayClassName=props.overlayClassName,color=props.color,overlayInnerStyle=props.overlayInnerStyle,children=props.children,prefixCls=getPrefixCls("tooltip",customizePrefixCls),rootPrefixCls=getPrefixCls(),tempVisible=visible;!("visible"in props)&&isNoTitle()&&(tempVisible=!1);var arrowContentStyle,child=getDisabledCompatibleChildren((0,reactNode.l$)(children)?children:react.createElement("span",null,children),prefixCls),childProps=child.props,childCls=classnames_default()(childProps.className,(0,defineProperty.Z)({},openClassName||"".concat(prefixCls,"-open"),!0)),customOverlayClassName=classnames_default()(overlayClassName,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-").concat(color),color&&PresetColorRegex.test(color)),_classNames2)),formattedOverlayInnerStyle=overlayInnerStyle;return color&&!PresetColorRegex.test(color)&&(formattedOverlayInnerStyle=(0,esm_extends.Z)((0,esm_extends.Z)({},overlayInnerStyle),{background:color}),arrowContentStyle={"--antd-arrow-background-color":color}),react.createElement(rc_tooltip_es,(0,esm_extends.Z)({},otherProps,{prefixCls,overlayClassName:customOverlayClassName,getTooltipContainer:getPopupContainer||getTooltipContainer||getContextPopupContainer,ref,builtinPlacements:getTooltipPlacements(),overlay:function getOverlay(){var title=props.title,overlay=props.overlay;return 0===title?title:overlay||title||""}(),visible:tempVisible,onVisibleChange:function onVisibleChange(vis){var _a;setVisible(!isNoTitle()&&vis),isNoTitle()||null===(_a=props.onVisibleChange)||void 0===_a||_a.call(props,vis)},onPopupAlign:function onPopupAlign(domNode,align){var placements=getTooltipPlacements(),placement=Object.keys(placements).find((function(key){return placements[key].points[0]===align.points[0]&&placements[key].points[1]===align.points[1]}));if(placement){var rect=domNode.getBoundingClientRect(),transformOrigin={top:"50%",left:"50%"};placement.indexOf("top")>=0||placement.indexOf("Bottom")>=0?transformOrigin.top="".concat(rect.height-align.offset[1],"px"):(placement.indexOf("Top")>=0||placement.indexOf("bottom")>=0)&&(transformOrigin.top="".concat(-align.offset[1],"px")),placement.indexOf("left")>=0||placement.indexOf("Right")>=0?transformOrigin.left="".concat(rect.width-align.offset[0],"px"):(placement.indexOf("right")>=0||placement.indexOf("Left")>=0)&&(transformOrigin.left="".concat(-align.offset[0],"px")),domNode.style.transformOrigin="".concat(transformOrigin.left," ").concat(transformOrigin.top)}},overlayInnerStyle:formattedOverlayInnerStyle,arrowContent:react.createElement("span",{className:"".concat(prefixCls,"-arrow-content"),style:arrowContentStyle}),motion:{motionName:(0,motion.mL)(rootPrefixCls,"zoom-big-fast",props.transitionName),motionDeadline:1e3}}),tempVisible?(0,reactNode.Tm)(child,{className:childCls}):child)}));tooltip_Tooltip.displayName="Tooltip",tooltip_Tooltip.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};const tooltip=tooltip_Tooltip},"./node_modules/antd/es/tree-select/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>tree_select});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),react=__webpack_require__("./node_modules/react/index.js"),toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),es=__webpack_require__("./node_modules/rc-select/es/index.js"),conductUtil=__webpack_require__("./node_modules/rc-tree/es/utils/conductUtil.js"),useId=__webpack_require__("./node_modules/rc-select/es/hooks/useId.js"),useMergedState=__webpack_require__("./node_modules/rc-util/es/hooks/useMergedState.js"),KeyCode=__webpack_require__("./node_modules/rc-util/es/KeyCode.js"),useMemo=__webpack_require__("./node_modules/rc-util/es/hooks/useMemo.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),assertThisInitialized=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),es_warning=__webpack_require__("./node_modules/rc-util/es/warning.js"),pickAttrs=__webpack_require__("./node_modules/rc-util/es/pickAttrs.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),contextTypes=__webpack_require__("./node_modules/rc-tree/es/contextTypes.js"),util=__webpack_require__("./node_modules/rc-tree/es/util.js"),treeUtil=__webpack_require__("./node_modules/rc-tree/es/utils/treeUtil.js"),rc_virtual_list_es=__webpack_require__("./node_modules/rc-virtual-list/es/index.js"),rc_motion_es=__webpack_require__("./node_modules/rc-motion/es/index.js"),TreeNode=__webpack_require__("./node_modules/rc-tree/es/TreeNode.js"),_excluded=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],MotionTreeNode=function MotionTreeNode(_ref,ref){var className=_ref.className,style=_ref.style,motion=_ref.motion,motionNodes=_ref.motionNodes,motionType=_ref.motionType,onOriginMotionStart=_ref.onMotionStart,onOriginMotionEnd=_ref.onMotionEnd,active=_ref.active,treeNodeRequiredProps=_ref.treeNodeRequiredProps,props=(0,objectWithoutProperties.Z)(_ref,_excluded),_React$useState=react.useState(!0),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),visible=_React$useState2[0],setVisible=_React$useState2[1],prefixCls=react.useContext(contextTypes.k).prefixCls,motionedRef=react.useRef(!1),onMotionEnd=function onMotionEnd(){motionedRef.current||onOriginMotionEnd(),motionedRef.current=!0};return(0,react.useEffect)((function(){motionNodes&&"hide"===motionType&&visible&&setVisible(!1)}),[motionNodes]),(0,react.useEffect)((function(){return motionNodes&&onOriginMotionStart(),function(){motionNodes&&onMotionEnd()}}),[]),motionNodes?react.createElement(rc_motion_es.Z,(0,esm_extends.Z)({ref,visible},motion,{motionAppear:"show"===motionType,onAppearEnd:onMotionEnd,onLeaveEnd:onMotionEnd}),(function(_ref2,motionRef){var motionClassName=_ref2.className,motionStyle=_ref2.style;return react.createElement("div",{ref:motionRef,className:classnames_default()("".concat(prefixCls,"-treenode-motion"),motionClassName),style:motionStyle},motionNodes.map((function(treeNode){var restProps=(0,esm_extends.Z)({},treeNode.data),title=treeNode.title,key=treeNode.key,isStart=treeNode.isStart,isEnd=treeNode.isEnd;delete restProps.children;var treeNodeProps=(0,treeUtil.H8)(key,treeNodeRequiredProps);return react.createElement(TreeNode.Z,(0,esm_extends.Z)({},restProps,treeNodeProps,{title,active,data:treeNode.data,key,isStart,isEnd}))})))})):react.createElement(TreeNode.Z,(0,esm_extends.Z)({domRef:ref,className,style},props,{active}))};MotionTreeNode.displayName="MotionTreeNode";const es_MotionTreeNode=react.forwardRef(MotionTreeNode);function getExpandRange(shorter,longer,key){var shorterStartIndex=shorter.findIndex((function(data){return data.key===key})),shorterEndNode=shorter[shorterStartIndex+1],longerStartIndex=longer.findIndex((function(data){return data.key===key}));if(shorterEndNode){var longerEndIndex=longer.findIndex((function(data){return data.key===shorterEndNode.key}));return longer.slice(longerStartIndex+1,longerEndIndex)}return longer.slice(longerStartIndex+1)}var NodeList_excluded=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],HIDDEN_STYLE={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},noop=function noop(){},MOTION_KEY="RC_TREE_MOTION_".concat(Math.random()),MotionNode={key:MOTION_KEY},MotionEntity={key:MOTION_KEY,level:0,index:0,pos:"0",node:MotionNode,nodes:[MotionNode]},MotionFlattenData={parent:null,children:[],pos:MotionEntity.pos,data:MotionNode,title:null,key:MOTION_KEY,isStart:[],isEnd:[]};function getMinimumRangeTransitionRange(list,virtual,height,itemHeight){return!1!==virtual&&height?list.slice(0,Math.ceil(height/itemHeight)+1):list}function itemKey(item){var key=item.key,pos=item.pos;return(0,treeUtil.km)(key,pos)}var RefNodeList=function RefNodeList(props,ref){var prefixCls=props.prefixCls,data=props.data,expandedKeys=(props.selectable,props.checkable,props.expandedKeys),selectedKeys=props.selectedKeys,checkedKeys=props.checkedKeys,loadedKeys=props.loadedKeys,loadingKeys=props.loadingKeys,halfCheckedKeys=props.halfCheckedKeys,keyEntities=props.keyEntities,disabled=props.disabled,dragging=props.dragging,dragOverNodeKey=props.dragOverNodeKey,dropPosition=props.dropPosition,motion=props.motion,height=props.height,itemHeight=props.itemHeight,virtual=props.virtual,focusable=props.focusable,activeItem=props.activeItem,focused=props.focused,tabIndex=props.tabIndex,onKeyDown=props.onKeyDown,onFocus=props.onFocus,onBlur=props.onBlur,onActiveChange=props.onActiveChange,onListChangeStart=props.onListChangeStart,onListChangeEnd=props.onListChangeEnd,domProps=(0,objectWithoutProperties.Z)(props,NodeList_excluded),listRef=react.useRef(null),indentMeasurerRef=react.useRef(null);react.useImperativeHandle(ref,(function(){return{scrollTo:function scrollTo(scroll){listRef.current.scrollTo(scroll)},getIndentWidth:function getIndentWidth(){return indentMeasurerRef.current.offsetWidth}}}));var _React$useState=react.useState(expandedKeys),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),prevExpandedKeys=_React$useState2[0],setPrevExpandedKeys=_React$useState2[1],_React$useState3=react.useState(data),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),prevData=_React$useState4[0],setPrevData=_React$useState4[1],_React$useState5=react.useState(data),_React$useState6=(0,slicedToArray.Z)(_React$useState5,2),transitionData=_React$useState6[0],setTransitionData=_React$useState6[1],_React$useState7=react.useState([]),_React$useState8=(0,slicedToArray.Z)(_React$useState7,2),transitionRange=_React$useState8[0],setTransitionRange=_React$useState8[1],_React$useState9=react.useState(null),_React$useState10=(0,slicedToArray.Z)(_React$useState9,2),motionType=_React$useState10[0],setMotionType=_React$useState10[1];function onMotionEnd(){setPrevData(data),setTransitionData(data),setTransitionRange([]),setMotionType(null),onListChangeEnd()}react.useEffect((function(){setPrevExpandedKeys(expandedKeys);var diffExpanded=function findExpandedKeys(){var prev=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],next=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],prevLen=prev.length,nextLen=next.length;if(1!==Math.abs(prevLen-nextLen))return{add:!1,key:null};function find(shorter,longer){var cache=new Map;shorter.forEach((function(key){cache.set(key,!0)}));var keys=longer.filter((function(key){return!cache.has(key)}));return 1===keys.length?keys[0]:null}return prevLen<nextLen?{add:!0,key:find(prev,next)}:{add:!1,key:find(next,prev)}}(prevExpandedKeys,expandedKeys);if(null!==diffExpanded.key)if(diffExpanded.add){var keyIndex=prevData.findIndex((function(_ref){return _ref.key===diffExpanded.key})),rangeNodes=getMinimumRangeTransitionRange(getExpandRange(prevData,data,diffExpanded.key),virtual,height,itemHeight),newTransitionData=prevData.slice();newTransitionData.splice(keyIndex+1,0,MotionFlattenData),setTransitionData(newTransitionData),setTransitionRange(rangeNodes),setMotionType("show")}else{var _keyIndex=data.findIndex((function(_ref2){return _ref2.key===diffExpanded.key})),_rangeNodes=getMinimumRangeTransitionRange(getExpandRange(data,prevData,diffExpanded.key),virtual,height,itemHeight),_newTransitionData=data.slice();_newTransitionData.splice(_keyIndex+1,0,MotionFlattenData),setTransitionData(_newTransitionData),setTransitionRange(_rangeNodes),setMotionType("hide")}else prevData!==data&&(setPrevData(data),setTransitionData(data))}),[expandedKeys,data]),react.useEffect((function(){dragging||onMotionEnd()}),[dragging]);var mergedData=motion?transitionData:data,treeNodeRequiredProps={expandedKeys,selectedKeys,loadedKeys,loadingKeys,checkedKeys,halfCheckedKeys,dragOverNodeKey,dropPosition,keyEntities};return react.createElement(react.Fragment,null,focused&&activeItem&&react.createElement("span",{style:HIDDEN_STYLE,"aria-live":"assertive"},function getAccessibilityPath(item){for(var path=String(item.data.key),current=item;current.parent;)current=current.parent,path="".concat(current.data.key," > ").concat(path);return path}(activeItem)),react.createElement("div",null,react.createElement("input",{style:HIDDEN_STYLE,disabled:!1===focusable||disabled,tabIndex:!1!==focusable?tabIndex:null,onKeyDown,onFocus,onBlur,value:"",onChange:noop,"aria-label":"for screen reader"})),react.createElement("div",{className:"".concat(prefixCls,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},react.createElement("div",{className:"".concat(prefixCls,"-indent")},react.createElement("div",{ref:indentMeasurerRef,className:"".concat(prefixCls,"-indent-unit")}))),react.createElement(rc_virtual_list_es.Z,(0,esm_extends.Z)({},domProps,{data:mergedData,itemKey,height,fullHeight:!1,virtual,itemHeight,prefixCls:"".concat(prefixCls,"-list"),ref:listRef,onVisibleChange:function onVisibleChange(originList,fullList){var originSet=new Set(originList);fullList.filter((function(item){return!originSet.has(item)})).some((function(item){return itemKey(item)===MOTION_KEY}))&&onMotionEnd()}}),(function(treeNode){var pos=treeNode.pos,restProps=(0,esm_extends.Z)({},treeNode.data),title=treeNode.title,key=treeNode.key,isStart=treeNode.isStart,isEnd=treeNode.isEnd,mergedKey=(0,treeUtil.km)(key,pos);delete restProps.key,delete restProps.children;var treeNodeProps=(0,treeUtil.H8)(mergedKey,treeNodeRequiredProps);return react.createElement(es_MotionTreeNode,(0,esm_extends.Z)({},restProps,treeNodeProps,{title,active:!!activeItem&&key===activeItem.key,pos,data:treeNode.data,isStart,isEnd,motion,motionNodes:key===MOTION_KEY?transitionRange:null,motionType,onMotionStart:onListChangeStart,onMotionEnd,treeNodeRequiredProps,onMouseMove:function onMouseMove(){onActiveChange(null)}}))})))},NodeList=react.forwardRef(RefNodeList);NodeList.displayName="NodeList";const es_NodeList=NodeList;var Tree=function(_React$Component){(0,inherits.Z)(Tree,_React$Component);var _super=(0,createSuper.Z)(Tree);function Tree(){var _this;(0,classCallCheck.Z)(this,Tree);for(var _len=arguments.length,_args=new Array(_len),_key=0;_key<_len;_key++)_args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(_args))).destroyed=!1,_this.delayedDragEnterLogic=void 0,_this.loadingRetryTimes={},_this.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,treeUtil.w$)()},_this.dragStartMousePosition=null,_this.dragNode=void 0,_this.currentMouseOverDroppableNodeKey=null,_this.listRef=react.createRef(),_this.onNodeDragStart=function(event,node){var _this$state=_this.state,expandedKeys=_this$state.expandedKeys,keyEntities=_this$state.keyEntities,onDragStart=_this.props.onDragStart,eventKey=node.props.eventKey;_this.dragNode=node,_this.dragStartMousePosition={x:event.clientX,y:event.clientY};var newExpandedKeys=(0,util._5)(expandedKeys,eventKey);_this.setState({draggingNodeKey:eventKey,dragChildrenKeys:(0,util.wA)(eventKey,keyEntities),indent:_this.listRef.current.getIndentWidth()}),_this.setExpandedKeys(newExpandedKeys),window.addEventListener("dragend",_this.onWindowDragEnd),null==onDragStart||onDragStart({event,node:(0,treeUtil.F)(node.props)})},_this.onNodeDragEnter=function(event,node){var _this$state2=_this.state,expandedKeys=_this$state2.expandedKeys,keyEntities=_this$state2.keyEntities,dragChildrenKeys=_this$state2.dragChildrenKeys,flattenNodes=_this$state2.flattenNodes,indent=_this$state2.indent,_this$props=_this.props,onDragEnter=_this$props.onDragEnter,onExpand=_this$props.onExpand,allowDrop=_this$props.allowDrop,direction=_this$props.direction,_node$props=node.props,pos=_node$props.pos,eventKey=_node$props.eventKey,dragNode=(0,assertThisInitialized.Z)(_this).dragNode;if(_this.currentMouseOverDroppableNodeKey!==eventKey&&(_this.currentMouseOverDroppableNodeKey=eventKey),dragNode){var _calcDropPosition=(0,util.OM)(event,dragNode,node,indent,_this.dragStartMousePosition,allowDrop,flattenNodes,keyEntities,expandedKeys,direction),dropPosition=_calcDropPosition.dropPosition,dropLevelOffset=_calcDropPosition.dropLevelOffset,dropTargetKey=_calcDropPosition.dropTargetKey,dropContainerKey=_calcDropPosition.dropContainerKey,dropTargetPos=_calcDropPosition.dropTargetPos,dropAllowed=_calcDropPosition.dropAllowed,dragOverNodeKey=_calcDropPosition.dragOverNodeKey;-1===dragChildrenKeys.indexOf(dropTargetKey)&&dropAllowed?(_this.delayedDragEnterLogic||(_this.delayedDragEnterLogic={}),Object.keys(_this.delayedDragEnterLogic).forEach((function(key){clearTimeout(_this.delayedDragEnterLogic[key])})),dragNode.props.eventKey!==node.props.eventKey&&(event.persist(),_this.delayedDragEnterLogic[pos]=window.setTimeout((function(){if(null!==_this.state.draggingNodeKey){var newExpandedKeys=(0,toConsumableArray.Z)(expandedKeys),entity=keyEntities[node.props.eventKey];entity&&(entity.children||[]).length&&(newExpandedKeys=(0,util.L0)(expandedKeys,node.props.eventKey)),"expandedKeys"in _this.props||_this.setExpandedKeys(newExpandedKeys),null==onExpand||onExpand(newExpandedKeys,{node:(0,treeUtil.F)(node.props),expanded:!0,nativeEvent:event.nativeEvent})}}),800)),dragNode.props.eventKey!==dropTargetKey||0!==dropLevelOffset?(_this.setState({dragOverNodeKey,dropPosition,dropLevelOffset,dropTargetKey,dropContainerKey,dropTargetPos,dropAllowed}),null==onDragEnter||onDragEnter({event,node:(0,treeUtil.F)(node.props),expandedKeys})):_this.resetDragState()):_this.resetDragState()}else _this.resetDragState()},_this.onNodeDragOver=function(event,node){var _this$state3=_this.state,dragChildrenKeys=_this$state3.dragChildrenKeys,flattenNodes=_this$state3.flattenNodes,keyEntities=_this$state3.keyEntities,expandedKeys=_this$state3.expandedKeys,indent=_this$state3.indent,_this$props2=_this.props,onDragOver=_this$props2.onDragOver,allowDrop=_this$props2.allowDrop,direction=_this$props2.direction,dragNode=(0,assertThisInitialized.Z)(_this).dragNode;if(dragNode){var _calcDropPosition2=(0,util.OM)(event,dragNode,node,indent,_this.dragStartMousePosition,allowDrop,flattenNodes,keyEntities,expandedKeys,direction),dropPosition=_calcDropPosition2.dropPosition,dropLevelOffset=_calcDropPosition2.dropLevelOffset,dropTargetKey=_calcDropPosition2.dropTargetKey,dropContainerKey=_calcDropPosition2.dropContainerKey,dropAllowed=_calcDropPosition2.dropAllowed,dropTargetPos=_calcDropPosition2.dropTargetPos,dragOverNodeKey=_calcDropPosition2.dragOverNodeKey;-1===dragChildrenKeys.indexOf(dropTargetKey)&&dropAllowed&&(dragNode.props.eventKey===dropTargetKey&&0===dropLevelOffset?null===_this.state.dropPosition&&null===_this.state.dropLevelOffset&&null===_this.state.dropTargetKey&&null===_this.state.dropContainerKey&&null===_this.state.dropTargetPos&&!1===_this.state.dropAllowed&&null===_this.state.dragOverNodeKey||_this.resetDragState():dropPosition===_this.state.dropPosition&&dropLevelOffset===_this.state.dropLevelOffset&&dropTargetKey===_this.state.dropTargetKey&&dropContainerKey===_this.state.dropContainerKey&&dropTargetPos===_this.state.dropTargetPos&&dropAllowed===_this.state.dropAllowed&&dragOverNodeKey===_this.state.dragOverNodeKey||_this.setState({dropPosition,dropLevelOffset,dropTargetKey,dropContainerKey,dropTargetPos,dropAllowed,dragOverNodeKey}),null==onDragOver||onDragOver({event,node:(0,treeUtil.F)(node.props)}))}},_this.onNodeDragLeave=function(event,node){_this.currentMouseOverDroppableNodeKey!==node.props.eventKey||event.currentTarget.contains(event.relatedTarget)||(_this.resetDragState(),_this.currentMouseOverDroppableNodeKey=null);var onDragLeave=_this.props.onDragLeave;null==onDragLeave||onDragLeave({event,node:(0,treeUtil.F)(node.props)})},_this.onWindowDragEnd=function(event){_this.onNodeDragEnd(event,null,!0),window.removeEventListener("dragend",_this.onWindowDragEnd)},_this.onNodeDragEnd=function(event,node){var onDragEnd=_this.props.onDragEnd;_this.setState({dragOverNodeKey:null}),_this.cleanDragState(),null==onDragEnd||onDragEnd({event,node:(0,treeUtil.F)(node.props)}),_this.dragNode=null},_this.onNodeDrop=function(event,node){var _this$getActiveItem,outsideTree=arguments.length>2&&void 0!==arguments[2]&&arguments[2],_this$state4=_this.state,dragChildrenKeys=_this$state4.dragChildrenKeys,dropPosition=_this$state4.dropPosition,dropTargetKey=_this$state4.dropTargetKey,dropTargetPos=_this$state4.dropTargetPos,dropAllowed=_this$state4.dropAllowed;if(dropAllowed){var onDrop=_this.props.onDrop;if(_this.setState({dragOverNodeKey:null}),_this.cleanDragState(),null!==dropTargetKey){var abstractDropNodeProps=(0,objectSpread2.Z)((0,objectSpread2.Z)({},(0,treeUtil.H8)(dropTargetKey,_this.getTreeNodeRequiredProps())),{},{active:(null===(_this$getActiveItem=_this.getActiveItem())||void 0===_this$getActiveItem?void 0:_this$getActiveItem.data.key)===dropTargetKey,data:_this.state.keyEntities[dropTargetKey].node}),dropToChild=-1!==dragChildrenKeys.indexOf(dropTargetKey);(0,es_warning.ZP)(!dropToChild,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var posArr=(0,util.yx)(dropTargetPos),dropResult={event,node:(0,treeUtil.F)(abstractDropNodeProps),dragNode:_this.dragNode?(0,treeUtil.F)(_this.dragNode.props):null,dragNodesKeys:[_this.dragNode.props.eventKey].concat(dragChildrenKeys),dropToGap:0!==dropPosition,dropPosition:dropPosition+Number(posArr[posArr.length-1])};outsideTree||null==onDrop||onDrop(dropResult),_this.dragNode=null}}},_this.cleanDragState=function(){null!==_this.state.draggingNodeKey&&_this.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),_this.dragStartMousePosition=null,_this.currentMouseOverDroppableNodeKey=null},_this.onNodeClick=function(e,treeNode){var onClick=_this.props.onClick;null==onClick||onClick(e,treeNode)},_this.onNodeDoubleClick=function(e,treeNode){var onDoubleClick=_this.props.onDoubleClick;null==onDoubleClick||onDoubleClick(e,treeNode)},_this.onNodeSelect=function(e,treeNode){var selectedKeys=_this.state.selectedKeys,_this$state5=_this.state,keyEntities=_this$state5.keyEntities,fieldNames=_this$state5.fieldNames,_this$props3=_this.props,onSelect=_this$props3.onSelect,multiple=_this$props3.multiple,selected=treeNode.selected,key=treeNode[fieldNames.key],targetSelected=!selected,selectedNodes=(selectedKeys=targetSelected?multiple?(0,util.L0)(selectedKeys,key):[key]:(0,util._5)(selectedKeys,key)).map((function(selectedKey){var entity=keyEntities[selectedKey];return entity?entity.node:null})).filter((function(node){return node}));_this.setUncontrolledState({selectedKeys}),null==onSelect||onSelect(selectedKeys,{event:"select",selected:targetSelected,node:treeNode,selectedNodes,nativeEvent:e.nativeEvent})},_this.onNodeCheck=function(e,treeNode,checked){var checkedObj,_this$state6=_this.state,keyEntities=_this$state6.keyEntities,oriCheckedKeys=_this$state6.checkedKeys,oriHalfCheckedKeys=_this$state6.halfCheckedKeys,_this$props4=_this.props,checkStrictly=_this$props4.checkStrictly,onCheck=_this$props4.onCheck,key=treeNode.key,eventObj={event:"check",node:treeNode,checked,nativeEvent:e.nativeEvent};if(checkStrictly){var checkedKeys=checked?(0,util.L0)(oriCheckedKeys,key):(0,util._5)(oriCheckedKeys,key);checkedObj={checked:checkedKeys,halfChecked:(0,util._5)(oriHalfCheckedKeys,key)},eventObj.checkedNodes=checkedKeys.map((function(checkedKey){return keyEntities[checkedKey]})).filter((function(entity){return entity})).map((function(entity){return entity.node})),_this.setUncontrolledState({checkedKeys})}else{var _conductCheck=(0,conductUtil.S)([].concat((0,toConsumableArray.Z)(oriCheckedKeys),[key]),!0,keyEntities),_checkedKeys=_conductCheck.checkedKeys,_halfCheckedKeys=_conductCheck.halfCheckedKeys;if(!checked){var keySet=new Set(_checkedKeys);keySet.delete(key);var _conductCheck2=(0,conductUtil.S)(Array.from(keySet),{checked:!1,halfCheckedKeys:_halfCheckedKeys},keyEntities);_checkedKeys=_conductCheck2.checkedKeys,_halfCheckedKeys=_conductCheck2.halfCheckedKeys}checkedObj=_checkedKeys,eventObj.checkedNodes=[],eventObj.checkedNodesPositions=[],eventObj.halfCheckedKeys=_halfCheckedKeys,_checkedKeys.forEach((function(checkedKey){var entity=keyEntities[checkedKey];if(entity){var node=entity.node,pos=entity.pos;eventObj.checkedNodes.push(node),eventObj.checkedNodesPositions.push({node,pos})}})),_this.setUncontrolledState({checkedKeys:_checkedKeys},!1,{halfCheckedKeys:_halfCheckedKeys})}null==onCheck||onCheck(checkedObj,eventObj)},_this.onNodeLoad=function(treeNode){var key=treeNode.key,loadPromise=new Promise((function(resolve,reject){_this.setState((function(_ref){var _ref$loadedKeys=_ref.loadedKeys,loadedKeys=void 0===_ref$loadedKeys?[]:_ref$loadedKeys,_ref$loadingKeys=_ref.loadingKeys,loadingKeys=void 0===_ref$loadingKeys?[]:_ref$loadingKeys,_this$props5=_this.props,loadData=_this$props5.loadData,onLoad=_this$props5.onLoad;return loadData&&-1===loadedKeys.indexOf(key)&&-1===loadingKeys.indexOf(key)?(loadData(treeNode).then((function(){var currentLoadedKeys=_this.state.loadedKeys,newLoadedKeys=(0,util.L0)(currentLoadedKeys,key);null==onLoad||onLoad(newLoadedKeys,{event:"load",node:treeNode}),_this.setUncontrolledState({loadedKeys:newLoadedKeys}),_this.setState((function(prevState){return{loadingKeys:(0,util._5)(prevState.loadingKeys,key)}})),resolve()})).catch((function(e){if(_this.setState((function(prevState){return{loadingKeys:(0,util._5)(prevState.loadingKeys,key)}})),_this.loadingRetryTimes[key]=(_this.loadingRetryTimes[key]||0)+1,_this.loadingRetryTimes[key]>=10){var currentLoadedKeys=_this.state.loadedKeys;(0,es_warning.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),_this.setUncontrolledState({loadedKeys:(0,util.L0)(currentLoadedKeys,key)}),resolve()}reject(e)})),{loadingKeys:(0,util.L0)(loadingKeys,key)}):null}))}));return loadPromise.catch((function(){})),loadPromise},_this.onNodeMouseEnter=function(event,node){var onMouseEnter=_this.props.onMouseEnter;null==onMouseEnter||onMouseEnter({event,node})},_this.onNodeMouseLeave=function(event,node){var onMouseLeave=_this.props.onMouseLeave;null==onMouseLeave||onMouseLeave({event,node})},_this.onNodeContextMenu=function(event,node){var onRightClick=_this.props.onRightClick;onRightClick&&(event.preventDefault(),onRightClick({event,node}))},_this.onFocus=function(){var onFocus=_this.props.onFocus;_this.setState({focused:!0});for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];null==onFocus||onFocus.apply(void 0,args)},_this.onBlur=function(){var onBlur=_this.props.onBlur;_this.setState({focused:!1}),_this.onActiveChange(null);for(var _len3=arguments.length,args=new Array(_len3),_key3=0;_key3<_len3;_key3++)args[_key3]=arguments[_key3];null==onBlur||onBlur.apply(void 0,args)},_this.getTreeNodeRequiredProps=function(){var _this$state7=_this.state;return{expandedKeys:_this$state7.expandedKeys||[],selectedKeys:_this$state7.selectedKeys||[],loadedKeys:_this$state7.loadedKeys||[],loadingKeys:_this$state7.loadingKeys||[],checkedKeys:_this$state7.checkedKeys||[],halfCheckedKeys:_this$state7.halfCheckedKeys||[],dragOverNodeKey:_this$state7.dragOverNodeKey,dropPosition:_this$state7.dropPosition,keyEntities:_this$state7.keyEntities}},_this.setExpandedKeys=function(expandedKeys){var _this$state8=_this.state,treeData=_this$state8.treeData,fieldNames=_this$state8.fieldNames,flattenNodes=(0,treeUtil.oH)(treeData,expandedKeys,fieldNames);_this.setUncontrolledState({expandedKeys,flattenNodes},!0)},_this.onNodeExpand=function(e,treeNode){var expandedKeys=_this.state.expandedKeys,_this$state9=_this.state,listChanging=_this$state9.listChanging,fieldNames=_this$state9.fieldNames,_this$props6=_this.props,onExpand=_this$props6.onExpand,loadData=_this$props6.loadData,expanded=treeNode.expanded,key=treeNode[fieldNames.key];if(!listChanging){var index=expandedKeys.indexOf(key),targetExpanded=!expanded;if((0,es_warning.ZP)(expanded&&-1!==index||!expanded&&-1===index,"Expand state not sync with index check"),expandedKeys=targetExpanded?(0,util.L0)(expandedKeys,key):(0,util._5)(expandedKeys,key),_this.setExpandedKeys(expandedKeys),null==onExpand||onExpand(expandedKeys,{node:treeNode,expanded:targetExpanded,nativeEvent:e.nativeEvent}),targetExpanded&&loadData){var loadPromise=_this.onNodeLoad(treeNode);loadPromise&&loadPromise.then((function(){var newFlattenTreeData=(0,treeUtil.oH)(_this.state.treeData,expandedKeys,fieldNames);_this.setUncontrolledState({flattenNodes:newFlattenTreeData})})).catch((function(){var currentExpandedKeys=_this.state.expandedKeys,expandedKeysToRestore=(0,util._5)(currentExpandedKeys,key);_this.setExpandedKeys(expandedKeysToRestore)}))}}},_this.onListChangeStart=function(){_this.setUncontrolledState({listChanging:!0})},_this.onListChangeEnd=function(){setTimeout((function(){_this.setUncontrolledState({listChanging:!1})}))},_this.onActiveChange=function(newActiveKey){var activeKey=_this.state.activeKey,onActiveChange=_this.props.onActiveChange;activeKey!==newActiveKey&&(_this.setState({activeKey:newActiveKey}),null!==newActiveKey&&_this.scrollTo({key:newActiveKey}),null==onActiveChange||onActiveChange(newActiveKey))},_this.getActiveItem=function(){var _this$state10=_this.state,activeKey=_this$state10.activeKey,flattenNodes=_this$state10.flattenNodes;return null===activeKey?null:flattenNodes.find((function(_ref2){return _ref2.key===activeKey}))||null},_this.offsetActiveKey=function(offset){var _this$state11=_this.state,flattenNodes=_this$state11.flattenNodes,activeKey=_this$state11.activeKey,index=flattenNodes.findIndex((function(_ref3){return _ref3.key===activeKey}));-1===index&&offset<0&&(index=flattenNodes.length);var item=flattenNodes[index=(index+offset+flattenNodes.length)%flattenNodes.length];if(item){var key=item.key;_this.onActiveChange(key)}else _this.onActiveChange(null)},_this.onKeyDown=function(event){var _this$state12=_this.state,activeKey=_this$state12.activeKey,expandedKeys=_this$state12.expandedKeys,checkedKeys=_this$state12.checkedKeys,_this$props7=_this.props,onKeyDown=_this$props7.onKeyDown,checkable=_this$props7.checkable,selectable=_this$props7.selectable;switch(event.which){case KeyCode.Z.UP:_this.offsetActiveKey(-1),event.preventDefault();break;case KeyCode.Z.DOWN:_this.offsetActiveKey(1),event.preventDefault()}var activeItem=_this.getActiveItem();if(activeItem&&activeItem.data){var treeNodeRequiredProps=_this.getTreeNodeRequiredProps(),expandable=!1===activeItem.data.isLeaf||!!(activeItem.data.children||[]).length,eventNode=(0,treeUtil.F)((0,objectSpread2.Z)((0,objectSpread2.Z)({},(0,treeUtil.H8)(activeKey,treeNodeRequiredProps)),{},{data:activeItem.data,active:!0}));switch(event.which){case KeyCode.Z.LEFT:expandable&&expandedKeys.includes(activeKey)?_this.onNodeExpand({},eventNode):activeItem.parent&&_this.onActiveChange(activeItem.parent.data.key),event.preventDefault();break;case KeyCode.Z.RIGHT:expandable&&!expandedKeys.includes(activeKey)?_this.onNodeExpand({},eventNode):activeItem.children&&activeItem.children.length&&_this.onActiveChange(activeItem.children[0].data.key),event.preventDefault();break;case KeyCode.Z.ENTER:case KeyCode.Z.SPACE:!checkable||eventNode.disabled||!1===eventNode.checkable||eventNode.disableCheckbox?checkable||!selectable||eventNode.disabled||!1===eventNode.selectable||_this.onNodeSelect({},eventNode):_this.onNodeCheck({},eventNode,!checkedKeys.includes(activeKey))}}null==onKeyDown||onKeyDown(event)},_this.setUncontrolledState=function(state){var atomic=arguments.length>1&&void 0!==arguments[1]&&arguments[1],forceState=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!_this.destroyed){var needSync=!1,allPassed=!0,newState={};Object.keys(state).forEach((function(name){name in _this.props?allPassed=!1:(needSync=!0,newState[name]=state[name])})),!needSync||atomic&&!allPassed||_this.setState((0,objectSpread2.Z)((0,objectSpread2.Z)({},newState),forceState))}},_this.scrollTo=function(scroll){_this.listRef.current.scrollTo(scroll)},_this}return(0,createClass.Z)(Tree,[{key:"componentDidMount",value:function componentDidMount(){this.onUpdated()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.onUpdated()}},{key:"onUpdated",value:function onUpdated(){var activeKey=this.props.activeKey;void 0!==activeKey&&activeKey!==this.state.activeKey&&(this.setState({activeKey}),null!==activeKey&&this.scrollTo({key:activeKey}))}},{key:"componentWillUnmount",value:function componentWillUnmount(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function resetDragState(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function render(){var _classNames,draggableConfig,_this$state13=this.state,focused=_this$state13.focused,flattenNodes=_this$state13.flattenNodes,keyEntities=_this$state13.keyEntities,draggingNodeKey=_this$state13.draggingNodeKey,activeKey=_this$state13.activeKey,dropLevelOffset=_this$state13.dropLevelOffset,dropContainerKey=_this$state13.dropContainerKey,dropTargetKey=_this$state13.dropTargetKey,dropPosition=_this$state13.dropPosition,dragOverNodeKey=_this$state13.dragOverNodeKey,indent=_this$state13.indent,_this$props8=this.props,prefixCls=_this$props8.prefixCls,className=_this$props8.className,style=_this$props8.style,showLine=_this$props8.showLine,focusable=_this$props8.focusable,_this$props8$tabIndex=_this$props8.tabIndex,tabIndex=void 0===_this$props8$tabIndex?0:_this$props8$tabIndex,selectable=_this$props8.selectable,showIcon=_this$props8.showIcon,icon=_this$props8.icon,switcherIcon=_this$props8.switcherIcon,draggable=_this$props8.draggable,checkable=_this$props8.checkable,checkStrictly=_this$props8.checkStrictly,disabled=_this$props8.disabled,motion=_this$props8.motion,loadData=_this$props8.loadData,filterTreeNode=_this$props8.filterTreeNode,height=_this$props8.height,itemHeight=_this$props8.itemHeight,virtual=_this$props8.virtual,titleRender=_this$props8.titleRender,dropIndicatorRender=_this$props8.dropIndicatorRender,onContextMenu=_this$props8.onContextMenu,onScroll=_this$props8.onScroll,direction=_this$props8.direction,rootClassName=_this$props8.rootClassName,rootStyle=_this$props8.rootStyle,domProps=(0,pickAttrs.Z)(this.props,{aria:!0,data:!0});return draggable&&(draggableConfig="object"===(0,esm_typeof.Z)(draggable)?draggable:"function"==typeof draggable?{nodeDraggable:draggable}:{}),react.createElement(contextTypes.k.Provider,{value:{prefixCls,selectable,showIcon,icon,switcherIcon,draggable:draggableConfig,draggingNodeKey,checkable,checkStrictly,disabled,keyEntities,dropLevelOffset,dropContainerKey,dropTargetKey,dropPosition,dragOverNodeKey,indent,direction,dropIndicatorRender,loadData,filterTreeNode,titleRender,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},react.createElement("div",{role:"tree",className:classnames_default()(prefixCls,className,rootClassName,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-show-line"),showLine),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-focused"),focused),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-active-focused"),null!==activeKey),_classNames)),style:rootStyle},react.createElement(es_NodeList,(0,esm_extends.Z)({ref:this.listRef,prefixCls,style,data:flattenNodes,disabled,selectable,checkable:!!checkable,motion,dragging:null!==draggingNodeKey,height,itemHeight,virtual,focusable,focused,tabIndex,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu,onScroll},this.getTreeNodeRequiredProps(),domProps))))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props,prevState){var treeData,prevProps=prevState.prevProps,newState={prevProps:props};function needSync(name){return!prevProps&&name in props||prevProps&&prevProps[name]!==props[name]}var fieldNames=prevState.fieldNames;if(needSync("fieldNames")&&(fieldNames=(0,treeUtil.w$)(props.fieldNames),newState.fieldNames=fieldNames),needSync("treeData")?treeData=props.treeData:needSync("children")&&((0,es_warning.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),treeData=(0,treeUtil.zn)(props.children)),treeData){newState.treeData=treeData;var entitiesMap=(0,treeUtil.I8)(treeData,{fieldNames});newState.keyEntities=(0,objectSpread2.Z)((0,defineProperty.Z)({},MOTION_KEY,MotionEntity),entitiesMap.keyEntities)}var checkedKeyEntity,keyEntities=newState.keyEntities||prevState.keyEntities;if(needSync("expandedKeys")||prevProps&&needSync("autoExpandParent"))newState.expandedKeys=props.autoExpandParent||!prevProps&&props.defaultExpandParent?(0,util.r7)(props.expandedKeys,keyEntities):props.expandedKeys;else if(!prevProps&&props.defaultExpandAll){var cloneKeyEntities=(0,objectSpread2.Z)({},keyEntities);delete cloneKeyEntities[MOTION_KEY],newState.expandedKeys=Object.keys(cloneKeyEntities).map((function(key){return cloneKeyEntities[key].key}))}else!prevProps&&props.defaultExpandedKeys&&(newState.expandedKeys=props.autoExpandParent||props.defaultExpandParent?(0,util.r7)(props.defaultExpandedKeys,keyEntities):props.defaultExpandedKeys);if(newState.expandedKeys||delete newState.expandedKeys,treeData||newState.expandedKeys){var flattenNodes=(0,treeUtil.oH)(treeData||prevState.treeData,newState.expandedKeys||prevState.expandedKeys,fieldNames);newState.flattenNodes=flattenNodes}if((props.selectable&&(needSync("selectedKeys")?newState.selectedKeys=(0,util.BT)(props.selectedKeys,props):!prevProps&&props.defaultSelectedKeys&&(newState.selectedKeys=(0,util.BT)(props.defaultSelectedKeys,props))),props.checkable)&&(needSync("checkedKeys")?checkedKeyEntity=(0,util.E6)(props.checkedKeys)||{}:!prevProps&&props.defaultCheckedKeys?checkedKeyEntity=(0,util.E6)(props.defaultCheckedKeys)||{}:treeData&&(checkedKeyEntity=(0,util.E6)(props.checkedKeys)||{checkedKeys:prevState.checkedKeys,halfCheckedKeys:prevState.halfCheckedKeys}),checkedKeyEntity)){var _checkedKeyEntity=checkedKeyEntity,_checkedKeyEntity$che=_checkedKeyEntity.checkedKeys,checkedKeys=void 0===_checkedKeyEntity$che?[]:_checkedKeyEntity$che,_checkedKeyEntity$hal=_checkedKeyEntity.halfCheckedKeys,halfCheckedKeys=void 0===_checkedKeyEntity$hal?[]:_checkedKeyEntity$hal;if(!props.checkStrictly){var conductKeys=(0,conductUtil.S)(checkedKeys,!0,keyEntities);checkedKeys=conductKeys.checkedKeys,halfCheckedKeys=conductKeys.halfCheckedKeys}newState.checkedKeys=checkedKeys,newState.halfCheckedKeys=halfCheckedKeys}return needSync("loadedKeys")&&(newState.loadedKeys=props.loadedKeys),newState}}]),Tree}(react.Component);Tree.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function DropIndicator(_ref){var dropPosition=_ref.dropPosition,dropLevelOffset=_ref.dropLevelOffset,indent=_ref.indent,style={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(dropPosition){case-1:style.top=0,style.left=-dropLevelOffset*indent;break;case 1:style.bottom=0,style.left=-dropLevelOffset*indent;break;case 0:style.bottom=0,style.left=indent}return react.createElement("div",{style})},allowDrop:function allowDrop(){return!0}},Tree.TreeNode=TreeNode.Z;const rc_tree_es=Tree;const LegacyContext=react.createContext(null);const es_TreeSelectContext=react.createContext(null);function isCheckDisabled(node){return!node||node.disabled||node.disableCheckbox||!1===node.checkable}function isNil(val){return null==val}var OptionList_HIDDEN_STYLE={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},OptionList=function OptionList(_,ref){var _useBaseProps=(0,es.lk)(),prefixCls=_useBaseProps.prefixCls,multiple=_useBaseProps.multiple,searchValue=_useBaseProps.searchValue,toggleOpen=_useBaseProps.toggleOpen,open=_useBaseProps.open,notFoundContent=_useBaseProps.notFoundContent,_React$useContext=react.useContext(es_TreeSelectContext),virtual=_React$useContext.virtual,listHeight=_React$useContext.listHeight,listItemHeight=_React$useContext.listItemHeight,treeData=_React$useContext.treeData,fieldNames=_React$useContext.fieldNames,onSelect=_React$useContext.onSelect,dropdownMatchSelectWidth=_React$useContext.dropdownMatchSelectWidth,_React$useContext2=react.useContext(LegacyContext),checkable=_React$useContext2.checkable,checkedKeys=_React$useContext2.checkedKeys,halfCheckedKeys=_React$useContext2.halfCheckedKeys,treeExpandedKeys=_React$useContext2.treeExpandedKeys,treeDefaultExpandAll=_React$useContext2.treeDefaultExpandAll,treeDefaultExpandedKeys=_React$useContext2.treeDefaultExpandedKeys,onTreeExpand=_React$useContext2.onTreeExpand,treeIcon=_React$useContext2.treeIcon,showTreeIcon=_React$useContext2.showTreeIcon,switcherIcon=_React$useContext2.switcherIcon,treeLine=_React$useContext2.treeLine,treeNodeFilterProp=_React$useContext2.treeNodeFilterProp,loadData=_React$useContext2.loadData,treeLoadedKeys=_React$useContext2.treeLoadedKeys,treeMotion=_React$useContext2.treeMotion,onTreeLoad=_React$useContext2.onTreeLoad,keyEntities=_React$useContext2.keyEntities,treeRef=react.useRef(),memoTreeData=(0,useMemo.Z)((function(){return treeData}),[open,treeData],(function(prev,next){return next[0]&&prev[1]!==next[1]})),mergedCheckedKeys=react.useMemo((function(){return checkable?{checked:checkedKeys,halfChecked:halfCheckedKeys}:null}),[checkable,checkedKeys,halfCheckedKeys]);react.useEffect((function(){var _treeRef$current;open&&!multiple&&checkedKeys.length&&(null===(_treeRef$current=treeRef.current)||void 0===_treeRef$current||_treeRef$current.scrollTo({key:checkedKeys[0]}))}),[open]);var lowerSearchValue=String(searchValue).toLowerCase(),_React$useState=react.useState(treeDefaultExpandedKeys),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),expandedKeys=_React$useState2[0],setExpandedKeys=_React$useState2[1],_React$useState3=react.useState(null),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),searchExpandedKeys=_React$useState4[0],setSearchExpandedKeys=_React$useState4[1],mergedExpandedKeys=react.useMemo((function(){return treeExpandedKeys?(0,toConsumableArray.Z)(treeExpandedKeys):searchValue?searchExpandedKeys:expandedKeys}),[expandedKeys,searchExpandedKeys,treeExpandedKeys,searchValue]);react.useEffect((function(){searchValue&&setSearchExpandedKeys(function getAllKeys(treeData,fieldNames){var keys=[];return function dig(list){list.forEach((function(item){keys.push(item[fieldNames.value]);var children=item[fieldNames.children];children&&dig(children)}))}(treeData),keys}(treeData,fieldNames))}),[searchValue]);var onListMouseDown=function onListMouseDown(event){event.preventDefault()},onInternalSelect=function onInternalSelect(__,info){var node=info.node;checkable&&isCheckDisabled(node)||(onSelect(node.key,{selected:!checkedKeys.includes(node.key)}),multiple||toggleOpen(!1))},_React$useState5=react.useState(null),_React$useState6=(0,slicedToArray.Z)(_React$useState5,2),activeKey=_React$useState6[0],setActiveKey=_React$useState6[1],activeEntity=keyEntities[activeKey];if(react.useImperativeHandle(ref,(function(){var _treeRef$current2;return{scrollTo:null===(_treeRef$current2=treeRef.current)||void 0===_treeRef$current2?void 0:_treeRef$current2.scrollTo,onKeyDown:function onKeyDown(event){var _treeRef$current3;switch(event.which){case KeyCode.Z.UP:case KeyCode.Z.DOWN:case KeyCode.Z.LEFT:case KeyCode.Z.RIGHT:null===(_treeRef$current3=treeRef.current)||void 0===_treeRef$current3||_treeRef$current3.onKeyDown(event);break;case KeyCode.Z.ENTER:if(activeEntity){var _ref=(null==activeEntity?void 0:activeEntity.node)||{},selectable=_ref.selectable,value=_ref.value;!1!==selectable&&onInternalSelect(0,{node:{key:activeKey},selected:!checkedKeys.includes(value)})}break;case KeyCode.Z.ESC:toggleOpen(!1)}},onKeyUp:function onKeyUp(){}}})),0===memoTreeData.length)return react.createElement("div",{role:"listbox",className:"".concat(prefixCls,"-empty"),onMouseDown:onListMouseDown},notFoundContent);var treeProps={fieldNames};return treeLoadedKeys&&(treeProps.loadedKeys=treeLoadedKeys),mergedExpandedKeys&&(treeProps.expandedKeys=mergedExpandedKeys),react.createElement("div",{onMouseDown:onListMouseDown},activeEntity&&open&&react.createElement("span",{style:OptionList_HIDDEN_STYLE,"aria-live":"assertive"},activeEntity.node.value),react.createElement(rc_tree_es,(0,esm_extends.Z)({ref:treeRef,focusable:!1,prefixCls:"".concat(prefixCls,"-tree"),treeData:memoTreeData,height:listHeight,itemHeight:listItemHeight,virtual:!1!==virtual&&!1!==dropdownMatchSelectWidth,multiple,icon:treeIcon,showIcon:showTreeIcon,switcherIcon,showLine:treeLine,loadData:searchValue?null:loadData,motion:treeMotion,activeKey,checkable,checkStrictly:!0,checkedKeys:mergedCheckedKeys,selectedKeys:checkable?[]:checkedKeys,defaultExpandAll:treeDefaultExpandAll},treeProps,{onActiveChange:setActiveKey,onSelect:onInternalSelect,onCheck:onInternalSelect,onExpand:function onInternalExpand(keys){setExpandedKeys(keys),setSearchExpandedKeys(keys),onTreeExpand&&onTreeExpand(keys)},onLoad:onTreeLoad,filterTreeNode:function filterTreeNode(treeNode){return!!lowerSearchValue&&String(treeNode[treeNodeFilterProp]).toLowerCase().includes(lowerSearchValue)}})))},RefOptionList=react.forwardRef(OptionList);RefOptionList.displayName="OptionList";const es_OptionList=RefOptionList;const es_TreeNode=function TreeNode(){return null};function formatStrategyValues(values,strategy,keyEntities,fieldNames){var valueSet=new Set(values);return"SHOW_CHILD"===strategy?values.filter((function(key){var entity=keyEntities[key];return!(entity&&entity.children&&entity.children.some((function(_ref){var node=_ref.node;return valueSet.has(node[fieldNames.value])}))&&entity.children.every((function(_ref2){var node=_ref2.node;return isCheckDisabled(node)||valueSet.has(node[fieldNames.value])})))})):"SHOW_PARENT"===strategy?values.filter((function(key){var entity=keyEntities[key],parent=entity?entity.parent:null;return!(parent&&!isCheckDisabled(parent.node)&&valueSet.has(parent.key))})):values}var Children_toArray=__webpack_require__("./node_modules/rc-util/es/Children/toArray.js"),legacyUtil_excluded=["children","value"];function convertChildrenToData(nodes){return(0,Children_toArray.Z)(nodes).map((function(node){if(!react.isValidElement(node)||!node.type)return null;var key=node.key,_node$props=node.props,children=_node$props.children,value=_node$props.value,restProps=(0,objectWithoutProperties.Z)(_node$props,legacyUtil_excluded),data=(0,objectSpread2.Z)({key,value},restProps),childData=convertChildrenToData(children);return childData.length&&(data.children=childData),data})).filter((function(data){return data}))}function fillLegacyProps(dataNode){if(!dataNode)return dataNode;var cloneNode=(0,objectSpread2.Z)({},dataNode);return"props"in cloneNode||Object.defineProperty(cloneNode,"props",{get:function get(){return(0,es_warning.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),cloneNode}}),cloneNode}function useTreeData(treeData,children,simpleMode){return react.useMemo((function(){return treeData?simpleMode?function parseSimpleTreeData(treeData,_ref){var id=_ref.id,pId=_ref.pId,rootPId=_ref.rootPId,keyNodes={},rootNodeList=[];return treeData.map((function(node){var clone=(0,objectSpread2.Z)({},node),key=clone[id];return keyNodes[key]=clone,clone.key=clone.key||key,clone})).forEach((function(node){var parentKey=node[pId],parent=keyNodes[parentKey];parent&&(parent.children=parent.children||[],parent.children.push(node)),(parentKey===rootPId||!parent&&null===rootPId)&&rootNodeList.push(node)})),rootNodeList}(treeData,(0,objectSpread2.Z)({id:"id",pId:"pId",rootPId:null},!0!==simpleMode?simpleMode:{})):treeData:convertChildrenToData(children)}),[children,simpleMode,treeData])}function useRefFunc(callback){var funcRef=react.useRef();funcRef.current=callback;var cacheFn=react.useCallback((function(){return funcRef.current.apply(funcRef,arguments)}),[]);return cacheFn}var TreeSelect_excluded=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];var GenericTreeSelect=react.forwardRef((function(props,ref){var id=props.id,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-tree-select":_props$prefixCls,value=props.value,defaultValue=props.defaultValue,onChange=props.onChange,onSelect=props.onSelect,onDeselect=props.onDeselect,searchValue=props.searchValue,inputValue=props.inputValue,onSearch=props.onSearch,_props$autoClearSearc=props.autoClearSearchValue,autoClearSearchValue=void 0===_props$autoClearSearc||_props$autoClearSearc,filterTreeNode=props.filterTreeNode,_props$treeNodeFilter=props.treeNodeFilterProp,treeNodeFilterProp=void 0===_props$treeNodeFilter?"value":_props$treeNodeFilter,_props$showCheckedStr=props.showCheckedStrategy,showCheckedStrategy=void 0===_props$showCheckedStr?"SHOW_CHILD":_props$showCheckedStr,treeNodeLabelProp=props.treeNodeLabelProp,multiple=props.multiple,treeCheckable=props.treeCheckable,treeCheckStrictly=props.treeCheckStrictly,labelInValue=props.labelInValue,fieldNames=props.fieldNames,treeDataSimpleMode=props.treeDataSimpleMode,treeData=props.treeData,children=props.children,loadData=props.loadData,treeLoadedKeys=props.treeLoadedKeys,onTreeLoad=props.onTreeLoad,treeDefaultExpandAll=props.treeDefaultExpandAll,treeExpandedKeys=props.treeExpandedKeys,treeDefaultExpandedKeys=props.treeDefaultExpandedKeys,onTreeExpand=props.onTreeExpand,virtual=props.virtual,_props$listHeight=props.listHeight,listHeight=void 0===_props$listHeight?200:_props$listHeight,_props$listItemHeight=props.listItemHeight,listItemHeight=void 0===_props$listItemHeight?20:_props$listItemHeight,onDropdownVisibleChange=props.onDropdownVisibleChange,_props$dropdownMatchS=props.dropdownMatchSelectWidth,dropdownMatchSelectWidth=void 0===_props$dropdownMatchS||_props$dropdownMatchS,treeLine=props.treeLine,treeIcon=props.treeIcon,showTreeIcon=props.showTreeIcon,switcherIcon=props.switcherIcon,treeMotion=props.treeMotion,restProps=(0,objectWithoutProperties.Z)(props,TreeSelect_excluded),mergedId=(0,useId.ZP)(id),treeConduction=treeCheckable&&!treeCheckStrictly,mergedCheckable=treeCheckable||treeCheckStrictly,mergedLabelInValue=treeCheckStrictly||labelInValue,mergedMultiple=mergedCheckable||multiple;var values,cacheRef,mergedFieldNames=react.useMemo((function(){return function fillFieldNames(fieldNames){var _ref=fieldNames||{},label=_ref.label,mergedValue=_ref.value||"value";return{_title:label?[label]:["title","label"],value:mergedValue,key:mergedValue,children:_ref.children||"children"}}(fieldNames)}),[JSON.stringify(fieldNames)]),_useMergedState=(0,useMergedState.Z)("",{value:void 0!==searchValue?searchValue:inputValue,postState:function postState(search){return search||""}}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),mergedSearchValue=_useMergedState2[0],setSearchValue=_useMergedState2[1],mergedTreeData=useTreeData(treeData,children,treeDataSimpleMode),_useDataEntities=function(treeData,fieldNames){return react.useMemo((function(){return(0,treeUtil.I8)(treeData,{fieldNames,initWrapper:function initWrapper(wrapper){return(0,objectSpread2.Z)((0,objectSpread2.Z)({},wrapper),{},{valueEntities:new Map})},processEntity:function processEntity(entity,wrapper){var val=entity.node[fieldNames.value];wrapper.valueEntities.set(val,entity)}})}),[treeData,fieldNames])}(mergedTreeData,mergedFieldNames),keyEntities=_useDataEntities.keyEntities,valueEntities=_useDataEntities.valueEntities,splitRawValues=react.useCallback((function(newRawValues){var missingRawValues=[],existRawValues=[];return newRawValues.forEach((function(val){valueEntities.has(val)?existRawValues.push(val):missingRawValues.push(val)})),{missingRawValues,existRawValues}}),[valueEntities]),filteredTreeData=function(treeData,searchValue,_ref){var treeNodeFilterProp=_ref.treeNodeFilterProp,filterTreeNode=_ref.filterTreeNode,fieldChildren=_ref.fieldNames.children;return react.useMemo((function(){if(!searchValue||!1===filterTreeNode)return treeData;var filterOptionFunc;if("function"==typeof filterTreeNode)filterOptionFunc=filterTreeNode;else{var upperStr=searchValue.toUpperCase();filterOptionFunc=function filterOptionFunc(_,dataNode){var value=dataNode[treeNodeFilterProp];return String(value).toUpperCase().includes(upperStr)}}return function dig(list){var keepAll=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return list.map((function(dataNode){var children=dataNode[fieldChildren],match=keepAll||filterOptionFunc(searchValue,fillLegacyProps(dataNode)),childList=dig(children||[],match);return match||childList.length?(0,objectSpread2.Z)((0,objectSpread2.Z)({},dataNode),{},(0,defineProperty.Z)({},fieldChildren,childList)):null})).filter((function(node){return node}))}(treeData)}),[treeData,searchValue,fieldChildren,treeNodeFilterProp,filterTreeNode])}(mergedTreeData,mergedSearchValue,{fieldNames:mergedFieldNames,treeNodeFilterProp,filterTreeNode}),getLabel=react.useCallback((function(item){if(item){if(treeNodeLabelProp)return item[treeNodeLabelProp];for(var titleList=mergedFieldNames._title,i=0;i<titleList.length;i+=1){var title=item[titleList[i]];if(void 0!==title)return title}}}),[mergedFieldNames,treeNodeLabelProp]),toLabeledValues=react.useCallback((function(draftValues){var values=function valueUtil_toArray(value){return Array.isArray(value)?value:void 0!==value?[value]:[]}(draftValues);return values.map((function(val){return function isRawValue(value){return!value||"object"!==(0,esm_typeof.Z)(value)}(val)?{value:val}:val}))}),[]),convert2LabelValues=react.useCallback((function(draftValues){return toLabeledValues(draftValues).map((function(item){var rawDisabled,_rawLabel,rawLabel=item.label,rawValue=item.value,rawHalfChecked=item.halfChecked,entity=valueEntities.get(rawValue);entity&&(rawLabel=null!==(_rawLabel=rawLabel)&&void 0!==_rawLabel?_rawLabel:getLabel(entity.node),rawDisabled=entity.node.disabled);return{label:rawLabel,value:rawValue,halfChecked:rawHalfChecked,disabled:rawDisabled}}))}),[valueEntities,getLabel,toLabeledValues]),_useMergedState3=(0,useMergedState.Z)(defaultValue,{value}),_useMergedState4=(0,slicedToArray.Z)(_useMergedState3,2),internalValue=_useMergedState4[0],setInternalValue=_useMergedState4[1],rawMixedLabeledValues=react.useMemo((function(){return toLabeledValues(internalValue)}),[toLabeledValues,internalValue]),_React$useMemo=react.useMemo((function(){var fullCheckValues=[],halfCheckValues=[];return rawMixedLabeledValues.forEach((function(item){item.halfChecked?halfCheckValues.push(item):fullCheckValues.push(item)})),[fullCheckValues,halfCheckValues]}),[rawMixedLabeledValues]),_React$useMemo2=(0,slicedToArray.Z)(_React$useMemo,2),rawLabeledValues=_React$useMemo2[0],rawHalfLabeledValues=_React$useMemo2[1],rawValues=react.useMemo((function(){return rawLabeledValues.map((function(item){return item.value}))}),[rawLabeledValues]),_useCheckedKeys=function(rawLabeledValues,rawHalfCheckedValues,treeConduction,keyEntities){return react.useMemo((function(){var checkedKeys=rawLabeledValues.map((function(_ref){return _ref.value})),halfCheckedKeys=rawHalfCheckedValues.map((function(_ref2){return _ref2.value})),missingValues=checkedKeys.filter((function(key){return!keyEntities[key]}));if(treeConduction){var _conductCheck=(0,conductUtil.S)(checkedKeys,!0,keyEntities);checkedKeys=_conductCheck.checkedKeys,halfCheckedKeys=_conductCheck.halfCheckedKeys}return[Array.from(new Set([].concat((0,toConsumableArray.Z)(missingValues),(0,toConsumableArray.Z)(checkedKeys)))),halfCheckedKeys]}),[rawLabeledValues,rawHalfCheckedValues,treeConduction,keyEntities])}(rawLabeledValues,rawHalfLabeledValues,treeConduction,keyEntities),_useCheckedKeys2=(0,slicedToArray.Z)(_useCheckedKeys,2),rawCheckedValues=_useCheckedKeys2[0],rawHalfCheckedValues=_useCheckedKeys2[1],displayValues=react.useMemo((function(){var labeledValues=formatStrategyValues(rawCheckedValues,showCheckedStrategy,keyEntities,mergedFieldNames).map((function(key){var _keyEntities$key$node,_keyEntities$key,_keyEntities$key$node2;return null!==(_keyEntities$key$node=null===(_keyEntities$key=keyEntities[key])||void 0===_keyEntities$key||null===(_keyEntities$key$node2=_keyEntities$key.node)||void 0===_keyEntities$key$node2?void 0:_keyEntities$key$node2[mergedFieldNames.value])&&void 0!==_keyEntities$key$node?_keyEntities$key$node:key})).map((function(val){var targetItem=rawLabeledValues.find((function(item){return item.value===val}));return{value:val,label:null==targetItem?void 0:targetItem.label}})),rawDisplayValues=convert2LabelValues(labeledValues),firstVal=rawDisplayValues[0];return!mergedMultiple&&firstVal&&isNil(firstVal.value)&&isNil(firstVal.label)?[]:rawDisplayValues.map((function(item){var _item$label;return(0,objectSpread2.Z)((0,objectSpread2.Z)({},item),{},{label:null!==(_item$label=item.label)&&void 0!==_item$label?_item$label:item.value})}))}),[mergedFieldNames,mergedMultiple,rawCheckedValues,rawLabeledValues,convert2LabelValues,showCheckedStrategy,keyEntities]),_useCache=(values=displayValues,cacheRef=react.useRef({valueLabels:new Map}),react.useMemo((function(){var valueLabels=cacheRef.current.valueLabels,valueLabelsCache=new Map,filledValues=values.map((function(item){var _item$label,value=item.value,mergedLabel=null!==(_item$label=item.label)&&void 0!==_item$label?_item$label:valueLabels.get(value);return valueLabelsCache.set(value,mergedLabel),(0,objectSpread2.Z)((0,objectSpread2.Z)({},item),{},{label:mergedLabel})}));return cacheRef.current.valueLabels=valueLabelsCache,[filledValues]}),[values])),cachedDisplayValues=(0,slicedToArray.Z)(_useCache,1)[0],triggerChange=useRefFunc((function(newRawValues,extra,source){var labeledValues=convert2LabelValues(newRawValues);if(setInternalValue(labeledValues),autoClearSearchValue&&setSearchValue(""),onChange){var eventValues=newRawValues;if(treeConduction){var formattedKeyList=formatStrategyValues(newRawValues,showCheckedStrategy,keyEntities,mergedFieldNames);eventValues=formattedKeyList.map((function(key){var entity=valueEntities.get(key);return entity?entity.node[mergedFieldNames.value]:key}))}var _ref=extra||{triggerValue:void 0,selected:void 0},triggerValue=_ref.triggerValue,selected=_ref.selected,returnRawValues=eventValues;if(treeCheckStrictly){var halfValues=rawHalfLabeledValues.filter((function(item){return!eventValues.includes(item.value)}));returnRawValues=[].concat((0,toConsumableArray.Z)(returnRawValues),(0,toConsumableArray.Z)(halfValues))}var returnLabeledValues=convert2LabelValues(returnRawValues),additionalInfo={preValue:rawLabeledValues,triggerValue},showPosition=!0;(treeCheckStrictly||"selection"===source&&!selected)&&(showPosition=!1),function fillAdditionalInfo(extra,triggerValue,checkedValues,treeData,showPosition,fieldNames){var triggerNode=null,nodeList=null;function generateMap(){nodeList||(nodeList=[],function dig(list){var level=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",parentIncluded=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return list.map((function(option,index){var pos="".concat(level,"-").concat(index),value=option[fieldNames.value],included=checkedValues.includes(value),children=dig(option[fieldNames.children]||[],pos,included),node=react.createElement(es_TreeNode,option,children.map((function(child){return child.node})));if(triggerValue===value&&(triggerNode=node),included){var checkedNode={pos,node,children};return parentIncluded||nodeList.push(checkedNode),checkedNode}return null})).filter((function(node){return node}))}(treeData),nodeList.sort((function(_ref,_ref2){var val1=_ref.node.props.value,val2=_ref2.node.props.value;return checkedValues.indexOf(val1)-checkedValues.indexOf(val2)})))}Object.defineProperty(extra,"triggerNode",{get:function get(){return(0,es_warning.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),generateMap(),triggerNode}}),Object.defineProperty(extra,"allCheckedNodes",{get:function get(){return(0,es_warning.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),generateMap(),showPosition?nodeList:nodeList.map((function(_ref3){return _ref3.node}))}})}(additionalInfo,triggerValue,newRawValues,mergedTreeData,showPosition,mergedFieldNames),mergedCheckable?additionalInfo.checked=selected:additionalInfo.selected=selected;var returnValues=mergedLabelInValue?returnLabeledValues:returnLabeledValues.map((function(item){return item.value}));onChange(mergedMultiple?returnValues:returnValues[0],mergedLabelInValue?null:returnLabeledValues.map((function(item){return item.label})),additionalInfo)}})),onOptionSelect=react.useCallback((function(selectedKey,_ref2){var _node$mergedFieldName,selected=_ref2.selected,source=_ref2.source,entity=keyEntities[selectedKey],node=null==entity?void 0:entity.node,selectedValue=null!==(_node$mergedFieldName=null==node?void 0:node[mergedFieldNames.value])&&void 0!==_node$mergedFieldName?_node$mergedFieldName:selectedKey;if(mergedMultiple){var newRawValues=selected?[].concat((0,toConsumableArray.Z)(rawValues),[selectedValue]):rawCheckedValues.filter((function(v){return v!==selectedValue}));if(treeConduction){var checkedKeys,_splitRawValues=splitRawValues(newRawValues),missingRawValues=_splitRawValues.missingRawValues,keyList=_splitRawValues.existRawValues.map((function(val){return valueEntities.get(val).key}));if(selected)checkedKeys=(0,conductUtil.S)(keyList,!0,keyEntities).checkedKeys;else checkedKeys=(0,conductUtil.S)(keyList,{checked:!1,halfCheckedKeys:rawHalfCheckedValues},keyEntities).checkedKeys;newRawValues=[].concat((0,toConsumableArray.Z)(missingRawValues),(0,toConsumableArray.Z)(checkedKeys.map((function(key){return keyEntities[key].node[mergedFieldNames.value]}))))}triggerChange(newRawValues,{selected,triggerValue:selectedValue},source||"option")}else triggerChange([selectedValue],{selected:!0,triggerValue:selectedValue},"option");selected||!mergedMultiple?null==onSelect||onSelect(selectedValue,fillLegacyProps(node)):null==onDeselect||onDeselect(selectedValue,fillLegacyProps(node))}),[splitRawValues,valueEntities,keyEntities,mergedFieldNames,mergedMultiple,rawValues,triggerChange,treeConduction,onSelect,onDeselect,rawCheckedValues,rawHalfCheckedValues]),onInternalDropdownVisibleChange=react.useCallback((function(open){if(onDropdownVisibleChange){var legacyParam={};Object.defineProperty(legacyParam,"documentClickClose",{get:function get(){return(0,es_warning.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),onDropdownVisibleChange(open,legacyParam)}}),[onDropdownVisibleChange]),onDisplayValuesChange=useRefFunc((function(newValues,info){var newRawValues=newValues.map((function(item){return item.value}));"clear"!==info.type?info.values.length&&onOptionSelect(info.values[0].value,{selected:!1,source:"selection"}):triggerChange(newRawValues,{},"selection")})),treeSelectContext=react.useMemo((function(){return{virtual,dropdownMatchSelectWidth,listHeight,listItemHeight,treeData:filteredTreeData,fieldNames:mergedFieldNames,onSelect:onOptionSelect}}),[virtual,dropdownMatchSelectWidth,listHeight,listItemHeight,filteredTreeData,mergedFieldNames,onOptionSelect]),legacyContext=react.useMemo((function(){return{checkable:mergedCheckable,loadData,treeLoadedKeys,onTreeLoad,checkedKeys:rawCheckedValues,halfCheckedKeys:rawHalfCheckedValues,treeDefaultExpandAll,treeExpandedKeys,treeDefaultExpandedKeys,onTreeExpand,treeIcon,treeMotion,showTreeIcon,switcherIcon,treeLine,treeNodeFilterProp,keyEntities}}),[mergedCheckable,loadData,treeLoadedKeys,onTreeLoad,rawCheckedValues,rawHalfCheckedValues,treeDefaultExpandAll,treeExpandedKeys,treeDefaultExpandedKeys,onTreeExpand,treeIcon,treeMotion,showTreeIcon,switcherIcon,treeLine,treeNodeFilterProp,keyEntities]);return react.createElement(es_TreeSelectContext.Provider,{value:treeSelectContext},react.createElement(LegacyContext.Provider,{value:legacyContext},react.createElement(es.Ac,(0,esm_extends.Z)({ref},restProps,{id:mergedId,prefixCls,mode:mergedMultiple?"multiple":void 0,displayValues:cachedDisplayValues,onDisplayValuesChange,searchValue:mergedSearchValue,onSearch:function onInternalSearch(searchText){setSearchValue(searchText),null==onSearch||onSearch(searchText)},OptionList:es_OptionList,emptyOptions:!mergedTreeData.length,onDropdownVisibleChange:onInternalDropdownVisibleChange,dropdownMatchSelectWidth}))))}));GenericTreeSelect.TreeNode=es_TreeNode,GenericTreeSelect.SHOW_ALL="SHOW_ALL",GenericTreeSelect.SHOW_PARENT="SHOW_PARENT",GenericTreeSelect.SHOW_CHILD="SHOW_CHILD";const rc_tree_select_es=GenericTreeSelect;var omit=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/omit.js"),context=__webpack_require__("./node_modules/antd/es/config-provider/context.js"),iconUtil=__webpack_require__("./node_modules/antd/es/select/utils/iconUtil.js"),LoadingOutlined=__webpack_require__("./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js");const asn_FileOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};var AntdIcon=__webpack_require__("./node_modules/@ant-design/icons/es/components/AntdIcon.js"),FileOutlined_FileOutlined=function FileOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_FileOutlined}))};FileOutlined_FileOutlined.displayName="FileOutlined";const icons_FileOutlined=react.forwardRef(FileOutlined_FileOutlined);const asn_MinusSquareOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};var MinusSquareOutlined_MinusSquareOutlined=function MinusSquareOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_MinusSquareOutlined}))};MinusSquareOutlined_MinusSquareOutlined.displayName="MinusSquareOutlined";const icons_MinusSquareOutlined=react.forwardRef(MinusSquareOutlined_MinusSquareOutlined);const asn_PlusSquareOutlined={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};var PlusSquareOutlined_PlusSquareOutlined=function PlusSquareOutlined(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_PlusSquareOutlined}))};PlusSquareOutlined_PlusSquareOutlined.displayName="PlusSquareOutlined";const icons_PlusSquareOutlined=react.forwardRef(PlusSquareOutlined_PlusSquareOutlined);const asn_CaretDownFilled={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};var CaretDownFilled_CaretDownFilled=function CaretDownFilled(props,ref){return react.createElement(AntdIcon.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{ref,icon:asn_CaretDownFilled}))};CaretDownFilled_CaretDownFilled.displayName="CaretDownFilled";const icons_CaretDownFilled=react.forwardRef(CaretDownFilled_CaretDownFilled);var reactNode=__webpack_require__("./node_modules/antd/es/_util/reactNode.js");var SizeContext=__webpack_require__("./node_modules/antd/es/config-provider/SizeContext.js"),motion=__webpack_require__("./node_modules/antd/es/_util/motion.js"),form_context=__webpack_require__("./node_modules/antd/es/form/context.js"),statusUtils=__webpack_require__("./node_modules/antd/es/_util/statusUtils.js"),__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]])}return t},InternalTreeSelect=function InternalTreeSelect(_a,ref){var _classNames2,mergedNotFound,customizePrefixCls=_a.prefixCls,customizeSize=_a.size,_a$bordered=_a.bordered,bordered=void 0===_a$bordered||_a$bordered,className=_a.className,treeCheckable=_a.treeCheckable,multiple=_a.multiple,_a$listHeight=_a.listHeight,listHeight=void 0===_a$listHeight?256:_a$listHeight,_a$listItemHeight=_a.listItemHeight,listItemHeight=void 0===_a$listItemHeight?26:_a$listItemHeight,placement=_a.placement,notFoundContent=_a.notFoundContent,_switcherIcon=_a.switcherIcon,treeLine=_a.treeLine,getPopupContainer=_a.getPopupContainer,dropdownClassName=_a.dropdownClassName,_a$treeIcon=_a.treeIcon,treeIcon=void 0!==_a$treeIcon&&_a$treeIcon,transitionName=_a.transitionName,_a$choiceTransitionNa=_a.choiceTransitionName,choiceTransitionName=void 0===_a$choiceTransitionNa?"":_a$choiceTransitionNa,customStatus=_a.status,showArrow=_a.showArrow,props=__rest(_a,["prefixCls","size","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow"]),_React$useContext=react.useContext(context.E_),getContextPopupContainer=_React$useContext.getPopupContainer,getPrefixCls=_React$useContext.getPrefixCls,renderEmpty=_React$useContext.renderEmpty,direction=_React$useContext.direction,virtual=_React$useContext.virtual,dropdownMatchSelectWidth=_React$useContext.dropdownMatchSelectWidth,size=react.useContext(SizeContext.Z),prefixCls=getPrefixCls("select",customizePrefixCls),treePrefixCls=getPrefixCls("select-tree",customizePrefixCls),treeSelectPrefixCls=getPrefixCls("tree-select",customizePrefixCls),mergedDropdownClassName=classnames_default()(dropdownClassName,"".concat(treeSelectPrefixCls,"-dropdown"),(0,defineProperty.Z)({},"".concat(treeSelectPrefixCls,"-dropdown-rtl"),"rtl"===direction)),isMultiple=!(!treeCheckable&&!multiple),mergedShowArrow=void 0!==showArrow?showArrow:props.loading||!isMultiple,_useContext=(0,react.useContext)(form_context.aM),contextStatus=_useContext.status,hasFeedback=_useContext.hasFeedback,isFormItemInput=_useContext.isFormItemInput,feedbackIcon=_useContext.feedbackIcon,mergedStatus=(0,statusUtils.F)(contextStatus,customStatus),_getIcons=(0,iconUtil.Z)((0,esm_extends.Z)((0,esm_extends.Z)({},props),{multiple:isMultiple,showArrow:mergedShowArrow,hasFeedback,feedbackIcon,prefixCls})),suffixIcon=_getIcons.suffixIcon,removeIcon=_getIcons.removeIcon,clearIcon=_getIcons.clearIcon;mergedNotFound=void 0!==notFoundContent?notFoundContent:renderEmpty("Select");var selectProps=(0,omit.Z)(props,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),mergedSize=customizeSize||size,mergedClassName=classnames_default()(!customizePrefixCls&&treeSelectPrefixCls,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-lg"),"large"===mergedSize),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-sm"),"small"===mergedSize),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-rtl"),"rtl"===direction),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-borderless"),!bordered),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-in-form-item"),isFormItemInput),_classNames2),(0,statusUtils.Z)(prefixCls,mergedStatus,hasFeedback),className),rootPrefixCls=getPrefixCls();return react.createElement(rc_tree_select_es,(0,esm_extends.Z)({virtual,dropdownMatchSelectWidth},selectProps,{ref,prefixCls,className:mergedClassName,listHeight,listItemHeight,treeCheckable:treeCheckable?react.createElement("span",{className:"".concat(prefixCls,"-tree-checkbox-inner")}):treeCheckable,treeLine:!!treeLine,inputIcon:suffixIcon,multiple,placement:function getPlacement(){return void 0!==placement?placement:"rtl"===direction?"bottomRight":"bottomLeft"}(),removeIcon,clearIcon,switcherIcon:function switcherIcon(nodeProps){return function renderSwitcherIcon(prefixCls,switcherIcon,showLine,treeNodeProps){var showLeafIcon,isLeaf=treeNodeProps.isLeaf,expanded=treeNodeProps.expanded;if(treeNodeProps.loading)return react.createElement(LoadingOutlined.Z,{className:"".concat(prefixCls,"-switcher-loading-icon")});if(showLine&&"object"===(0,esm_typeof.Z)(showLine)&&(showLeafIcon=showLine.showLeafIcon),isLeaf)return showLine?"object"!==(0,esm_typeof.Z)(showLine)||showLeafIcon?react.createElement(icons_FileOutlined,{className:"".concat(prefixCls,"-switcher-line-icon")}):react.createElement("span",{className:"".concat(prefixCls,"-switcher-leaf-line")}):null;var switcherCls="".concat(prefixCls,"-switcher-icon"),switcher="function"==typeof switcherIcon?switcherIcon({expanded:!!expanded}):switcherIcon;return(0,reactNode.l$)(switcher)?(0,reactNode.Tm)(switcher,{className:classnames_default()(switcher.props.className||"",switcherCls)}):switcher||(showLine?expanded?react.createElement(icons_MinusSquareOutlined,{className:"".concat(prefixCls,"-switcher-line-icon")}):react.createElement(icons_PlusSquareOutlined,{className:"".concat(prefixCls,"-switcher-line-icon")}):react.createElement(icons_CaretDownFilled,{className:switcherCls}))}(treePrefixCls,_switcherIcon,treeLine,nodeProps)},showTreeIcon:treeIcon,notFoundContent:mergedNotFound,getPopupContainer:getPopupContainer||getContextPopupContainer,treeMotion:null,dropdownClassName:mergedDropdownClassName,choiceTransitionName:(0,motion.mL)(rootPrefixCls,"",choiceTransitionName),transitionName:(0,motion.mL)(rootPrefixCls,(0,motion.q0)(placement),transitionName),showArrow:hasFeedback||showArrow}))},tree_select_TreeSelect=react.forwardRef(InternalTreeSelect);tree_select_TreeSelect.TreeNode=es_TreeNode,tree_select_TreeSelect.SHOW_ALL="SHOW_ALL",tree_select_TreeSelect.SHOW_PARENT="SHOW_PARENT",tree_select_TreeSelect.SHOW_CHILD="SHOW_CHILD";const tree_select=tree_select_TreeSelect},"./node_modules/antd/node_modules/rc-util/es/Children/toArray.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>toArray});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_is__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-is/index.js");function toArray(children){var option=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ret=[];return react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(children,(function(child){(null!=child||option.keepEmpty)&&(Array.isArray(child)?ret=ret.concat(toArray(child)):(0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(child)&&child.props?ret=ret.concat(toArray(child.props.children,option)):ret.push(child))})),ret}},"./node_modules/antd/node_modules/rc-util/es/Dom/canUseDom.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function canUseDom(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}__webpack_require__.d(__webpack_exports__,{Z:()=>canUseDom})},"./node_modules/antd/node_modules/rc-util/es/Dom/dynamicCSS.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{hq:()=>updateCSS});var _canUseDom__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/Dom/canUseDom.js");function getMark(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},mark=_ref.mark;return mark?mark.startsWith("data-")?mark:"data-".concat(mark):"rc-util-key"}function getContainer(option){return option.attachTo?option.attachTo:document.querySelector("head")||document.body}function injectCSS(css){var _option$csp,option=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,_canUseDom__WEBPACK_IMPORTED_MODULE_0__.Z)())return null;var _option$csp2,styleNode=document.createElement("style");(null===(_option$csp=option.csp)||void 0===_option$csp?void 0:_option$csp.nonce)&&(styleNode.nonce=null===(_option$csp2=option.csp)||void 0===_option$csp2?void 0:_option$csp2.nonce);styleNode.innerHTML=css;var container=getContainer(option),firstChild=container.firstChild;return option.prepend&&container.prepend?container.prepend(styleNode):option.prepend&&firstChild?container.insertBefore(styleNode,firstChild):container.appendChild(styleNode),styleNode}var containerCache=new Map;function findExistNode(key){var option=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},container=getContainer(option);return Array.from(containerCache.get(container).children).find((function(node){return"STYLE"===node.tagName&&node.getAttribute(getMark(option))===key}))}function updateCSS(css,key){var option=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},container=getContainer(option);if(!containerCache.has(container)){var placeholderStyle=injectCSS("",option),parentNode=placeholderStyle.parentNode;containerCache.set(container,parentNode),parentNode.removeChild(placeholderStyle)}var existNode=findExistNode(key,option);if(existNode){var _option$csp3,_option$csp4,_option$csp5;if((null===(_option$csp3=option.csp)||void 0===_option$csp3?void 0:_option$csp3.nonce)&&existNode.nonce!==(null===(_option$csp4=option.csp)||void 0===_option$csp4?void 0:_option$csp4.nonce))existNode.nonce=null===(_option$csp5=option.csp)||void 0===_option$csp5?void 0:_option$csp5.nonce;return existNode.innerHTML!==css&&(existNode.innerHTML=css),existNode}var newNode=injectCSS(css,option);return newNode.setAttribute(getMark(option),key),newNode}},"./node_modules/antd/node_modules/rc-util/es/hooks/useMemo.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>useMemo});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function useMemo(getValue,condition,shouldUpdate){var cacheRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef({});return"value"in cacheRef.current&&!shouldUpdate(cacheRef.current.condition,condition)||(cacheRef.current.value=getValue(),cacheRef.current.condition=condition),cacheRef.current.value}},"./node_modules/antd/node_modules/rc-util/es/hooks/useMergedState.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>useMergedState});var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_useState__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/antd/node_modules/rc-util/es/hooks/useState.js");function useMergedState(defaultStateValue,option){var _ref=option||{},defaultValue=_ref.defaultValue,value=_ref.value,onChange=_ref.onChange,postState=_ref.postState,_useState=(0,_useState__WEBPACK_IMPORTED_MODULE_1__.Z)((function(){return void 0!==value?value:void 0!==defaultValue?"function"==typeof defaultValue?defaultValue():defaultValue:"function"==typeof defaultStateValue?defaultStateValue():defaultStateValue})),_useState2=(0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__.Z)(_useState,2),innerValue=_useState2[0],setInnerValue=_useState2[1],mergedValue=void 0!==value?value:innerValue;postState&&(mergedValue=postState(mergedValue));var onChangeRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef(onChange);onChangeRef.current=onChange;var triggerChange=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(newValue,ignoreDestroy){setInnerValue(newValue,ignoreDestroy),mergedValue!==newValue&&onChangeRef.current&&onChangeRef.current(newValue,mergedValue)}),[mergedValue,onChangeRef]),prevValueRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef(value);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){void 0===value&&value!==prevValueRef.current&&setInnerValue(value),prevValueRef.current=value}),[value]),[mergedValue,triggerChange]}},"./node_modules/antd/node_modules/rc-util/es/hooks/useState.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>useSafeState});var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function useSafeState(defaultValue){var destroyRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef(!1),_React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState(defaultValue),_React$useState2=(0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__.Z)(_React$useState,2),value=_React$useState2[0],setValue=_React$useState2[1];return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return destroyRef.current=!1,function(){destroyRef.current=!0}}),[]),[value,function safeSetState(updater,ignoreDestroy){ignoreDestroy&&destroyRef.current||setValue(updater)}]}},"./node_modules/antd/node_modules/rc-util/es/omit.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>omit});var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");function omit(obj,fields){var clone=(0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__.Z)({},obj);return Array.isArray(fields)&&fields.forEach((function(key){delete clone[key]})),clone}},"./node_modules/antd/node_modules/rc-util/es/raf.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>wrapperRaf});var raf=function raf(callback){return+setTimeout(callback,16)},caf=function caf(num){return clearTimeout(num)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(raf=function raf(callback){return window.requestAnimationFrame(callback)},caf=function caf(handle){return window.cancelAnimationFrame(handle)});var rafUUID=0,rafIds=new Map;function cleanup(id){rafIds.delete(id)}function wrapperRaf(callback){var times=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,id=rafUUID+=1;function callRef(leftTimes){if(0===leftTimes)cleanup(id),callback();else{var realId=raf((function(){callRef(leftTimes-1)}));rafIds.set(id,realId)}}return callRef(times),id}wrapperRaf.cancel=function(id){var realId=rafIds.get(id);return cleanup(realId),caf(realId)}},"./node_modules/antd/node_modules/rc-util/es/ref.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Yr:()=>supportRef,sQ:()=>composeRef});var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),react_is__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react-is/index.js");__webpack_require__("./node_modules/antd/node_modules/rc-util/es/hooks/useMemo.js");function fillRef(ref,node){"function"==typeof ref?ref(node):"object"===(0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__.Z)(ref)&&ref&&"current"in ref&&(ref.current=node)}function composeRef(){for(var _len=arguments.length,refs=new Array(_len),_key=0;_key<_len;_key++)refs[_key]=arguments[_key];var refList=refs.filter((function(ref){return ref}));return refList.length<=1?refList[0]:function(node){refs.forEach((function(ref){fillRef(ref,node)}))}}function supportRef(nodeOrComponent){var _type$prototype,_nodeOrComponent$prot,type=(0,react_is__WEBPACK_IMPORTED_MODULE_0__.isMemo)(nodeOrComponent)?nodeOrComponent.type.type:nodeOrComponent.type;return!("function"==typeof type&&!(null===(_type$prototype=type.prototype)||void 0===_type$prototype?void 0:_type$prototype.render))&&!("function"==typeof nodeOrComponent&&!(null===(_nodeOrComponent$prot=nodeOrComponent.prototype)||void 0===_nodeOrComponent$prot?void 0:_nodeOrComponent$prot.render))}},"./node_modules/array-includes/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ToIntegerOrInfinity=__webpack_require__("./node_modules/es-abstract/2021/ToIntegerOrInfinity.js"),ToLength=__webpack_require__("./node_modules/es-abstract/2021/ToLength.js"),ToObject=__webpack_require__("./node_modules/es-abstract/2021/ToObject.js"),SameValueZero=__webpack_require__("./node_modules/es-abstract/2021/SameValueZero.js"),$isNaN=__webpack_require__("./node_modules/es-abstract/helpers/isNaN.js"),$isFinite=__webpack_require__("./node_modules/es-abstract/helpers/isFinite.js"),GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),isString=__webpack_require__("./node_modules/is-string/index.js"),$charAt=callBound("String.prototype.charAt"),$indexOf=GetIntrinsic("%Array.prototype.indexOf%"),$max=GetIntrinsic("%Math.max%");module.exports=function includes(searchElement){var fromIndex=arguments.length>1?ToIntegerOrInfinity(arguments[1]):0;if($indexOf&&!$isNaN(searchElement)&&$isFinite(fromIndex)&&void 0!==searchElement)return $indexOf.apply(this,arguments)>-1;var O=ToObject(this),length=ToLength(O.length);if(0===length)return!1;for(var k=fromIndex>=0?fromIndex:$max(0,length+fromIndex);k<length;){if(SameValueZero(searchElement,isString(O)?$charAt(O,k):O[k]))return!0;k+=1}return!1}},"./node_modules/array-includes/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/array-includes/implementation.js");module.exports=function getPolyfill(){return Array.prototype.includes||implementation}},"./node_modules/array-includes/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),getPolyfill=__webpack_require__("./node_modules/array-includes/polyfill.js");module.exports=function shimArrayPrototypeIncludes(){var polyfill=getPolyfill();return define(Array.prototype,{includes:polyfill},{includes:function(){return Array.prototype.includes!==polyfill}}),polyfill}},"./node_modules/array.prototype.flat/auto.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/array.prototype.flat/shim.js")()},"./node_modules/array.prototype.flat/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ArraySpeciesCreate=__webpack_require__("./node_modules/es-abstract/2021/ArraySpeciesCreate.js"),FlattenIntoArray=__webpack_require__("./node_modules/es-abstract/2021/FlattenIntoArray.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),ToIntegerOrInfinity=__webpack_require__("./node_modules/es-abstract/2021/ToIntegerOrInfinity.js"),ToLength=__webpack_require__("./node_modules/es-abstract/2021/ToLength.js"),ToObject=__webpack_require__("./node_modules/es-abstract/2021/ToObject.js");module.exports=function flat(){var O=ToObject(this),sourceLen=ToLength(Get(O,"length")),depthNum=1;arguments.length>0&&void 0!==arguments[0]&&(depthNum=ToIntegerOrInfinity(arguments[0]));var A=ArraySpeciesCreate(O,0);return FlattenIntoArray(A,O,sourceLen,0,depthNum),A}},"./node_modules/array.prototype.flat/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/array.prototype.flat/implementation.js");module.exports=function getPolyfill(){return Array.prototype.flat||implementation}},"./node_modules/array.prototype.flat/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),shimUnscopables=__webpack_require__("./node_modules/es-shim-unscopables/index.js"),getPolyfill=__webpack_require__("./node_modules/array.prototype.flat/polyfill.js");module.exports=function shimFlat(){var polyfill=getPolyfill();return define(Array.prototype,{flat:polyfill},{flat:function(){return Array.prototype.flat!==polyfill}}),shimUnscopables("flat"),polyfill}},"./node_modules/array.prototype.flatmap/auto.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/array.prototype.flatmap/shim.js")()},"./node_modules/array.prototype.flatmap/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ArraySpeciesCreate=__webpack_require__("./node_modules/es-abstract/2021/ArraySpeciesCreate.js"),FlattenIntoArray=__webpack_require__("./node_modules/es-abstract/2021/FlattenIntoArray.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),ToLength=__webpack_require__("./node_modules/es-abstract/2021/ToLength.js"),ToObject=__webpack_require__("./node_modules/es-abstract/2021/ToObject.js");module.exports=function flatMap(mapperFunction){var T,O=ToObject(this),sourceLen=ToLength(Get(O,"length"));if(!IsCallable(mapperFunction))throw new TypeError("mapperFunction must be a function");arguments.length>1&&(T=arguments[1]);var A=ArraySpeciesCreate(O,0);return FlattenIntoArray(A,O,sourceLen,0,1,mapperFunction,T),A}},"./node_modules/array.prototype.flatmap/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/array.prototype.flatmap/implementation.js");module.exports=function getPolyfill(){return Array.prototype.flatMap||implementation}},"./node_modules/array.prototype.flatmap/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),shimUnscopables=__webpack_require__("./node_modules/es-shim-unscopables/index.js"),getPolyfill=__webpack_require__("./node_modules/array.prototype.flatmap/polyfill.js");module.exports=function shimFlatMap(){var polyfill=getPolyfill();return define(Array.prototype,{flatMap:polyfill},{flatMap:function(){return Array.prototype.flatMap!==polyfill}}),shimUnscopables("flatMap"),polyfill}},"./node_modules/array.prototype.map/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ArraySpeciesCreate=__webpack_require__("./node_modules/es-abstract/2021/ArraySpeciesCreate.js"),Call=__webpack_require__("./node_modules/es-abstract/2021/Call.js"),CreateDataPropertyOrThrow=__webpack_require__("./node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),HasProperty=__webpack_require__("./node_modules/es-abstract/2021/HasProperty.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),ToUint32=__webpack_require__("./node_modules/es-abstract/2021/ToUint32.js"),ToObject=__webpack_require__("./node_modules/es-abstract/2021/ToObject.js"),ToString=__webpack_require__("./node_modules/es-abstract/2021/ToString.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),isString=__webpack_require__("./node_modules/is-string/index.js"),boxedString=Object("a"),splitString="a"!==boxedString[0]||!(0 in boxedString),strSplit=callBound("String.prototype.split");module.exports=function map(callbackfn){var T,O=ToObject(this),self=splitString&&isString(O)?strSplit(O,""):O,len=ToUint32(self.length);if(!IsCallable(callbackfn))throw new TypeError("Array.prototype.map callback must be a function");arguments.length>1&&(T=arguments[1]);for(var A=ArraySpeciesCreate(O,len),k=0;k<len;){var Pk=ToString(k),kPresent=HasProperty(O,Pk);if(kPresent){var kValue=Get(O,Pk),mappedValue=Call(callbackfn,T,[kValue,k,O]);CreateDataPropertyOrThrow(A,Pk,mappedValue)}k+=1}return A}},"./node_modules/array.prototype.map/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),implementation=__webpack_require__("./node_modules/array.prototype.map/implementation.js"),getPolyfill=__webpack_require__("./node_modules/array.prototype.map/polyfill.js"),polyfill=getPolyfill(),shim=__webpack_require__("./node_modules/array.prototype.map/shim.js"),$slice=callBound("Array.prototype.slice"),boundMapShim=function map(array,callbackfn){return RequireObjectCoercible(array),polyfill.apply(array,$slice(arguments,1))};define(boundMapShim,{getPolyfill,implementation,shim}),module.exports=boundMapShim},"./node_modules/array.prototype.map/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var arrayMethodBoxesProperly=__webpack_require__("./node_modules/es-array-method-boxes-properly/index.js"),implementation=__webpack_require__("./node_modules/array.prototype.map/implementation.js");module.exports=function getPolyfill(){var method=Array.prototype.map;return arrayMethodBoxesProperly(method)?method:implementation}},"./node_modules/array.prototype.map/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),getPolyfill=__webpack_require__("./node_modules/array.prototype.map/polyfill.js");module.exports=function shimArrayPrototypeMap(){var polyfill=getPolyfill();return define(Array.prototype,{map:polyfill},{map:function(){return Array.prototype.map!==polyfill}}),polyfill}},"./node_modules/assert/assert.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectAssign=__webpack_require__("./node_modules/object-assign/index.js");function compare(a,b){if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0}function isBuffer(b){return __webpack_require__.g.Buffer&&"function"==typeof __webpack_require__.g.Buffer.isBuffer?__webpack_require__.g.Buffer.isBuffer(b):!(null==b||!b._isBuffer)}var util=__webpack_require__("./node_modules/assert/node_modules/util/util.js"),hasOwn=Object.prototype.hasOwnProperty,pSlice=Array.prototype.slice,functionsHaveNames="foo"===function foo(){}.name;function pToString(obj){return Object.prototype.toString.call(obj)}function isView(arrbuf){return!isBuffer(arrbuf)&&("function"==typeof __webpack_require__.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(arrbuf):!!arrbuf&&(arrbuf instanceof DataView||!!(arrbuf.buffer&&arrbuf.buffer instanceof ArrayBuffer))))}var assert=module.exports=ok,regex=/\s*function\s+([^\(\s]*)\s*/;function getName(func){if(util.isFunction(func)){if(functionsHaveNames)return func.name;var match=func.toString().match(regex);return match&&match[1]}}function truncate(s,n){return"string"==typeof s?s.length<n?s:s.slice(0,n):s}function inspect(something){if(functionsHaveNames||!util.isFunction(something))return util.inspect(something);var rawname=getName(something);return"[Function"+(rawname?": "+rawname:"")+"]"}function fail(actual,expected,message,operator,stackStartFunction){throw new assert.AssertionError({message,actual,expected,operator,stackStartFunction})}function ok(value,message){value||fail(value,!0,message,"==",assert.ok)}function _deepEqual(actual,expected,strict,memos){if(actual===expected)return!0;if(isBuffer(actual)&&isBuffer(expected))return 0===compare(actual,expected);if(util.isDate(actual)&&util.isDate(expected))return actual.getTime()===expected.getTime();if(util.isRegExp(actual)&&util.isRegExp(expected))return actual.source===expected.source&&actual.global===expected.global&&actual.multiline===expected.multiline&&actual.lastIndex===expected.lastIndex&&actual.ignoreCase===expected.ignoreCase;if(null!==actual&&"object"==typeof actual||null!==expected&&"object"==typeof expected){if(isView(actual)&&isView(expected)&&pToString(actual)===pToString(expected)&&!(actual instanceof Float32Array||actual instanceof Float64Array))return 0===compare(new Uint8Array(actual.buffer),new Uint8Array(expected.buffer));if(isBuffer(actual)!==isBuffer(expected))return!1;var actualIndex=(memos=memos||{actual:[],expected:[]}).actual.indexOf(actual);return-1!==actualIndex&&actualIndex===memos.expected.indexOf(expected)||(memos.actual.push(actual),memos.expected.push(expected),function objEquiv(a,b,strict,actualVisitedObjects){if(null==a||null==b)return!1;if(util.isPrimitive(a)||util.isPrimitive(b))return a===b;if(strict&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return!1;var aIsArgs=isArguments(a),bIsArgs=isArguments(b);if(aIsArgs&&!bIsArgs||!aIsArgs&&bIsArgs)return!1;if(aIsArgs)return _deepEqual(a=pSlice.call(a),b=pSlice.call(b),strict);var key,i,ka=objectKeys(a),kb=objectKeys(b);if(ka.length!==kb.length)return!1;for(ka.sort(),kb.sort(),i=ka.length-1;i>=0;i--)if(ka[i]!==kb[i])return!1;for(i=ka.length-1;i>=0;i--)if(!_deepEqual(a[key=ka[i]],b[key],strict,actualVisitedObjects))return!1;return!0}(actual,expected,strict,memos))}return strict?actual===expected:actual==expected}function isArguments(object){return"[object Arguments]"==Object.prototype.toString.call(object)}function expectedException(actual,expected){if(!actual||!expected)return!1;if("[object RegExp]"==Object.prototype.toString.call(expected))return expected.test(actual);try{if(actual instanceof expected)return!0}catch(e){}return!Error.isPrototypeOf(expected)&&!0===expected.call({},actual)}function _throws(shouldThrow,block,expected,message){var actual;if("function"!=typeof block)throw new TypeError('"block" argument must be a function');"string"==typeof expected&&(message=expected,expected=null),actual=function _tryBlock(block){var error;try{block()}catch(e){error=e}return error}(block),message=(expected&&expected.name?" ("+expected.name+").":".")+(message?" "+message:"."),shouldThrow&&!actual&&fail(actual,expected,"Missing expected exception"+message);var userProvidedMessage="string"==typeof message,isUnexpectedException=!shouldThrow&&actual&&!expected;if((!shouldThrow&&util.isError(actual)&&userProvidedMessage&&expectedException(actual,expected)||isUnexpectedException)&&fail(actual,expected,"Got unwanted exception"+message),shouldThrow&&actual&&expected&&!expectedException(actual,expected)||!shouldThrow&&actual)throw actual}assert.AssertionError=function AssertionError(options){this.name="AssertionError",this.actual=options.actual,this.expected=options.expected,this.operator=options.operator,options.message?(this.message=options.message,this.generatedMessage=!1):(this.message=function getMessage(self){return truncate(inspect(self.actual),128)+" "+self.operator+" "+truncate(inspect(self.expected),128)}(this),this.generatedMessage=!0);var stackStartFunction=options.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,stackStartFunction);else{var err=new Error;if(err.stack){var out=err.stack,fn_name=getName(stackStartFunction),idx=out.indexOf("\n"+fn_name);if(idx>=0){var next_line=out.indexOf("\n",idx+1);out=out.substring(next_line+1)}this.stack=out}}},util.inherits(assert.AssertionError,Error),assert.fail=fail,assert.ok=ok,assert.equal=function equal(actual,expected,message){actual!=expected&&fail(actual,expected,message,"==",assert.equal)},assert.notEqual=function notEqual(actual,expected,message){actual==expected&&fail(actual,expected,message,"!=",assert.notEqual)},assert.deepEqual=function deepEqual(actual,expected,message){_deepEqual(actual,expected,!1)||fail(actual,expected,message,"deepEqual",assert.deepEqual)},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){_deepEqual(actual,expected,!0)||fail(actual,expected,message,"deepStrictEqual",assert.deepStrictEqual)},assert.notDeepEqual=function notDeepEqual(actual,expected,message){_deepEqual(actual,expected,!1)&&fail(actual,expected,message,"notDeepEqual",assert.notDeepEqual)},assert.notDeepStrictEqual=function notDeepStrictEqual(actual,expected,message){_deepEqual(actual,expected,!0)&&fail(actual,expected,message,"notDeepStrictEqual",notDeepStrictEqual)},assert.strictEqual=function strictEqual(actual,expected,message){actual!==expected&&fail(actual,expected,message,"===",assert.strictEqual)},assert.notStrictEqual=function notStrictEqual(actual,expected,message){actual===expected&&fail(actual,expected,message,"!==",assert.notStrictEqual)},assert.throws=function(block,error,message){_throws(!0,block,error,message)},assert.doesNotThrow=function(block,error,message){_throws(!1,block,error,message)},assert.ifError=function(err){if(err)throw err},assert.strict=objectAssign((function strict(value,message){value||fail(value,!0,message,"==",strict)}),assert,{equal:assert.strictEqual,deepEqual:assert.deepStrictEqual,notEqual:assert.notStrictEqual,notDeepEqual:assert.notDeepStrictEqual}),assert.strict.strict=assert.strict;var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj)hasOwn.call(obj,key)&&keys.push(key);return keys}},"./node_modules/assert/node_modules/inherits/inherits_browser.js":module=>{"function"==typeof Object.create?module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}},"./node_modules/assert/node_modules/util/support/isBufferBrowser.js":module=>{module.exports=function isBuffer(arg){return arg&&"object"==typeof arg&&"function"==typeof arg.copy&&"function"==typeof arg.fill&&"function"==typeof arg.readUInt8}},"./node_modules/assert/node_modules/util/util.js":(__unused_webpack_module,exports,__webpack_require__)=>{var process=__webpack_require__("./node_modules/process/browser.js"),formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){for(var objects=[],i=0;i<arguments.length;i++)objects.push(inspect(arguments[i]));return objects.join(" ")}i=1;for(var args=arguments,len=args.length,str=String(f).replace(formatRegExp,(function(x){if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}})),x=args[i];i<len;x=args[++i])isNull(x)||!isObject(x)?str+=" "+x:str+=" "+inspect(x);return str},exports.deprecate=function(fn,msg){if(isUndefined(__webpack_require__.g.process))return function(){return exports.deprecate(fn,msg).apply(this,arguments)};if(!0===process.noDeprecation)return fn;var warned=!1;return function deprecated(){if(!warned){if(process.throwDeprecation)throw new Error(msg);process.traceDeprecation?console.trace(msg):console.error(msg),warned=!0}return fn.apply(this,arguments)}};var debugEnviron,debugs={};function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&(!value.constructor||value.constructor.prototype!==value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=function arrayToHash(array){var hash={};return array.forEach((function(val,idx){hash[val]=!0})),hash}(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var output,base="",array=!1,braces=["{","}"];(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value))&&(base=" [Function"+(value.name?": "+value.name:"")+"]");return isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),0!==keys.length||array&&0!=value.length?recurseTimes<0?isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special"):(ctx.seen.push(value),output=array?function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i=0,l=value.length;i<l;++i)hasOwnProperty(value,String(i))?output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i),!0)):output.push("");return keys.forEach((function(key){key.match(/^\d+$/)||output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,!0))})),output}(ctx,value,recurseTimes,visibleKeys,keys):keys.map((function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)})),ctx.seen.pop(),function reduceToSingleString(output,base,braces){if(output.reduce((function(prev,cur){return cur.indexOf("\n")>=0&&0,prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return braces[0]+(""===base?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1];return braces[0]+base+" "+output.join(", ")+" "+braces[1]}(output,base,braces)):braces[0]+base+braces[1]}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;if((desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]}).get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special")),hasOwnProperty(visibleKeys,key)||(name="["+key+"]"),str||(ctx.seen.indexOf(desc.value)<0?(str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1)).indexOf("\n")>-1&&(str=array?str.split("\n").map((function(line){return" "+line})).join("\n").substr(2):"\n"+str.split("\n").map((function(line){return" "+line})).join("\n")):str=ctx.stylize("[Circular]","special")),isUndefined(name)){if(array&&key.match(/^\d+$/))return str;(name=JSON.stringify(""+key)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(name=name.substr(1,name.length-2),name=ctx.stylize(name,"name")):(name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),name=ctx.stylize(name,"string"))}return name+": "+str}function isArray(ar){return Array.isArray(ar)}function isBoolean(arg){return"boolean"==typeof arg}function isNull(arg){return null===arg}function isNumber(arg){return"number"==typeof arg}function isString(arg){return"string"==typeof arg}function isUndefined(arg){return void 0===arg}function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}function isObject(arg){return"object"==typeof arg&&null!==arg}function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(arg){return"function"==typeof arg}function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}exports.debuglog=function(set){if(isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||""),set=set.toUpperCase(),!debugs[set])if(new RegExp("\\b"+set+"\\b","i").test(debugEnviron)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=function isNullOrUndefined(arg){return null==arg},exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=function isSymbol(arg){return"symbol"==typeof arg},exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||void 0===arg},exports.isBuffer=__webpack_require__("./node_modules/assert/node_modules/util/support/isBufferBrowser.js");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date,time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=__webpack_require__("./node_modules/assert/node_modules/inherits/inherits_browser.js"),exports._extend=function(origin,add){if(!add||!isObject(add))return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin}},"./node_modules/acorn-jsx/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function _get(target,property,receiver){var base=_superPropBase(target,property);if(base){var desc=Object.getOwnPropertyDescriptor(base,property);return desc.get?desc.get.call(arguments.length<3?target:receiver):desc.value}},_get.apply(this,arguments)}function _superPropBase(object,property){for(;!Object.prototype.hasOwnProperty.call(object,property)&&null!==(object=_getPrototypeOf(object)););return object}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self)}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.get.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.set-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.weak-map.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.parse-int.js");var XHTMLEntities=__webpack_require__("./node_modules/acorn-jsx/xhtml.js"),hexNumber=/^[\da-fA-F]+$/,decimalNumber=/^\d+$/,acornJsxMap=new WeakMap;function getJsxTokens(acorn){acorn=acorn.Parser.acorn||acorn;var acornJsx=acornJsxMap.get(acorn);if(!acornJsx){var tt=acorn.tokTypes,TokContext=acorn.TokContext,TokenType=acorn.TokenType,tc_oTag=new TokContext("<tag",!1),tc_cTag=new TokContext("</tag",!1),tc_expr=new TokContext("<tag>...</tag>",!0,!0),tokContexts={tc_oTag,tc_cTag,tc_expr},tokTypes={jsxName:new TokenType("jsxName"),jsxText:new TokenType("jsxText",{beforeExpr:!0}),jsxTagStart:new TokenType("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new TokenType("jsxTagEnd")};tokTypes.jsxTagStart.updateContext=function(){this.context.push(tc_expr),this.context.push(tc_oTag),this.exprAllowed=!1},tokTypes.jsxTagEnd.updateContext=function(prevType){var out=this.context.pop();out===tc_oTag&&prevType===tt.slash||out===tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===tc_expr):this.exprAllowed=!0},acornJsx={tokContexts,tokTypes},acornJsxMap.set(acorn,acornJsx)}return acornJsx}function getQualifiedJSXName(object){return object?"JSXIdentifier"===object.type?object.name:"JSXNamespacedName"===object.type?object.namespace.name+":"+object.name.name:"JSXMemberExpression"===object.type?getQualifiedJSXName(object.object)+"."+getQualifiedJSXName(object.property):void 0:object}module.exports=function(options){return options=options||{},function(Parser){return function plugin(options,Parser){var acorn=Parser.acorn||__webpack_require__("./node_modules/acorn/dist/acorn.js"),acornJsx=getJsxTokens(acorn),tt=acorn.tokTypes,tok=acornJsx.tokTypes,tokContexts=acorn.tokContexts,tc_oTag=acornJsx.tokContexts.tc_oTag,tc_cTag=acornJsx.tokContexts.tc_cTag,tc_expr=acornJsx.tokContexts.tc_expr,isNewLine=acorn.isNewLine,isIdentifierStart=acorn.isIdentifierStart,isIdentifierChar=acorn.isIdentifierChar;return function(_Parser){!function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}(_class,_Parser);var _super=_createSuper(_class);function _class(){return _classCallCheck(this,_class),_super.apply(this,arguments)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(_class,[{key:"jsx_readToken",value:function jsx_readToken(){for(var out="",chunkStart=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var ch=this.input.charCodeAt(this.pos);switch(ch){case 60:case 123:return this.pos===this.start?60===ch&&this.exprAllowed?(++this.pos,this.finishToken(tok.jsxTagStart)):this.getTokenFromCode(ch):(out+=this.input.slice(chunkStart,this.pos),this.finishToken(tok.jsxText,out));case 38:out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readEntity(),chunkStart=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===ch?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:isNewLine(ch)?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readNewLine(!0),chunkStart=this.pos):++this.pos}}}},{key:"jsx_readNewLine",value:function jsx_readNewLine(normalizeCRLF){var out,ch=this.input.charCodeAt(this.pos);return++this.pos,13===ch&&10===this.input.charCodeAt(this.pos)?(++this.pos,out=normalizeCRLF?"\n":"\r\n"):out=String.fromCharCode(ch),this.options.locations&&(++this.curLine,this.lineStart=this.pos),out}},{key:"jsx_readString",value:function jsx_readString(quote){for(var out="",chunkStart=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ch=this.input.charCodeAt(this.pos);if(ch===quote)break;38===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readEntity(),chunkStart=this.pos):isNewLine(ch)?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readNewLine(!1),chunkStart=this.pos):++this.pos}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(tt.string,out)}},{key:"jsx_readEntity",value:function jsx_readEntity(){var entity,str="",count=0,ch=this.input[this.pos];"&"!==ch&&this.raise(this.pos,"Entity must start with an ampersand");for(var startPos=++this.pos;this.pos<this.input.length&&count++<10;){if(";"===(ch=this.input[this.pos++])){"#"===str[0]?"x"===str[1]?(str=str.substr(2),hexNumber.test(str)&&(entity=String.fromCharCode(parseInt(str,16)))):(str=str.substr(1),decimalNumber.test(str)&&(entity=String.fromCharCode(parseInt(str,10)))):entity=XHTMLEntities[str];break}str+=ch}return entity||(this.pos=startPos,"&")}},{key:"jsx_readWord",value:function jsx_readWord(){var ch,start=this.pos;do{ch=this.input.charCodeAt(++this.pos)}while(isIdentifierChar(ch)||45===ch);return this.finishToken(tok.jsxName,this.input.slice(start,this.pos))}},{key:"jsx_parseIdentifier",value:function jsx_parseIdentifier(){var node=this.startNode();return this.type===tok.jsxName?node.name=this.value:this.type.keyword?node.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(node,"JSXIdentifier")}},{key:"jsx_parseNamespacedName",value:function jsx_parseNamespacedName(){var startPos=this.start,startLoc=this.startLoc,name=this.jsx_parseIdentifier();if(!options.allowNamespaces||!this.eat(tt.colon))return name;var node=this.startNodeAt(startPos,startLoc);return node.namespace=name,node.name=this.jsx_parseIdentifier(),this.finishNode(node,"JSXNamespacedName")}},{key:"jsx_parseElementName",value:function jsx_parseElementName(){if(this.type===tok.jsxTagEnd)return"";var startPos=this.start,startLoc=this.startLoc,node=this.jsx_parseNamespacedName();for(this.type!==tt.dot||"JSXNamespacedName"!==node.type||options.allowNamespacedObjects||this.unexpected();this.eat(tt.dot);){var newNode=this.startNodeAt(startPos,startLoc);newNode.object=node,newNode.property=this.jsx_parseIdentifier(),node=this.finishNode(newNode,"JSXMemberExpression")}return node}},{key:"jsx_parseAttributeValue",value:function jsx_parseAttributeValue(){switch(this.type){case tt.braceL:var node=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===node.expression.type&&this.raise(node.start,"JSX attributes must only be assigned a non-empty expression"),node;case tok.jsxTagStart:case tt.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}},{key:"jsx_parseEmptyExpression",value:function jsx_parseEmptyExpression(){var node=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(node,"JSXEmptyExpression",this.start,this.startLoc)}},{key:"jsx_parseExpressionContainer",value:function jsx_parseExpressionContainer(){var node=this.startNode();return this.next(),node.expression=this.type===tt.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(tt.braceR),this.finishNode(node,"JSXExpressionContainer")}},{key:"jsx_parseAttribute",value:function jsx_parseAttribute(){var node=this.startNode();return this.eat(tt.braceL)?(this.expect(tt.ellipsis),node.argument=this.parseMaybeAssign(),this.expect(tt.braceR),this.finishNode(node,"JSXSpreadAttribute")):(node.name=this.jsx_parseNamespacedName(),node.value=this.eat(tt.eq)?this.jsx_parseAttributeValue():null,this.finishNode(node,"JSXAttribute"))}},{key:"jsx_parseOpeningElementAt",value:function jsx_parseOpeningElementAt(startPos,startLoc){var node=this.startNodeAt(startPos,startLoc);node.attributes=[];var nodeName=this.jsx_parseElementName();for(nodeName&&(node.name=nodeName);this.type!==tt.slash&&this.type!==tok.jsxTagEnd;)node.attributes.push(this.jsx_parseAttribute());return node.selfClosing=this.eat(tt.slash),this.expect(tok.jsxTagEnd),this.finishNode(node,nodeName?"JSXOpeningElement":"JSXOpeningFragment")}},{key:"jsx_parseClosingElementAt",value:function jsx_parseClosingElementAt(startPos,startLoc){var node=this.startNodeAt(startPos,startLoc),nodeName=this.jsx_parseElementName();return nodeName&&(node.name=nodeName),this.expect(tok.jsxTagEnd),this.finishNode(node,nodeName?"JSXClosingElement":"JSXClosingFragment")}},{key:"jsx_parseElementAt",value:function jsx_parseElementAt(startPos,startLoc){var node=this.startNodeAt(startPos,startLoc),children=[],openingElement=this.jsx_parseOpeningElementAt(startPos,startLoc),closingElement=null;if(!openingElement.selfClosing){contents:for(;;)switch(this.type){case tok.jsxTagStart:if(startPos=this.start,startLoc=this.startLoc,this.next(),this.eat(tt.slash)){closingElement=this.jsx_parseClosingElementAt(startPos,startLoc);break contents}children.push(this.jsx_parseElementAt(startPos,startLoc));break;case tok.jsxText:children.push(this.parseExprAtom());break;case tt.braceL:children.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}getQualifiedJSXName(closingElement.name)!==getQualifiedJSXName(openingElement.name)&&this.raise(closingElement.start,"Expected corresponding JSX closing tag for <"+getQualifiedJSXName(openingElement.name)+">")}var fragmentOrElement=openingElement.name?"Element":"Fragment";return node["opening"+fragmentOrElement]=openingElement,node["closing"+fragmentOrElement]=closingElement,node.children=children,this.type===tt.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(node,"JSX"+fragmentOrElement)}},{key:"jsx_parseText",value:function jsx_parseText(){var node=this.parseLiteral(this.value);return node.type="JSXText",node}},{key:"jsx_parseElement",value:function jsx_parseElement(){var startPos=this.start,startLoc=this.startLoc;return this.next(),this.jsx_parseElementAt(startPos,startLoc)}},{key:"parseExprAtom",value:function parseExprAtom(refShortHandDefaultPos){return this.type===tok.jsxText?this.jsx_parseText():this.type===tok.jsxTagStart?this.jsx_parseElement():_get(_getPrototypeOf(_class.prototype),"parseExprAtom",this).call(this,refShortHandDefaultPos)}},{key:"readToken",value:function readToken(code){var context=this.curContext();if(context===tc_expr)return this.jsx_readToken();if(context===tc_oTag||context===tc_cTag){if(isIdentifierStart(code))return this.jsx_readWord();if(62==code)return++this.pos,this.finishToken(tok.jsxTagEnd);if((34===code||39===code)&&context==tc_oTag)return this.jsx_readString(code)}return 60===code&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(tok.jsxTagStart)):_get(_getPrototypeOf(_class.prototype),"readToken",this).call(this,code)}},{key:"updateContext",value:function updateContext(prevType){if(this.type==tt.braceL){var curContext=this.curContext();curContext==tc_oTag?this.context.push(tokContexts.b_expr):curContext==tc_expr?this.context.push(tokContexts.b_tmpl):_get(_getPrototypeOf(_class.prototype),"updateContext",this).call(this,prevType),this.exprAllowed=!0}else{if(this.type!==tt.slash||prevType!==tok.jsxTagStart)return _get(_getPrototypeOf(_class.prototype),"updateContext",this).call(this,prevType);this.context.length-=2,this.context.push(tc_cTag),this.exprAllowed=!1}}}],[{key:"acornJsx",get:function get(){return acornJsx}}]),_class}(Parser)}({allowNamespaces:!1!==options.allowNamespaces,allowNamespacedObjects:!!options.allowNamespacedObjects},Parser)}},Object.defineProperty(module.exports,"tokTypes",{get:function get_tokTypes(){return getJsxTokens(__webpack_require__("./node_modules/acorn/dist/acorn.js")).tokTypes},configurable:!0,enumerable:!0})},"./node_modules/acorn-jsx/xhtml.js":module=>{"use strict";module.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},"./node_modules/slash/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),module.exports=function(path){var isExtendedLengthPath=/^\\\\\?\\/.test(path),hasNonAscii=/[^\u0000-\u0080]+/.test(path);return isExtendedLengthPath||hasNonAscii?path:path.replace(/\\/g,"/")}},"./node_modules/call-bind/callBound.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}},"./node_modules/call-bind/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var bind=__webpack_require__("./node_modules/function-bind/index.js"),GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),$max=GetIntrinsic("%Math.max%");if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=null}module.exports=function callBind(originalFunction){var func=$reflectApply(bind,$call,arguments);if($gOPD&&$defineProperty){var desc=$gOPD(func,"length");desc.configurable&&$defineProperty(func,"length",{value:1+$max(0,originalFunction.length-(arguments.length-1))})}return func};var applyBind=function applyBind(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind},"./node_modules/classnames/index.js":(module,exports)=>{var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(arg){var argType=typeof arg;if("string"===argType||"number"===argType)classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if("object"===argType)if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()},"./node_modules/core-js/actual/symbol/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{var parent=__webpack_require__("./node_modules/core-js/stable/symbol/index.js");module.exports=parent},"./node_modules/core-js/es/symbol/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.async-iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.has-instance.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.match.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.match-all.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.search.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.species.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.split.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.unscopables.js"),__webpack_require__("./node_modules/core-js/modules/es.json.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.math.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.to-string-tag.js");var path=__webpack_require__("./node_modules/core-js/internals/path.js");module.exports=path.Symbol},"./node_modules/core-js/features/symbol/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/full/symbol/index.js")},"./node_modules/core-js/full/symbol/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{var parent=__webpack_require__("./node_modules/core-js/actual/symbol/index.js");__webpack_require__("./node_modules/core-js/modules/esnext.symbol.async-dispose.js"),__webpack_require__("./node_modules/core-js/modules/esnext.symbol.dispose.js"),__webpack_require__("./node_modules/core-js/modules/esnext.symbol.matcher.js"),__webpack_require__("./node_modules/core-js/modules/esnext.symbol.metadata.js"),__webpack_require__("./node_modules/core-js/modules/esnext.symbol.observable.js"),__webpack_require__("./node_modules/core-js/modules/esnext.symbol.pattern-match.js"),__webpack_require__("./node_modules/core-js/modules/esnext.symbol.replace-all.js"),module.exports=parent},"./node_modules/core-js/internals/a-callable.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),TypeError=global.TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw TypeError(tryToString(argument)+" is not a function")}},"./node_modules/core-js/internals/a-constructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),TypeError=global.TypeError;module.exports=function(argument){if(isConstructor(argument))return argument;throw TypeError(tryToString(argument)+" is not a constructor")}},"./node_modules/core-js/internals/a-possible-prototype.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),String=global.String,TypeError=global.TypeError;module.exports=function(argument){if("object"==typeof argument||isCallable(argument))return argument;throw TypeError("Can't set "+String(argument)+" as a prototype")}},"./node_modules/core-js/internals/add-to-unscopables.js":(module,__unused_webpack_exports,__webpack_require__)=>{var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),create=__webpack_require__("./node_modules/core-js/internals/object-create.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;null==ArrayPrototype[UNSCOPABLES]&&definePropertyModule.f(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)}),module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}},"./node_modules/core-js/internals/advance-string-index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var charAt=__webpack_require__("./node_modules/core-js/internals/string-multibyte.js").charAt;module.exports=function(S,index,unicode){return index+(unicode?charAt(S,index).length:1)}},"./node_modules/core-js/internals/an-instance.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),TypeError=global.TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw TypeError("Incorrect invocation")}},"./node_modules/core-js/internals/an-object.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),String=global.String,TypeError=global.TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw TypeError(String(argument)+" is not an object")}},"./node_modules/core-js/internals/array-buffer-non-extensible.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=fails((function(){if("function"==typeof ArrayBuffer){var buffer=new ArrayBuffer(8);Object.isExtensible(buffer)&&Object.defineProperty(buffer,"a",{value:8})}}))},"./node_modules/core-js/internals/array-fill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js");module.exports=function fill(value){for(var O=toObject(this),length=lengthOfArrayLike(O),argumentsLength=arguments.length,index=toAbsoluteIndex(argumentsLength>1?arguments[1]:void 0,length),end=argumentsLength>2?arguments[2]:void 0,endPos=void 0===end?length:toAbsoluteIndex(end,length);endPos>index;)O[index++]=value;return O}},"./node_modules/core-js/internals/array-for-each.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $forEach=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").forEach,STRICT_METHOD=__webpack_require__("./node_modules/core-js/internals/array-method-is-strict.js")("forEach");module.exports=STRICT_METHOD?[].forEach:function forEach(callbackfn){return $forEach(this,callbackfn,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-from.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),callWithSafeIterationClosing=__webpack_require__("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),Array=global.Array;module.exports=function from(arrayLike){var O=toObject(arrayLike),IS_CONSTRUCTOR=isConstructor(this),argumentsLength=arguments.length,mapfn=argumentsLength>1?arguments[1]:void 0,mapping=void 0!==mapfn;mapping&&(mapfn=bind(mapfn,argumentsLength>2?arguments[2]:void 0));var length,result,step,iterator,next,value,iteratorMethod=getIteratorMethod(O),index=0;if(!iteratorMethod||this==Array&&isArrayIteratorMethod(iteratorMethod))for(length=lengthOfArrayLike(O),result=IS_CONSTRUCTOR?new this(length):Array(length);length>index;index++)value=mapping?mapfn(O[index],index):O[index],createProperty(result,index,value);else for(next=(iterator=getIterator(O,iteratorMethod)).next,result=IS_CONSTRUCTOR?new this:[];!(step=call(next,iterator)).done;index++)value=mapping?callWithSafeIterationClosing(iterator,mapfn,[step.value,index],!0):step.value,createProperty(result,index,value);return result.length=index,result}},"./node_modules/core-js/internals/array-includes.js":(module,__unused_webpack_exports,__webpack_require__)=>{var toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},"./node_modules/core-js/internals/array-iteration.js":(module,__unused_webpack_exports,__webpack_require__)=>{var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),IndexedObject=__webpack_require__("./node_modules/core-js/internals/indexed-object.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),arraySpeciesCreate=__webpack_require__("./node_modules/core-js/internals/array-species-create.js"),push=uncurryThis([].push),createMethod=function(TYPE){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,IS_FILTER_REJECT=7==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){for(var value,result,O=toObject($this),self=IndexedObject(O),boundFunction=bind(callbackfn,that),length=lengthOfArrayLike(self),index=0,create=specificCreate||arraySpeciesCreate,target=IS_MAP?create($this,length):IS_FILTER||IS_FILTER_REJECT?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(result=boundFunction(value=self[index],index,O),TYPE))if(IS_MAP)target[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return value;case 6:return index;case 2:push(target,value)}else switch(TYPE){case 4:return!1;case 7:push(target,value)}return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:target}};module.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),V8_VERSION=__webpack_require__("./node_modules/core-js/internals/engine-v8-version.js"),SPECIES=wellKnownSymbol("species");module.exports=function(METHOD_NAME){return V8_VERSION>=51||!fails((function(){var array=[];return(array.constructor={})[SPECIES]=function(){return{foo:1}},1!==array[METHOD_NAME](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=function(METHOD_NAME,argument){var method=[][METHOD_NAME];return!!method&&fails((function(){method.call(null,argument||function(){return 1},1)}))}},"./node_modules/core-js/internals/array-slice-simple.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js"),Array=global.Array,max=Math.max;module.exports=function(O,start,end){for(var length=lengthOfArrayLike(O),k=toAbsoluteIndex(start,length),fin=toAbsoluteIndex(void 0===end?length:end,length),result=Array(max(fin-k,0)),n=0;k<fin;k++,n++)createProperty(result,n,O[k]);return result.length=n,result}},"./node_modules/core-js/internals/array-slice.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=uncurryThis([].slice)},"./node_modules/core-js/internals/array-sort.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice-simple.js"),floor=Math.floor,mergeSort=function(array,comparefn){var length=array.length,middle=floor(length/2);return length<8?insertionSort(array,comparefn):merge(array,mergeSort(arraySlice(array,0,middle),comparefn),mergeSort(arraySlice(array,middle),comparefn),comparefn)},insertionSort=function(array,comparefn){for(var element,j,length=array.length,i=1;i<length;){for(j=i,element=array[i];j&&comparefn(array[j-1],element)>0;)array[j]=array[--j];j!==i++&&(array[j]=element)}return array},merge=function(array,left,right,comparefn){for(var llength=left.length,rlength=right.length,lindex=0,rindex=0;lindex<llength||rindex<rlength;)array[lindex+rindex]=lindex<llength&&rindex<rlength?comparefn(left[lindex],right[rindex])<=0?left[lindex++]:right[rindex++]:lindex<llength?left[lindex++]:right[rindex++];return array};module.exports=mergeSort},"./node_modules/core-js/internals/array-species-constructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),SPECIES=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("species"),Array=global.Array;module.exports=function(originalArray){var C;return isArray(originalArray)&&(C=originalArray.constructor,(isConstructor(C)&&(C===Array||isArray(C.prototype))||isObject(C)&&null===(C=C[SPECIES]))&&(C=void 0)),void 0===C?Array:C}},"./node_modules/core-js/internals/array-species-create.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arraySpeciesConstructor=__webpack_require__("./node_modules/core-js/internals/array-species-constructor.js");module.exports=function(originalArray,length){return new(arraySpeciesConstructor(originalArray))(0===length?0:length)}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":(module,__unused_webpack_exports,__webpack_require__)=>{var anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js");module.exports=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){iteratorClose(iterator,"throw",error)}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(error){}module.exports=function(exec,SKIP_CLOSING){if(!SKIP_CLOSING&&!SAFE_CLOSING)return!1;var ITERATION_SUPPORT=!1;try{var object={};object[ITERATOR]=function(){return{next:function(){return{done:ITERATION_SUPPORT=!0}}}},exec(object)}catch(error){}return ITERATION_SUPPORT}},"./node_modules/core-js/internals/classof-raw.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}},"./node_modules/core-js/internals/classof.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),Object=global.Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"==(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/collection-strong.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f,create=__webpack_require__("./node_modules/core-js/internals/object-create.js"),redefineAll=__webpack_require__("./node_modules/core-js/internals/redefine-all.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),anInstance=__webpack_require__("./node_modules/core-js/internals/an-instance.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),defineIterator=__webpack_require__("./node_modules/core-js/internals/define-iterator.js"),setSpecies=__webpack_require__("./node_modules/core-js/internals/set-species.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),fastKey=__webpack_require__("./node_modules/core-js/internals/internal-metadata.js").fastKey,InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),setInternalState=InternalStateModule.set,internalStateGetterFor=InternalStateModule.getterFor;module.exports={getConstructor:function(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER){var Constructor=wrapper((function(that,iterable){anInstance(that,Prototype),setInternalState(that,{type:CONSTRUCTOR_NAME,index:create(null),first:void 0,last:void 0,size:0}),DESCRIPTORS||(that.size=0),null!=iterable&&iterate(iterable,that[ADDER],{that,AS_ENTRIES:IS_MAP})})),Prototype=Constructor.prototype,getInternalState=internalStateGetterFor(CONSTRUCTOR_NAME),define=function(that,key,value){var previous,index,state=getInternalState(that),entry=getEntry(that,key);return entry?entry.value=value:(state.last=entry={index:index=fastKey(key,!0),key,value,previous:previous=state.last,next:void 0,removed:!1},state.first||(state.first=entry),previous&&(previous.next=entry),DESCRIPTORS?state.size++:that.size++,"F"!==index&&(state.index[index]=entry)),that},getEntry=function(that,key){var entry,state=getInternalState(that),index=fastKey(key);if("F"!==index)return state.index[index];for(entry=state.first;entry;entry=entry.next)if(entry.key==key)return entry};return redefineAll(Prototype,{clear:function clear(){for(var state=getInternalState(this),data=state.index,entry=state.first;entry;)entry.removed=!0,entry.previous&&(entry.previous=entry.previous.next=void 0),delete data[entry.index],entry=entry.next;state.first=state.last=void 0,DESCRIPTORS?state.size=0:this.size=0},delete:function(key){var state=getInternalState(this),entry=getEntry(this,key);if(entry){var next=entry.next,prev=entry.previous;delete state.index[entry.index],entry.removed=!0,prev&&(prev.next=next),next&&(next.previous=prev),state.first==entry&&(state.first=next),state.last==entry&&(state.last=prev),DESCRIPTORS?state.size--:this.size--}return!!entry},forEach:function forEach(callbackfn){for(var entry,state=getInternalState(this),boundFunction=bind(callbackfn,arguments.length>1?arguments[1]:void 0);entry=entry?entry.next:state.first;)for(boundFunction(entry.value,entry.key,this);entry&&entry.removed;)entry=entry.previous},has:function has(key){return!!getEntry(this,key)}}),redefineAll(Prototype,IS_MAP?{get:function get(key){var entry=getEntry(this,key);return entry&&entry.value},set:function set(key,value){return define(this,0===key?0:key,value)}}:{add:function add(value){return define(this,value=0===value?0:value,value)}}),DESCRIPTORS&&defineProperty(Prototype,"size",{get:function(){return getInternalState(this).size}}),Constructor},setStrong:function(Constructor,CONSTRUCTOR_NAME,IS_MAP){var ITERATOR_NAME=CONSTRUCTOR_NAME+" Iterator",getInternalCollectionState=internalStateGetterFor(CONSTRUCTOR_NAME),getInternalIteratorState=internalStateGetterFor(ITERATOR_NAME);defineIterator(Constructor,CONSTRUCTOR_NAME,(function(iterated,kind){setInternalState(this,{type:ITERATOR_NAME,target:iterated,state:getInternalCollectionState(iterated),kind,last:void 0})}),(function(){for(var state=getInternalIteratorState(this),kind=state.kind,entry=state.last;entry&&entry.removed;)entry=entry.previous;return state.target&&(state.last=entry=entry?entry.next:state.state.first)?"keys"==kind?{value:entry.key,done:!1}:"values"==kind?{value:entry.value,done:!1}:{value:[entry.key,entry.value],done:!1}:(state.target=void 0,{value:void 0,done:!0})}),IS_MAP?"entries":"values",!IS_MAP,!0),setSpecies(CONSTRUCTOR_NAME)}}},"./node_modules/core-js/internals/collection-weak.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),redefineAll=__webpack_require__("./node_modules/core-js/internals/redefine-all.js"),getWeakData=__webpack_require__("./node_modules/core-js/internals/internal-metadata.js").getWeakData,anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),anInstance=__webpack_require__("./node_modules/core-js/internals/an-instance.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),ArrayIterationModule=__webpack_require__("./node_modules/core-js/internals/array-iteration.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),setInternalState=InternalStateModule.set,internalStateGetterFor=InternalStateModule.getterFor,find=ArrayIterationModule.find,findIndex=ArrayIterationModule.findIndex,splice=uncurryThis([].splice),id=0,uncaughtFrozenStore=function(store){return store.frozen||(store.frozen=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.entries=[]},findUncaughtFrozen=function(store,key){return find(store.entries,(function(it){return it[0]===key}))};UncaughtFrozenStore.prototype={get:function(key){var entry=findUncaughtFrozen(this,key);if(entry)return entry[1]},has:function(key){return!!findUncaughtFrozen(this,key)},set:function(key,value){var entry=findUncaughtFrozen(this,key);entry?entry[1]=value:this.entries.push([key,value])},delete:function(key){var index=findIndex(this.entries,(function(it){return it[0]===key}));return~index&&splice(this.entries,index,1),!!~index}},module.exports={getConstructor:function(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER){var Constructor=wrapper((function(that,iterable){anInstance(that,Prototype),setInternalState(that,{type:CONSTRUCTOR_NAME,id:id++,frozen:void 0}),null!=iterable&&iterate(iterable,that[ADDER],{that,AS_ENTRIES:IS_MAP})})),Prototype=Constructor.prototype,getInternalState=internalStateGetterFor(CONSTRUCTOR_NAME),define=function(that,key,value){var state=getInternalState(that),data=getWeakData(anObject(key),!0);return!0===data?uncaughtFrozenStore(state).set(key,value):data[state.id]=value,that};return redefineAll(Prototype,{delete:function(key){var state=getInternalState(this);if(!isObject(key))return!1;var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).delete(key):data&&hasOwn(data,state.id)&&delete data[state.id]},has:function has(key){var state=getInternalState(this);if(!isObject(key))return!1;var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).has(key):data&&hasOwn(data,state.id)}}),redefineAll(Prototype,IS_MAP?{get:function get(key){var state=getInternalState(this);if(isObject(key)){var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).get(key):data?data[state.id]:void 0}},set:function set(key,value){return define(this,key,value)}}:{add:function add(value){return define(this,value,!0)}}),Constructor}}},"./node_modules/core-js/internals/collection.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),isForced=__webpack_require__("./node_modules/core-js/internals/is-forced.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),InternalMetadataModule=__webpack_require__("./node_modules/core-js/internals/internal-metadata.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),anInstance=__webpack_require__("./node_modules/core-js/internals/an-instance.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),checkCorrectnessOfIteration=__webpack_require__("./node_modules/core-js/internals/check-correctness-of-iteration.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js"),inheritIfRequired=__webpack_require__("./node_modules/core-js/internals/inherit-if-required.js");module.exports=function(CONSTRUCTOR_NAME,wrapper,common){var IS_MAP=-1!==CONSTRUCTOR_NAME.indexOf("Map"),IS_WEAK=-1!==CONSTRUCTOR_NAME.indexOf("Weak"),ADDER=IS_MAP?"set":"add",NativeConstructor=global[CONSTRUCTOR_NAME],NativePrototype=NativeConstructor&&NativeConstructor.prototype,Constructor=NativeConstructor,exported={},fixMethod=function(KEY){var uncurriedNativeMethod=uncurryThis(NativePrototype[KEY]);redefine(NativePrototype,KEY,"add"==KEY?function add(value){return uncurriedNativeMethod(this,0===value?0:value),this}:"delete"==KEY?function(key){return!(IS_WEAK&&!isObject(key))&&uncurriedNativeMethod(this,0===key?0:key)}:"get"==KEY?function get(key){return IS_WEAK&&!isObject(key)?void 0:uncurriedNativeMethod(this,0===key?0:key)}:"has"==KEY?function has(key){return!(IS_WEAK&&!isObject(key))&&uncurriedNativeMethod(this,0===key?0:key)}:function set(key,value){return uncurriedNativeMethod(this,0===key?0:key,value),this})};if(isForced(CONSTRUCTOR_NAME,!isCallable(NativeConstructor)||!(IS_WEAK||NativePrototype.forEach&&!fails((function(){(new NativeConstructor).entries().next()})))))Constructor=common.getConstructor(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER),InternalMetadataModule.enable();else if(isForced(CONSTRUCTOR_NAME,!0)){var instance=new Constructor,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance,THROWS_ON_PRIMITIVES=fails((function(){instance.has(1)})),ACCEPT_ITERABLES=checkCorrectnessOfIteration((function(iterable){new NativeConstructor(iterable)})),BUGGY_ZERO=!IS_WEAK&&fails((function(){for(var $instance=new NativeConstructor,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)}));ACCEPT_ITERABLES||((Constructor=wrapper((function(dummy,iterable){anInstance(dummy,NativePrototype);var that=inheritIfRequired(new NativeConstructor,dummy,Constructor);return null!=iterable&&iterate(iterable,that[ADDER],{that,AS_ENTRIES:IS_MAP}),that}))).prototype=NativePrototype,NativePrototype.constructor=Constructor),(THROWS_ON_PRIMITIVES||BUGGY_ZERO)&&(fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get")),(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER),IS_WEAK&&NativePrototype.clear&&delete NativePrototype.clear}return exported[CONSTRUCTOR_NAME]=Constructor,$({global:!0,forced:Constructor!=NativeConstructor},exported),setToStringTag(Constructor,CONSTRUCTOR_NAME),IS_WEAK||common.setStrong(Constructor,CONSTRUCTOR_NAME,IS_MAP),Constructor}},"./node_modules/core-js/internals/copy-constructor-properties.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),ownKeys=__webpack_require__("./node_modules/core-js/internals/own-keys.js"),getOwnPropertyDescriptorModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js");module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];hasOwn(target,key)||exceptions&&hasOwn(exceptions,key)||defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}},"./node_modules/core-js/internals/correct-is-regexp-logic.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MATCH=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("match");module.exports=function(METHOD_NAME){var regexp=/./;try{"/./"[METHOD_NAME](regexp)}catch(error1){try{return regexp[MATCH]=!1,"/./"[METHOD_NAME](regexp)}catch(error2){}}return!1}},"./node_modules/core-js/internals/correct-prototype-getter.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=!fails((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype}))},"./node_modules/core-js/internals/create-html.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),quot=/"/g,replace=uncurryThis("".replace);module.exports=function(string,tag,attribute,value){var S=toString(requireObjectCoercible(string)),p1="<"+tag;return""!==attribute&&(p1+=" "+attribute+'="'+replace(toString(value),quot,""")+'"'),p1+">"+S+"</"+tag+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var IteratorPrototype=__webpack_require__("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,create=__webpack_require__("./node_modules/core-js/internals/object-create.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next,ENUMERABLE_NEXT){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(+!ENUMERABLE_NEXT,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}},"./node_modules/core-js/internals/create-non-enumerable-property.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}},"./node_modules/core-js/internals/create-property-descriptor.js":module=>{module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value}}},"./node_modules/core-js/internals/create-property.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/date-to-primitive.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),ordinaryToPrimitive=__webpack_require__("./node_modules/core-js/internals/ordinary-to-primitive.js"),TypeError=global.TypeError;module.exports=function(hint){if(anObject(this),"string"===hint||"default"===hint)hint="string";else if("number"!==hint)throw TypeError("Incorrect hint");return ordinaryToPrimitive(this,hint)}},"./node_modules/core-js/internals/define-iterator.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),FunctionName=__webpack_require__("./node_modules/core-js/internals/function-name.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),createIteratorConstructor=__webpack_require__("./node_modules/core-js/internals/create-iterator-constructor.js"),getPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-get-prototype-of.js"),setPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-set-prototype-of.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),IteratorsCore=__webpack_require__("./node_modules/core-js/internals/iterators-core.js"),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var CurrentIteratorPrototype,methods,KEY,getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case"keys":return function keys(){return new IteratorConstructor(this,KIND)};case"values":return function values(){return new IteratorConstructor(this,KIND)};case"entries":return function entries(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator="Array"==NAME&&IterablePrototype.entries||nativeIterator;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)))!==Object.prototype&&CurrentIteratorPrototype.next&&(IS_PURE||getPrototypeOf(CurrentIteratorPrototype)===IteratorPrototype||(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):isCallable(CurrentIteratorPrototype[ITERATOR])||redefine(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis)),PROPER_FUNCTION_NAME&&"values"==DEFAULT&&nativeIterator&&"values"!==nativeIterator.name&&(!IS_PURE&&CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(IterablePrototype,"name","values"):(INCORRECT_VALUES_NAME=!0,defaultIterator=function values(){return call(nativeIterator,this)})),DEFAULT)if(methods={values:getIterationMethod("values"),keys:IS_SET?defaultIterator:getIterationMethod("keys"),entries:getIterationMethod("entries")},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&redefine(IterablePrototype,KEY,methods[KEY]);else $({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return IS_PURE&&!FORCED||IterablePrototype[ITERATOR]===defaultIterator||redefine(IterablePrototype,ITERATOR,defaultIterator,{name:DEFAULT}),Iterators[NAME]=defaultIterator,methods}},"./node_modules/core-js/internals/define-well-known-symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var path=__webpack_require__("./node_modules/core-js/internals/path.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),wrappedWellKnownSymbolModule=__webpack_require__("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f;module.exports=function(NAME){var Symbol=path.Symbol||(path.Symbol={});hasOwn(Symbol,NAME)||defineProperty(Symbol,NAME,{value:wrappedWellKnownSymbolModule.f(NAME)})}},"./node_modules/core-js/internals/descriptors.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"./node_modules/core-js/internals/document-create-element.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),document=global.document,EXISTS=isObject(document)&&isObject(document.createElement);module.exports=function(it){return EXISTS?document.createElement(it):{}}},"./node_modules/core-js/internals/dom-iterables.js":module=>{module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/dom-token-list-prototype.js":(module,__unused_webpack_exports,__webpack_require__)=>{var classList=__webpack_require__("./node_modules/core-js/internals/document-create-element.js")("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype;module.exports=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype},"./node_modules/core-js/internals/engine-is-browser.js":module=>{module.exports="object"==typeof window&&"object"!=typeof Deno},"./node_modules/core-js/internals/engine-is-ios-pebble.js":(module,__unused_webpack_exports,__webpack_require__)=>{var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js");module.exports=/ipad|iphone|ipod/i.test(userAgent)&&void 0!==global.Pebble},"./node_modules/core-js/internals/engine-is-ios.js":(module,__unused_webpack_exports,__webpack_require__)=>{var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js");module.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent)},"./node_modules/core-js/internals/engine-is-node.js":(module,__unused_webpack_exports,__webpack_require__)=>{var classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js");module.exports="process"==classof(global.process)},"./node_modules/core-js/internals/engine-is-webos-webkit.js":(module,__unused_webpack_exports,__webpack_require__)=>{var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js");module.exports=/web0s(?!.*chrome)/i.test(userAgent)},"./node_modules/core-js/internals/engine-user-agent.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js");module.exports=getBuiltIn("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":(module,__unused_webpack_exports,__webpack_require__)=>{var match,version,global=__webpack_require__("./node_modules/core-js/internals/global.js"),userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js"),process=global.process,Deno=global.Deno,versions=process&&process.versions||Deno&&Deno.version,v8=versions&&versions.v8;v8&&(version=(match=v8.split("."))[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/))&&(version=+match[1]),module.exports=version},"./node_modules/core-js/internals/enum-bug-keys.js":module=>{module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),getOwnPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),setGlobal=__webpack_require__("./node_modules/core-js/internals/set-global.js"),copyConstructorProperties=__webpack_require__("./node_modules/core-js/internals/copy-constructor-properties.js"),isForced=__webpack_require__("./node_modules/core-js/internals/is-forced.js");module.exports=function(options,source){var target,key,targetProperty,sourceProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat;if(target=GLOBAL?global:STATIC?global[TARGET]||setGlobal(TARGET,{}):(global[TARGET]||{}).prototype)for(key in source){if(sourceProperty=source[key],targetProperty=options.noTargetGet?(descriptor=getOwnPropertyDescriptor(target,key))&&descriptor.value:target[key],!isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&void 0!==targetProperty){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),redefine(target,key,sourceProperty,options)}}},"./node_modules/core-js/internals/fails.js":module=>{module.exports=function(exec){try{return!!exec()}catch(error){return!0}}},"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js");var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),regexpExec=__webpack_require__("./node_modules/core-js/internals/regexp-exec.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),SPECIES=wellKnownSymbol("species"),RegExpPrototype=RegExp.prototype;module.exports=function(KEY,exec,FORCED,SHAM){var SYMBOL=wellKnownSymbol(KEY),DELEGATES_TO_SYMBOL=!fails((function(){var O={};return O[SYMBOL]=function(){return 7},7!=""[KEY](O)})),DELEGATES_TO_EXEC=DELEGATES_TO_SYMBOL&&!fails((function(){var execCalled=!1,re=/a/;return"split"===KEY&&((re={}).constructor={},re.constructor[SPECIES]=function(){return re},re.flags="",re[SYMBOL]=/./[SYMBOL]),re.exec=function(){return execCalled=!0,null},re[SYMBOL](""),!execCalled}));if(!DELEGATES_TO_SYMBOL||!DELEGATES_TO_EXEC||FORCED){var uncurriedNativeRegExpMethod=uncurryThis(/./[SYMBOL]),methods=exec(SYMBOL,""[KEY],(function(nativeMethod,regexp,str,arg2,forceStringMethod){var uncurriedNativeMethod=uncurryThis(nativeMethod),$exec=regexp.exec;return $exec===regexpExec||$exec===RegExpPrototype.exec?DELEGATES_TO_SYMBOL&&!forceStringMethod?{done:!0,value:uncurriedNativeRegExpMethod(regexp,str,arg2)}:{done:!0,value:uncurriedNativeMethod(str,regexp,arg2)}:{done:!1}}));redefine(String.prototype,KEY,methods[0]),redefine(RegExpPrototype,SYMBOL,methods[1])}SHAM&&createNonEnumerableProperty(RegExpPrototype[SYMBOL],"sham",!0)}},"./node_modules/core-js/internals/freezing.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=!fails((function(){return Object.isExtensible(Object.preventExtensions({}))}))},"./node_modules/core-js/internals/function-apply.js":(module,__unused_webpack_exports,__webpack_require__)=>{var NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})},"./node_modules/core-js/internals/function-bind-context.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-bind-native.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=!fails((function(){var test=function(){}.bind();return"function"!=typeof test||test.hasOwnProperty("prototype")}))},"./node_modules/core-js/internals/function-bind.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),Function=global.Function,concat=uncurryThis([].concat),join=uncurryThis([].join),factories={},construct=function(C,argsLength,args){if(!hasOwn(factories,argsLength)){for(var list=[],i=0;i<argsLength;i++)list[i]="a["+i+"]";factories[argsLength]=Function("C,a","return new C("+join(list,",")+")")}return factories[argsLength](C,args)};module.exports=NATIVE_BIND?Function.bind:function bind(that){var F=aCallable(this),Prototype=F.prototype,partArgs=arraySlice(arguments,1),boundFunction=function bound(){var args=concat(partArgs,arraySlice(arguments));return this instanceof boundFunction?construct(F,args.length,args):F.apply(that,args)};return isObject(Prototype)&&(boundFunction.prototype=Prototype),boundFunction}},"./node_modules/core-js/internals/function-call.js":(module,__unused_webpack_exports,__webpack_require__)=>{var NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}},"./node_modules/core-js/internals/function-name.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function something(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS||DESCRIPTORS&&getDescriptor(FunctionPrototype,"name").configurable);module.exports={EXISTS,PROPER,CONFIGURABLE}},"./node_modules/core-js/internals/function-uncurry-this.js":(module,__unused_webpack_exports,__webpack_require__)=>{var NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),FunctionPrototype=Function.prototype,bind=FunctionPrototype.bind,call=FunctionPrototype.call,uncurryThis=NATIVE_BIND&&bind.bind(call,call);module.exports=NATIVE_BIND?function(fn){return fn&&uncurryThis(fn)}:function(fn){return fn&&function(){return call.apply(fn,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),aFunction=function(argument){return isCallable(argument)?argument:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}},"./node_modules/core-js/internals/get-iterator-method.js":(module,__unused_webpack_exports,__webpack_require__)=>{var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(null!=it)return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),TypeError=global.TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/get-method.js":(module,__unused_webpack_exports,__webpack_require__)=>{var aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js");module.exports=function(V,P){var func=V[P];return null==func?void 0:aCallable(func)}},"./node_modules/core-js/internals/get-substitution.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),floor=Math.floor,charAt=uncurryThis("".charAt),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace(replacement,symbols,(function(match,ch){var capture;switch(charAt(ch,0)){case"$":return"$";case"&":return matched;case"`":return stringSlice(str,0,position);case"'":return stringSlice(str,tailPos);case"<":capture=namedCaptures[stringSlice(ch,1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?charAt(ch,1):captures[f-1]+charAt(ch,1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}},"./node_modules/core-js/internals/global.js":(module,__unused_webpack_exports,__webpack_require__)=>{var check=function(it){return it&&it.Math==Math&&it};module.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof __webpack_require__.g&&__webpack_require__.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has-own-property.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function hasOwn(it,key){return hasOwnProperty(toObject(it),key)}},"./node_modules/core-js/internals/hidden-keys.js":module=>{module.exports={}},"./node_modules/core-js/internals/host-report-errors.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js");module.exports=function(a,b){var console=global.console;console&&console.error&&(1==arguments.length?console.error(a):console.error(a,b))}},"./node_modules/core-js/internals/html.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js");module.exports=getBuiltIn("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),createElement=__webpack_require__("./node_modules/core-js/internals/document-create-element.js");module.exports=!DESCRIPTORS&&!fails((function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),Object=global.Object,split=uncurryThis("".split);module.exports=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(it){return"String"==classof(it)?split(it,""):Object(it)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),setPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-set-prototype-of.js");module.exports=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;return setPrototypeOf&&isCallable(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject(NewTargetPrototype=NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&setPrototypeOf($this,NewTargetPrototype),$this}},"./node_modules/core-js/internals/inspect-source.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),store=__webpack_require__("./node_modules/core-js/internals/shared-store.js"),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)}),module.exports=store.inspectSource},"./node_modules/core-js/internals/internal-metadata.js":(module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),hiddenKeys=__webpack_require__("./node_modules/core-js/internals/hidden-keys.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f,getOwnPropertyNamesModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names.js"),getOwnPropertyNamesExternalModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names-external.js"),isExtensible=__webpack_require__("./node_modules/core-js/internals/object-is-extensible.js"),uid=__webpack_require__("./node_modules/core-js/internals/uid.js"),FREEZING=__webpack_require__("./node_modules/core-js/internals/freezing.js"),REQUIRED=!1,METADATA=uid("meta"),id=0,setMetadata=function(it){defineProperty(it,METADATA,{value:{objectID:"O"+id++,weakData:{}}})},meta=module.exports={enable:function(){meta.enable=function(){},REQUIRED=!0;var getOwnPropertyNames=getOwnPropertyNamesModule.f,splice=uncurryThis([].splice),test={};test[METADATA]=1,getOwnPropertyNames(test).length&&(getOwnPropertyNamesModule.f=function(it){for(var result=getOwnPropertyNames(it),i=0,length=result.length;i<length;i++)if(result[i]===METADATA){splice(result,i,1);break}return result},$({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:getOwnPropertyNamesExternalModule.f}))},fastKey:function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!hasOwn(it,METADATA)){if(!isExtensible(it))return"F";if(!create)return"E";setMetadata(it)}return it[METADATA].objectID},getWeakData:function(it,create){if(!hasOwn(it,METADATA)){if(!isExtensible(it))return!0;if(!create)return!1;setMetadata(it)}return it[METADATA].weakData},onFreeze:function(it){return FREEZING&&REQUIRED&&isExtensible(it)&&!hasOwn(it,METADATA)&&setMetadata(it),it}};hiddenKeys[METADATA]=!0},"./node_modules/core-js/internals/internal-state.js":(module,__unused_webpack_exports,__webpack_require__)=>{var set,get,has,NATIVE_WEAK_MAP=__webpack_require__("./node_modules/core-js/internals/native-weak-map.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),shared=__webpack_require__("./node_modules/core-js/internals/shared-store.js"),sharedKey=__webpack_require__("./node_modules/core-js/internals/shared-key.js"),hiddenKeys=__webpack_require__("./node_modules/core-js/internals/hidden-keys.js"),TypeError=global.TypeError,WeakMap=global.WeakMap;if(NATIVE_WEAK_MAP||shared.state){var store=shared.state||(shared.state=new WeakMap),wmget=uncurryThis(store.get),wmhas=uncurryThis(store.has),wmset=uncurryThis(store.set);set=function(it,metadata){if(wmhas(store,it))throw new TypeError("Object already initialized");return metadata.facade=it,wmset(store,it,metadata),metadata},get=function(it){return wmget(store,it)||{}},has=function(it){return wmhas(store,it)}}else{var STATE=sharedKey("state");hiddenKeys[STATE]=!0,set=function(it,metadata){if(hasOwn(it,STATE))throw new TypeError("Object already initialized");return metadata.facade=it,createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return hasOwn(it,STATE)?it[STATE]:{}},has=function(it){return hasOwn(it,STATE)}}module.exports={set,get,has,enforce:function(it){return has(it)?get(it):set(it,{})},getterFor:function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required");return state}}}},"./node_modules/core-js/internals/is-array-iterator-method.js":(module,__unused_webpack_exports,__webpack_require__)=>{var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/is-array.js":(module,__unused_webpack_exports,__webpack_require__)=>{var classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js");module.exports=Array.isArray||function isArray(argument){return"Array"==classof(argument)}},"./node_modules/core-js/internals/is-callable.js":module=>{module.exports=function(argument){return"function"==typeof argument}},"./node_modules/core-js/internals/is-constructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),inspectSource=__webpack_require__("./node_modules/core-js/internals/inspect-source.js"),noop=function(){},empty=[],construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function isConstructor(argument){if(!isCallable(argument))return!1;try{return construct(noop,empty,argument),!0}catch(error){return!1}},isConstructorLegacy=function isConstructor(argument){if(!isCallable(argument))return!1;switch(classof(argument)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource(argument))}catch(error){return!0}};isConstructorLegacy.sham=!0,module.exports=!construct||fails((function(){var called;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){called=!0}))||called}))?isConstructorLegacy:isConstructorModern},"./node_modules/core-js/internals/is-data-descriptor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js");module.exports=function(descriptor){return void 0!==descriptor&&(hasOwn(descriptor,"value")||hasOwn(descriptor,"writable"))}},"./node_modules/core-js/internals/is-forced.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value==POLYFILL||value!=NATIVE&&(isCallable(detection)?fails(detection):!!detection)},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced},"./node_modules/core-js/internals/is-integral-number.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),floor=Math.floor;module.exports=Number.isInteger||function isInteger(it){return!isObject(it)&&isFinite(it)&&floor(it)===it}},"./node_modules/core-js/internals/is-object.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js");module.exports=function(it){return"object"==typeof it?null!==it:isCallable(it)}},"./node_modules/core-js/internals/is-pure.js":module=>{module.exports=!1},"./node_modules/core-js/internals/is-regexp.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),MATCH=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("match");module.exports=function(it){var isRegExp;return isObject(it)&&(void 0!==(isRegExp=it[MATCH])?!!isRegExp:"RegExp"==classof(it))}},"./node_modules/core-js/internals/is-symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),USE_SYMBOL_AS_UID=__webpack_require__("./node_modules/core-js/internals/use-symbol-as-uid.js"),Object=global.Object;module.exports=USE_SYMBOL_AS_UID?function(it){return"symbol"==typeof it}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,Object(it))}},"./node_modules/core-js/internals/iterate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),TypeError=global.TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":(module,__unused_webpack_exports,__webpack_require__)=>{var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/iterators-core.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator,fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),create=__webpack_require__("./node_modules/core-js/internals/object-create.js"),getPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-get-prototype-of.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)))!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS=!0),null==IteratorPrototype||fails((function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test}))?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype)),isCallable(IteratorPrototype[ITERATOR])||redefine(IteratorPrototype,ITERATOR,(function(){return this})),module.exports={IteratorPrototype,BUGGY_SAFARI_ITERATORS}},"./node_modules/core-js/internals/iterators.js":module=>{module.exports={}},"./node_modules/core-js/internals/length-of-array-like.js":(module,__unused_webpack_exports,__webpack_require__)=>{var toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js");module.exports=function(obj){return toLength(obj.length)}},"./node_modules/core-js/internals/microtask.js":(module,__unused_webpack_exports,__webpack_require__)=>{var flush,head,last,notify,toggle,node,promise,then,global=__webpack_require__("./node_modules/core-js/internals/global.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),getOwnPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,macrotask=__webpack_require__("./node_modules/core-js/internals/task.js").set,IS_IOS=__webpack_require__("./node_modules/core-js/internals/engine-is-ios.js"),IS_IOS_PEBBLE=__webpack_require__("./node_modules/core-js/internals/engine-is-ios-pebble.js"),IS_WEBOS_WEBKIT=__webpack_require__("./node_modules/core-js/internals/engine-is-webos-webkit.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js"),MutationObserver=global.MutationObserver||global.WebKitMutationObserver,document=global.document,process=global.process,Promise=global.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor(global,"queueMicrotask"),queueMicrotask=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value;queueMicrotask||(flush=function(){var parent,fn;for(IS_NODE&&(parent=process.domain)&&parent.exit();head;){fn=head.fn,head=head.next;try{fn()}catch(error){throw head?notify():last=void 0,error}}last=void 0,parent&&parent.enter()},IS_IOS||IS_NODE||IS_WEBOS_WEBKIT||!MutationObserver||!document?!IS_IOS_PEBBLE&&Promise&&Promise.resolve?((promise=Promise.resolve(void 0)).constructor=Promise,then=bind(promise.then,promise),notify=function(){then(flush)}):IS_NODE?notify=function(){process.nextTick(flush)}:(macrotask=bind(macrotask,global),notify=function(){macrotask(flush)}):(toggle=!0,node=document.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle})),module.exports=queueMicrotask||function(fn){var task={fn,next:void 0};last&&(last.next=task),head||(head=task,notify()),last=task}},"./node_modules/core-js/internals/native-symbol-registry.js":(module,__unused_webpack_exports,__webpack_require__)=>{var NATIVE_SYMBOL=__webpack_require__("./node_modules/core-js/internals/native-symbol.js");module.exports=NATIVE_SYMBOL&&!!Symbol.for&&!!Symbol.keyFor},"./node_modules/core-js/internals/native-symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var V8_VERSION=__webpack_require__("./node_modules/core-js/internals/engine-v8-version.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=!!Object.getOwnPropertySymbols&&!fails((function(){var symbol=Symbol();return!String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}))},"./node_modules/core-js/internals/native-url.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),ITERATOR=wellKnownSymbol("iterator");module.exports=!fails((function(){var url=new URL("b?a=1&b=2&c=3","http://a"),searchParams=url.searchParams,result="";return url.pathname="c%20d",searchParams.forEach((function(value,key){searchParams.delete("b"),result+=key+value})),IS_PURE&&!url.toJSON||!searchParams.sort||"http://a/c%20d?a=1&c=3"!==url.href||"3"!==searchParams.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!searchParams[ITERATOR]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==result||"x"!==new URL("http://x",void 0).host}))},"./node_modules/core-js/internals/native-weak-map.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),inspectSource=__webpack_require__("./node_modules/core-js/internals/inspect-source.js"),WeakMap=global.WeakMap;module.exports=isCallable(WeakMap)&&/native code/.test(inspectSource(WeakMap))},"./node_modules/core-js/internals/new-promise-capability.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),PromiseCapability=function(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aCallable(resolve),this.reject=aCallable(reject)};module.exports.f=function(C){return new PromiseCapability(C)}},"./node_modules/core-js/internals/not-a-regexp.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isRegExp=__webpack_require__("./node_modules/core-js/internals/is-regexp.js"),TypeError=global.TypeError;module.exports=function(it){if(isRegExp(it))throw TypeError("The method doesn't accept regular expressions");return it}},"./node_modules/core-js/internals/number-is-finite.js":(module,__unused_webpack_exports,__webpack_require__)=>{var globalIsFinite=__webpack_require__("./node_modules/core-js/internals/global.js").isFinite;module.exports=Number.isFinite||function isFinite(it){return"number"==typeof it&&globalIsFinite(it)}},"./node_modules/core-js/internals/number-parse-int.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),trim=__webpack_require__("./node_modules/core-js/internals/string-trim.js").trim,whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js"),$parseInt=global.parseInt,Symbol=global.Symbol,ITERATOR=Symbol&&Symbol.iterator,hex=/^[+-]?0x/i,exec=uncurryThis(hex.exec),FORCED=8!==$parseInt(whitespaces+"08")||22!==$parseInt(whitespaces+"0x16")||ITERATOR&&!fails((function(){$parseInt(Object(ITERATOR))}));module.exports=FORCED?function parseInt(string,radix){var S=trim(toString(string));return $parseInt(S,radix>>>0||(exec(hex,S)?16:10))}:$parseInt},"./node_modules/core-js/internals/object-assign.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),objectKeys=__webpack_require__("./node_modules/core-js/internals/object-keys.js"),getOwnPropertySymbolsModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-symbols.js"),propertyIsEnumerableModule=__webpack_require__("./node_modules/core-js/internals/object-property-is-enumerable.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),IndexedObject=__webpack_require__("./node_modules/core-js/internals/indexed-object.js"),$assign=Object.assign,defineProperty=Object.defineProperty,concat=uncurryThis([].concat);module.exports=!$assign||fails((function(){if(DESCRIPTORS&&1!==$assign({b:1},$assign(defineProperty({},"a",{enumerable:!0,get:function(){defineProperty(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var A={},B={},symbol=Symbol();return A[symbol]=7,"abcdefghijklmnopqrst".split("").forEach((function(chr){B[chr]=chr})),7!=$assign({},A)[symbol]||"abcdefghijklmnopqrst"!=objectKeys($assign({},B)).join("")}))?function assign(target,source){for(var T=toObject(target),argumentsLength=arguments.length,index=1,getOwnPropertySymbols=getOwnPropertySymbolsModule.f,propertyIsEnumerable=propertyIsEnumerableModule.f;argumentsLength>index;)for(var key,S=IndexedObject(arguments[index++]),keys=getOwnPropertySymbols?concat(objectKeys(S),getOwnPropertySymbols(S)):objectKeys(S),length=keys.length,j=0;length>j;)key=keys[j++],DESCRIPTORS&&!call(propertyIsEnumerable,S,key)||(T[key]=S[key]);return T}:$assign},"./node_modules/core-js/internals/object-create.js":(module,__unused_webpack_exports,__webpack_require__)=>{var activeXDocument,anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),definePropertiesModule=__webpack_require__("./node_modules/core-js/internals/object-define-properties.js"),enumBugKeys=__webpack_require__("./node_modules/core-js/internals/enum-bug-keys.js"),hiddenKeys=__webpack_require__("./node_modules/core-js/internals/hidden-keys.js"),html=__webpack_require__("./node_modules/core-js/internals/html.js"),documentCreateElement=__webpack_require__("./node_modules/core-js/internals/document-create-element.js"),sharedKey=__webpack_require__("./node_modules/core-js/internals/shared-key.js"),IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return"<script>"+content+"<\/script>"},NullProtoObjectViaActiveX=function(activeXDocument){activeXDocument.write(scriptTag("")),activeXDocument.close();var temp=activeXDocument.parentWindow.Object;return activeXDocument=null,temp},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(error){}var iframeDocument,iframe;NullProtoObject="undefined"!=typeof document?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):((iframe=documentCreateElement("iframe")).style.display="none",html.appendChild(iframe),iframe.src=String("javascript:"),(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F):NullProtoObjectViaActiveX(activeXDocument);for(var length=enumBugKeys.length;length--;)delete NullProtoObject.prototype[enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0,module.exports=Object.create||function create(O,Properties){var result;return null!==O?(EmptyConstructor.prototype=anObject(O),result=new EmptyConstructor,EmptyConstructor.prototype=null,result[IE_PROTO]=O):result=NullProtoObject(),void 0===Properties?result:definePropertiesModule.f(result,Properties)}},"./node_modules/core-js/internals/object-define-properties.js":(__unused_webpack_module,exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),V8_PROTOTYPE_DEFINE_BUG=__webpack_require__("./node_modules/core-js/internals/v8-prototype-define-bug.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),objectKeys=__webpack_require__("./node_modules/core-js/internals/object-keys.js");exports.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var key,props=toIndexedObject(Properties),keys=objectKeys(Properties),length=keys.length,index=0;length>index;)definePropertyModule.f(O,key=keys[index++],props[key]);return O}},"./node_modules/core-js/internals/object-define-property.js":(__unused_webpack_module,exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),IE8_DOM_DEFINE=__webpack_require__("./node_modules/core-js/internals/ie8-dom-define.js"),V8_PROTOTYPE_DEFINE_BUG=__webpack_require__("./node_modules/core-js/internals/v8-prototype-define-bug.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),TypeError=global.TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),"function"==typeof O&&"prototype"===P&&"value"in Attributes&&"writable"in Attributes&&!Attributes.writable){var current=$getOwnPropertyDescriptor(O,P);current&¤t.writable&&(O[P]=Attributes.value,Attributes={configurable:"configurable"in Attributes?Attributes.configurable:current.configurable,enumerable:"enumerable"in Attributes?Attributes.enumerable:current.enumerable,writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":(__unused_webpack_module,exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),propertyIsEnumerableModule=__webpack_require__("./node_modules/core-js/internals/object-property-is-enumerable.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),IE8_DOM_DEFINE=__webpack_require__("./node_modules/core-js/internals/ie8-dom-define.js"),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function getOwnPropertyDescriptor(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":(module,__unused_webpack_exports,__webpack_require__)=>{var classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),$getOwnPropertyNames=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names.js").f,arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice-simple.js"),windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];module.exports.f=function getOwnPropertyNames(it){return windowNames&&"Window"==classof(it)?function(it){try{return $getOwnPropertyNames(it)}catch(error){return arraySlice(windowNames)}}(it):$getOwnPropertyNames(toIndexedObject(it))}},"./node_modules/core-js/internals/object-get-own-property-names.js":(__unused_webpack_module,exports,__webpack_require__)=>{var internalObjectKeys=__webpack_require__("./node_modules/core-js/internals/object-keys-internal.js"),hiddenKeys=__webpack_require__("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return internalObjectKeys(O,hiddenKeys)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":(__unused_webpack_module,exports)=>{exports.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),sharedKey=__webpack_require__("./node_modules/core-js/internals/shared-key.js"),CORRECT_PROTOTYPE_GETTER=__webpack_require__("./node_modules/core-js/internals/correct-prototype-getter.js"),IE_PROTO=sharedKey("IE_PROTO"),Object=global.Object,ObjectPrototype=Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?Object.getPrototypeOf:function(O){var object=toObject(O);if(hasOwn(object,IE_PROTO))return object[IE_PROTO];var constructor=object.constructor;return isCallable(constructor)&&object instanceof constructor?constructor.prototype:object instanceof Object?ObjectPrototype:null}},"./node_modules/core-js/internals/object-is-extensible.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),ARRAY_BUFFER_NON_EXTENSIBLE=__webpack_require__("./node_modules/core-js/internals/array-buffer-non-extensible.js"),$isExtensible=Object.isExtensible,FAILS_ON_PRIMITIVES=fails((function(){$isExtensible(1)}));module.exports=FAILS_ON_PRIMITIVES||ARRAY_BUFFER_NON_EXTENSIBLE?function isExtensible(it){return!!isObject(it)&&((!ARRAY_BUFFER_NON_EXTENSIBLE||"ArrayBuffer"!=classof(it))&&(!$isExtensible||$isExtensible(it)))}:$isExtensible},"./node_modules/core-js/internals/object-is-prototype-of.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=uncurryThis({}.isPrototypeOf)},"./node_modules/core-js/internals/object-keys-internal.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),indexOf=__webpack_require__("./node_modules/core-js/internals/array-includes.js").indexOf,hiddenKeys=__webpack_require__("./node_modules/core-js/internals/hidden-keys.js"),push=uncurryThis([].push);module.exports=function(object,names){var key,O=toIndexedObject(object),i=0,result=[];for(key in O)!hasOwn(hiddenKeys,key)&&hasOwn(O,key)&&push(result,key);for(;names.length>i;)hasOwn(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}},"./node_modules/core-js/internals/object-keys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var internalObjectKeys=__webpack_require__("./node_modules/core-js/internals/object-keys-internal.js"),enumBugKeys=__webpack_require__("./node_modules/core-js/internals/enum-bug-keys.js");module.exports=Object.keys||function keys(O){return internalObjectKeys(O,enumBugKeys)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":(__unused_webpack_module,exports)=>{"use strict";var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function propertyIsEnumerable(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable},"./node_modules/core-js/internals/object-set-prototype-of.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),aPossiblePrototype=__webpack_require__("./node_modules/core-js/internals/a-possible-prototype.js");module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var setter,CORRECT_SETTER=!1,test={};try{(setter=uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function setPrototypeOf(O,proto){return anObject(O),aPossiblePrototype(proto),CORRECT_SETTER?setter(O,proto):O.__proto__=proto,O}}():void 0)},"./node_modules/core-js/internals/object-to-array.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),objectKeys=__webpack_require__("./node_modules/core-js/internals/object-keys.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),propertyIsEnumerable=uncurryThis(__webpack_require__("./node_modules/core-js/internals/object-property-is-enumerable.js").f),push=uncurryThis([].push),createMethod=function(TO_ENTRIES){return function(it){for(var key,O=toIndexedObject(it),keys=objectKeys(O),length=keys.length,i=0,result=[];length>i;)key=keys[i++],DESCRIPTORS&&!propertyIsEnumerable(O,key)||push(result,TO_ENTRIES?[key,O[key]]:O[key]);return result}};module.exports={entries:createMethod(!0),values:createMethod(!1)}},"./node_modules/core-js/internals/object-to-string.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js");module.exports=TO_STRING_TAG_SUPPORT?{}.toString:function toString(){return"[object "+classof(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),TypeError=global.TypeError;module.exports=function(input,pref){var fn,val;if("string"===pref&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;if(isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input)))return val;if("string"!==pref&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),getOwnPropertyNamesModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names.js"),getOwnPropertySymbolsModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-symbols.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),concat=uncurryThis([].concat);module.exports=getBuiltIn("Reflect","ownKeys")||function ownKeys(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?concat(keys,getOwnPropertySymbols(it)):keys}},"./node_modules/core-js/internals/path.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js");module.exports=global},"./node_modules/core-js/internals/perform.js":module=>{module.exports=function(exec){try{return{error:!1,value:exec()}}catch(error){return{error:!0,value:error}}}},"./node_modules/core-js/internals/promise-constructor-detection.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isForced=__webpack_require__("./node_modules/core-js/internals/is-forced.js"),inspectSource=__webpack_require__("./node_modules/core-js/internals/inspect-source.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),IS_BROWSER=__webpack_require__("./node_modules/core-js/internals/engine-is-browser.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),V8_VERSION=__webpack_require__("./node_modules/core-js/internals/engine-v8-version.js"),NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,SPECIES=wellKnownSymbol("species"),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT=isCallable(global.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR=isForced("Promise",(function(){var PROMISE_CONSTRUCTOR_SOURCE=inspectSource(NativePromiseConstructor),GLOBAL_CORE_JS_PROMISE=PROMISE_CONSTRUCTOR_SOURCE!==String(NativePromiseConstructor);if(!GLOBAL_CORE_JS_PROMISE&&66===V8_VERSION)return!0;if(IS_PURE&&(!NativePromisePrototype.catch||!NativePromisePrototype.finally))return!0;if(V8_VERSION>=51&&/native code/.test(PROMISE_CONSTRUCTOR_SOURCE))return!1;var promise=new NativePromiseConstructor((function(resolve){resolve(1)})),FakePromise=function(exec){exec((function(){}),(function(){}))};return(promise.constructor={})[SPECIES]=FakePromise,!(SUBCLASSING=promise.then((function(){}))instanceof FakePromise)||!GLOBAL_CORE_JS_PROMISE&&IS_BROWSER&&!NATIVE_PROMISE_REJECTION_EVENT}));module.exports={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT,SUBCLASSING}},"./node_modules/core-js/internals/promise-native-constructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js");module.exports=global.Promise},"./node_modules/core-js/internals/promise-resolve.js":(module,__unused_webpack_exports,__webpack_require__)=>{var anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),newPromiseCapability=__webpack_require__("./node_modules/core-js/internals/new-promise-capability.js");module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},"./node_modules/core-js/internals/promise-statics-incorrect-iteration.js":(module,__unused_webpack_exports,__webpack_require__)=>{var NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),checkCorrectnessOfIteration=__webpack_require__("./node_modules/core-js/internals/check-correctness-of-iteration.js"),FORCED_PROMISE_CONSTRUCTOR=__webpack_require__("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR;module.exports=FORCED_PROMISE_CONSTRUCTOR||!checkCorrectnessOfIteration((function(iterable){NativePromiseConstructor.all(iterable).then(void 0,(function(){}))}))},"./node_modules/core-js/internals/proxy-accessor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f;module.exports=function(Target,Source,key){key in Target||defineProperty(Target,key,{configurable:!0,get:function(){return Source[key]},set:function(it){Source[key]=it}})}},"./node_modules/core-js/internals/queue.js":module=>{var Queue=function(){this.head=null,this.tail=null};Queue.prototype={add:function(item){var entry={item,next:null};this.head?this.tail.next=entry:this.head=entry,this.tail=entry},get:function(){var entry=this.head;if(entry)return this.head=entry.next,this.tail===entry&&(this.tail=null),entry.item}},module.exports=Queue},"./node_modules/core-js/internals/redefine-all.js":(module,__unused_webpack_exports,__webpack_require__)=>{var redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js");module.exports=function(target,src,options){for(var key in src)redefine(target,key,src[key],options);return target}},"./node_modules/core-js/internals/redefine.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),setGlobal=__webpack_require__("./node_modules/core-js/internals/set-global.js"),inspectSource=__webpack_require__("./node_modules/core-js/internals/inspect-source.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),CONFIGURABLE_FUNCTION_NAME=__webpack_require__("./node_modules/core-js/internals/function-name.js").CONFIGURABLE,getInternalState=InternalStateModule.get,enforceInternalState=InternalStateModule.enforce,TEMPLATE=String(String).split("String");(module.exports=function(O,key,value,options){var state,unsafe=!!options&&!!options.unsafe,simple=!!options&&!!options.enumerable,noTargetGet=!!options&&!!options.noTargetGet,name=options&&void 0!==options.name?options.name:key;isCallable(value)&&("Symbol("===String(name).slice(0,7)&&(name="["+String(name).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&createNonEnumerableProperty(value,"name",name),(state=enforceInternalState(value)).source||(state.source=TEMPLATE.join("string"==typeof name?name:""))),O!==global?(unsafe?!noTargetGet&&O[key]&&(simple=!0):delete O[key],simple?O[key]=value:createNonEnumerableProperty(O,key,value)):simple?O[key]=value:setGlobal(key,value)})(Function.prototype,"toString",(function toString(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)}))},"./node_modules/core-js/internals/regexp-exec-abstract.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),regexpExec=__webpack_require__("./node_modules/core-js/internals/regexp-exec.js"),TypeError=global.TypeError;module.exports=function(R,S){var exec=R.exec;if(isCallable(exec)){var result=call(exec,R,S);return null!==result&&anObject(result),result}if("RegExp"===classof(R))return call(regexpExec,R,S);throw TypeError("RegExp#exec called on incompatible receiver")}},"./node_modules/core-js/internals/regexp-exec.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var re1,re2,call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),regexpFlags=__webpack_require__("./node_modules/core-js/internals/regexp-flags.js"),stickyHelpers=__webpack_require__("./node_modules/core-js/internals/regexp-sticky-helpers.js"),shared=__webpack_require__("./node_modules/core-js/internals/shared.js"),create=__webpack_require__("./node_modules/core-js/internals/object-create.js"),getInternalState=__webpack_require__("./node_modules/core-js/internals/internal-state.js").get,UNSUPPORTED_DOT_ALL=__webpack_require__("./node_modules/core-js/internals/regexp-unsupported-dot-all.js"),UNSUPPORTED_NCG=__webpack_require__("./node_modules/core-js/internals/regexp-unsupported-ncg.js"),nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt=uncurryThis("".charAt),indexOf=uncurryThis("".indexOf),replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice),UPDATES_LAST_INDEX_WRONG=(re2=/b*/g,call(nativeExec,re1=/a/,"a"),call(nativeExec,re2,"a"),0!==re1.lastIndex||0!==re2.lastIndex),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1];(UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG)&&(patchedExec=function exec(string){var result,reCopy,lastIndex,match,i,object,group,re=this,state=getInternalState(re),str=toString(string),raw=state.raw;if(raw)return raw.lastIndex=re.lastIndex,result=call(patchedExec,raw,str),re.lastIndex=raw.lastIndex,result;var groups=state.groups,sticky=UNSUPPORTED_Y&&re.sticky,flags=call(regexpFlags,re),source=re.source,charsAdded=0,strCopy=str;if(sticky&&(flags=replace(flags,"y",""),-1===indexOf(flags,"g")&&(flags+="g"),strCopy=stringSlice(str,re.lastIndex),re.lastIndex>0&&(!re.multiline||re.multiline&&"\n"!==charAt(str,re.lastIndex-1))&&(source="(?: "+source+")",strCopy=" "+strCopy,charsAdded++),reCopy=new RegExp("^(?:"+source+")",flags)),NPCG_INCLUDED&&(reCopy=new RegExp("^"+source+"$(?!\\s)",flags)),UPDATES_LAST_INDEX_WRONG&&(lastIndex=re.lastIndex),match=call(nativeExec,sticky?reCopy:re,strCopy),sticky?match?(match.input=stringSlice(match.input,charsAdded),match[0]=stringSlice(match[0],charsAdded),match.index=re.lastIndex,re.lastIndex+=match[0].length):re.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&match&&(re.lastIndex=re.global?match.index+match[0].length:lastIndex),NPCG_INCLUDED&&match&&match.length>1&&call(nativeReplace,match[0],reCopy,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(match[i]=void 0)})),match&&groups)for(match.groups=object=create(null),i=0;i<groups.length;i++)object[(group=groups[i])[0]]=match[group[1]];return match}),module.exports=patchedExec},"./node_modules/core-js/internals/regexp-flags.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js");module.exports=function(){var that=anObject(this),result="";return that.hasIndices&&(result+="d"),that.global&&(result+="g"),that.ignoreCase&&(result+="i"),that.multiline&&(result+="m"),that.dotAll&&(result+="s"),that.unicode&&(result+="u"),that.sticky&&(result+="y"),result}},"./node_modules/core-js/internals/regexp-get-flags.js":(module,__unused_webpack_exports,__webpack_require__)=>{var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),regExpFlags=__webpack_require__("./node_modules/core-js/internals/regexp-flags.js"),RegExpPrototype=RegExp.prototype;module.exports=function(R){var flags=R.flags;return void 0!==flags||"flags"in RegExpPrototype||hasOwn(R,"flags")||!isPrototypeOf(RegExpPrototype,R)?flags:call(regExpFlags,R)}},"./node_modules/core-js/internals/regexp-sticky-helpers.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),$RegExp=__webpack_require__("./node_modules/core-js/internals/global.js").RegExp,UNSUPPORTED_Y=fails((function(){var re=$RegExp("a","y");return re.lastIndex=2,null!=re.exec("abcd")})),MISSED_STICKY=UNSUPPORTED_Y||fails((function(){return!$RegExp("a","y").sticky})),BROKEN_CARET=UNSUPPORTED_Y||fails((function(){var re=$RegExp("^r","gy");return re.lastIndex=2,null!=re.exec("str")}));module.exports={BROKEN_CARET,MISSED_STICKY,UNSUPPORTED_Y}},"./node_modules/core-js/internals/regexp-unsupported-dot-all.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),$RegExp=__webpack_require__("./node_modules/core-js/internals/global.js").RegExp;module.exports=fails((function(){var re=$RegExp(".","s");return!(re.dotAll&&re.exec("\n")&&"s"===re.flags)}))},"./node_modules/core-js/internals/regexp-unsupported-ncg.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),$RegExp=__webpack_require__("./node_modules/core-js/internals/global.js").RegExp;module.exports=fails((function(){var re=$RegExp("(?<a>b)","g");return"b"!==re.exec("b").groups.a||"bc"!=="b".replace(re,"$<a>c")}))},"./node_modules/core-js/internals/require-object-coercible.js":(module,__unused_webpack_exports,__webpack_require__)=>{var TypeError=__webpack_require__("./node_modules/core-js/internals/global.js").TypeError;module.exports=function(it){if(null==it)throw TypeError("Can't call method on "+it);return it}},"./node_modules/core-js/internals/same-value.js":module=>{module.exports=Object.is||function is(x,y){return x===y?0!==x||1/x==1/y:x!=x&&y!=y}},"./node_modules/core-js/internals/schedulers-fix.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice.js"),validateArgumentsLength=__webpack_require__("./node_modules/core-js/internals/validate-arguments-length.js"),MSIE=/MSIE .\./.test(userAgent),Function=global.Function,wrap=function(scheduler){return MSIE?function(handler,timeout){var boundArgs=validateArgumentsLength(arguments.length,1)>2,fn=isCallable(handler)?handler:Function(handler),args=boundArgs?arraySlice(arguments,2):void 0;return scheduler(boundArgs?function(){apply(fn,this,args)}:fn,timeout)}:scheduler};module.exports={setTimeout:wrap(global.setTimeout),setInterval:wrap(global.setInterval)}},"./node_modules/core-js/internals/set-global.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global,key,{value,configurable:!0,writable:!0})}catch(error){global[key]=value}return value}},"./node_modules/core-js/internals/set-species.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),SPECIES=wellKnownSymbol("species");module.exports=function(CONSTRUCTOR_NAME){var Constructor=getBuiltIn(CONSTRUCTOR_NAME),defineProperty=definePropertyModule.f;DESCRIPTORS&&Constructor&&!Constructor[SPECIES]&&defineProperty(Constructor,SPECIES,{configurable:!0,get:function(){return this}})}},"./node_modules/core-js/internals/set-to-string-tag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f,hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");module.exports=function(target,TAG,STATIC){target&&!STATIC&&(target=target.prototype),target&&!hasOwn(target,TO_STRING_TAG)&&defineProperty(target,TO_STRING_TAG,{configurable:!0,value:TAG})}},"./node_modules/core-js/internals/shared-key.js":(module,__unused_webpack_exports,__webpack_require__)=>{var shared=__webpack_require__("./node_modules/core-js/internals/shared.js"),uid=__webpack_require__("./node_modules/core-js/internals/uid.js"),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}},"./node_modules/core-js/internals/shared-store.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),setGlobal=__webpack_require__("./node_modules/core-js/internals/set-global.js"),store=global["__core-js_shared__"]||setGlobal("__core-js_shared__",{});module.exports=store},"./node_modules/core-js/internals/shared.js":(module,__unused_webpack_exports,__webpack_require__)=>{var IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),store=__webpack_require__("./node_modules/core-js/internals/shared-store.js");(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:"3.22.2",mode:IS_PURE?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})},"./node_modules/core-js/internals/species-constructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),aConstructor=__webpack_require__("./node_modules/core-js/internals/a-constructor.js"),SPECIES=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("species");module.exports=function(O,defaultConstructor){var S,C=anObject(O).constructor;return void 0===C||null==(S=anObject(C)[SPECIES])?defaultConstructor:aConstructor(S)}},"./node_modules/core-js/internals/string-html-forced.js":(module,__unused_webpack_exports,__webpack_require__)=>{var fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=function(METHOD_NAME){return fails((function(){var test=""[METHOD_NAME]('"');return test!==test.toLowerCase()||test.split('"').length>3}))}},"./node_modules/core-js/internals/string-multibyte.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),stringSlice=uncurryThis("".slice),createMethod=function(CONVERT_TO_STRING){return function($this,pos){var first,second,S=toString(requireObjectCoercible($this)),position=toIntegerOrInfinity(pos),size=S.length;return position<0||position>=size?CONVERT_TO_STRING?"":void 0:(first=charCodeAt(S,position))<55296||first>56319||position+1===size||(second=charCodeAt(S,position+1))<56320||second>57343?CONVERT_TO_STRING?charAt(S,position):first:CONVERT_TO_STRING?stringSlice(S,position,position+2):second-56320+(first-55296<<10)+65536}};module.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},"./node_modules/core-js/internals/string-punycode-to-ascii.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),regexNonASCII=/[^\0-\u007E]/,regexSeparators=/[.\u3002\uFF0E\uFF61]/g,OVERFLOW_ERROR="Overflow: input needs wider integers to process",RangeError=global.RangeError,exec=uncurryThis(regexSeparators.exec),floor=Math.floor,fromCharCode=String.fromCharCode,charCodeAt=uncurryThis("".charCodeAt),join=uncurryThis([].join),push=uncurryThis([].push),replace=uncurryThis("".replace),split=uncurryThis("".split),toLowerCase=uncurryThis("".toLowerCase),digitToBasic=function(digit){return digit+22+75*(digit<26)},adapt=function(delta,numPoints,firstTime){var k=0;for(delta=firstTime?floor(delta/700):delta>>1,delta+=floor(delta/numPoints);delta>455;)delta=floor(delta/35),k+=36;return floor(k+36*delta/(delta+38))},encode=function(input){var output=[];input=function(string){for(var output=[],counter=0,length=string.length;counter<length;){var value=charCodeAt(string,counter++);if(value>=55296&&value<=56319&&counter<length){var extra=charCodeAt(string,counter++);56320==(64512&extra)?push(output,((1023&value)<<10)+(1023&extra)+65536):(push(output,value),counter--)}else push(output,value)}return output}(input);var i,currentValue,inputLength=input.length,n=128,delta=0,bias=72;for(i=0;i<input.length;i++)(currentValue=input[i])<128&&push(output,fromCharCode(currentValue));var basicLength=output.length,handledCPCount=basicLength;for(basicLength&&push(output,"-");handledCPCount<inputLength;){var m=2147483647;for(i=0;i<input.length;i++)(currentValue=input[i])>=n&¤tValue<m&&(m=currentValue);var handledCPCountPlusOne=handledCPCount+1;if(m-n>floor((2147483647-delta)/handledCPCountPlusOne))throw RangeError(OVERFLOW_ERROR);for(delta+=(m-n)*handledCPCountPlusOne,n=m,i=0;i<input.length;i++){if((currentValue=input[i])<n&&++delta>2147483647)throw RangeError(OVERFLOW_ERROR);if(currentValue==n){for(var q=delta,k=36;;){var t=k<=bias?1:k>=bias+26?26:k-bias;if(q<t)break;var qMinusT=q-t,baseMinusT=36-t;push(output,fromCharCode(digitToBasic(t+qMinusT%baseMinusT))),q=floor(qMinusT/baseMinusT),k+=36}push(output,fromCharCode(digitToBasic(q))),bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength),delta=0,handledCPCount++}}delta++,n++}return join(output,"")};module.exports=function(input){var i,label,encoded=[],labels=split(replace(toLowerCase(input),regexSeparators,"."),".");for(i=0;i<labels.length;i++)label=labels[i],push(encoded,exec(regexNonASCII,label)?"xn--"+encode(label):label);return join(encoded,".")}},"./node_modules/core-js/internals/string-repeat.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),RangeError=global.RangeError;module.exports=function repeat(count){var str=toString(requireObjectCoercible(this)),result="",n=toIntegerOrInfinity(count);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(str+=str))1&n&&(result+=str);return result}},"./node_modules/core-js/internals/string-trim-forced.js":(module,__unused_webpack_exports,__webpack_require__)=>{var PROPER_FUNCTION_NAME=__webpack_require__("./node_modules/core-js/internals/function-name.js").PROPER,fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js");module.exports=function(METHOD_NAME){return fails((function(){return!!whitespaces[METHOD_NAME]()||"
"!=="
"[METHOD_NAME]()||PROPER_FUNCTION_NAME&&whitespaces[METHOD_NAME].name!==METHOD_NAME}))}},"./node_modules/core-js/internals/string-trim.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js"),replace=uncurryThis("".replace),whitespace="["+whitespaces+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod=function(TYPE){return function($this){var string=toString(requireObjectCoercible($this));return 1&TYPE&&(string=replace(string,ltrim,"")),2&TYPE&&(string=replace(string,rtrim,"")),string}};module.exports={start:createMethod(1),end:createMethod(2),trim:createMethod(3)}},"./node_modules/core-js/internals/symbol-define-to-primitive.js":(module,__unused_webpack_exports,__webpack_require__)=>{var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js");module.exports=function(){var Symbol=getBuiltIn("Symbol"),SymbolPrototype=Symbol&&Symbol.prototype,valueOf=SymbolPrototype&&SymbolPrototype.valueOf,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");SymbolPrototype&&!SymbolPrototype[TO_PRIMITIVE]&&redefine(SymbolPrototype,TO_PRIMITIVE,(function(hint){return call(valueOf,this)}))}},"./node_modules/core-js/internals/task.js":(module,__unused_webpack_exports,__webpack_require__)=>{var location,defer,channel,port,global=__webpack_require__("./node_modules/core-js/internals/global.js"),apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),html=__webpack_require__("./node_modules/core-js/internals/html.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice.js"),createElement=__webpack_require__("./node_modules/core-js/internals/document-create-element.js"),validateArgumentsLength=__webpack_require__("./node_modules/core-js/internals/validate-arguments-length.js"),IS_IOS=__webpack_require__("./node_modules/core-js/internals/engine-is-ios.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js"),set=global.setImmediate,clear=global.clearImmediate,process=global.process,Dispatch=global.Dispatch,Function=global.Function,MessageChannel=global.MessageChannel,String=global.String,counter=0,queue={};try{location=global.location}catch(error){}var run=function(id){if(hasOwn(queue,id)){var fn=queue[id];delete queue[id],fn()}},runner=function(id){return function(){run(id)}},listener=function(event){run(event.data)},post=function(id){global.postMessage(String(id),location.protocol+"//"+location.host)};set&&clear||(set=function setImmediate(handler){validateArgumentsLength(arguments.length,1);var fn=isCallable(handler)?handler:Function(handler),args=arraySlice(arguments,1);return queue[++counter]=function(){apply(fn,void 0,args)},defer(counter),counter},clear=function clearImmediate(id){delete queue[id]},IS_NODE?defer=function(id){process.nextTick(runner(id))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(runner(id))}:MessageChannel&&!IS_IOS?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=listener,defer=bind(port.postMessage,port)):global.addEventListener&&isCallable(global.postMessage)&&!global.importScripts&&location&&"file:"!==location.protocol&&!fails(post)?(defer=post,global.addEventListener("message",listener,!1)):defer="onreadystatechange"in createElement("script")?function(id){html.appendChild(createElement("script")).onreadystatechange=function(){html.removeChild(this),run(id)}}:function(id){setTimeout(runner(id),0)}),module.exports={set,clear}},"./node_modules/core-js/internals/this-number-value.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=uncurryThis(1..valueOf)},"./node_modules/core-js/internals/to-absolute-index.js":(module,__unused_webpack_exports,__webpack_require__)=>{var toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max(integer+length,0):min(integer,length)}},"./node_modules/core-js/internals/to-indexed-object.js":(module,__unused_webpack_exports,__webpack_require__)=>{var IndexedObject=__webpack_require__("./node_modules/core-js/internals/indexed-object.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js");module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}},"./node_modules/core-js/internals/to-integer-or-infinity.js":module=>{var ceil=Math.ceil,floor=Math.floor;module.exports=function(argument){var number=+argument;return number!=number||0===number?0:(number>0?floor:ceil)(number)}},"./node_modules/core-js/internals/to-length.js":(module,__unused_webpack_exports,__webpack_require__)=>{var toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),min=Math.min;module.exports=function(argument){return argument>0?min(toIntegerOrInfinity(argument),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),Object=global.Object;module.exports=function(argument){return Object(requireObjectCoercible(argument))}},"./node_modules/core-js/internals/to-primitive.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),isSymbol=__webpack_require__("./node_modules/core-js/internals/is-symbol.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),ordinaryToPrimitive=__webpack_require__("./node_modules/core-js/internals/ordinary-to-primitive.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),TypeError=global.TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var result,exoticToPrim=getMethod(input,TO_PRIMITIVE);if(exoticToPrim){if(void 0===pref&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw TypeError("Can't convert object to primitive value")}return void 0===pref&&(pref="number"),ordinaryToPrimitive(input,pref)}},"./node_modules/core-js/internals/to-property-key.js":(module,__unused_webpack_exports,__webpack_require__)=>{var toPrimitive=__webpack_require__("./node_modules/core-js/internals/to-primitive.js"),isSymbol=__webpack_require__("./node_modules/core-js/internals/is-symbol.js");module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}},"./node_modules/core-js/internals/to-string-tag-support.js":(module,__unused_webpack_exports,__webpack_require__)=>{var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/internals/to-string.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),String=global.String;module.exports=function(argument){if("Symbol"===classof(argument))throw TypeError("Cannot convert a Symbol value to a string");return String(argument)}},"./node_modules/core-js/internals/try-to-string.js":(module,__unused_webpack_exports,__webpack_require__)=>{var String=__webpack_require__("./node_modules/core-js/internals/global.js").String;module.exports=function(argument){try{return String(argument)}catch(error){return"Object"}}},"./node_modules/core-js/internals/uid.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),id=0,postfix=Math.random(),toString=uncurryThis(1..toString);module.exports=function(key){return"Symbol("+(void 0===key?"":key)+")_"+toString(++id+postfix,36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":(module,__unused_webpack_exports,__webpack_require__)=>{var NATIVE_SYMBOL=__webpack_require__("./node_modules/core-js/internals/native-symbol.js");module.exports=NATIVE_SYMBOL&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/v8-prototype-define-bug.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js");module.exports=DESCRIPTORS&&fails((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},"./node_modules/core-js/internals/validate-arguments-length.js":(module,__unused_webpack_exports,__webpack_require__)=>{var TypeError=__webpack_require__("./node_modules/core-js/internals/global.js").TypeError;module.exports=function(passed,required){if(passed<required)throw TypeError("Not enough arguments");return passed}},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":(__unused_webpack_module,exports,__webpack_require__)=>{var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js");exports.f=wellKnownSymbol},"./node_modules/core-js/internals/well-known-symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),shared=__webpack_require__("./node_modules/core-js/internals/shared.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),uid=__webpack_require__("./node_modules/core-js/internals/uid.js"),NATIVE_SYMBOL=__webpack_require__("./node_modules/core-js/internals/native-symbol.js"),USE_SYMBOL_AS_UID=__webpack_require__("./node_modules/core-js/internals/use-symbol-as-uid.js"),WellKnownSymbolsStore=shared("wks"),Symbol=global.Symbol,symbolFor=Symbol&&Symbol.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol:Symbol&&Symbol.withoutSetter||uid;module.exports=function(name){if(!hasOwn(WellKnownSymbolsStore,name)||!NATIVE_SYMBOL&&"string"!=typeof WellKnownSymbolsStore[name]){var description="Symbol."+name;NATIVE_SYMBOL&&hasOwn(Symbol,name)?WellKnownSymbolsStore[name]=Symbol[name]:WellKnownSymbolsStore[name]=USE_SYMBOL_AS_UID&&symbolFor?symbolFor(description):createWellKnownSymbol(description)}return WellKnownSymbolsStore[name]}},"./node_modules/core-js/internals/whitespaces.js":module=>{module.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.concat.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js"),arraySpeciesCreate=__webpack_require__("./node_modules/core-js/internals/array-species-create.js"),arrayMethodHasSpeciesSupport=__webpack_require__("./node_modules/core-js/internals/array-method-has-species-support.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),V8_VERSION=__webpack_require__("./node_modules/core-js/internals/engine-v8-version.js"),IS_CONCAT_SPREADABLE=wellKnownSymbol("isConcatSpreadable"),TypeError=global.TypeError,IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION>=51||!fails((function(){var array=[];return array[IS_CONCAT_SPREADABLE]=!1,array.concat()[0]!==array})),SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("concat"),isConcatSpreadable=function(O){if(!isObject(O))return!1;var spreadable=O[IS_CONCAT_SPREADABLE];return void 0!==spreadable?!!spreadable:isArray(O)};$({target:"Array",proto:!0,forced:!IS_CONCAT_SPREADABLE_SUPPORT||!SPECIES_SUPPORT},{concat:function concat(arg){var i,k,length,len,E,O=toObject(this),A=arraySpeciesCreate(O,0),n=0;for(i=-1,length=arguments.length;i<length;i++)if(isConcatSpreadable(E=-1===i?O:arguments[i])){if(n+(len=lengthOfArrayLike(E))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(k=0;k<len;k++,n++)k in E&&createProperty(A,n,E[k])}else{if(n>=9007199254740991)throw TypeError("Maximum allowed index exceeded");createProperty(A,n++,E)}return A.length=n,A}})},"./node_modules/core-js/modules/es.array.fill.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),fill=__webpack_require__("./node_modules/core-js/internals/array-fill.js"),addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js");$({target:"Array",proto:!0},{fill}),addToUnscopables("fill")},"./node_modules/core-js/modules/es.array.filter.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$filter=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").filter;$({target:"Array",proto:!0,forced:!__webpack_require__("./node_modules/core-js/internals/array-method-has-species-support.js")("filter")},{filter:function filter(callbackfn){return $filter(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.find-index.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$findIndex=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").findIndex,addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js"),SKIPS_HOLES=!0;"findIndex"in[]&&Array(1).findIndex((function(){SKIPS_HOLES=!1})),$({target:"Array",proto:!0,forced:SKIPS_HOLES},{findIndex:function findIndex(callbackfn){return $findIndex(this,callbackfn,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("findIndex")},"./node_modules/core-js/modules/es.array.find.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$find=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").find,addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js"),SKIPS_HOLES=!0;"find"in[]&&Array(1).find((function(){SKIPS_HOLES=!1})),$({target:"Array",proto:!0,forced:SKIPS_HOLES},{find:function find(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("find")},"./node_modules/core-js/modules/es.array.for-each.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),forEach=__webpack_require__("./node_modules/core-js/internals/array-for-each.js");$({target:"Array",proto:!0,forced:[].forEach!=forEach},{forEach})},"./node_modules/core-js/modules/es.array.from.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),from=__webpack_require__("./node_modules/core-js/internals/array-from.js");$({target:"Array",stat:!0,forced:!__webpack_require__("./node_modules/core-js/internals/check-correctness-of-iteration.js")((function(iterable){Array.from(iterable)}))},{from})},"./node_modules/core-js/modules/es.array.includes.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$includes=__webpack_require__("./node_modules/core-js/internals/array-includes.js").includes,addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js");$({target:"Array",proto:!0},{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes")},"./node_modules/core-js/modules/es.array.index-of.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),$IndexOf=__webpack_require__("./node_modules/core-js/internals/array-includes.js").indexOf,arrayMethodIsStrict=__webpack_require__("./node_modules/core-js/internals/array-method-is-strict.js"),un$IndexOf=uncurryThis([].indexOf),NEGATIVE_ZERO=!!un$IndexOf&&1/un$IndexOf([1],1,-0)<0,STRICT_METHOD=arrayMethodIsStrict("indexOf");$({target:"Array",proto:!0,forced:NEGATIVE_ZERO||!STRICT_METHOD},{indexOf:function indexOf(searchElement){var fromIndex=arguments.length>1?arguments[1]:void 0;return NEGATIVE_ZERO?un$IndexOf(this,searchElement,fromIndex)||0:$IndexOf(this,searchElement,fromIndex)}})},"./node_modules/core-js/modules/es.array.is-array.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/export.js")({target:"Array",stat:!0},{isArray:__webpack_require__("./node_modules/core-js/internals/is-array.js")})},"./node_modules/core-js/modules/es.array.iterator.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f,defineIterator=__webpack_require__("./node_modules/core-js/internals/define-iterator.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Array Iterator");module.exports=defineIterator(Array,"Array",(function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),index:0,kind})}),(function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;return!target||index>=target.length?(state.target=void 0,{value:void 0,done:!0}):"keys"==kind?{value:index,done:!1}:"values"==kind?{value:target[index],done:!1}:{value:[index,target[index]],done:!1}}),"values");var values=Iterators.Arguments=Iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),!IS_PURE&&DESCRIPTORS&&"values"!==values.name)try{defineProperty(values,"name",{value:"values"})}catch(error){}},"./node_modules/core-js/modules/es.array.join.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),IndexedObject=__webpack_require__("./node_modules/core-js/internals/indexed-object.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),arrayMethodIsStrict=__webpack_require__("./node_modules/core-js/internals/array-method-is-strict.js"),un$Join=uncurryThis([].join),ES3_STRINGS=IndexedObject!=Object,STRICT_METHOD=arrayMethodIsStrict("join",",");$({target:"Array",proto:!0,forced:ES3_STRINGS||!STRICT_METHOD},{join:function join(separator){return un$Join(toIndexedObject(this),void 0===separator?",":separator)}})},"./node_modules/core-js/modules/es.array.map.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$map=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").map;$({target:"Array",proto:!0,forced:!__webpack_require__("./node_modules/core-js/internals/array-method-has-species-support.js")("map")},{map:function map(callbackfn){return $map(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),arrayMethodHasSpeciesSupport=__webpack_require__("./node_modules/core-js/internals/array-method-has-species-support.js"),un$Slice=__webpack_require__("./node_modules/core-js/internals/array-slice.js"),HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("slice"),SPECIES=wellKnownSymbol("species"),Array=global.Array,max=Math.max;$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{slice:function slice(start,end){var Constructor,result,n,O=toIndexedObject(this),length=lengthOfArrayLike(O),k=toAbsoluteIndex(start,length),fin=toAbsoluteIndex(void 0===end?length:end,length);if(isArray(O)&&(Constructor=O.constructor,(isConstructor(Constructor)&&(Constructor===Array||isArray(Constructor.prototype))||isObject(Constructor)&&null===(Constructor=Constructor[SPECIES]))&&(Constructor=void 0),Constructor===Array||void 0===Constructor))return un$Slice(O,k,fin);for(result=new(void 0===Constructor?Array:Constructor)(max(fin-k,0)),n=0;k<fin;k++,n++)k in O&&createProperty(result,n,O[k]);return result.length=n,result}})},"./node_modules/core-js/modules/es.array.splice.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),arraySpeciesCreate=__webpack_require__("./node_modules/core-js/internals/array-species-create.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js"),HAS_SPECIES_SUPPORT=__webpack_require__("./node_modules/core-js/internals/array-method-has-species-support.js")("splice"),TypeError=global.TypeError,max=Math.max,min=Math.min;$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{splice:function splice(start,deleteCount){var insertCount,actualDeleteCount,A,k,from,to,O=toObject(this),len=lengthOfArrayLike(O),actualStart=toAbsoluteIndex(start,len),argumentsLength=arguments.length;if(0===argumentsLength?insertCount=actualDeleteCount=0:1===argumentsLength?(insertCount=0,actualDeleteCount=len-actualStart):(insertCount=argumentsLength-2,actualDeleteCount=min(max(toIntegerOrInfinity(deleteCount),0),len-actualStart)),len+insertCount-actualDeleteCount>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(A=arraySpeciesCreate(O,actualDeleteCount),k=0;k<actualDeleteCount;k++)(from=actualStart+k)in O&&createProperty(A,k,O[from]);if(A.length=actualDeleteCount,insertCount<actualDeleteCount){for(k=actualStart;k<len-actualDeleteCount;k++)to=k+insertCount,(from=k+actualDeleteCount)in O?O[to]=O[from]:delete O[to];for(k=len;k>len-actualDeleteCount+insertCount;k--)delete O[k-1]}else if(insertCount>actualDeleteCount)for(k=len-actualDeleteCount;k>actualStart;k--)to=k+insertCount-1,(from=k+actualDeleteCount-1)in O?O[to]=O[from]:delete O[to];for(k=0;k<insertCount;k++)O[k+actualStart]=arguments[k+2];return O.length=len-actualDeleteCount+insertCount,A}})},"./node_modules/core-js/modules/es.date.now.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),Date=global.Date,getTime=uncurryThis(Date.prototype.getTime);$({target:"Date",stat:!0},{now:function now(){return getTime(new Date)}})},"./node_modules/core-js/modules/es.date.to-primitive.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),dateToPrimitive=__webpack_require__("./node_modules/core-js/internals/date-to-primitive.js"),TO_PRIMITIVE=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toPrimitive"),DatePrototype=Date.prototype;hasOwn(DatePrototype,TO_PRIMITIVE)||redefine(DatePrototype,TO_PRIMITIVE,dateToPrimitive)},"./node_modules/core-js/modules/es.date.to-string.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),DatePrototype=Date.prototype,un$DateToString=uncurryThis(DatePrototype.toString),getTime=uncurryThis(DatePrototype.getTime);"Invalid Date"!=String(new Date(NaN))&&redefine(DatePrototype,"toString",(function toString(){var value=getTime(this);return value==value?un$DateToString(this):"Invalid Date"}))},"./node_modules/core-js/modules/es.function.bind.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind.js");$({target:"Function",proto:!0,forced:Function.bind!==bind},{bind})},"./node_modules/core-js/modules/es.function.name.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),FUNCTION_NAME_EXISTS=__webpack_require__("./node_modules/core-js/internals/function-name.js").EXISTS,uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f,FunctionPrototype=Function.prototype,functionToString=uncurryThis(FunctionPrototype.toString),nameRE=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,regExpExec=uncurryThis(nameRE.exec);DESCRIPTORS&&!FUNCTION_NAME_EXISTS&&defineProperty(FunctionPrototype,"name",{configurable:!0,get:function(){try{return regExpExec(nameRE,functionToString(this))[1]}catch(error){return""}}})},"./node_modules/core-js/modules/es.json.stringify.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),isSymbol=__webpack_require__("./node_modules/core-js/internals/is-symbol.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice.js"),NATIVE_SYMBOL=__webpack_require__("./node_modules/core-js/internals/native-symbol.js"),$stringify=getBuiltIn("JSON","stringify"),exec=uncurryThis(/./.exec),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),replace=uncurryThis("".replace),numberToString=uncurryThis(1..toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL||fails((function(){var symbol=getBuiltIn("Symbol")();return"[null]"!=$stringify([symbol])||"{}"!=$stringify({a:symbol})||"{}"!=$stringify(Object(symbol))})),ILL_FORMED_UNICODE=fails((function(){return'"\\udf06\\ud834"'!==$stringify("\udf06\ud834")||'"\\udead"'!==$stringify("\udead")})),stringifyWithSymbolsFix=function(it,replacer){var args=arraySlice(arguments),$replacer=replacer;if((isObject(replacer)||void 0!==it)&&!isSymbol(it))return isArray(replacer)||(replacer=function(key,value){if(isCallable($replacer)&&(value=call($replacer,this,key,value)),!isSymbol(value))return value}),args[1]=replacer,apply($stringify,null,args)},fixIllFormed=function(match,offset,string){var prev=charAt(string,offset-1),next=charAt(string,offset+1);return exec(low,match)&&!exec(hi,next)||exec(hi,match)&&!exec(low,prev)?"\\u"+numberToString(charCodeAt(match,0),16):match};$stringify&&$({target:"JSON",stat:!0,forced:WRONG_SYMBOLS_CONVERSION||ILL_FORMED_UNICODE},{stringify:function stringify(it,replacer,space){var args=arraySlice(arguments),result=apply(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,args);return ILL_FORMED_UNICODE&&"string"==typeof result?replace(result,tester,fixIllFormed):result}})},"./node_modules/core-js/modules/es.json.to-string-tag.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js");__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js")(global.JSON,"JSON",!0)},"./node_modules/core-js/modules/es.map.constructor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/core-js/internals/collection.js")("Map",(function(init){return function Map(){return init(this,arguments.length?arguments[0]:void 0)}}),__webpack_require__("./node_modules/core-js/internals/collection-strong.js"))},"./node_modules/core-js/modules/es.map.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/es.map.constructor.js")},"./node_modules/core-js/modules/es.math.to-string-tag.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js")(Math,"Math",!0)},"./node_modules/core-js/modules/es.number.constructor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),isForced=__webpack_require__("./node_modules/core-js/internals/is-forced.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),inheritIfRequired=__webpack_require__("./node_modules/core-js/internals/inherit-if-required.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),isSymbol=__webpack_require__("./node_modules/core-js/internals/is-symbol.js"),toPrimitive=__webpack_require__("./node_modules/core-js/internals/to-primitive.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),getOwnPropertyNames=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names.js").f,getOwnPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f,thisNumberValue=__webpack_require__("./node_modules/core-js/internals/this-number-value.js"),trim=__webpack_require__("./node_modules/core-js/internals/string-trim.js").trim,NativeNumber=global.Number,NumberPrototype=NativeNumber.prototype,TypeError=global.TypeError,arraySlice=uncurryThis("".slice),charCodeAt=uncurryThis("".charCodeAt),toNumeric=function(value){var primValue=toPrimitive(value,"number");return"bigint"==typeof primValue?primValue:toNumber(primValue)},toNumber=function(argument){var first,third,radix,maxCode,digits,length,index,code,it=toPrimitive(argument,"number");if(isSymbol(it))throw TypeError("Cannot convert a Symbol value to a number");if("string"==typeof it&&it.length>2)if(it=trim(it),43===(first=charCodeAt(it,0))||45===first){if(88===(third=charCodeAt(it,2))||120===third)return NaN}else if(48===first){switch(charCodeAt(it,1)){case 66:case 98:radix=2,maxCode=49;break;case 79:case 111:radix=8,maxCode=55;break;default:return+it}for(length=(digits=arraySlice(it,2)).length,index=0;index<length;index++)if((code=charCodeAt(digits,index))<48||code>maxCode)return NaN;return parseInt(digits,radix)}return+it};if(isForced("Number",!NativeNumber(" 0o1")||!NativeNumber("0b1")||NativeNumber("+0x1"))){for(var key,NumberWrapper=function Number(value){var n=arguments.length<1?0:NativeNumber(toNumeric(value)),dummy=this;return isPrototypeOf(NumberPrototype,dummy)&&fails((function(){thisNumberValue(dummy)}))?inheritIfRequired(Object(n),dummy,NumberWrapper):n},keys=DESCRIPTORS?getOwnPropertyNames(NativeNumber):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),j=0;keys.length>j;j++)hasOwn(NativeNumber,key=keys[j])&&!hasOwn(NumberWrapper,key)&&defineProperty(NumberWrapper,key,getOwnPropertyDescriptor(NativeNumber,key));NumberWrapper.prototype=NumberPrototype,NumberPrototype.constructor=NumberWrapper,redefine(global,"Number",NumberWrapper)}},"./node_modules/core-js/modules/es.number.is-finite.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/export.js")({target:"Number",stat:!0},{isFinite:__webpack_require__("./node_modules/core-js/internals/number-is-finite.js")})},"./node_modules/core-js/modules/es.number.is-integer.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/export.js")({target:"Number",stat:!0},{isInteger:__webpack_require__("./node_modules/core-js/internals/is-integral-number.js")})},"./node_modules/core-js/modules/es.number.is-safe-integer.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),isIntegralNumber=__webpack_require__("./node_modules/core-js/internals/is-integral-number.js"),abs=Math.abs;$({target:"Number",stat:!0},{isSafeInteger:function isSafeInteger(number){return isIntegralNumber(number)&&abs(number)<=9007199254740991}})},"./node_modules/core-js/modules/es.number.to-fixed.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),thisNumberValue=__webpack_require__("./node_modules/core-js/internals/this-number-value.js"),$repeat=__webpack_require__("./node_modules/core-js/internals/string-repeat.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),RangeError=global.RangeError,String=global.String,floor=Math.floor,repeat=uncurryThis($repeat),stringSlice=uncurryThis("".slice),un$ToFixed=uncurryThis(1..toFixed),pow=function(x,n,acc){return 0===n?acc:n%2==1?pow(x,n-1,acc*x):pow(x*x,n/2,acc)},multiply=function(data,n,c){for(var index=-1,c2=c;++index<6;)c2+=n*data[index],data[index]=c2%1e7,c2=floor(c2/1e7)},divide=function(data,n){for(var index=6,c=0;--index>=0;)c+=data[index],data[index]=floor(c/n),c=c%n*1e7},dataToString=function(data){for(var index=6,s="";--index>=0;)if(""!==s||0===index||0!==data[index]){var t=String(data[index]);s=""===s?t:s+repeat("0",7-t.length)+t}return s};$({target:"Number",proto:!0,forced:fails((function(){return"0.000"!==un$ToFixed(8e-5,3)||"1"!==un$ToFixed(.9,0)||"1.25"!==un$ToFixed(1.255,2)||"1000000000000000128"!==un$ToFixed(0xde0b6b3a7640080,0)}))||!fails((function(){un$ToFixed({})}))},{toFixed:function toFixed(fractionDigits){var e,z,j,k,number=thisNumberValue(this),fractDigits=toIntegerOrInfinity(fractionDigits),data=[0,0,0,0,0,0],sign="",result="0";if(fractDigits<0||fractDigits>20)throw RangeError("Incorrect fraction digits");if(number!=number)return"NaN";if(number<=-1e21||number>=1e21)return String(number);if(number<0&&(sign="-",number=-number),number>1e-21)if(z=(e=function(x){for(var n=0,x2=x;x2>=4096;)n+=12,x2/=4096;for(;x2>=2;)n+=1,x2/=2;return n}(number*pow(2,69,1))-69)<0?number*pow(2,-e,1):number/pow(2,e,1),z*=4503599627370496,(e=52-e)>0){for(multiply(data,0,z),j=fractDigits;j>=7;)multiply(data,1e7,0),j-=7;for(multiply(data,pow(10,j,1),0),j=e-1;j>=23;)divide(data,1<<23),j-=23;divide(data,1<<j),multiply(data,1,1),divide(data,2),result=dataToString(data)}else multiply(data,0,z),multiply(data,1<<-e,0),result=dataToString(data)+repeat("0",fractDigits);return result=fractDigits>0?sign+((k=result.length)<=fractDigits?"0."+repeat("0",fractDigits-k)+result:stringSlice(result,0,k-fractDigits)+"."+stringSlice(result,k-fractDigits)):sign+result}})},"./node_modules/core-js/modules/es.object.assign.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),assign=__webpack_require__("./node_modules/core-js/internals/object-assign.js");$({target:"Object",stat:!0,forced:Object.assign!==assign},{assign})},"./node_modules/core-js/modules/es.object.create.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/export.js")({target:"Object",stat:!0,sham:!__webpack_require__("./node_modules/core-js/internals/descriptors.js")},{create:__webpack_require__("./node_modules/core-js/internals/object-create.js")})},"./node_modules/core-js/modules/es.object.define-properties.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),defineProperties=__webpack_require__("./node_modules/core-js/internals/object-define-properties.js").f;$({target:"Object",stat:!0,forced:Object.defineProperties!==defineProperties,sham:!DESCRIPTORS},{defineProperties})},"./node_modules/core-js/modules/es.object.define-property.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f;$({target:"Object",stat:!0,forced:Object.defineProperty!==defineProperty,sham:!DESCRIPTORS},{defineProperty})},"./node_modules/core-js/modules/es.object.entries.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$entries=__webpack_require__("./node_modules/core-js/internals/object-to-array.js").entries;$({target:"Object",stat:!0},{entries:function entries(O){return $entries(O)}})},"./node_modules/core-js/modules/es.object.freeze.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),FREEZING=__webpack_require__("./node_modules/core-js/internals/freezing.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),onFreeze=__webpack_require__("./node_modules/core-js/internals/internal-metadata.js").onFreeze,$freeze=Object.freeze;$({target:"Object",stat:!0,forced:fails((function(){$freeze(1)})),sham:!FREEZING},{freeze:function freeze(it){return $freeze&&isObject(it)?$freeze(onFreeze(it)):it}})},"./node_modules/core-js/modules/es.object.from-entries.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/core-js/modules/es.object.get-own-property-descriptor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),nativeGetOwnPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),FAILS_ON_PRIMITIVES=fails((function(){nativeGetOwnPropertyDescriptor(1)}));$({target:"Object",stat:!0,forced:!DESCRIPTORS||FAILS_ON_PRIMITIVES,sham:!DESCRIPTORS},{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(it,key){return nativeGetOwnPropertyDescriptor(toIndexedObject(it),key)}})},"./node_modules/core-js/modules/es.object.get-own-property-descriptors.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),ownKeys=__webpack_require__("./node_modules/core-js/internals/own-keys.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),getOwnPropertyDescriptorModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0,sham:!DESCRIPTORS},{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(object){for(var key,descriptor,O=toIndexedObject(object),getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,keys=ownKeys(O),result={},index=0;keys.length>index;)void 0!==(descriptor=getOwnPropertyDescriptor(O,key=keys[index++]))&&createProperty(result,key,descriptor);return result}})},"./node_modules/core-js/modules/es.object.get-own-property-names.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),getOwnPropertyNames=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names-external.js").f;$({target:"Object",stat:!0,forced:fails((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames})},"./node_modules/core-js/modules/es.object.get-own-property-symbols.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),NATIVE_SYMBOL=__webpack_require__("./node_modules/core-js/internals/native-symbol.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),getOwnPropertySymbolsModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-symbols.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js");$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL||fails((function(){getOwnPropertySymbolsModule.f(1)}))},{getOwnPropertySymbols:function getOwnPropertySymbols(it){var $getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return $getOwnPropertySymbols?$getOwnPropertySymbols(toObject(it)):[]}})},"./node_modules/core-js/modules/es.object.get-prototype-of.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),nativeGetPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-get-prototype-of.js"),CORRECT_PROTOTYPE_GETTER=__webpack_require__("./node_modules/core-js/internals/correct-prototype-getter.js");$({target:"Object",stat:!0,forced:fails((function(){nativeGetPrototypeOf(1)})),sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function getPrototypeOf(it){return nativeGetPrototypeOf(toObject(it))}})},"./node_modules/core-js/modules/es.object.keys.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),nativeKeys=__webpack_require__("./node_modules/core-js/internals/object-keys.js");$({target:"Object",stat:!0,forced:__webpack_require__("./node_modules/core-js/internals/fails.js")((function(){nativeKeys(1)}))},{keys:function keys(it){return nativeKeys(toObject(it))}})},"./node_modules/core-js/modules/es.object.set-prototype-of.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/export.js")({target:"Object",stat:!0},{setPrototypeOf:__webpack_require__("./node_modules/core-js/internals/object-set-prototype-of.js")})},"./node_modules/core-js/modules/es.object.to-string.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),toString=__webpack_require__("./node_modules/core-js/internals/object-to-string.js");TO_STRING_TAG_SUPPORT||redefine(Object.prototype,"toString",toString,{unsafe:!0})},"./node_modules/core-js/modules/es.object.values.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$values=__webpack_require__("./node_modules/core-js/internals/object-to-array.js").values;$({target:"Object",stat:!0},{values:function values(O){return $values(O)}})},"./node_modules/core-js/modules/es.parse-int.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$parseInt=__webpack_require__("./node_modules/core-js/internals/number-parse-int.js");$({global:!0,forced:parseInt!=$parseInt},{parseInt:$parseInt})},"./node_modules/core-js/modules/es.promise.all.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),newPromiseCapabilityModule=__webpack_require__("./node_modules/core-js/internals/new-promise-capability.js"),perform=__webpack_require__("./node_modules/core-js/internals/perform.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js");$({target:"Promise",stat:!0,forced:__webpack_require__("./node_modules/core-js/internals/promise-statics-incorrect-iteration.js")},{all:function all(iterable){var C=this,capability=newPromiseCapabilityModule.f(C),resolve=capability.resolve,reject=capability.reject,result=perform((function(){var $promiseResolve=aCallable(C.resolve),values=[],counter=0,remaining=1;iterate(iterable,(function(promise){var index=counter++,alreadyCalled=!1;remaining++,call($promiseResolve,C,promise).then((function(value){alreadyCalled||(alreadyCalled=!0,values[index]=value,--remaining||resolve(values))}),reject)})),--remaining||resolve(values)}));return result.error&&reject(result.value),capability.promise}})},"./node_modules/core-js/modules/es.promise.catch.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),FORCED_PROMISE_CONSTRUCTOR=__webpack_require__("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR,NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype;if($({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR,real:!0},{catch:function(onRejected){return this.then(void 0,onRejected)}}),!IS_PURE&&isCallable(NativePromiseConstructor)){var method=getBuiltIn("Promise").prototype.catch;NativePromisePrototype.catch!==method&&redefine(NativePromisePrototype,"catch",method,{unsafe:!0})}},"./node_modules/core-js/modules/es.promise.constructor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var Internal,OwnPromiseCapability,nativeThen,$=__webpack_require__("./node_modules/core-js/internals/export.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),redefineAll=__webpack_require__("./node_modules/core-js/internals/redefine-all.js"),setPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-set-prototype-of.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js"),setSpecies=__webpack_require__("./node_modules/core-js/internals/set-species.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),anInstance=__webpack_require__("./node_modules/core-js/internals/an-instance.js"),speciesConstructor=__webpack_require__("./node_modules/core-js/internals/species-constructor.js"),task=__webpack_require__("./node_modules/core-js/internals/task.js").set,microtask=__webpack_require__("./node_modules/core-js/internals/microtask.js"),hostReportErrors=__webpack_require__("./node_modules/core-js/internals/host-report-errors.js"),perform=__webpack_require__("./node_modules/core-js/internals/perform.js"),Queue=__webpack_require__("./node_modules/core-js/internals/queue.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),PromiseConstructorDetection=__webpack_require__("./node_modules/core-js/internals/promise-constructor-detection.js"),newPromiseCapabilityModule=__webpack_require__("./node_modules/core-js/internals/new-promise-capability.js"),FORCED_PROMISE_CONSTRUCTOR=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT,NATIVE_PROMISE_SUBCLASSING=PromiseConstructorDetection.SUBCLASSING,getInternalPromiseState=InternalStateModule.getterFor("Promise"),setInternalState=InternalStateModule.set,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,PromiseConstructor=NativePromiseConstructor,PromisePrototype=NativePromisePrototype,TypeError=global.TypeError,document=global.document,process=global.process,newPromiseCapability=newPromiseCapabilityModule.f,newGenericPromiseCapability=newPromiseCapability,DISPATCH_EVENT=!!(document&&document.createEvent&&global.dispatchEvent),isThenable=function(it){var then;return!(!isObject(it)||!isCallable(then=it.then))&&then},callReaction=function(reaction,state){var result,then,exited,value=state.value,ok=1==state.state,handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject,domain=reaction.domain;try{handler?(ok||(2===state.rejection&&onHandleUnhandled(state),state.rejection=1),!0===handler?result=value:(domain&&domain.enter(),result=handler(value),domain&&(domain.exit(),exited=!0)),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?call(then,result,resolve,reject):resolve(result)):reject(value)}catch(error){domain&&!exited&&domain.exit(),reject(error)}},notify=function(state,isReject){state.notified||(state.notified=!0,microtask((function(){for(var reaction,reactions=state.reactions;reaction=reactions.get();)callReaction(reaction,state);state.notified=!1,isReject&&!state.rejection&&onUnhandled(state)})))},dispatchEvent=function(name,promise,reason){var event,handler;DISPATCH_EVENT?((event=document.createEvent("Event")).promise=promise,event.reason=reason,event.initEvent(name,!1,!0),global.dispatchEvent(event)):event={promise,reason},!NATIVE_PROMISE_REJECTION_EVENT&&(handler=global["on"+name])?handler(event):"unhandledrejection"===name&&hostReportErrors("Unhandled promise rejection",reason)},onUnhandled=function(state){call(task,global,(function(){var result,promise=state.facade,value=state.value;if(isUnhandled(state)&&(result=perform((function(){IS_NODE?process.emit("unhandledRejection",value,promise):dispatchEvent("unhandledrejection",promise,value)})),state.rejection=IS_NODE||isUnhandled(state)?2:1,result.error))throw result.value}))},isUnhandled=function(state){return 1!==state.rejection&&!state.parent},onHandleUnhandled=function(state){call(task,global,(function(){var promise=state.facade;IS_NODE?process.emit("rejectionHandled",promise):dispatchEvent("rejectionhandled",promise,state.value)}))},bind=function(fn,state,unwrap){return function(value){fn(state,value,unwrap)}},internalReject=function(state,value,unwrap){state.done||(state.done=!0,unwrap&&(state=unwrap),state.value=value,state.state=2,notify(state,!0))},internalResolve=function(state,value,unwrap){if(!state.done){state.done=!0,unwrap&&(state=unwrap);try{if(state.facade===value)throw TypeError("Promise can't be resolved itself");var then=isThenable(value);then?microtask((function(){var wrapper={done:!1};try{call(then,value,bind(internalResolve,wrapper,state),bind(internalReject,wrapper,state))}catch(error){internalReject(wrapper,error,state)}})):(state.value=value,state.state=1,notify(state,!1))}catch(error){internalReject({done:!1},error,state)}}};if(FORCED_PROMISE_CONSTRUCTOR&&(PromisePrototype=(PromiseConstructor=function Promise(executor){anInstance(this,PromisePrototype),aCallable(executor),call(Internal,this);var state=getInternalPromiseState(this);try{executor(bind(internalResolve,state),bind(internalReject,state))}catch(error){internalReject(state,error)}}).prototype,(Internal=function Promise(executor){setInternalState(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:0,value:void 0})}).prototype=redefineAll(PromisePrototype,{then:function then(onFulfilled,onRejected){var state=getInternalPromiseState(this),reaction=newPromiseCapability(speciesConstructor(this,PromiseConstructor));return state.parent=!0,reaction.ok=!isCallable(onFulfilled)||onFulfilled,reaction.fail=isCallable(onRejected)&&onRejected,reaction.domain=IS_NODE?process.domain:void 0,0==state.state?state.reactions.add(reaction):microtask((function(){callReaction(reaction,state)})),reaction.promise}}),OwnPromiseCapability=function(){var promise=new Internal,state=getInternalPromiseState(promise);this.promise=promise,this.resolve=bind(internalResolve,state),this.reject=bind(internalReject,state)},newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===PromiseConstructor||undefined===C?new OwnPromiseCapability(C):newGenericPromiseCapability(C)},!IS_PURE&&isCallable(NativePromiseConstructor)&&NativePromisePrototype!==Object.prototype)){nativeThen=NativePromisePrototype.then,NATIVE_PROMISE_SUBCLASSING||redefine(NativePromisePrototype,"then",(function then(onFulfilled,onRejected){var that=this;return new PromiseConstructor((function(resolve,reject){call(nativeThen,that,resolve,reject)})).then(onFulfilled,onRejected)}),{unsafe:!0});try{delete NativePromisePrototype.constructor}catch(error){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype,PromisePrototype)}$({global:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,"Promise",!1,!0),setSpecies("Promise")},"./node_modules/core-js/modules/es.promise.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/es.promise.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.all.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.catch.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.race.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.reject.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.resolve.js")},"./node_modules/core-js/modules/es.promise.race.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),newPromiseCapabilityModule=__webpack_require__("./node_modules/core-js/internals/new-promise-capability.js"),perform=__webpack_require__("./node_modules/core-js/internals/perform.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js");$({target:"Promise",stat:!0,forced:__webpack_require__("./node_modules/core-js/internals/promise-statics-incorrect-iteration.js")},{race:function race(iterable){var C=this,capability=newPromiseCapabilityModule.f(C),reject=capability.reject,result=perform((function(){var $promiseResolve=aCallable(C.resolve);iterate(iterable,(function(promise){call($promiseResolve,C,promise).then(capability.resolve,reject)}))}));return result.error&&reject(result.value),capability.promise}})},"./node_modules/core-js/modules/es.promise.reject.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),newPromiseCapabilityModule=__webpack_require__("./node_modules/core-js/internals/new-promise-capability.js");$({target:"Promise",stat:!0,forced:__webpack_require__("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR},{reject:function reject(r){var capability=newPromiseCapabilityModule.f(this);return call(capability.reject,void 0,r),capability.promise}})},"./node_modules/core-js/modules/es.promise.resolve.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),FORCED_PROMISE_CONSTRUCTOR=__webpack_require__("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR,promiseResolve=__webpack_require__("./node_modules/core-js/internals/promise-resolve.js"),PromiseConstructorWrapper=getBuiltIn("Promise"),CHECK_WRAPPER=IS_PURE&&!FORCED_PROMISE_CONSTRUCTOR;$({target:"Promise",stat:!0,forced:IS_PURE||FORCED_PROMISE_CONSTRUCTOR},{resolve:function resolve(x){return promiseResolve(CHECK_WRAPPER&&this===PromiseConstructorWrapper?NativePromiseConstructor:this,x)}})},"./node_modules/core-js/modules/es.reflect.construct.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind.js"),aConstructor=__webpack_require__("./node_modules/core-js/internals/a-constructor.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),create=__webpack_require__("./node_modules/core-js/internals/object-create.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),nativeConstruct=getBuiltIn("Reflect","construct"),ObjectPrototype=Object.prototype,push=[].push,NEW_TARGET_BUG=fails((function(){function F(){}return!(nativeConstruct((function(){}),[],F)instanceof F)})),ARGS_BUG=!fails((function(){nativeConstruct((function(){}))})),FORCED=NEW_TARGET_BUG||ARGS_BUG;$({target:"Reflect",stat:!0,forced:FORCED,sham:FORCED},{construct:function construct(Target,args){aConstructor(Target),anObject(args);var newTarget=arguments.length<3?Target:aConstructor(arguments[2]);if(ARGS_BUG&&!NEW_TARGET_BUG)return nativeConstruct(Target,args,newTarget);if(Target==newTarget){switch(args.length){case 0:return new Target;case 1:return new Target(args[0]);case 2:return new Target(args[0],args[1]);case 3:return new Target(args[0],args[1],args[2]);case 4:return new Target(args[0],args[1],args[2],args[3])}var $args=[null];return apply(push,$args,args),new(apply(bind,Target,$args))}var proto=newTarget.prototype,instance=create(isObject(proto)?proto:ObjectPrototype),result=apply(Target,instance,args);return isObject(result)?result:instance}})},"./node_modules/core-js/modules/es.reflect.get.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isDataDescriptor=__webpack_require__("./node_modules/core-js/internals/is-data-descriptor.js"),getOwnPropertyDescriptorModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),getPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-get-prototype-of.js");$({target:"Reflect",stat:!0},{get:function get(target,propertyKey){var descriptor,prototype,receiver=arguments.length<3?target:arguments[2];return anObject(target)===receiver?target[propertyKey]:(descriptor=getOwnPropertyDescriptorModule.f(target,propertyKey))?isDataDescriptor(descriptor)?descriptor.value:void 0===descriptor.get?void 0:call(descriptor.get,receiver):isObject(prototype=getPrototypeOf(target))?get(prototype,propertyKey,receiver):void 0}})},"./node_modules/core-js/modules/es.reflect.to-string-tag.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js");$({global:!0},{Reflect:{}}),setToStringTag(global.Reflect,"Reflect",!0)},"./node_modules/core-js/modules/es.regexp.constructor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),isForced=__webpack_require__("./node_modules/core-js/internals/is-forced.js"),inheritIfRequired=__webpack_require__("./node_modules/core-js/internals/inherit-if-required.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),getOwnPropertyNames=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names.js").f,isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),isRegExp=__webpack_require__("./node_modules/core-js/internals/is-regexp.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),getRegExpFlags=__webpack_require__("./node_modules/core-js/internals/regexp-get-flags.js"),stickyHelpers=__webpack_require__("./node_modules/core-js/internals/regexp-sticky-helpers.js"),proxyAccessor=__webpack_require__("./node_modules/core-js/internals/proxy-accessor.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),enforceInternalState=__webpack_require__("./node_modules/core-js/internals/internal-state.js").enforce,setSpecies=__webpack_require__("./node_modules/core-js/internals/set-species.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),UNSUPPORTED_DOT_ALL=__webpack_require__("./node_modules/core-js/internals/regexp-unsupported-dot-all.js"),UNSUPPORTED_NCG=__webpack_require__("./node_modules/core-js/internals/regexp-unsupported-ncg.js"),MATCH=wellKnownSymbol("match"),NativeRegExp=global.RegExp,RegExpPrototype=NativeRegExp.prototype,SyntaxError=global.SyntaxError,exec=uncurryThis(RegExpPrototype.exec),charAt=uncurryThis("".charAt),replace=uncurryThis("".replace),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),IS_NCG=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,MISSED_STICKY=stickyHelpers.MISSED_STICKY,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,BASE_FORCED=DESCRIPTORS&&(!CORRECT_NEW||MISSED_STICKY||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG||fails((function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1||NativeRegExp(re2)==re2||"/a/i"!=NativeRegExp(re1,"i")})));if(isForced("RegExp",BASE_FORCED)){for(var RegExpWrapper=function RegExp(pattern,flags){var rawFlags,dotAll,sticky,handled,result,state,thisIsRegExp=isPrototypeOf(RegExpPrototype,this),patternIsRegExp=isRegExp(pattern),flagsAreUndefined=void 0===flags,groups=[],rawPattern=pattern;if(!thisIsRegExp&&patternIsRegExp&&flagsAreUndefined&&pattern.constructor===RegExpWrapper)return pattern;if((patternIsRegExp||isPrototypeOf(RegExpPrototype,pattern))&&(pattern=pattern.source,flagsAreUndefined&&(flags=getRegExpFlags(rawPattern))),pattern=void 0===pattern?"":toString(pattern),flags=void 0===flags?"":toString(flags),rawPattern=pattern,UNSUPPORTED_DOT_ALL&&"dotAll"in re1&&(dotAll=!!flags&&stringIndexOf(flags,"s")>-1)&&(flags=replace(flags,/s/g,"")),rawFlags=flags,MISSED_STICKY&&"sticky"in re1&&(sticky=!!flags&&stringIndexOf(flags,"y")>-1)&&UNSUPPORTED_Y&&(flags=replace(flags,/y/g,"")),UNSUPPORTED_NCG&&(handled=function(string){for(var chr,length=string.length,index=0,result="",named=[],names={},brackets=!1,ncg=!1,groupid=0,groupname="";index<=length;index++){if("\\"===(chr=charAt(string,index)))chr+=charAt(string,++index);else if("]"===chr)brackets=!1;else if(!brackets)switch(!0){case"["===chr:brackets=!0;break;case"("===chr:exec(IS_NCG,stringSlice(string,index+1))&&(index+=2,ncg=!0),result+=chr,groupid++;continue;case">"===chr&&ncg:if(""===groupname||hasOwn(names,groupname))throw new SyntaxError("Invalid capture group name");names[groupname]=!0,named[named.length]=[groupname,groupid],ncg=!1,groupname="";continue}ncg?groupname+=chr:result+=chr}return[result,named]}(pattern),pattern=handled[0],groups=handled[1]),result=inheritIfRequired(NativeRegExp(pattern,flags),thisIsRegExp?this:RegExpPrototype,RegExpWrapper),(dotAll||sticky||groups.length)&&(state=enforceInternalState(result),dotAll&&(state.dotAll=!0,state.raw=RegExpWrapper(function(string){for(var chr,length=string.length,index=0,result="",brackets=!1;index<=length;index++)"\\"!==(chr=charAt(string,index))?brackets||"."!==chr?("["===chr?brackets=!0:"]"===chr&&(brackets=!1),result+=chr):result+="[\\s\\S]":result+=chr+charAt(string,++index);return result}(pattern),rawFlags)),sticky&&(state.sticky=!0),groups.length&&(state.groups=groups)),pattern!==rawPattern)try{createNonEnumerableProperty(result,"source",""===rawPattern?"(?:)":rawPattern)}catch(error){}return result},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxyAccessor(RegExpWrapper,NativeRegExp,keys[index++]);RegExpPrototype.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype,redefine(global,"RegExp",RegExpWrapper)}setSpecies("RegExp")},"./node_modules/core-js/modules/es.regexp.exec.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),exec=__webpack_require__("./node_modules/core-js/internals/regexp-exec.js");$({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec})},"./node_modules/core-js/modules/es.regexp.to-string.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var PROPER_FUNCTION_NAME=__webpack_require__("./node_modules/core-js/internals/function-name.js").PROPER,redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),$toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),getRegExpFlags=__webpack_require__("./node_modules/core-js/internals/regexp-get-flags.js"),n$ToString=RegExp.prototype.toString,NOT_GENERIC=fails((function(){return"/a/b"!=n$ToString.call({source:"a",flags:"b"})})),INCORRECT_NAME=PROPER_FUNCTION_NAME&&"toString"!=n$ToString.name;(NOT_GENERIC||INCORRECT_NAME)&&redefine(RegExp.prototype,"toString",(function toString(){var R=anObject(this);return"/"+$toString(R.source)+"/"+$toString(getRegExpFlags(R))}),{unsafe:!0})},"./node_modules/core-js/modules/es.set.constructor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/core-js/internals/collection.js")("Set",(function(init){return function Set(){return init(this,arguments.length?arguments[0]:void 0)}}),__webpack_require__("./node_modules/core-js/internals/collection-strong.js"))},"./node_modules/core-js/modules/es.set.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/es.set.constructor.js")},"./node_modules/core-js/modules/es.string.bold.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),createHTML=__webpack_require__("./node_modules/core-js/internals/create-html.js");$({target:"String",proto:!0,forced:__webpack_require__("./node_modules/core-js/internals/string-html-forced.js")("bold")},{bold:function bold(){return createHTML(this,"b","","")}})},"./node_modules/core-js/modules/es.string.ends-with.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var descriptor,$=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),getOwnPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),notARegExp=__webpack_require__("./node_modules/core-js/internals/not-a-regexp.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),correctIsRegExpLogic=__webpack_require__("./node_modules/core-js/internals/correct-is-regexp-logic.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),un$EndsWith=uncurryThis("".endsWith),slice=uncurryThis("".slice),min=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("endsWith");$({target:"String",proto:!0,forced:!!(IS_PURE||CORRECT_IS_REGEXP_LOGIC||(descriptor=getOwnPropertyDescriptor(String.prototype,"endsWith"),!descriptor||descriptor.writable))&&!CORRECT_IS_REGEXP_LOGIC},{endsWith:function endsWith(searchString){var that=toString(requireObjectCoercible(this));notARegExp(searchString);var endPosition=arguments.length>1?arguments[1]:void 0,len=that.length,end=void 0===endPosition?len:min(toLength(endPosition),len),search=toString(searchString);return un$EndsWith?un$EndsWith(that,search,end):slice(that,end-search.length,end)===search}})},"./node_modules/core-js/modules/es.string.includes.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),notARegExp=__webpack_require__("./node_modules/core-js/internals/not-a-regexp.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),correctIsRegExpLogic=__webpack_require__("./node_modules/core-js/internals/correct-is-regexp-logic.js"),stringIndexOf=uncurryThis("".indexOf);$({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function includes(searchString){return!!~stringIndexOf(toString(requireObjectCoercible(this)),toString(notARegExp(searchString)),arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.string.iterator.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var charAt=__webpack_require__("./node_modules/core-js/internals/string-multibyte.js").charAt,toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),defineIterator=__webpack_require__("./node_modules/core-js/internals/define-iterator.js"),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("String Iterator");defineIterator(String,"String",(function(iterated){setInternalState(this,{type:"String Iterator",string:toString(iterated),index:0})}),(function next(){var point,state=getInternalState(this),string=state.string,index=state.index;return index>=string.length?{value:void 0,done:!0}:(point=charAt(string,index),state.index+=point.length,{value:point,done:!1})}))},"./node_modules/core-js/modules/es.string.link.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),createHTML=__webpack_require__("./node_modules/core-js/internals/create-html.js");$({target:"String",proto:!0,forced:__webpack_require__("./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function link(url){return createHTML(this,"a","href",url)}})},"./node_modules/core-js/modules/es.string.match.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),fixRegExpWellKnownSymbolLogic=__webpack_require__("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),advanceStringIndex=__webpack_require__("./node_modules/core-js/internals/advance-string-index.js"),regExpExec=__webpack_require__("./node_modules/core-js/internals/regexp-exec-abstract.js");fixRegExpWellKnownSymbolLogic("match",(function(MATCH,nativeMatch,maybeCallNative){return[function match(regexp){var O=requireObjectCoercible(this),matcher=null==regexp?void 0:getMethod(regexp,MATCH);return matcher?call(matcher,regexp,O):new RegExp(regexp)[MATCH](toString(O))},function(string){var rx=anObject(this),S=toString(string),res=maybeCallNative(nativeMatch,rx,S);if(res.done)return res.value;if(!rx.global)return regExpExec(rx,S);var fullUnicode=rx.unicode;rx.lastIndex=0;for(var result,A=[],n=0;null!==(result=regExpExec(rx,S));){var matchStr=toString(result[0]);A[n]=matchStr,""===matchStr&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode)),n++}return 0===n?null:A}]}))},"./node_modules/core-js/modules/es.string.repeat.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/export.js")({target:"String",proto:!0},{repeat:__webpack_require__("./node_modules/core-js/internals/string-repeat.js")})},"./node_modules/core-js/modules/es.string.replace.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),fixRegExpWellKnownSymbolLogic=__webpack_require__("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),advanceStringIndex=__webpack_require__("./node_modules/core-js/internals/advance-string-index.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),getSubstitution=__webpack_require__("./node_modules/core-js/internals/get-substitution.js"),regExpExec=__webpack_require__("./node_modules/core-js/internals/regexp-exec-abstract.js"),REPLACE=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0");fixRegExpWellKnownSymbolLogic("replace",(function(_,nativeReplace,maybeCallNative){var UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:getMethod(searchValue,REPLACE);return replacer?call(replacer,searchValue,O,replaceValue):call(nativeReplace,toString(O),searchValue,replaceValue)},function(string,replaceValue){var rx=anObject(this),S=toString(string);if("string"==typeof replaceValue&&-1===stringIndexOf(replaceValue,UNSAFE_SUBSTITUTE)&&-1===stringIndexOf(replaceValue,"$<")){var res=maybeCallNative(nativeReplace,rx,S,replaceValue);if(res.done)return res.value}var functionalReplace=isCallable(replaceValue);functionalReplace||(replaceValue=toString(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regExpExec(rx,S);if(null===result)break;if(push(results,result),!global)break;""===toString(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i<results.length;i++){for(var matched=toString((result=results[i])[0]),position=max(min(toIntegerOrInfinity(result.index),S.length),0),captures=[],j=1;j<result.length;j++)push(captures,void 0===(it=result[j])?it:String(it));var namedCaptures=result.groups;if(functionalReplace){var replacerArgs=concat([matched],captures,position,S);void 0!==namedCaptures&&push(replacerArgs,namedCaptures);var replacement=toString(apply(replaceValue,void 0,replacerArgs))}else replacement=getSubstitution(matched,S,position,captures,namedCaptures,replaceValue);position>=nextSourcePosition&&(accumulatedResult+=stringSlice(S,nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+stringSlice(S,nextSourcePosition)}]}),!!fails((function(){var re=/./;return re.exec=function(){var result=[];return result.groups={a:"7"},result},"7"!=="".replace(re,"$<a>")}))||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE)},"./node_modules/core-js/modules/es.string.search.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),fixRegExpWellKnownSymbolLogic=__webpack_require__("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),sameValue=__webpack_require__("./node_modules/core-js/internals/same-value.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),regExpExec=__webpack_require__("./node_modules/core-js/internals/regexp-exec-abstract.js");fixRegExpWellKnownSymbolLogic("search",(function(SEARCH,nativeSearch,maybeCallNative){return[function search(regexp){var O=requireObjectCoercible(this),searcher=null==regexp?void 0:getMethod(regexp,SEARCH);return searcher?call(searcher,regexp,O):new RegExp(regexp)[SEARCH](toString(O))},function(string){var rx=anObject(this),S=toString(string),res=maybeCallNative(nativeSearch,rx,S);if(res.done)return res.value;var previousLastIndex=rx.lastIndex;sameValue(previousLastIndex,0)||(rx.lastIndex=0);var result=regExpExec(rx,S);return sameValue(rx.lastIndex,previousLastIndex)||(rx.lastIndex=previousLastIndex),null===result?-1:result.index}]}))},"./node_modules/core-js/modules/es.string.small.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),createHTML=__webpack_require__("./node_modules/core-js/internals/create-html.js");$({target:"String",proto:!0,forced:__webpack_require__("./node_modules/core-js/internals/string-html-forced.js")("small")},{small:function small(){return createHTML(this,"small","","")}})},"./node_modules/core-js/modules/es.string.split.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),fixRegExpWellKnownSymbolLogic=__webpack_require__("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),isRegExp=__webpack_require__("./node_modules/core-js/internals/is-regexp.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),speciesConstructor=__webpack_require__("./node_modules/core-js/internals/species-constructor.js"),advanceStringIndex=__webpack_require__("./node_modules/core-js/internals/advance-string-index.js"),toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice-simple.js"),callRegExpExec=__webpack_require__("./node_modules/core-js/internals/regexp-exec-abstract.js"),regexpExec=__webpack_require__("./node_modules/core-js/internals/regexp-exec.js"),stickyHelpers=__webpack_require__("./node_modules/core-js/internals/regexp-sticky-helpers.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,min=Math.min,$push=[].push,exec=uncurryThis(/./.exec),push=uncurryThis($push),stringSlice=uncurryThis("".slice);fixRegExpWellKnownSymbolLogic("split",(function(SPLIT,nativeSplit,maybeCallNative){var internalSplit;return internalSplit="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(separator,limit){var string=toString(requireObjectCoercible(this)),lim=void 0===limit?4294967295:limit>>>0;if(0===lim)return[];if(void 0===separator)return[string];if(!isRegExp(separator))return call(nativeSplit,string,separator,lim);for(var match,lastIndex,lastLength,output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":""),lastLastIndex=0,separatorCopy=new RegExp(separator.source,flags+"g");(match=call(regexpExec,separatorCopy,string))&&!((lastIndex=separatorCopy.lastIndex)>lastLastIndex&&(push(output,stringSlice(string,lastLastIndex,match.index)),match.length>1&&match.index<string.length&&apply($push,output,arraySlice(match,1)),lastLength=match[0].length,lastLastIndex=lastIndex,output.length>=lim));)separatorCopy.lastIndex===match.index&&separatorCopy.lastIndex++;return lastLastIndex===string.length?!lastLength&&exec(separatorCopy,"")||push(output,""):push(output,stringSlice(string,lastLastIndex)),output.length>lim?arraySlice(output,0,lim):output}:"0".split(void 0,0).length?function(separator,limit){return void 0===separator&&0===limit?[]:call(nativeSplit,this,separator,limit)}:nativeSplit,[function split(separator,limit){var O=requireObjectCoercible(this),splitter=null==separator?void 0:getMethod(separator,SPLIT);return splitter?call(splitter,separator,O,limit):call(internalSplit,toString(O),separator,limit)},function(string,limit){var rx=anObject(this),S=toString(string),res=maybeCallNative(internalSplit,rx,S,limit,internalSplit!==nativeSplit);if(res.done)return res.value;var C=speciesConstructor(rx,RegExp),unicodeMatching=rx.unicode,flags=(rx.ignoreCase?"i":"")+(rx.multiline?"m":"")+(rx.unicode?"u":"")+(UNSUPPORTED_Y?"g":"y"),splitter=new C(UNSUPPORTED_Y?"^(?:"+rx.source+")":rx,flags),lim=void 0===limit?4294967295:limit>>>0;if(0===lim)return[];if(0===S.length)return null===callRegExpExec(splitter,S)?[S]:[];for(var p=0,q=0,A=[];q<S.length;){splitter.lastIndex=UNSUPPORTED_Y?0:q;var e,z=callRegExpExec(splitter,UNSUPPORTED_Y?stringSlice(S,q):S);if(null===z||(e=min(toLength(splitter.lastIndex+(UNSUPPORTED_Y?q:0)),S.length))===p)q=advanceStringIndex(S,q,unicodeMatching);else{if(push(A,stringSlice(S,p,q)),A.length===lim)return A;for(var i=1;i<=z.length-1;i++)if(push(A,z[i]),A.length===lim)return A;q=p=e}}return push(A,stringSlice(S,p)),A}]}),!!fails((function(){var re=/(?:)/,originalExec=re.exec;re.exec=function(){return originalExec.apply(this,arguments)};var result="ab".split(re);return 2!==result.length||"a"!==result[0]||"b"!==result[1]})),UNSUPPORTED_Y)},"./node_modules/core-js/modules/es.string.starts-with.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var descriptor,$=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),getOwnPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),notARegExp=__webpack_require__("./node_modules/core-js/internals/not-a-regexp.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),correctIsRegExpLogic=__webpack_require__("./node_modules/core-js/internals/correct-is-regexp-logic.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),un$StartsWith=uncurryThis("".startsWith),stringSlice=uncurryThis("".slice),min=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("startsWith");$({target:"String",proto:!0,forced:!!(IS_PURE||CORRECT_IS_REGEXP_LOGIC||(descriptor=getOwnPropertyDescriptor(String.prototype,"startsWith"),!descriptor||descriptor.writable))&&!CORRECT_IS_REGEXP_LOGIC},{startsWith:function startsWith(searchString){var that=toString(requireObjectCoercible(this));notARegExp(searchString);var index=toLength(min(arguments.length>1?arguments[1]:void 0,that.length)),search=toString(searchString);return un$StartsWith?un$StartsWith(that,search,index):stringSlice(that,index,index+search.length)===search}})},"./node_modules/core-js/modules/es.string.trim.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$trim=__webpack_require__("./node_modules/core-js/internals/string-trim.js").trim;$({target:"String",proto:!0,forced:__webpack_require__("./node_modules/core-js/internals/string-trim-forced.js")("trim")},{trim:function trim(){return $trim(this)}})},"./node_modules/core-js/modules/es.symbol.async-iterator.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("asyncIterator")},"./node_modules/core-js/modules/es.symbol.constructor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),NATIVE_SYMBOL=__webpack_require__("./node_modules/core-js/internals/native-symbol.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),$toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js"),nativeObjectCreate=__webpack_require__("./node_modules/core-js/internals/object-create.js"),objectKeys=__webpack_require__("./node_modules/core-js/internals/object-keys.js"),getOwnPropertyNamesModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names.js"),getOwnPropertyNamesExternal=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names-external.js"),getOwnPropertySymbolsModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-symbols.js"),getOwnPropertyDescriptorModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),definePropertiesModule=__webpack_require__("./node_modules/core-js/internals/object-define-properties.js"),propertyIsEnumerableModule=__webpack_require__("./node_modules/core-js/internals/object-property-is-enumerable.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),shared=__webpack_require__("./node_modules/core-js/internals/shared.js"),sharedKey=__webpack_require__("./node_modules/core-js/internals/shared-key.js"),hiddenKeys=__webpack_require__("./node_modules/core-js/internals/hidden-keys.js"),uid=__webpack_require__("./node_modules/core-js/internals/uid.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),wrappedWellKnownSymbolModule=__webpack_require__("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),defineWellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js"),defineSymbolToPrimitive=__webpack_require__("./node_modules/core-js/internals/symbol-define-to-primitive.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),$forEach=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").forEach,HIDDEN=sharedKey("hidden"),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Symbol"),ObjectPrototype=Object.prototype,$Symbol=global.Symbol,SymbolPrototype=$Symbol&&$Symbol.prototype,TypeError=global.TypeError,QObject=global.QObject,nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule.f,push=uncurryThis([].push),AllSymbols=shared("symbols"),ObjectPrototypeSymbols=shared("op-symbols"),WellKnownSymbolsStore=shared("wks"),USE_SETTER=!QObject||!QObject.prototype||!QObject.prototype.findChild,setSymbolDescriptor=DESCRIPTORS&&fails((function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a}))?function(O,P,Attributes){var ObjectPrototypeDescriptor=nativeGetOwnPropertyDescriptor(ObjectPrototype,P);ObjectPrototypeDescriptor&&delete ObjectPrototype[P],nativeDefineProperty(O,P,Attributes),ObjectPrototypeDescriptor&&O!==ObjectPrototype&&nativeDefineProperty(ObjectPrototype,P,ObjectPrototypeDescriptor)}:nativeDefineProperty,wrap=function(tag,description){var symbol=AllSymbols[tag]=nativeObjectCreate(SymbolPrototype);return setInternalState(symbol,{type:"Symbol",tag,description}),DESCRIPTORS||(symbol.description=description),symbol},$defineProperty=function defineProperty(O,P,Attributes){O===ObjectPrototype&&$defineProperty(ObjectPrototypeSymbols,P,Attributes),anObject(O);var key=toPropertyKey(P);return anObject(Attributes),hasOwn(AllSymbols,key)?(Attributes.enumerable?(hasOwn(O,HIDDEN)&&O[HIDDEN][key]&&(O[HIDDEN][key]=!1),Attributes=nativeObjectCreate(Attributes,{enumerable:createPropertyDescriptor(0,!1)})):(hasOwn(O,HIDDEN)||nativeDefineProperty(O,HIDDEN,createPropertyDescriptor(1,{})),O[HIDDEN][key]=!0),setSymbolDescriptor(O,key,Attributes)):nativeDefineProperty(O,key,Attributes)},$defineProperties=function defineProperties(O,Properties){anObject(O);var properties=toIndexedObject(Properties),keys=objectKeys(properties).concat($getOwnPropertySymbols(properties));return $forEach(keys,(function(key){DESCRIPTORS&&!call($propertyIsEnumerable,properties,key)||$defineProperty(O,key,properties[key])})),O},$propertyIsEnumerable=function propertyIsEnumerable(V){var P=toPropertyKey(V),enumerable=call(nativePropertyIsEnumerable,this,P);return!(this===ObjectPrototype&&hasOwn(AllSymbols,P)&&!hasOwn(ObjectPrototypeSymbols,P))&&(!(enumerable||!hasOwn(this,P)||!hasOwn(AllSymbols,P)||hasOwn(this,HIDDEN)&&this[HIDDEN][P])||enumerable)},$getOwnPropertyDescriptor=function getOwnPropertyDescriptor(O,P){var it=toIndexedObject(O),key=toPropertyKey(P);if(it!==ObjectPrototype||!hasOwn(AllSymbols,key)||hasOwn(ObjectPrototypeSymbols,key)){var descriptor=nativeGetOwnPropertyDescriptor(it,key);return!descriptor||!hasOwn(AllSymbols,key)||hasOwn(it,HIDDEN)&&it[HIDDEN][key]||(descriptor.enumerable=!0),descriptor}},$getOwnPropertyNames=function getOwnPropertyNames(O){var names=nativeGetOwnPropertyNames(toIndexedObject(O)),result=[];return $forEach(names,(function(key){hasOwn(AllSymbols,key)||hasOwn(hiddenKeys,key)||push(result,key)})),result},$getOwnPropertySymbols=function(O){var IS_OBJECT_PROTOTYPE=O===ObjectPrototype,names=nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE?ObjectPrototypeSymbols:toIndexedObject(O)),result=[];return $forEach(names,(function(key){!hasOwn(AllSymbols,key)||IS_OBJECT_PROTOTYPE&&!hasOwn(ObjectPrototype,key)||push(result,AllSymbols[key])})),result};NATIVE_SYMBOL||(redefine(SymbolPrototype=($Symbol=function Symbol(){if(isPrototypeOf(SymbolPrototype,this))throw TypeError("Symbol is not a constructor");var description=arguments.length&&void 0!==arguments[0]?$toString(arguments[0]):void 0,tag=uid(description),setter=function(value){this===ObjectPrototype&&call(setter,ObjectPrototypeSymbols,value),hasOwn(this,HIDDEN)&&hasOwn(this[HIDDEN],tag)&&(this[HIDDEN][tag]=!1),setSymbolDescriptor(this,tag,createPropertyDescriptor(1,value))};return DESCRIPTORS&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype,tag,{configurable:!0,set:setter}),wrap(tag,description)}).prototype,"toString",(function toString(){return getInternalState(this).tag})),redefine($Symbol,"withoutSetter",(function(description){return wrap(uid(description),description)})),propertyIsEnumerableModule.f=$propertyIsEnumerable,definePropertyModule.f=$defineProperty,definePropertiesModule.f=$defineProperties,getOwnPropertyDescriptorModule.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(name){return wrap(wellKnownSymbol(name),name)},DESCRIPTORS&&(nativeDefineProperty(SymbolPrototype,"description",{configurable:!0,get:function description(){return getInternalState(this).description}}),IS_PURE||redefine(ObjectPrototype,"propertyIsEnumerable",$propertyIsEnumerable,{unsafe:!0}))),$({global:!0,wrap:!0,forced:!NATIVE_SYMBOL,sham:!NATIVE_SYMBOL},{Symbol:$Symbol}),$forEach(objectKeys(WellKnownSymbolsStore),(function(name){defineWellKnownSymbol(name)})),$({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL},{useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL,sham:!DESCRIPTORS},{create:function create(O,Properties){return void 0===Properties?nativeObjectCreate(O):$defineProperties(nativeObjectCreate(O),Properties)},defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL},{getOwnPropertyNames:$getOwnPropertyNames}),defineSymbolToPrimitive(),setToStringTag($Symbol,"Symbol"),hiddenKeys[HIDDEN]=!0},"./node_modules/core-js/modules/es.symbol.description.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js").f,copyConstructorProperties=__webpack_require__("./node_modules/core-js/internals/copy-constructor-properties.js"),NativeSymbol=global.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype;if(DESCRIPTORS&&isCallable(NativeSymbol)&&(!("description"in SymbolPrototype)||void 0!==NativeSymbol().description)){var EmptyStringDescriptionStore={},SymbolWrapper=function Symbol(){var description=arguments.length<1||void 0===arguments[0]?void 0:toString(arguments[0]),result=isPrototypeOf(SymbolPrototype,this)?new NativeSymbol(description):void 0===description?NativeSymbol():NativeSymbol(description);return""===description&&(EmptyStringDescriptionStore[result]=!0),result};copyConstructorProperties(SymbolWrapper,NativeSymbol),SymbolWrapper.prototype=SymbolPrototype,SymbolPrototype.constructor=SymbolWrapper;var NATIVE_SYMBOL="Symbol(test)"==String(NativeSymbol("test")),symbolToString=uncurryThis(SymbolPrototype.toString),symbolValueOf=uncurryThis(SymbolPrototype.valueOf),regexp=/^Symbol\((.*)\)[^)]+$/,replace=uncurryThis("".replace),stringSlice=uncurryThis("".slice);defineProperty(SymbolPrototype,"description",{configurable:!0,get:function description(){var symbol=symbolValueOf(this),string=symbolToString(symbol);if(hasOwn(EmptyStringDescriptionStore,symbol))return"";var desc=NATIVE_SYMBOL?stringSlice(string,7,-1):replace(string,regexp,"$1");return""===desc?void 0:desc}}),$({global:!0,forced:!0},{Symbol:SymbolWrapper})}},"./node_modules/core-js/modules/es.symbol.for.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),shared=__webpack_require__("./node_modules/core-js/internals/shared.js"),NATIVE_SYMBOL_REGISTRY=__webpack_require__("./node_modules/core-js/internals/native-symbol-registry.js"),StringToSymbolRegistry=shared("string-to-symbol-registry"),SymbolToStringRegistry=shared("symbol-to-string-registry");$({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY},{for:function(key){var string=toString(key);if(hasOwn(StringToSymbolRegistry,string))return StringToSymbolRegistry[string];var symbol=getBuiltIn("Symbol")(string);return StringToSymbolRegistry[string]=symbol,SymbolToStringRegistry[symbol]=string,symbol}})},"./node_modules/core-js/modules/es.symbol.has-instance.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("hasInstance")},"./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("isConcatSpreadable")},"./node_modules/core-js/modules/es.symbol.iterator.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("iterator")},"./node_modules/core-js/modules/es.symbol.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/es.symbol.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.for.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.key-for.js"),__webpack_require__("./node_modules/core-js/modules/es.json.stringify.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-symbols.js")},"./node_modules/core-js/modules/es.symbol.key-for.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),isSymbol=__webpack_require__("./node_modules/core-js/internals/is-symbol.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),shared=__webpack_require__("./node_modules/core-js/internals/shared.js"),NATIVE_SYMBOL_REGISTRY=__webpack_require__("./node_modules/core-js/internals/native-symbol-registry.js"),SymbolToStringRegistry=shared("symbol-to-string-registry");$({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY},{keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(tryToString(sym)+" is not a symbol");if(hasOwn(SymbolToStringRegistry,sym))return SymbolToStringRegistry[sym]}})},"./node_modules/core-js/modules/es.symbol.match-all.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("matchAll")},"./node_modules/core-js/modules/es.symbol.match.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("match")},"./node_modules/core-js/modules/es.symbol.replace.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("replace")},"./node_modules/core-js/modules/es.symbol.search.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("search")},"./node_modules/core-js/modules/es.symbol.species.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("species")},"./node_modules/core-js/modules/es.symbol.split.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("split")},"./node_modules/core-js/modules/es.symbol.to-primitive.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var defineWellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js"),defineSymbolToPrimitive=__webpack_require__("./node_modules/core-js/internals/symbol-define-to-primitive.js");defineWellKnownSymbol("toPrimitive"),defineSymbolToPrimitive()},"./node_modules/core-js/modules/es.symbol.to-string-tag.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),defineWellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js");defineWellKnownSymbol("toStringTag"),setToStringTag(getBuiltIn("Symbol"),"Symbol")},"./node_modules/core-js/modules/es.symbol.unscopables.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("unscopables")},"./node_modules/core-js/modules/es.weak-map.constructor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var InternalWeakMap,global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),redefineAll=__webpack_require__("./node_modules/core-js/internals/redefine-all.js"),InternalMetadataModule=__webpack_require__("./node_modules/core-js/internals/internal-metadata.js"),collection=__webpack_require__("./node_modules/core-js/internals/collection.js"),collectionWeak=__webpack_require__("./node_modules/core-js/internals/collection-weak.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),isExtensible=__webpack_require__("./node_modules/core-js/internals/object-is-extensible.js"),enforceInternalState=__webpack_require__("./node_modules/core-js/internals/internal-state.js").enforce,NATIVE_WEAK_MAP=__webpack_require__("./node_modules/core-js/internals/native-weak-map.js"),IS_IE11=!global.ActiveXObject&&"ActiveXObject"in global,wrapper=function(init){return function WeakMap(){return init(this,arguments.length?arguments[0]:void 0)}},$WeakMap=collection("WeakMap",wrapper,collectionWeak);if(NATIVE_WEAK_MAP&&IS_IE11){InternalWeakMap=collectionWeak.getConstructor(wrapper,"WeakMap",!0),InternalMetadataModule.enable();var WeakMapPrototype=$WeakMap.prototype,nativeDelete=uncurryThis(WeakMapPrototype.delete),nativeHas=uncurryThis(WeakMapPrototype.has),nativeGet=uncurryThis(WeakMapPrototype.get),nativeSet=uncurryThis(WeakMapPrototype.set);redefineAll(WeakMapPrototype,{delete:function(key){if(isObject(key)&&!isExtensible(key)){var state=enforceInternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeDelete(this,key)||state.frozen.delete(key)}return nativeDelete(this,key)},has:function has(key){if(isObject(key)&&!isExtensible(key)){var state=enforceInternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeHas(this,key)||state.frozen.has(key)}return nativeHas(this,key)},get:function get(key){if(isObject(key)&&!isExtensible(key)){var state=enforceInternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeHas(this,key)?nativeGet(this,key):state.frozen.get(key)}return nativeGet(this,key)},set:function set(key,value){if(isObject(key)&&!isExtensible(key)){var state=enforceInternalState(this);state.frozen||(state.frozen=new InternalWeakMap),nativeHas(this,key)?nativeSet(this,key,value):state.frozen.set(key,value)}else nativeSet(this,key,value);return this}})}},"./node_modules/core-js/modules/es.weak-map.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/es.weak-map.constructor.js")},"./node_modules/core-js/modules/esnext.symbol.async-dispose.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("asyncDispose")},"./node_modules/core-js/modules/esnext.symbol.dispose.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("dispose")},"./node_modules/core-js/modules/esnext.symbol.matcher.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("matcher")},"./node_modules/core-js/modules/esnext.symbol.metadata.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("metadata")},"./node_modules/core-js/modules/esnext.symbol.observable.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("observable")},"./node_modules/core-js/modules/esnext.symbol.pattern-match.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("patternMatch")},"./node_modules/core-js/modules/esnext.symbol.replace-all.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/internals/define-well-known-symbol.js")("replaceAll")},"./node_modules/core-js/modules/web.clear-immediate.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),clearImmediate=__webpack_require__("./node_modules/core-js/internals/task.js").clear;$({global:!0,bind:!0,enumerable:!0,forced:global.clearImmediate!==clearImmediate},{clearImmediate})},"./node_modules/core-js/modules/web.dom-collections.for-each.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),DOMIterables=__webpack_require__("./node_modules/core-js/internals/dom-iterables.js"),DOMTokenListPrototype=__webpack_require__("./node_modules/core-js/internals/dom-token-list-prototype.js"),forEach=__webpack_require__("./node_modules/core-js/internals/array-for-each.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),handlePrototype=function(CollectionPrototype){if(CollectionPrototype&&CollectionPrototype.forEach!==forEach)try{createNonEnumerableProperty(CollectionPrototype,"forEach",forEach)}catch(error){CollectionPrototype.forEach=forEach}};for(var COLLECTION_NAME in DOMIterables)DOMIterables[COLLECTION_NAME]&&handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype);handlePrototype(DOMTokenListPrototype)},"./node_modules/core-js/modules/web.dom-collections.iterator.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var global=__webpack_require__("./node_modules/core-js/internals/global.js"),DOMIterables=__webpack_require__("./node_modules/core-js/internals/dom-iterables.js"),DOMTokenListPrototype=__webpack_require__("./node_modules/core-js/internals/dom-token-list-prototype.js"),ArrayIteratorMethods=__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(CollectionPrototype,COLLECTION_NAME){if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(CollectionPrototype[TO_STRING_TAG]||createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),DOMIterables[COLLECTION_NAME])for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}};for(var COLLECTION_NAME in DOMIterables)handlePrototype(global[COLLECTION_NAME]&&global[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList")},"./node_modules/core-js/modules/web.immediate.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/web.clear-immediate.js"),__webpack_require__("./node_modules/core-js/modules/web.set-immediate.js")},"./node_modules/core-js/modules/web.set-immediate.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),setImmediate=__webpack_require__("./node_modules/core-js/internals/task.js").set;$({global:!0,bind:!0,enumerable:!0,forced:global.setImmediate!==setImmediate},{setImmediate})},"./node_modules/core-js/modules/web.set-interval.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),setInterval=__webpack_require__("./node_modules/core-js/internals/schedulers-fix.js").setInterval;$({global:!0,bind:!0,forced:global.setInterval!==setInterval},{setInterval})},"./node_modules/core-js/modules/web.set-timeout.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),setTimeout=__webpack_require__("./node_modules/core-js/internals/schedulers-fix.js").setTimeout;$({global:!0,bind:!0,forced:global.setTimeout!==setTimeout},{setTimeout})},"./node_modules/core-js/modules/web.timers.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/web.set-interval.js"),__webpack_require__("./node_modules/core-js/modules/web.set-timeout.js")},"./node_modules/core-js/modules/web.url-search-params.constructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js");var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),USE_NATIVE_URL=__webpack_require__("./node_modules/core-js/internals/native-url.js"),redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),redefineAll=__webpack_require__("./node_modules/core-js/internals/redefine-all.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js"),createIteratorConstructor=__webpack_require__("./node_modules/core-js/internals/create-iterator-constructor.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),anInstance=__webpack_require__("./node_modules/core-js/internals/an-instance.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),$toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),create=__webpack_require__("./node_modules/core-js/internals/object-create.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),validateArgumentsLength=__webpack_require__("./node_modules/core-js/internals/validate-arguments-length.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),arraySort=__webpack_require__("./node_modules/core-js/internals/array-sort.js"),ITERATOR=wellKnownSymbol("iterator"),setInternalState=InternalStateModule.set,getInternalParamsState=InternalStateModule.getterFor("URLSearchParams"),getInternalIteratorState=InternalStateModule.getterFor("URLSearchParamsIterator"),getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,safeGetBuiltIn=function(name){if(!DESCRIPTORS)return global[name];var descriptor=getOwnPropertyDescriptor(global,name);return descriptor&&descriptor.value},nativeFetch=safeGetBuiltIn("fetch"),NativeRequest=safeGetBuiltIn("Request"),Headers=safeGetBuiltIn("Headers"),RequestPrototype=NativeRequest&&NativeRequest.prototype,HeadersPrototype=Headers&&Headers.prototype,RegExp=global.RegExp,TypeError=global.TypeError,decodeURIComponent=global.decodeURIComponent,encodeURIComponent=global.encodeURIComponent,charAt=uncurryThis("".charAt),join=uncurryThis([].join),push=uncurryThis([].push),replace=uncurryThis("".replace),shift=uncurryThis([].shift),splice=uncurryThis([].splice),split=uncurryThis("".split),stringSlice=uncurryThis("".slice),plus=/\+/g,sequences=Array(4),percentSequence=function(bytes){return sequences[bytes-1]||(sequences[bytes-1]=RegExp("((?:%[\\da-f]{2}){"+bytes+"})","gi"))},percentDecode=function(sequence){try{return decodeURIComponent(sequence)}catch(error){return sequence}},deserialize=function(it){var result=replace(it,plus," "),bytes=4;try{return decodeURIComponent(result)}catch(error){for(;bytes;)result=replace(result,percentSequence(bytes--),percentDecode);return result}},find=/[!'()~]|%20/g,replacements={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(match){return replacements[match]},serialize=function(it){return replace(encodeURIComponent(it),find,replacer)},URLSearchParamsIterator=createIteratorConstructor((function Iterator(params,kind){setInternalState(this,{type:"URLSearchParamsIterator",iterator:getIterator(getInternalParamsState(params).entries),kind})}),"Iterator",(function next(){var state=getInternalIteratorState(this),kind=state.kind,step=state.iterator.next(),entry=step.value;return step.done||(step.value="keys"===kind?entry.key:"values"===kind?entry.value:[entry.key,entry.value]),step}),!0),URLSearchParamsState=function(init){this.entries=[],this.url=null,void 0!==init&&(isObject(init)?this.parseObject(init):this.parseQuery("string"==typeof init?"?"===charAt(init,0)?stringSlice(init,1):init:$toString(init)))};URLSearchParamsState.prototype={type:"URLSearchParams",bindURL:function(url){this.url=url,this.update()},parseObject:function(object){var iterator,next,step,entryIterator,entryNext,first,second,iteratorMethod=getIteratorMethod(object);if(iteratorMethod)for(next=(iterator=getIterator(object,iteratorMethod)).next;!(step=call(next,iterator)).done;){if(entryNext=(entryIterator=getIterator(anObject(step.value))).next,(first=call(entryNext,entryIterator)).done||(second=call(entryNext,entryIterator)).done||!call(entryNext,entryIterator).done)throw TypeError("Expected sequence with length 2");push(this.entries,{key:$toString(first.value),value:$toString(second.value)})}else for(var key in object)hasOwn(object,key)&&push(this.entries,{key,value:$toString(object[key])})},parseQuery:function(query){if(query)for(var attribute,entry,attributes=split(query,"&"),index=0;index<attributes.length;)(attribute=attributes[index++]).length&&(entry=split(attribute,"="),push(this.entries,{key:deserialize(shift(entry)),value:deserialize(join(entry,"="))}))},serialize:function(){for(var entry,entries=this.entries,result=[],index=0;index<entries.length;)entry=entries[index++],push(result,serialize(entry.key)+"="+serialize(entry.value));return join(result,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var URLSearchParamsConstructor=function URLSearchParams(){anInstance(this,URLSearchParamsPrototype);var init=arguments.length>0?arguments[0]:void 0;setInternalState(this,new URLSearchParamsState(init))},URLSearchParamsPrototype=URLSearchParamsConstructor.prototype;if(redefineAll(URLSearchParamsPrototype,{append:function append(name,value){validateArgumentsLength(arguments.length,2);var state=getInternalParamsState(this);push(state.entries,{key:$toString(name),value:$toString(value)}),state.updateURL()},delete:function(name){validateArgumentsLength(arguments.length,1);for(var state=getInternalParamsState(this),entries=state.entries,key=$toString(name),index=0;index<entries.length;)entries[index].key===key?splice(entries,index,1):index++;state.updateURL()},get:function get(name){validateArgumentsLength(arguments.length,1);for(var entries=getInternalParamsState(this).entries,key=$toString(name),index=0;index<entries.length;index++)if(entries[index].key===key)return entries[index].value;return null},getAll:function getAll(name){validateArgumentsLength(arguments.length,1);for(var entries=getInternalParamsState(this).entries,key=$toString(name),result=[],index=0;index<entries.length;index++)entries[index].key===key&&push(result,entries[index].value);return result},has:function has(name){validateArgumentsLength(arguments.length,1);for(var entries=getInternalParamsState(this).entries,key=$toString(name),index=0;index<entries.length;)if(entries[index++].key===key)return!0;return!1},set:function set(name,value){validateArgumentsLength(arguments.length,1);for(var entry,state=getInternalParamsState(this),entries=state.entries,found=!1,key=$toString(name),val=$toString(value),index=0;index<entries.length;index++)(entry=entries[index]).key===key&&(found?splice(entries,index--,1):(found=!0,entry.value=val));found||push(entries,{key,value:val}),state.updateURL()},sort:function sort(){var state=getInternalParamsState(this);arraySort(state.entries,(function(a,b){return a.key>b.key?1:-1})),state.updateURL()},forEach:function forEach(callback){for(var entry,entries=getInternalParamsState(this).entries,boundFunction=bind(callback,arguments.length>1?arguments[1]:void 0),index=0;index<entries.length;)boundFunction((entry=entries[index++]).value,entry.key,this)},keys:function keys(){return new URLSearchParamsIterator(this,"keys")},values:function values(){return new URLSearchParamsIterator(this,"values")},entries:function entries(){return new URLSearchParamsIterator(this,"entries")}},{enumerable:!0}),redefine(URLSearchParamsPrototype,ITERATOR,URLSearchParamsPrototype.entries,{name:"entries"}),redefine(URLSearchParamsPrototype,"toString",(function toString(){return getInternalParamsState(this).serialize()}),{enumerable:!0}),setToStringTag(URLSearchParamsConstructor,"URLSearchParams"),$({global:!0,forced:!USE_NATIVE_URL},{URLSearchParams:URLSearchParamsConstructor}),!USE_NATIVE_URL&&isCallable(Headers)){var headersHas=uncurryThis(HeadersPrototype.has),headersSet=uncurryThis(HeadersPrototype.set),wrapRequestOptions=function(init){if(isObject(init)){var headers,body=init.body;if("URLSearchParams"===classof(body))return headers=init.headers?new Headers(init.headers):new Headers,headersHas(headers,"content-type")||headersSet(headers,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),create(init,{body:createPropertyDescriptor(0,$toString(body)),headers:createPropertyDescriptor(0,headers)})}return init};if(isCallable(nativeFetch)&&$({global:!0,enumerable:!0,noTargetGet:!0,forced:!0},{fetch:function fetch(input){return nativeFetch(input,arguments.length>1?wrapRequestOptions(arguments[1]):{})}}),isCallable(NativeRequest)){var RequestConstructor=function Request(input){return anInstance(this,RequestPrototype),new NativeRequest(input,arguments.length>1?wrapRequestOptions(arguments[1]):{})};RequestPrototype.constructor=RequestConstructor,RequestConstructor.prototype=RequestPrototype,$({global:!0,forced:!0,noTargetGet:!0},{Request:RequestConstructor})}}module.exports={URLSearchParams:URLSearchParamsConstructor,getState:getInternalParamsState}},"./node_modules/core-js/modules/web.url.constructor.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js");var EOF,$=__webpack_require__("./node_modules/core-js/internals/export.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),USE_NATIVE_URL=__webpack_require__("./node_modules/core-js/internals/native-url.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),defineProperties=__webpack_require__("./node_modules/core-js/internals/object-define-properties.js").f,redefine=__webpack_require__("./node_modules/core-js/internals/redefine.js"),anInstance=__webpack_require__("./node_modules/core-js/internals/an-instance.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),assign=__webpack_require__("./node_modules/core-js/internals/object-assign.js"),arrayFrom=__webpack_require__("./node_modules/core-js/internals/array-from.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice-simple.js"),codeAt=__webpack_require__("./node_modules/core-js/internals/string-multibyte.js").codeAt,toASCII=__webpack_require__("./node_modules/core-js/internals/string-punycode-to-ascii.js"),$toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),setToStringTag=__webpack_require__("./node_modules/core-js/internals/set-to-string-tag.js"),validateArgumentsLength=__webpack_require__("./node_modules/core-js/internals/validate-arguments-length.js"),URLSearchParamsModule=__webpack_require__("./node_modules/core-js/modules/web.url-search-params.constructor.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),setInternalState=InternalStateModule.set,getInternalURLState=InternalStateModule.getterFor("URL"),URLSearchParams=URLSearchParamsModule.URLSearchParams,getInternalSearchParamsState=URLSearchParamsModule.getState,NativeURL=global.URL,TypeError=global.TypeError,parseInt=global.parseInt,floor=Math.floor,pow=Math.pow,charAt=uncurryThis("".charAt),exec=uncurryThis(/./.exec),join=uncurryThis([].join),numberToString=uncurryThis(1..toString),pop=uncurryThis([].pop),push=uncurryThis([].push),replace=uncurryThis("".replace),shift=uncurryThis([].shift),split=uncurryThis("".split),stringSlice=uncurryThis("".slice),toLowerCase=uncurryThis("".toLowerCase),unshift=uncurryThis([].unshift),ALPHA=/[a-z]/i,ALPHANUMERIC=/[\d+-.a-z]/i,DIGIT=/\d/,HEX_START=/^0x/i,OCT=/^[0-7]+$/,DEC=/^\d+$/,HEX=/^[\da-f]+$/i,FORBIDDEN_HOST_CODE_POINT=/[\0\t\n\r #%/:<>?@[\\\]^|]/,FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT=/[\0\t\n\r #/:<>?@[\\\]^|]/,LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,TAB_AND_NEW_LINE=/[\t\n\r]/g,serializeHost=function(host){var result,index,compress,ignore0;if("number"==typeof host){for(result=[],index=0;index<4;index++)unshift(result,host%256),host=floor(host/256);return join(result,".")}if("object"==typeof host){for(result="",compress=function(ipv6){for(var maxIndex=null,maxLength=1,currStart=null,currLength=0,index=0;index<8;index++)0!==ipv6[index]?(currLength>maxLength&&(maxIndex=currStart,maxLength=currLength),currStart=null,currLength=0):(null===currStart&&(currStart=index),++currLength);return currLength>maxLength&&(maxIndex=currStart,maxLength=currLength),maxIndex}(host),index=0;index<8;index++)ignore0&&0===host[index]||(ignore0&&(ignore0=!1),compress===index?(result+=index?":":"::",ignore0=!0):(result+=numberToString(host[index],16),index<7&&(result+=":")));return"["+result+"]"}return host},C0ControlPercentEncodeSet={},fragmentPercentEncodeSet=assign({},C0ControlPercentEncodeSet,{" ":1,'"':1,"<":1,">":1,"`":1}),pathPercentEncodeSet=assign({},fragmentPercentEncodeSet,{"#":1,"?":1,"{":1,"}":1}),userinfoPercentEncodeSet=assign({},pathPercentEncodeSet,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(chr,set){var code=codeAt(chr,0);return code>32&&code<127&&!hasOwn(set,chr)?chr:encodeURIComponent(chr)},specialSchemes={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isWindowsDriveLetter=function(string,normalized){var second;return 2==string.length&&exec(ALPHA,charAt(string,0))&&(":"==(second=charAt(string,1))||!normalized&&"|"==second)},startsWithWindowsDriveLetter=function(string){var third;return string.length>1&&isWindowsDriveLetter(stringSlice(string,0,2))&&(2==string.length||"/"===(third=charAt(string,2))||"\\"===third||"?"===third||"#"===third)},isSingleDot=function(segment){return"."===segment||"%2e"===toLowerCase(segment)},SCHEME_START={},SCHEME={},NO_SCHEME={},SPECIAL_RELATIVE_OR_AUTHORITY={},PATH_OR_AUTHORITY={},RELATIVE={},RELATIVE_SLASH={},SPECIAL_AUTHORITY_SLASHES={},SPECIAL_AUTHORITY_IGNORE_SLASHES={},AUTHORITY={},HOST={},HOSTNAME={},PORT={},FILE={},FILE_SLASH={},FILE_HOST={},PATH_START={},PATH={},CANNOT_BE_A_BASE_URL_PATH={},QUERY={},FRAGMENT={},URLState=function(url,isBase,base){var baseState,failure,searchParams,urlString=$toString(url);if(isBase){if(failure=this.parse(urlString))throw TypeError(failure);this.searchParams=null}else{if(void 0!==base&&(baseState=new URLState(base,!0)),failure=this.parse(urlString,null,baseState))throw TypeError(failure);(searchParams=getInternalSearchParamsState(new URLSearchParams)).bindURL(this),this.searchParams=searchParams}};URLState.prototype={type:"URL",parse:function(input,stateOverride,base){var codePoints,chr,bufferCodePoints,failure,segment,url=this,state=stateOverride||SCHEME_START,pointer=0,buffer="",seenAt=!1,seenBracket=!1,seenPasswordToken=!1;for(input=$toString(input),stateOverride||(url.scheme="",url.username="",url.password="",url.host=null,url.port=null,url.path=[],url.query=null,url.fragment=null,url.cannotBeABaseURL=!1,input=replace(input,LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE,"")),input=replace(input,TAB_AND_NEW_LINE,""),codePoints=arrayFrom(input);pointer<=codePoints.length;){switch(chr=codePoints[pointer],state){case SCHEME_START:if(!chr||!exec(ALPHA,chr)){if(stateOverride)return"Invalid scheme";state=NO_SCHEME;continue}buffer+=toLowerCase(chr),state=SCHEME;break;case SCHEME:if(chr&&(exec(ALPHANUMERIC,chr)||"+"==chr||"-"==chr||"."==chr))buffer+=toLowerCase(chr);else{if(":"!=chr){if(stateOverride)return"Invalid scheme";buffer="",state=NO_SCHEME,pointer=0;continue}if(stateOverride&&(url.isSpecial()!=hasOwn(specialSchemes,buffer)||"file"==buffer&&(url.includesCredentials()||null!==url.port)||"file"==url.scheme&&!url.host))return;if(url.scheme=buffer,stateOverride)return void(url.isSpecial()&&specialSchemes[url.scheme]==url.port&&(url.port=null));buffer="","file"==url.scheme?state=FILE:url.isSpecial()&&base&&base.scheme==url.scheme?state=SPECIAL_RELATIVE_OR_AUTHORITY:url.isSpecial()?state=SPECIAL_AUTHORITY_SLASHES:"/"==codePoints[pointer+1]?(state=PATH_OR_AUTHORITY,pointer++):(url.cannotBeABaseURL=!0,push(url.path,""),state=CANNOT_BE_A_BASE_URL_PATH)}break;case NO_SCHEME:if(!base||base.cannotBeABaseURL&&"#"!=chr)return"Invalid scheme";if(base.cannotBeABaseURL&&"#"==chr){url.scheme=base.scheme,url.path=arraySlice(base.path),url.query=base.query,url.fragment="",url.cannotBeABaseURL=!0,state=FRAGMENT;break}state="file"==base.scheme?FILE:RELATIVE;continue;case SPECIAL_RELATIVE_OR_AUTHORITY:if("/"!=chr||"/"!=codePoints[pointer+1]){state=RELATIVE;continue}state=SPECIAL_AUTHORITY_IGNORE_SLASHES,pointer++;break;case PATH_OR_AUTHORITY:if("/"==chr){state=AUTHORITY;break}state=PATH;continue;case RELATIVE:if(url.scheme=base.scheme,chr==EOF)url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=arraySlice(base.path),url.query=base.query;else if("/"==chr||"\\"==chr&&url.isSpecial())state=RELATIVE_SLASH;else if("?"==chr)url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=arraySlice(base.path),url.query="",state=QUERY;else{if("#"!=chr){url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=arraySlice(base.path),url.path.length--,state=PATH;continue}url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,url.path=arraySlice(base.path),url.query=base.query,url.fragment="",state=FRAGMENT}break;case RELATIVE_SLASH:if(!url.isSpecial()||"/"!=chr&&"\\"!=chr){if("/"!=chr){url.username=base.username,url.password=base.password,url.host=base.host,url.port=base.port,state=PATH;continue}state=AUTHORITY}else state=SPECIAL_AUTHORITY_IGNORE_SLASHES;break;case SPECIAL_AUTHORITY_SLASHES:if(state=SPECIAL_AUTHORITY_IGNORE_SLASHES,"/"!=chr||"/"!=charAt(buffer,pointer+1))continue;pointer++;break;case SPECIAL_AUTHORITY_IGNORE_SLASHES:if("/"!=chr&&"\\"!=chr){state=AUTHORITY;continue}break;case AUTHORITY:if("@"==chr){seenAt&&(buffer="%40"+buffer),seenAt=!0,bufferCodePoints=arrayFrom(buffer);for(var i=0;i<bufferCodePoints.length;i++){var codePoint=bufferCodePoints[i];if(":"!=codePoint||seenPasswordToken){var encodedCodePoints=percentEncode(codePoint,userinfoPercentEncodeSet);seenPasswordToken?url.password+=encodedCodePoints:url.username+=encodedCodePoints}else seenPasswordToken=!0}buffer=""}else if(chr==EOF||"/"==chr||"?"==chr||"#"==chr||"\\"==chr&&url.isSpecial()){if(seenAt&&""==buffer)return"Invalid authority";pointer-=arrayFrom(buffer).length+1,buffer="",state=HOST}else buffer+=chr;break;case HOST:case HOSTNAME:if(stateOverride&&"file"==url.scheme){state=FILE_HOST;continue}if(":"!=chr||seenBracket){if(chr==EOF||"/"==chr||"?"==chr||"#"==chr||"\\"==chr&&url.isSpecial()){if(url.isSpecial()&&""==buffer)return"Invalid host";if(stateOverride&&""==buffer&&(url.includesCredentials()||null!==url.port))return;if(failure=url.parseHost(buffer))return failure;if(buffer="",state=PATH_START,stateOverride)return;continue}"["==chr?seenBracket=!0:"]"==chr&&(seenBracket=!1),buffer+=chr}else{if(""==buffer)return"Invalid host";if(failure=url.parseHost(buffer))return failure;if(buffer="",state=PORT,stateOverride==HOSTNAME)return}break;case PORT:if(!exec(DIGIT,chr)){if(chr==EOF||"/"==chr||"?"==chr||"#"==chr||"\\"==chr&&url.isSpecial()||stateOverride){if(""!=buffer){var port=parseInt(buffer,10);if(port>65535)return"Invalid port";url.port=url.isSpecial()&&port===specialSchemes[url.scheme]?null:port,buffer=""}if(stateOverride)return;state=PATH_START;continue}return"Invalid port"}buffer+=chr;break;case FILE:if(url.scheme="file","/"==chr||"\\"==chr)state=FILE_SLASH;else{if(!base||"file"!=base.scheme){state=PATH;continue}if(chr==EOF)url.host=base.host,url.path=arraySlice(base.path),url.query=base.query;else if("?"==chr)url.host=base.host,url.path=arraySlice(base.path),url.query="",state=QUERY;else{if("#"!=chr){startsWithWindowsDriveLetter(join(arraySlice(codePoints,pointer),""))||(url.host=base.host,url.path=arraySlice(base.path),url.shortenPath()),state=PATH;continue}url.host=base.host,url.path=arraySlice(base.path),url.query=base.query,url.fragment="",state=FRAGMENT}}break;case FILE_SLASH:if("/"==chr||"\\"==chr){state=FILE_HOST;break}base&&"file"==base.scheme&&!startsWithWindowsDriveLetter(join(arraySlice(codePoints,pointer),""))&&(isWindowsDriveLetter(base.path[0],!0)?push(url.path,base.path[0]):url.host=base.host),state=PATH;continue;case FILE_HOST:if(chr==EOF||"/"==chr||"\\"==chr||"?"==chr||"#"==chr){if(!stateOverride&&isWindowsDriveLetter(buffer))state=PATH;else if(""==buffer){if(url.host="",stateOverride)return;state=PATH_START}else{if(failure=url.parseHost(buffer))return failure;if("localhost"==url.host&&(url.host=""),stateOverride)return;buffer="",state=PATH_START}continue}buffer+=chr;break;case PATH_START:if(url.isSpecial()){if(state=PATH,"/"!=chr&&"\\"!=chr)continue}else if(stateOverride||"?"!=chr)if(stateOverride||"#"!=chr){if(chr!=EOF&&(state=PATH,"/"!=chr))continue}else url.fragment="",state=FRAGMENT;else url.query="",state=QUERY;break;case PATH:if(chr==EOF||"/"==chr||"\\"==chr&&url.isSpecial()||!stateOverride&&("?"==chr||"#"==chr)){if(".."===(segment=toLowerCase(segment=buffer))||"%2e."===segment||".%2e"===segment||"%2e%2e"===segment?(url.shortenPath(),"/"==chr||"\\"==chr&&url.isSpecial()||push(url.path,"")):isSingleDot(buffer)?"/"==chr||"\\"==chr&&url.isSpecial()||push(url.path,""):("file"==url.scheme&&!url.path.length&&isWindowsDriveLetter(buffer)&&(url.host&&(url.host=""),buffer=charAt(buffer,0)+":"),push(url.path,buffer)),buffer="","file"==url.scheme&&(chr==EOF||"?"==chr||"#"==chr))for(;url.path.length>1&&""===url.path[0];)shift(url.path);"?"==chr?(url.query="",state=QUERY):"#"==chr&&(url.fragment="",state=FRAGMENT)}else buffer+=percentEncode(chr,pathPercentEncodeSet);break;case CANNOT_BE_A_BASE_URL_PATH:"?"==chr?(url.query="",state=QUERY):"#"==chr?(url.fragment="",state=FRAGMENT):chr!=EOF&&(url.path[0]+=percentEncode(chr,C0ControlPercentEncodeSet));break;case QUERY:stateOverride||"#"!=chr?chr!=EOF&&("'"==chr&&url.isSpecial()?url.query+="%27":url.query+="#"==chr?"%23":percentEncode(chr,C0ControlPercentEncodeSet)):(url.fragment="",state=FRAGMENT);break;case FRAGMENT:chr!=EOF&&(url.fragment+=percentEncode(chr,fragmentPercentEncodeSet))}pointer++}},parseHost:function(input){var result,codePoints,index;if("["==charAt(input,0)){if("]"!=charAt(input,input.length-1))return"Invalid host";if(result=function(input){var value,length,numbersSeen,ipv4Piece,number,swaps,swap,address=[0,0,0,0,0,0,0,0],pieceIndex=0,compress=null,pointer=0,chr=function(){return charAt(input,pointer)};if(":"==chr()){if(":"!=charAt(input,1))return;pointer+=2,compress=++pieceIndex}for(;chr();){if(8==pieceIndex)return;if(":"!=chr()){for(value=length=0;length<4&&exec(HEX,chr());)value=16*value+parseInt(chr(),16),pointer++,length++;if("."==chr()){if(0==length)return;if(pointer-=length,pieceIndex>6)return;for(numbersSeen=0;chr();){if(ipv4Piece=null,numbersSeen>0){if(!("."==chr()&&numbersSeen<4))return;pointer++}if(!exec(DIGIT,chr()))return;for(;exec(DIGIT,chr());){if(number=parseInt(chr(),10),null===ipv4Piece)ipv4Piece=number;else{if(0==ipv4Piece)return;ipv4Piece=10*ipv4Piece+number}if(ipv4Piece>255)return;pointer++}address[pieceIndex]=256*address[pieceIndex]+ipv4Piece,2!=++numbersSeen&&4!=numbersSeen||pieceIndex++}if(4!=numbersSeen)return;break}if(":"==chr()){if(pointer++,!chr())return}else if(chr())return;address[pieceIndex++]=value}else{if(null!==compress)return;pointer++,compress=++pieceIndex}}if(null!==compress)for(swaps=pieceIndex-compress,pieceIndex=7;0!=pieceIndex&&swaps>0;)swap=address[pieceIndex],address[pieceIndex--]=address[compress+swaps-1],address[compress+--swaps]=swap;else if(8!=pieceIndex)return;return address}(stringSlice(input,1,-1)),!result)return"Invalid host";this.host=result}else if(this.isSpecial()){if(input=toASCII(input),exec(FORBIDDEN_HOST_CODE_POINT,input))return"Invalid host";if(result=function(input){var partsLength,numbers,index,part,radix,number,ipv4,parts=split(input,".");if(parts.length&&""==parts[parts.length-1]&&parts.length--,(partsLength=parts.length)>4)return input;for(numbers=[],index=0;index<partsLength;index++){if(""==(part=parts[index]))return input;if(radix=10,part.length>1&&"0"==charAt(part,0)&&(radix=exec(HEX_START,part)?16:8,part=stringSlice(part,8==radix?1:2)),""===part)number=0;else{if(!exec(10==radix?DEC:8==radix?OCT:HEX,part))return input;number=parseInt(part,radix)}push(numbers,number)}for(index=0;index<partsLength;index++)if(number=numbers[index],index==partsLength-1){if(number>=pow(256,5-partsLength))return null}else if(number>255)return null;for(ipv4=pop(numbers),index=0;index<numbers.length;index++)ipv4+=numbers[index]*pow(256,3-index);return ipv4}(input),null===result)return"Invalid host";this.host=result}else{if(exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT,input))return"Invalid host";for(result="",codePoints=arrayFrom(input),index=0;index<codePoints.length;index++)result+=percentEncode(codePoints[index],C0ControlPercentEncodeSet);this.host=result}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return hasOwn(specialSchemes,this.scheme)},shortenPath:function(){var path=this.path,pathSize=path.length;!pathSize||"file"==this.scheme&&1==pathSize&&isWindowsDriveLetter(path[0],!0)||path.length--},serialize:function(){var url=this,scheme=url.scheme,username=url.username,password=url.password,host=url.host,port=url.port,path=url.path,query=url.query,fragment=url.fragment,output=scheme+":";return null!==host?(output+="//",url.includesCredentials()&&(output+=username+(password?":"+password:"")+"@"),output+=serializeHost(host),null!==port&&(output+=":"+port)):"file"==scheme&&(output+="//"),output+=url.cannotBeABaseURL?path[0]:path.length?"/"+join(path,"/"):"",null!==query&&(output+="?"+query),null!==fragment&&(output+="#"+fragment),output},setHref:function(href){var failure=this.parse(href);if(failure)throw TypeError(failure);this.searchParams.update()},getOrigin:function(){var scheme=this.scheme,port=this.port;if("blob"==scheme)try{return new URLConstructor(scheme.path[0]).origin}catch(error){return"null"}return"file"!=scheme&&this.isSpecial()?scheme+"://"+serializeHost(this.host)+(null!==port?":"+port:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(protocol){this.parse($toString(protocol)+":",SCHEME_START)},getUsername:function(){return this.username},setUsername:function(username){var codePoints=arrayFrom($toString(username));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var i=0;i<codePoints.length;i++)this.username+=percentEncode(codePoints[i],userinfoPercentEncodeSet)}},getPassword:function(){return this.password},setPassword:function(password){var codePoints=arrayFrom($toString(password));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var i=0;i<codePoints.length;i++)this.password+=percentEncode(codePoints[i],userinfoPercentEncodeSet)}},getHost:function(){var host=this.host,port=this.port;return null===host?"":null===port?serializeHost(host):serializeHost(host)+":"+port},setHost:function(host){this.cannotBeABaseURL||this.parse(host,HOST)},getHostname:function(){var host=this.host;return null===host?"":serializeHost(host)},setHostname:function(hostname){this.cannotBeABaseURL||this.parse(hostname,HOSTNAME)},getPort:function(){var port=this.port;return null===port?"":$toString(port)},setPort:function(port){this.cannotHaveUsernamePasswordPort()||(""==(port=$toString(port))?this.port=null:this.parse(port,PORT))},getPathname:function(){var path=this.path;return this.cannotBeABaseURL?path[0]:path.length?"/"+join(path,"/"):""},setPathname:function(pathname){this.cannotBeABaseURL||(this.path=[],this.parse(pathname,PATH_START))},getSearch:function(){var query=this.query;return query?"?"+query:""},setSearch:function(search){""==(search=$toString(search))?this.query=null:("?"==charAt(search,0)&&(search=stringSlice(search,1)),this.query="",this.parse(search,QUERY)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var fragment=this.fragment;return fragment?"#"+fragment:""},setHash:function(hash){""!=(hash=$toString(hash))?("#"==charAt(hash,0)&&(hash=stringSlice(hash,1)),this.fragment="",this.parse(hash,FRAGMENT)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var URLConstructor=function URL(url){var that=anInstance(this,URLPrototype),base=validateArgumentsLength(arguments.length,1)>1?arguments[1]:void 0,state=setInternalState(that,new URLState(url,!1,base));DESCRIPTORS||(that.href=state.serialize(),that.origin=state.getOrigin(),that.protocol=state.getProtocol(),that.username=state.getUsername(),that.password=state.getPassword(),that.host=state.getHost(),that.hostname=state.getHostname(),that.port=state.getPort(),that.pathname=state.getPathname(),that.search=state.getSearch(),that.searchParams=state.getSearchParams(),that.hash=state.getHash())},URLPrototype=URLConstructor.prototype,accessorDescriptor=function(getter,setter){return{get:function(){return getInternalURLState(this)[getter]()},set:setter&&function(value){return getInternalURLState(this)[setter](value)},configurable:!0,enumerable:!0}};if(DESCRIPTORS&&defineProperties(URLPrototype,{href:accessorDescriptor("serialize","setHref"),origin:accessorDescriptor("getOrigin"),protocol:accessorDescriptor("getProtocol","setProtocol"),username:accessorDescriptor("getUsername","setUsername"),password:accessorDescriptor("getPassword","setPassword"),host:accessorDescriptor("getHost","setHost"),hostname:accessorDescriptor("getHostname","setHostname"),port:accessorDescriptor("getPort","setPort"),pathname:accessorDescriptor("getPathname","setPathname"),search:accessorDescriptor("getSearch","setSearch"),searchParams:accessorDescriptor("getSearchParams"),hash:accessorDescriptor("getHash","setHash")}),redefine(URLPrototype,"toJSON",(function toJSON(){return getInternalURLState(this).serialize()}),{enumerable:!0}),redefine(URLPrototype,"toString",(function toString(){return getInternalURLState(this).serialize()}),{enumerable:!0}),NativeURL){var nativeCreateObjectURL=NativeURL.createObjectURL,nativeRevokeObjectURL=NativeURL.revokeObjectURL;nativeCreateObjectURL&&redefine(URLConstructor,"createObjectURL",bind(nativeCreateObjectURL,NativeURL)),nativeRevokeObjectURL&&redefine(URLConstructor,"revokeObjectURL",bind(nativeRevokeObjectURL,NativeURL))}setToStringTag(URLConstructor,"URL"),$({global:!0,forced:!USE_NATIVE_URL,sham:!DESCRIPTORS},{URL:URLConstructor})},"./node_modules/core-js/modules/web.url.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{__webpack_require__("./node_modules/core-js/modules/web.url.constructor.js")},"./node_modules/core-js/stable/symbol/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{var parent=__webpack_require__("./node_modules/core-js/es/symbol/index.js");__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),module.exports=parent},"./node_modules/css-loader/dist/runtime/api.js":module=>{"use strict";module.exports=function(cssWithMappingToString){var list=[];return list.toString=function toString(){return this.map((function(item){var content=cssWithMappingToString(item);return item[2]?"@media ".concat(item[2]," {").concat(content,"}"):content})).join("")},list.i=function(modules,mediaQuery,dedupe){"string"==typeof modules&&(modules=[[null,modules,""]]);var alreadyImportedModules={};if(dedupe)for(var i=0;i<this.length;i++){var id=this[i][0];null!=id&&(alreadyImportedModules[id]=!0)}for(var _i=0;_i<modules.length;_i++){var item=[].concat(modules[_i]);dedupe&&alreadyImportedModules[item[0]]||(mediaQuery&&(item[2]?item[2]="".concat(mediaQuery," and ").concat(item[2]):item[2]=mediaQuery),list.push(item))}},list}},"./node_modules/css-loader/dist/runtime/cssWithMappingToString.js":module=>{"use strict";function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=arr&&("undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"]);if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}module.exports=function cssWithMappingToString(item){var _item=_slicedToArray(item,4),content=_item[1],cssMapping=_item[3];if(!cssMapping)return content;if("function"==typeof btoa){var base64=btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64),sourceMapping="/*# ".concat(data," */"),sourceURLs=cssMapping.sources.map((function(source){return"/*# sourceURL=".concat(cssMapping.sourceRoot||"").concat(source," */")}));return[content].concat(sourceURLs).concat([sourceMapping]).join("\n")}return[content].join("\n")}},"./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function getTimezoneOffsetInMilliseconds(date){var utcDate=new Date(Date.UTC(date.getFullYear(),date.getMonth(),date.getDate(),date.getHours(),date.getMinutes(),date.getSeconds(),date.getMilliseconds()));return utcDate.setUTCFullYear(date.getFullYear()),date.getTime()-utcDate.getTime()}__webpack_require__.d(__webpack_exports__,{Z:()=>getTimezoneOffsetInMilliseconds})},"./node_modules/date-fns/esm/_lib/requiredArgs/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function requiredArgs(required,args){if(args.length<required)throw new TypeError(required+" argument"+(required>1?"s":"")+" required, but only "+args.length+" present")}__webpack_require__.d(__webpack_exports__,{Z:()=>requiredArgs})},"./node_modules/date-fns/esm/_lib/roundingMethods/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>getRoundingMethod});var roundingMap={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(value){return value<0?Math.ceil(value):Math.floor(value)}};function getRoundingMethod(method){return method?roundingMap[method]:roundingMap.trunc}},"./node_modules/date-fns/esm/_lib/toInteger/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function toInteger(dirtyNumber){if(null===dirtyNumber||!0===dirtyNumber||!1===dirtyNumber)return NaN;var number=Number(dirtyNumber);return isNaN(number)?number:number<0?Math.ceil(number):Math.floor(number)}__webpack_require__.d(__webpack_exports__,{Z:()=>toInteger})},"./node_modules/date-fns/esm/compareAsc/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>compareAsc});var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/date-fns/esm/toDate/index.js"),_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/date-fns/esm/_lib/requiredArgs/index.js");function compareAsc(dirtyDateLeft,dirtyDateRight){(0,_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__.Z)(2,arguments);var dateLeft=(0,_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__.Z)(dirtyDateLeft),dateRight=(0,_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__.Z)(dirtyDateRight),diff=dateLeft.getTime()-dateRight.getTime();return diff<0?-1:diff>0?1:diff}},"./node_modules/date-fns/esm/differenceInMilliseconds/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>differenceInMilliseconds});var _toDate_index_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/date-fns/esm/toDate/index.js"),_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/date-fns/esm/_lib/requiredArgs/index.js");function differenceInMilliseconds(dateLeft,dateRight){return(0,_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__.Z)(2,arguments),(0,_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__.Z)(dateLeft).getTime()-(0,_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__.Z)(dateRight).getTime()}},"./node_modules/date-fns/esm/differenceInMonths/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>differenceInMonths});var toDate=__webpack_require__("./node_modules/date-fns/esm/toDate/index.js"),requiredArgs=__webpack_require__("./node_modules/date-fns/esm/_lib/requiredArgs/index.js");function differenceInCalendarMonths(dirtyDateLeft,dirtyDateRight){(0,requiredArgs.Z)(2,arguments);var dateLeft=(0,toDate.Z)(dirtyDateLeft),dateRight=(0,toDate.Z)(dirtyDateRight),yearDiff=dateLeft.getFullYear()-dateRight.getFullYear(),monthDiff=dateLeft.getMonth()-dateRight.getMonth();return 12*yearDiff+monthDiff}var compareAsc=__webpack_require__("./node_modules/date-fns/esm/compareAsc/index.js");function endOfDay(dirtyDate){(0,requiredArgs.Z)(1,arguments);var date=(0,toDate.Z)(dirtyDate);return date.setHours(23,59,59,999),date}function endOfMonth(dirtyDate){(0,requiredArgs.Z)(1,arguments);var date=(0,toDate.Z)(dirtyDate),month=date.getMonth();return date.setFullYear(date.getFullYear(),month+1,0),date.setHours(23,59,59,999),date}function isLastDayOfMonth(dirtyDate){(0,requiredArgs.Z)(1,arguments);var date=(0,toDate.Z)(dirtyDate);return endOfDay(date).getTime()===endOfMonth(date).getTime()}function differenceInMonths(dirtyDateLeft,dirtyDateRight){(0,requiredArgs.Z)(2,arguments);var result,dateLeft=(0,toDate.Z)(dirtyDateLeft),dateRight=(0,toDate.Z)(dirtyDateRight),sign=(0,compareAsc.Z)(dateLeft,dateRight),difference=Math.abs(differenceInCalendarMonths(dateLeft,dateRight));if(difference<1)result=0;else{1===dateLeft.getMonth()&&dateLeft.getDate()>27&&dateLeft.setDate(30),dateLeft.setMonth(dateLeft.getMonth()-sign*difference);var isLastMonthNotFull=(0,compareAsc.Z)(dateLeft,dateRight)===-sign;isLastDayOfMonth((0,toDate.Z)(dirtyDateLeft))&&1===difference&&1===(0,compareAsc.Z)(dirtyDateLeft,dateRight)&&(isLastMonthNotFull=!1),result=sign*(difference-Number(isLastMonthNotFull))}return 0===result?0:result}},"./node_modules/date-fns/esm/differenceInSeconds/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>differenceInSeconds});var _differenceInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/date-fns/esm/differenceInMilliseconds/index.js"),_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/date-fns/esm/_lib/requiredArgs/index.js"),_lib_roundingMethods_index_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/date-fns/esm/_lib/roundingMethods/index.js");function differenceInSeconds(dateLeft,dateRight,options){(0,_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__.Z)(2,arguments);var diff=(0,_differenceInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_1__.Z)(dateLeft,dateRight)/1e3;return(0,_lib_roundingMethods_index_js__WEBPACK_IMPORTED_MODULE_2__.u)(null==options?void 0:options.roundingMethod)(diff)}},"./node_modules/date-fns/esm/formatDistanceToNow/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>formatDistanceToNow});var compareAsc=__webpack_require__("./node_modules/date-fns/esm/compareAsc/index.js"),differenceInMonths=__webpack_require__("./node_modules/date-fns/esm/differenceInMonths/index.js"),differenceInSeconds=__webpack_require__("./node_modules/date-fns/esm/differenceInSeconds/index.js"),formatDistanceLocale={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const _lib_formatDistance=function(token,count,options){var result,tokenValue=formatDistanceLocale[token];return result="string"==typeof tokenValue?tokenValue:1===count?tokenValue.one:tokenValue.other.replace("{{count}}",count.toString()),null!=options&&options.addSuffix?options.comparison&&options.comparison>0?"in "+result:result+" ago":result};function buildFormatLongFn(args){return function(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},width=options.width?String(options.width):args.defaultWidth,format=args.formats[width]||args.formats[args.defaultWidth];return format}}var formatLong={date:buildFormatLongFn({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:buildFormatLongFn({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var formatRelativeLocale={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function buildLocalizeFn(args){return function(dirtyIndex,dirtyOptions){var valuesArray,options=dirtyOptions||{};if("formatting"===(options.context?String(options.context):"standalone")&&args.formattingValues){var defaultWidth=args.defaultFormattingWidth||args.defaultWidth,width=options.width?String(options.width):defaultWidth;valuesArray=args.formattingValues[width]||args.formattingValues[defaultWidth]}else{var _defaultWidth=args.defaultWidth,_width=options.width?String(options.width):args.defaultWidth;valuesArray=args.values[_width]||args.values[_defaultWidth]}return valuesArray[args.argumentCallback?args.argumentCallback(dirtyIndex):dirtyIndex]}}function buildMatchFn(args){return function(string){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},width=options.width,matchPattern=width&&args.matchPatterns[width]||args.matchPatterns[args.defaultMatchWidth],matchResult=string.match(matchPattern);if(!matchResult)return null;var value,matchedString=matchResult[0],parsePatterns=width&&args.parsePatterns[width]||args.parsePatterns[args.defaultParseWidth],key=Array.isArray(parsePatterns)?findIndex(parsePatterns,(function(pattern){return pattern.test(matchedString)})):findKey(parsePatterns,(function(pattern){return pattern.test(matchedString)}));value=args.valueCallback?args.valueCallback(key):key,value=options.valueCallback?options.valueCallback(value):value;var rest=string.slice(matchedString.length);return{value,rest}}}function findKey(object,predicate){for(var key in object)if(object.hasOwnProperty(key)&&predicate(object[key]))return key}function findIndex(array,predicate){for(var key=0;key<array.length;key++)if(predicate(array[key]))return key}const en_US={code:"en-US",formatDistance:_lib_formatDistance,formatLong,formatRelative:function(token,_date,_baseDate,_options){return formatRelativeLocale[token]},localize:{ordinalNumber:function(dirtyNumber,_options){var number=Number(dirtyNumber),rem100=number%100;if(rem100>20||rem100<10)switch(rem100%10){case 1:return number+"st";case 2:return number+"nd";case 3:return number+"rd"}return number+"th"},era:buildLocalizeFn({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:buildLocalizeFn({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(quarter){return quarter-1}}),month:buildLocalizeFn({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:buildLocalizeFn({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function buildMatchPatternFn(args){return function(string){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},matchResult=string.match(args.matchPattern);if(!matchResult)return null;var matchedString=matchResult[0],parseResult=string.match(args.parsePattern);if(!parseResult)return null;var value=args.valueCallback?args.valueCallback(parseResult[0]):parseResult[0];value=options.valueCallback?options.valueCallback(value):value;var rest=string.slice(matchedString.length);return{value,rest}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(value){return parseInt(value,10)}}),era:buildMatchFn({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(index){return index+1}}),month:buildMatchFn({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var toDate=__webpack_require__("./node_modules/date-fns/esm/toDate/index.js");function cloneObject(dirtyObject){return function assign_assign(target,dirtyObject){if(null==target)throw new TypeError("assign requires that input parameter not be null or undefined");for(var property in dirtyObject=dirtyObject||{})Object.prototype.hasOwnProperty.call(dirtyObject,property)&&(target[property]=dirtyObject[property]);return target}({},dirtyObject)}var getTimezoneOffsetInMilliseconds=__webpack_require__("./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js"),requiredArgs=__webpack_require__("./node_modules/date-fns/esm/_lib/requiredArgs/index.js");function formatDistance_formatDistance(dirtyDate,dirtyBaseDate){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,requiredArgs.Z)(2,arguments);var locale=options.locale||en_US;if(!locale.formatDistance)throw new RangeError("locale must contain formatDistance property");var comparison=(0,compareAsc.Z)(dirtyDate,dirtyBaseDate);if(isNaN(comparison))throw new RangeError("Invalid time value");var dateLeft,dateRight,localizeOptions=cloneObject(options);localizeOptions.addSuffix=Boolean(options.addSuffix),localizeOptions.comparison=comparison,comparison>0?(dateLeft=(0,toDate.Z)(dirtyBaseDate),dateRight=(0,toDate.Z)(dirtyDate)):(dateLeft=(0,toDate.Z)(dirtyDate),dateRight=(0,toDate.Z)(dirtyBaseDate));var months,seconds=(0,differenceInSeconds.Z)(dateRight,dateLeft),offsetInSeconds=((0,getTimezoneOffsetInMilliseconds.Z)(dateRight)-(0,getTimezoneOffsetInMilliseconds.Z)(dateLeft))/1e3,minutes=Math.round((seconds-offsetInSeconds)/60);if(minutes<2)return options.includeSeconds?seconds<5?locale.formatDistance("lessThanXSeconds",5,localizeOptions):seconds<10?locale.formatDistance("lessThanXSeconds",10,localizeOptions):seconds<20?locale.formatDistance("lessThanXSeconds",20,localizeOptions):seconds<40?locale.formatDistance("halfAMinute",null,localizeOptions):seconds<60?locale.formatDistance("lessThanXMinutes",1,localizeOptions):locale.formatDistance("xMinutes",1,localizeOptions):0===minutes?locale.formatDistance("lessThanXMinutes",1,localizeOptions):locale.formatDistance("xMinutes",minutes,localizeOptions);if(minutes<45)return locale.formatDistance("xMinutes",minutes,localizeOptions);if(minutes<90)return locale.formatDistance("aboutXHours",1,localizeOptions);if(minutes<1440){var hours=Math.round(minutes/60);return locale.formatDistance("aboutXHours",hours,localizeOptions)}if(minutes<2520)return locale.formatDistance("xDays",1,localizeOptions);if(minutes<43200){var days=Math.round(minutes/1440);return locale.formatDistance("xDays",days,localizeOptions)}if(minutes<86400)return months=Math.round(minutes/43200),locale.formatDistance("aboutXMonths",months,localizeOptions);if((months=(0,differenceInMonths.Z)(dateRight,dateLeft))<12){var nearestMonth=Math.round(minutes/43200);return locale.formatDistance("xMonths",nearestMonth,localizeOptions)}var monthsSinceStartOfYear=months%12,years=Math.floor(months/12);return monthsSinceStartOfYear<3?locale.formatDistance("aboutXYears",years,localizeOptions):monthsSinceStartOfYear<9?locale.formatDistance("overXYears",years,localizeOptions):locale.formatDistance("almostXYears",years+1,localizeOptions)}function formatDistanceToNow(dirtyDate,dirtyOptions){return(0,requiredArgs.Z)(1,arguments),formatDistance_formatDistance(dirtyDate,Date.now(),dirtyOptions)}},"./node_modules/date-fns/esm/intervalToDuration/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>intervalToDuration});var compareAsc=__webpack_require__("./node_modules/date-fns/esm/compareAsc/index.js"),toDate=__webpack_require__("./node_modules/date-fns/esm/toDate/index.js"),requiredArgs=__webpack_require__("./node_modules/date-fns/esm/_lib/requiredArgs/index.js");function differenceInCalendarYears(dirtyDateLeft,dirtyDateRight){(0,requiredArgs.Z)(2,arguments);var dateLeft=(0,toDate.Z)(dirtyDateLeft),dateRight=(0,toDate.Z)(dirtyDateRight);return dateLeft.getFullYear()-dateRight.getFullYear()}function differenceInYears(dirtyDateLeft,dirtyDateRight){(0,requiredArgs.Z)(2,arguments);var dateLeft=(0,toDate.Z)(dirtyDateLeft),dateRight=(0,toDate.Z)(dirtyDateRight),sign=(0,compareAsc.Z)(dateLeft,dateRight),difference=Math.abs(differenceInCalendarYears(dateLeft,dateRight));dateLeft.setFullYear(1584),dateRight.setFullYear(1584);var isLastYearNotFull=(0,compareAsc.Z)(dateLeft,dateRight)===-sign,result=sign*(difference-Number(isLastYearNotFull));return 0===result?0:result}var differenceInMonths=__webpack_require__("./node_modules/date-fns/esm/differenceInMonths/index.js"),getTimezoneOffsetInMilliseconds=__webpack_require__("./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js");function startOfDay(dirtyDate){(0,requiredArgs.Z)(1,arguments);var date=(0,toDate.Z)(dirtyDate);return date.setHours(0,0,0,0),date}function differenceInCalendarDays(dirtyDateLeft,dirtyDateRight){(0,requiredArgs.Z)(2,arguments);var startOfDayLeft=startOfDay(dirtyDateLeft),startOfDayRight=startOfDay(dirtyDateRight),timestampLeft=startOfDayLeft.getTime()-(0,getTimezoneOffsetInMilliseconds.Z)(startOfDayLeft),timestampRight=startOfDayRight.getTime()-(0,getTimezoneOffsetInMilliseconds.Z)(startOfDayRight);return Math.round((timestampLeft-timestampRight)/864e5)}function compareLocalAsc(dateLeft,dateRight){var diff=dateLeft.getFullYear()-dateRight.getFullYear()||dateLeft.getMonth()-dateRight.getMonth()||dateLeft.getDate()-dateRight.getDate()||dateLeft.getHours()-dateRight.getHours()||dateLeft.getMinutes()-dateRight.getMinutes()||dateLeft.getSeconds()-dateRight.getSeconds()||dateLeft.getMilliseconds()-dateRight.getMilliseconds();return diff<0?-1:diff>0?1:diff}function differenceInDays(dirtyDateLeft,dirtyDateRight){(0,requiredArgs.Z)(2,arguments);var dateLeft=(0,toDate.Z)(dirtyDateLeft),dateRight=(0,toDate.Z)(dirtyDateRight),sign=compareLocalAsc(dateLeft,dateRight),difference=Math.abs(differenceInCalendarDays(dateLeft,dateRight));dateLeft.setDate(dateLeft.getDate()-sign*difference);var isLastDayNotFull=Number(compareLocalAsc(dateLeft,dateRight)===-sign),result=sign*(difference-isLastDayNotFull);return 0===result?0:result}Math.pow(10,8);var differenceInMilliseconds=__webpack_require__("./node_modules/date-fns/esm/differenceInMilliseconds/index.js"),roundingMethods=__webpack_require__("./node_modules/date-fns/esm/_lib/roundingMethods/index.js");function differenceInHours(dateLeft,dateRight,options){(0,requiredArgs.Z)(2,arguments);var diff=(0,differenceInMilliseconds.Z)(dateLeft,dateRight)/36e5;return(0,roundingMethods.u)(null==options?void 0:options.roundingMethod)(diff)}function differenceInMinutes(dateLeft,dateRight,options){(0,requiredArgs.Z)(2,arguments);var diff=(0,differenceInMilliseconds.Z)(dateLeft,dateRight)/6e4;return(0,roundingMethods.u)(null==options?void 0:options.roundingMethod)(diff)}var differenceInSeconds=__webpack_require__("./node_modules/date-fns/esm/differenceInSeconds/index.js");function isDate(value){return(0,requiredArgs.Z)(1,arguments),value instanceof Date||"object"==typeof value&&"[object Date]"===Object.prototype.toString.call(value)}function isValid(dirtyDate){if((0,requiredArgs.Z)(1,arguments),!isDate(dirtyDate)&&"number"!=typeof dirtyDate)return!1;var date=(0,toDate.Z)(dirtyDate);return!isNaN(Number(date))}var toInteger=__webpack_require__("./node_modules/date-fns/esm/_lib/toInteger/index.js");function addDays(dirtyDate,dirtyAmount){(0,requiredArgs.Z)(2,arguments);var date=(0,toDate.Z)(dirtyDate),amount=(0,toInteger.Z)(dirtyAmount);return isNaN(amount)?new Date(NaN):amount?(date.setDate(date.getDate()+amount),date):date}function subDays(dirtyDate,dirtyAmount){(0,requiredArgs.Z)(2,arguments);var amount=(0,toInteger.Z)(dirtyAmount);return addDays(dirtyDate,-amount)}function addMonths(dirtyDate,dirtyAmount){(0,requiredArgs.Z)(2,arguments);var date=(0,toDate.Z)(dirtyDate),amount=(0,toInteger.Z)(dirtyAmount);if(isNaN(amount))return new Date(NaN);if(!amount)return date;var dayOfMonth=date.getDate(),endOfDesiredMonth=new Date(date.getTime());endOfDesiredMonth.setMonth(date.getMonth()+amount+1,0);var daysInMonth=endOfDesiredMonth.getDate();return dayOfMonth>=daysInMonth?endOfDesiredMonth:(date.setFullYear(endOfDesiredMonth.getFullYear(),endOfDesiredMonth.getMonth(),dayOfMonth),date)}function subMonths(dirtyDate,dirtyAmount){(0,requiredArgs.Z)(2,arguments);var amount=(0,toInteger.Z)(dirtyAmount);return addMonths(dirtyDate,-amount)}function sub(date,duration){if((0,requiredArgs.Z)(2,arguments),!duration||"object"!=typeof duration)return new Date(NaN);var years=duration.years?(0,toInteger.Z)(duration.years):0,months=duration.months?(0,toInteger.Z)(duration.months):0,weeks=duration.weeks?(0,toInteger.Z)(duration.weeks):0,days=duration.days?(0,toInteger.Z)(duration.days):0,hours=duration.hours?(0,toInteger.Z)(duration.hours):0,minutes=duration.minutes?(0,toInteger.Z)(duration.minutes):0,seconds=duration.seconds?(0,toInteger.Z)(duration.seconds):0,dateWithoutMonths=subMonths(date,months+12*years),dateWithoutDays=subDays(dateWithoutMonths,days+7*weeks),minutestoSub=minutes+60*hours,secondstoSub=seconds+60*minutestoSub,mstoSub=1e3*secondstoSub,finalDate=new Date(dateWithoutDays.getTime()-mstoSub);return finalDate}function intervalToDuration(_ref){var start=_ref.start,end=_ref.end;(0,requiredArgs.Z)(1,arguments);var dateLeft=(0,toDate.Z)(start),dateRight=(0,toDate.Z)(end);if(!isValid(dateLeft))throw new RangeError("Start Date is invalid");if(!isValid(dateRight))throw new RangeError("End Date is invalid");var duration={years:0,months:0,days:0,hours:0,minutes:0,seconds:0},sign=(0,compareAsc.Z)(dateLeft,dateRight);duration.years=Math.abs(differenceInYears(dateLeft,dateRight));var remainingMonths=sub(dateLeft,{years:sign*duration.years});duration.months=Math.abs((0,differenceInMonths.Z)(remainingMonths,dateRight));var remainingDays=sub(remainingMonths,{months:sign*duration.months});duration.days=Math.abs(differenceInDays(remainingDays,dateRight));var remainingHours=sub(remainingDays,{days:sign*duration.days});duration.hours=Math.abs(differenceInHours(remainingHours,dateRight));var remainingMinutes=sub(remainingHours,{hours:sign*duration.hours});duration.minutes=Math.abs(differenceInMinutes(remainingMinutes,dateRight));var remainingSeconds=sub(remainingMinutes,{minutes:sign*duration.minutes});return duration.seconds=Math.abs((0,differenceInSeconds.Z)(remainingSeconds,dateRight)),duration}},"./node_modules/date-fns/esm/subHours/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>subHours});var toInteger=__webpack_require__("./node_modules/date-fns/esm/_lib/toInteger/index.js"),toDate=__webpack_require__("./node_modules/date-fns/esm/toDate/index.js"),requiredArgs=__webpack_require__("./node_modules/date-fns/esm/_lib/requiredArgs/index.js");function addMilliseconds(dirtyDate,dirtyAmount){(0,requiredArgs.Z)(2,arguments);var timestamp=(0,toDate.Z)(dirtyDate).getTime(),amount=(0,toInteger.Z)(dirtyAmount);return new Date(timestamp+amount)}function addHours(dirtyDate,dirtyAmount){(0,requiredArgs.Z)(2,arguments);var amount=(0,toInteger.Z)(dirtyAmount);return addMilliseconds(dirtyDate,36e5*amount)}function subHours(dirtyDate,dirtyAmount){(0,requiredArgs.Z)(2,arguments);var amount=(0,toInteger.Z)(dirtyAmount);return addHours(dirtyDate,-amount)}},"./node_modules/date-fns/esm/toDate/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>toDate});var _lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/date-fns/esm/_lib/requiredArgs/index.js");function toDate(argument){(0,_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__.Z)(1,arguments);var argStr=Object.prototype.toString.call(argument);return argument instanceof Date||"object"==typeof argument&&"[object Date]"===argStr?new Date(argument.getTime()):"number"==typeof argument||"[object Number]"===argStr?new Date(argument):("string"!=typeof argument&&"[object String]"!==argStr||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},"./node_modules/define-properties/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keys=__webpack_require__("./node_modules/object-keys/index.js"),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,origDefineProperty=Object.defineProperty,hasPropertyDescriptors=__webpack_require__("./node_modules/has-property-descriptors/index.js")(),supportsDescriptors=origDefineProperty&&hasPropertyDescriptors,defineProperty=function(object,name,value,predicate){var fn;(!(name in object)||"function"==typeof(fn=predicate)&&"[object Function]"===toStr.call(fn)&&predicate())&&(supportsDescriptors?origDefineProperty(object,name,{configurable:!0,enumerable:!1,value,writable:!0}):object[name]=value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i<props.length;i+=1)defineProperty(object,props[i],map[props[i]],predicates[props[i]])};defineProperties.supportsDescriptors=!!supportsDescriptors,module.exports=defineProperties},"./node_modules/direction/index.js":module=>{"use strict";module.exports=function direction(value){if(value=String(value||""),rtl.test(value))return"rtl";if(ltr.test(value))return"ltr";return"neutral"};var LTR="A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--",rtl=new RegExp("^[^"+LTR+"]*[֑-߿יִ-﷽ﹰ-ﻼ]"),ltr=new RegExp("^[^֑-߿יִ-﷽ﹰ-ﻼ]*["+LTR+"]")},"./node_modules/doctrine/lib/doctrine.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";var typed,utility,jsdoc,esutils,hasOwnProperty,func;function sliceSource(source,index,last){return source.slice(index,last)}function isParamTitle(title){return"param"===title||"argument"===title||"arg"===title}function isReturnTitle(title){return"return"===title||"returns"===title}function isProperty(title){return"property"===title||"prop"===title}function isNameParameterRequired(title){return isParamTitle(title)||isProperty(title)||"alias"===title||"this"===title||"mixes"===title||"requires"===title}function isAllowedOptional(title){return isProperty(title)||isParamTitle(title)}function isTypeParameterRequired(title){return isParamTitle(title)||isReturnTitle(title)||"define"===title||"enum"===title||"implements"===title||"this"===title||"type"===title||"typedef"===title||isProperty(title)}esutils=__webpack_require__("./node_modules/esutils/lib/utils.js"),typed=__webpack_require__("./node_modules/doctrine/lib/typed.js"),utility=__webpack_require__("./node_modules/doctrine/lib/utility.js"),func=Object.prototype.hasOwnProperty,hasOwnProperty=function hasOwnProperty(obj,name){return func.call(obj,name)};var WHITESPACE="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",STAR_MATCHER="("+WHITESPACE+"*(?:\\*"+WHITESPACE+"?)?)(.+|[\r\n\u2028\u2029])";function unwrapComment(doc){return doc.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(STAR_MATCHER,"g"),"$2").replace(/\s*$/,"")}!function(exports){var Rules,index,lineNumber,length,source,originalSource,recoverable,sloppy,strict;function advance(){var ch=source.charCodeAt(index);return index+=1,!esutils.code.isLineTerminator(ch)||13===ch&&10===source.charCodeAt(index)||(lineNumber+=1),String.fromCharCode(ch)}function parseType(title,last,addRange){for(var ch,brace,type,startIndex,direct=!1;index<last;){if(ch=source.charCodeAt(index),!esutils.code.isWhiteSpace(ch)){if(123===ch){advance();break}direct=!0;break}advance()}if(direct)return null;for(brace=1,type="";index<last;)if(ch=source.charCodeAt(index),esutils.code.isLineTerminator(ch))advance();else{if(125===ch){if(0===(brace-=1)){advance();break}}else 123===ch&&(brace+=1);""===type&&(startIndex=index),type+=advance()}return 0!==brace?utility.throwError("Braces are not balanced"):isAllowedOptional(title)?typed.parseParamType(type,{startIndex:convertIndex(startIndex),range:addRange}):typed.parseType(type,{startIndex:convertIndex(startIndex),range:addRange})}function scanIdentifier(last){var identifier;if(!esutils.code.isIdentifierStartES5(source.charCodeAt(index))&&!source[index].match(/[0-9]/))return null;for(identifier=advance();index<last&&esutils.code.isIdentifierPartES5(source.charCodeAt(index));)identifier+=advance();return identifier}function skipWhiteSpace(last){for(;index<last&&(esutils.code.isWhiteSpace(source.charCodeAt(index))||esutils.code.isLineTerminator(source.charCodeAt(index)));)advance()}function parseName(last,allowBrackets,allowNestedParams){var useBrackets,insideString,name="";if(skipWhiteSpace(last),index>=last)return null;if(91===source.charCodeAt(index)){if(!allowBrackets)return null;useBrackets=!0,name=advance()}if(name+=scanIdentifier(last),allowNestedParams)for(58!==source.charCodeAt(index)||"module"!==name&&"external"!==name&&"event"!==name||(name+=advance(),name+=scanIdentifier(last)),91===source.charCodeAt(index)&&93===source.charCodeAt(index+1)&&(name+=advance(),name+=advance());46===source.charCodeAt(index)||47===source.charCodeAt(index)||35===source.charCodeAt(index)||45===source.charCodeAt(index)||126===source.charCodeAt(index);)name+=advance(),name+=scanIdentifier(last);if(useBrackets){if(skipWhiteSpace(last),61===source.charCodeAt(index)){var ch;name+=advance(),skipWhiteSpace(last);for(var bracketDepth=1;index<last;){if(ch=source.charCodeAt(index),esutils.code.isWhiteSpace(ch)&&(insideString||(skipWhiteSpace(last),ch=source.charCodeAt(index))),39===ch&&(insideString?"'"===insideString&&(insideString=""):insideString="'"),34===ch&&(insideString?'"'===insideString&&(insideString=""):insideString='"'),91===ch)bracketDepth++;else if(93===ch&&0==--bracketDepth)break;name+=advance()}}if(skipWhiteSpace(last),index>=last||93!==source.charCodeAt(index))return null;name+=advance()}return name}function convertIndex(rangeIndex){return source===originalSource?rangeIndex:function convertUnwrappedCommentIndex(originalSource,unwrappedIndex){for(var match,replacedSource=originalSource.replace(/^\/\*\*?/,""),numSkippedChars=0,matcher=new RegExp(STAR_MATCHER,"g");match=matcher.exec(replacedSource);)if(numSkippedChars+=match[1].length,match.index+match[0].length>unwrappedIndex+numSkippedChars)return unwrappedIndex+numSkippedChars+originalSource.length-replacedSource.length;return originalSource.replace(/\*\/$/,"").replace(/\s*$/,"").length}(originalSource,rangeIndex)}function TagParser(options,title){this._options=options,this._title=title.toLowerCase(),this._tag={title,description:null},this._options.lineNumbers&&(this._tag.lineNumber=lineNumber),this._first=index-title.length-1,this._last=0,this._extra={}}function parseTag(options){var parser,tag;if(!function skipToTag(){for(;index<length&&64!==source.charCodeAt(index);)advance();return!(index>=length||(utility.assert(64===source.charCodeAt(index)),0))}())return null;for(tag=(parser=new TagParser(options,function scanTitle(){var ch,title="";for(advance();index<length&&((ch=source.charCodeAt(index))>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57);)title+=advance();return title}())).parse();index<parser._last;)advance();return tag}TagParser.prototype.addError=function addError(errorText){var args=Array.prototype.slice.call(arguments,1),msg=errorText.replace(/%(\d)/g,(function(whole,index){return utility.assert(index<args.length,"Message reference must be in range"),args[index]}));return this._tag.errors||(this._tag.errors=[]),strict&&utility.throwError(msg),this._tag.errors.push(msg),recoverable},TagParser.prototype.parseType=function(){if(isTypeParameterRequired(this._title))try{if(this._tag.type=parseType(this._title,this._last,this._options.range),!(this._tag.type||isParamTitle(this._title)||isReturnTitle(this._title)||this.addError("Missing or invalid tag type")))return!1}catch(error){if(this._tag.type=null,!this.addError(error.message))return!1}else if(function isAllowedType(title){return isTypeParameterRequired(title)||"throws"===title||"const"===title||"constant"===title||"namespace"===title||"member"===title||"var"===title||"module"===title||"constructor"===title||"class"===title||"extends"===title||"augments"===title||"public"===title||"private"===title||"protected"===title}(this._title))try{this._tag.type=parseType(this._title,this._last,this._options.range)}catch(e){}return!0},TagParser.prototype._parseNamePath=function(optional){var name;return!!((name=parseName(this._last,sloppy&&isAllowedOptional(this._title),!0))||optional||this.addError("Missing or invalid tag name"))&&(this._tag.name=name,!0)},TagParser.prototype.parseNamePath=function(){return this._parseNamePath(!1)},TagParser.prototype.parseNamePathOptional=function(){return this._parseNamePath(!0)},TagParser.prototype.parseName=function(){var assign,name;if(function isAllowedName(title){return isNameParameterRequired(title)||"const"===title||"constant"===title}(this._title))if(this._tag.name=parseName(this._last,sloppy&&isAllowedOptional(this._title),function isAllowedNested(title){return isProperty(title)||isParamTitle(title)}(this._title)),this._tag.name)"["===(name=this._tag.name).charAt(0)&&"]"===name.charAt(name.length-1)&&((assign=name.substring(1,name.length-1).split("=")).length>1&&(this._tag.default=assign.slice(1).join("=")),this._tag.name=assign[0],this._tag.type&&"OptionalType"!==this._tag.type.type&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!isNameParameterRequired(this._title))return!0;if(isParamTitle(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},TagParser.prototype.parseDescription=function parseDescription(){var description=sliceSource(source,index,this._last).trim();return description&&(/^-\s+/.test(description)&&(description=description.substring(2)),this._tag.description=description),!0},TagParser.prototype.parseCaption=function parseDescription(){var description=sliceSource(source,index,this._last).trim(),captionStart=description.indexOf("<caption>"),captionEnd=description.indexOf("</caption>");return captionStart>=0&&captionEnd>=0?(this._tag.caption=description.substring(captionStart+"<caption>".length,captionEnd).trim(),this._tag.description=description.substring(captionEnd+"</caption>".length).trim()):this._tag.description=description,!0},TagParser.prototype.parseKind=function parseKind(){var kind,kinds;return kinds={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},kind=sliceSource(source,index,this._last).trim(),this._tag.kind=kind,!(!hasOwnProperty(kinds,kind)&&!this.addError("Invalid kind name '%0'",kind))},TagParser.prototype.parseAccess=function parseAccess(){var access;return access=sliceSource(source,index,this._last).trim(),this._tag.access=access,!("private"!==access&&"protected"!==access&&"public"!==access&&!this.addError("Invalid access name '%0'",access))},TagParser.prototype.parseThis=function parseThis(){var value=sliceSource(source,index,this._last).trim();return value&&"{"===value.charAt(0)?this.parseType()&&"NameExpression"===this._tag.type.type||"UnionType"===this._tag.type.type?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this"):this.parseNamePath()},TagParser.prototype.parseVariation=function parseVariation(){var variation,text;return text=sliceSource(source,index,this._last).trim(),variation=parseFloat(text,10),this._tag.variation=variation,!(isNaN(variation)&&!this.addError("Invalid variation '%0'",text))},TagParser.prototype.ensureEnd=function(){var shouldBeEmpty=sliceSource(source,index,this._last).trim();return!(shouldBeEmpty&&!this.addError("Unknown content '%0'",shouldBeEmpty))},TagParser.prototype.epilogue=function epilogue(){var description;return description=this._tag.description,!(isAllowedOptional(this._title)&&!this._tag.type&&description&&"["===description.charAt(0)&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!sloppy&&!this.addError("Missing or invalid tag name")))},Rules={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},TagParser.prototype.parse=function parse(){var i,iz,sequences;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=function seekContent(){var ch,waiting,last=index;for(waiting=!1;last<length;){if(ch=source.charCodeAt(last),!esutils.code.isLineTerminator(ch)||13===ch&&10===source.charCodeAt(last+1)){if(waiting){if(64===ch)break;esutils.code.isWhiteSpace(ch)||(waiting=!1)}}else waiting=!0;last+=1}return last}(this._title),this._options.range&&(this._tag.range=[this._first,source.slice(0,this._last).replace(/\s*$/,"").length].map(convertIndex)),i=0,iz=(sequences=hasOwnProperty(Rules,this._title)?Rules[this._title]:["parseType","parseName","parseDescription","epilogue"]).length;i<iz;++i)if(!this[sequences[i]]())return null;return this._tag},exports.parse=function parse(comment,options){var tag,description,interestingTags,i,iz,tags=[];if(void 0===options&&(options={}),source="boolean"==typeof options.unwrap&&options.unwrap?unwrapComment(comment):comment,originalSource=comment,options.tags)if(Array.isArray(options.tags))for(interestingTags={},i=0,iz=options.tags.length;i<iz;i++)"string"==typeof options.tags[i]?interestingTags[options.tags[i]]=!0:utility.throwError('Invalid "tags" parameter: '+options.tags);else utility.throwError('Invalid "tags" parameter: '+options.tags);for(length=source.length,index=0,lineNumber=0,recoverable=options.recoverable,sloppy=options.sloppy,strict=options.strict,description=function scanJSDocDescription(preserveWhitespace){var ch,atAllowed,description="";for(atAllowed=!0;index<length&&(ch=source.charCodeAt(index),!atAllowed||64!==ch);)esutils.code.isLineTerminator(ch)?atAllowed=!0:atAllowed&&!esutils.code.isWhiteSpace(ch)&&(atAllowed=!1),description+=advance();return preserveWhitespace?description:description.trim()}(options.preserveWhitespace);tag=parseTag(options);)interestingTags&&!interestingTags.hasOwnProperty(tag.title)||tags.push(tag);return{description,tags}}}(jsdoc={}),exports.version=utility.VERSION,exports.parse=jsdoc.parse,exports.parseType=typed.parseType,exports.parseParamType=typed.parseParamType,exports.unwrapComment=unwrapComment,exports.Syntax=function shallowCopy(obj){var key,ret={};for(key in obj)obj.hasOwnProperty(key)&&(ret[key]=obj[key]);return ret}(typed.Syntax),exports.Error=utility.DoctrineError,exports.type={Syntax:exports.Syntax,parseType:typed.parseType,parseParamType:typed.parseParamType,stringify:typed.stringify}}()},"./node_modules/doctrine/lib/typed.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";var Syntax,Token,source,length,index,previous,token,value,esutils,utility,rangeOffset,addRange;function isTypeName(ch){return-1==="><(){}[],:*|?!=".indexOf(String.fromCharCode(ch))&&!esutils.code.isWhiteSpace(ch)&&!esutils.code.isLineTerminator(ch)}function Context(previous,index,token,value){this._previous=previous,this._index=index,this._token=token,this._value=value}function maybeAddRange(node,range){return addRange&&(node.range=[range[0]+rangeOffset,range[1]+rangeOffset]),node}function advance(){var ch=source.charAt(index);return index+=1,ch}function scanHexEscape(prefix){var i,len,ch,code=0;for(len="u"===prefix?4:2,i=0;i<len;++i){if(!(index<length&&esutils.code.isHexDigit(source.charCodeAt(index))))return"";ch=advance(),code=16*code+"0123456789abcdef".indexOf(ch.toLowerCase())}return String.fromCharCode(code)}function scanNumber(){var number,ch;if(number="",46!==(ch=source.charCodeAt(index))){if(number=advance(),ch=source.charCodeAt(index),"0"===number){if(120===ch||88===ch){for(number+=advance();index<length&&(ch=source.charCodeAt(index),esutils.code.isHexDigit(ch));)number+=advance();return number.length<=2&&utility.throwError("unexpected token"),index<length&&(ch=source.charCodeAt(index),esutils.code.isIdentifierStartES5(ch)&&utility.throwError("unexpected token")),value=parseInt(number,16),Token.NUMBER}if(esutils.code.isOctalDigit(ch)){for(number+=advance();index<length&&(ch=source.charCodeAt(index),esutils.code.isOctalDigit(ch));)number+=advance();return index<length&&(ch=source.charCodeAt(index),(esutils.code.isIdentifierStartES5(ch)||esutils.code.isDecimalDigit(ch))&&utility.throwError("unexpected token")),value=parseInt(number,8),Token.NUMBER}esutils.code.isDecimalDigit(ch)&&utility.throwError("unexpected token")}for(;index<length&&(ch=source.charCodeAt(index),esutils.code.isDecimalDigit(ch));)number+=advance()}if(46===ch)for(number+=advance();index<length&&(ch=source.charCodeAt(index),esutils.code.isDecimalDigit(ch));)number+=advance();if(101===ch||69===ch)if(number+=advance(),43!==(ch=source.charCodeAt(index))&&45!==ch||(number+=advance()),ch=source.charCodeAt(index),esutils.code.isDecimalDigit(ch))for(number+=advance();index<length&&(ch=source.charCodeAt(index),esutils.code.isDecimalDigit(ch));)number+=advance();else utility.throwError("unexpected token");return index<length&&(ch=source.charCodeAt(index),esutils.code.isIdentifierStartES5(ch)&&utility.throwError("unexpected token")),value=parseFloat(number),Token.NUMBER}function next(){var ch;for(previous=index;index<length&&esutils.code.isWhiteSpace(source.charCodeAt(index));)advance();if(index>=length)return token=Token.EOF;switch(ch=source.charCodeAt(index)){case 39:case 34:return token=function scanString(){var quote,ch,code,unescaped,restore,str="";for(quote=source.charAt(index),++index;index<length;){if((ch=advance())===quote){quote="";break}if("\\"===ch)if(ch=advance(),esutils.code.isLineTerminator(ch.charCodeAt(0)))"\r"===ch&&10===source.charCodeAt(index)&&++index;else switch(ch){case"n":str+="\n";break;case"r":str+="\r";break;case"t":str+="\t";break;case"u":case"x":restore=index,(unescaped=scanHexEscape(ch))?str+=unescaped:(index=restore,str+=ch);break;case"b":str+="\b";break;case"f":str+="\f";break;case"v":str+="\v";break;default:esutils.code.isOctalDigit(ch.charCodeAt(0))?(code="01234567".indexOf(ch),index<length&&esutils.code.isOctalDigit(source.charCodeAt(index))&&(code=8*code+"01234567".indexOf(advance()),"0123".indexOf(ch)>=0&&index<length&&esutils.code.isOctalDigit(source.charCodeAt(index))&&(code=8*code+"01234567".indexOf(advance()))),str+=String.fromCharCode(code)):str+=ch}else{if(esutils.code.isLineTerminator(ch.charCodeAt(0)))break;str+=ch}}return""!==quote&&utility.throwError("unexpected quote"),value=str,Token.STRING}(),token;case 58:return advance(),token=Token.COLON;case 44:return advance(),token=Token.COMMA;case 40:return advance(),token=Token.LPAREN;case 41:return advance(),token=Token.RPAREN;case 91:return advance(),token=Token.LBRACK;case 93:return advance(),token=Token.RBRACK;case 123:return advance(),token=Token.LBRACE;case 125:return advance(),token=Token.RBRACE;case 46:if(index+1<length){if(60===(ch=source.charCodeAt(index+1)))return advance(),advance(),token=Token.DOT_LT;if(46===ch&&index+2<length&&46===source.charCodeAt(index+2))return advance(),advance(),advance(),token=Token.REST;if(esutils.code.isDecimalDigit(ch))return token=scanNumber()}return token=Token.ILLEGAL;case 60:return advance(),token=Token.LT;case 62:return advance(),token=Token.GT;case 42:return advance(),token=Token.STAR;case 124:return advance(),token=Token.PIPE;case 63:return advance(),token=Token.QUESTION;case 33:return advance(),token=Token.BANG;case 61:return advance(),token=Token.EQUAL;case 45:return token=scanNumber();default:return esutils.code.isDecimalDigit(ch)?token=scanNumber():(utility.assert(isTypeName(ch)),token=function scanTypeName(){for(value=advance();index<length&&isTypeName(source.charCodeAt(index));){if(46===source.charCodeAt(index)){if(index+1>=length)return Token.ILLEGAL;if(60===source.charCodeAt(index+1))break}value+=advance()}return Token.NAME}())}}function consume(target,text){utility.assert(token===target,text||"consumed token not matched"),next()}function expect(target,message){token!==target&&utility.throwError(message||"unexpected token"),next()}function parseFieldType(){var key,rangeStart=previous;return key=function parseFieldName(){var v=value;return token===Token.NAME||token===Token.STRING?(next(),v):token===Token.NUMBER?(consume(Token.NUMBER),String(v)):void utility.throwError("unexpected token")}(),token===Token.COLON?(consume(Token.COLON),maybeAddRange({type:Syntax.FieldType,key,value:parseTypeExpression()},[rangeStart,previous])):maybeAddRange({type:Syntax.FieldType,key,value:null},[rangeStart,previous])}function parseTypeName(){var expr,applications,startIndex=index-value.length;return expr=function parseNameExpression(){var name=value,rangeStart=index-name.length;return expect(Token.NAME),token!==Token.COLON||"module"!==name&&"external"!==name&&"event"!==name||(consume(Token.COLON),name+=":"+value,expect(Token.NAME)),maybeAddRange({type:Syntax.NameExpression,name},[rangeStart,previous])}(),token===Token.DOT_LT||token===Token.LT?(next(),applications=function parseTypeExpressionList(){var elements=[];for(elements.push(parseTop());token===Token.COMMA;)consume(Token.COMMA),elements.push(parseTop());return elements}(),expect(Token.GT),maybeAddRange({type:Syntax.TypeApplication,expression:expr,applications},[startIndex,previous])):expr}function parseParametersType(){for(var expr,startIndex,nameStartIndex,params=[],optionalSequence=!1,rest=!1,restStartIndex=index-3;token!==Token.RPAREN;)token===Token.REST&&(consume(Token.REST),rest=!0),startIndex=previous,(expr=parseTypeExpression()).type===Syntax.NameExpression&&token===Token.COLON&&(nameStartIndex=previous-expr.name.length,consume(Token.COLON),expr=maybeAddRange({type:Syntax.ParameterType,name:expr.name,expression:parseTypeExpression()},[nameStartIndex,previous])),token===Token.EQUAL?(consume(Token.EQUAL),expr=maybeAddRange({type:Syntax.OptionalType,expression:expr},[startIndex,previous]),optionalSequence=!0):optionalSequence&&utility.throwError("unexpected token"),rest&&(expr=maybeAddRange({type:Syntax.RestType,expression:expr},[restStartIndex,previous])),params.push(expr),token!==Token.RPAREN&&expect(Token.COMMA);return params}function parseFunctionType(){var isNew,thisBinding,params,result,fnType,startIndex=index-value.length;return utility.assert(token===Token.NAME&&"function"===value,"FunctionType should start with 'function'"),consume(Token.NAME),expect(Token.LPAREN),isNew=!1,params=[],thisBinding=null,token!==Token.RPAREN&&(token!==Token.NAME||"this"!==value&&"new"!==value?params=parseParametersType():(isNew="new"===value,consume(Token.NAME),expect(Token.COLON),thisBinding=parseTypeName(),token===Token.COMMA&&(consume(Token.COMMA),params=parseParametersType()))),expect(Token.RPAREN),result=null,token===Token.COLON&&(result=function parseResultType(){return consume(Token.COLON,"ResultType should start with :"),token===Token.NAME&&"void"===value?(consume(Token.NAME),{type:Syntax.VoidLiteral}):parseTypeExpression()}()),fnType=maybeAddRange({type:Syntax.FunctionType,params,result},[startIndex,previous]),thisBinding&&(fnType.this=thisBinding,isNew&&(fnType.new=!0)),fnType}function parseBasicTypeExpression(){var context,startIndex;switch(token){case Token.STAR:return consume(Token.STAR),maybeAddRange({type:Syntax.AllLiteral},[previous-1,previous]);case Token.LPAREN:return function parseUnionType(){var elements,startIndex=index-1;if(consume(Token.LPAREN,"UnionType should start with ("),elements=[],token!==Token.RPAREN)for(;elements.push(parseTypeExpression()),token!==Token.RPAREN;)expect(Token.PIPE);return consume(Token.RPAREN,"UnionType should end with )"),maybeAddRange({type:Syntax.UnionType,elements},[startIndex,previous])}();case Token.LBRACK:return function parseArrayType(){var elements,restStartIndex,startIndex=index-1;for(consume(Token.LBRACK,"ArrayType should start with ["),elements=[];token!==Token.RBRACK;){if(token===Token.REST){restStartIndex=index-3,consume(Token.REST),elements.push(maybeAddRange({type:Syntax.RestType,expression:parseTypeExpression()},[restStartIndex,previous]));break}elements.push(parseTypeExpression()),token!==Token.RBRACK&&expect(Token.COMMA)}return expect(Token.RBRACK),maybeAddRange({type:Syntax.ArrayType,elements},[startIndex,previous])}();case Token.LBRACE:return function parseRecordType(){var fields,rangeEnd,rangeStart=index-1;if(consume(Token.LBRACE,"RecordType should start with {"),fields=[],token===Token.COMMA)consume(Token.COMMA);else for(;token!==Token.RBRACE;)fields.push(parseFieldType()),token!==Token.RBRACE&&expect(Token.COMMA);return rangeEnd=index,expect(Token.RBRACE),maybeAddRange({type:Syntax.RecordType,fields},[rangeStart,rangeEnd])}();case Token.NAME:if(startIndex=index-value.length,"null"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.NullLiteral},[startIndex,previous]);if("undefined"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.UndefinedLiteral},[startIndex,previous]);if("true"===value||"false"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.BooleanLiteralType,value:"true"===value},[startIndex,previous]);if(context=Context.save(),"function"===value)try{return parseFunctionType()}catch(e){context.restore()}return parseTypeName();case Token.STRING:return next(),maybeAddRange({type:Syntax.StringLiteralType,value},[previous-value.length-2,previous]);case Token.NUMBER:return next(),maybeAddRange({type:Syntax.NumericLiteralType,value},[previous-String(value).length,previous]);default:utility.throwError("unexpected token")}}function parseTypeExpression(){var expr,rangeStart;return token===Token.QUESTION?(rangeStart=index-1,consume(Token.QUESTION),maybeAddRange(token===Token.COMMA||token===Token.EQUAL||token===Token.RBRACE||token===Token.RPAREN||token===Token.PIPE||token===Token.EOF||token===Token.RBRACK||token===Token.GT?{type:Syntax.NullableLiteral}:{type:Syntax.NullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):token===Token.BANG?(rangeStart=index-1,consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):(rangeStart=previous,expr=parseBasicTypeExpression(),token===Token.BANG?(consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.QUESTION?(consume(Token.QUESTION),maybeAddRange({type:Syntax.NullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.LBRACK?(consume(Token.LBRACK),expect(Token.RBRACK,"expected an array-style type declaration ("+value+"[])"),maybeAddRange({type:Syntax.TypeApplication,expression:maybeAddRange({type:Syntax.NameExpression,name:"Array"},[rangeStart,previous]),applications:[expr]},[rangeStart,previous])):expr)}function parseTop(){var expr,elements;if(expr=parseTypeExpression(),token!==Token.PIPE)return expr;for(elements=[expr],consume(Token.PIPE);elements.push(parseTypeExpression()),token===Token.PIPE;)consume(Token.PIPE);return maybeAddRange({type:Syntax.UnionType,elements},[0,index])}function stringifyImpl(node,compact,topLevel){var result,i,iz;switch(node.type){case Syntax.NullableLiteral:result="?";break;case Syntax.AllLiteral:result="*";break;case Syntax.NullLiteral:result="null";break;case Syntax.UndefinedLiteral:result="undefined";break;case Syntax.VoidLiteral:result="void";break;case Syntax.UnionType:for(result=topLevel?"":"(",i=0,iz=node.elements.length;i<iz;++i)result+=stringifyImpl(node.elements[i],compact),i+1!==iz&&(result+=compact?"|":" | ");topLevel||(result+=")");break;case Syntax.ArrayType:for(result="[",i=0,iz=node.elements.length;i<iz;++i)result+=stringifyImpl(node.elements[i],compact),i+1!==iz&&(result+=compact?",":", ");result+="]";break;case Syntax.RecordType:for(result="{",i=0,iz=node.fields.length;i<iz;++i)result+=stringifyImpl(node.fields[i],compact),i+1!==iz&&(result+=compact?",":", ");result+="}";break;case Syntax.FieldType:result=node.value?node.key+(compact?":":": ")+stringifyImpl(node.value,compact):node.key;break;case Syntax.FunctionType:for(result=compact?"function(":"function (",node.this&&(node.new?result+=compact?"new:":"new: ":result+=compact?"this:":"this: ",result+=stringifyImpl(node.this,compact),0!==node.params.length&&(result+=compact?",":", ")),i=0,iz=node.params.length;i<iz;++i)result+=stringifyImpl(node.params[i],compact),i+1!==iz&&(result+=compact?",":", ");result+=")",node.result&&(result+=(compact?":":": ")+stringifyImpl(node.result,compact));break;case Syntax.ParameterType:result=node.name+(compact?":":": ")+stringifyImpl(node.expression,compact);break;case Syntax.RestType:result="...",node.expression&&(result+=stringifyImpl(node.expression,compact));break;case Syntax.NonNullableType:result=node.prefix?"!"+stringifyImpl(node.expression,compact):stringifyImpl(node.expression,compact)+"!";break;case Syntax.OptionalType:result=stringifyImpl(node.expression,compact)+"=";break;case Syntax.NullableType:result=node.prefix?"?"+stringifyImpl(node.expression,compact):stringifyImpl(node.expression,compact)+"?";break;case Syntax.NameExpression:result=node.name;break;case Syntax.TypeApplication:for(result=stringifyImpl(node.expression,compact)+".<",i=0,iz=node.applications.length;i<iz;++i)result+=stringifyImpl(node.applications[i],compact),i+1!==iz&&(result+=compact?",":", ");result+=">";break;case Syntax.StringLiteralType:result='"'+node.value+'"';break;case Syntax.NumericLiteralType:case Syntax.BooleanLiteralType:result=String(node.value);break;default:utility.throwError("Unknown type "+node.type)}return result}esutils=__webpack_require__("./node_modules/esutils/lib/utils.js"),utility=__webpack_require__("./node_modules/doctrine/lib/utility.js"),Syntax={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},Token={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21},Context.prototype.restore=function(){previous=this._previous,index=this._index,token=this._token,value=this._value},Context.save=function(){return new Context(previous,index,token,value)},exports.parseType=function parseType(src,opt){var expr;return length=(source=src).length,index=0,previous=0,addRange=opt&&opt.range,rangeOffset=opt&&opt.startIndex||0,next(),expr=parseTop(),opt&&opt.midstream?{expression:expr,index:previous}:(token!==Token.EOF&&utility.throwError("not reach to EOF"),expr)},exports.parseParamType=function parseParamType(src,opt){var expr;return length=(source=src).length,index=0,previous=0,addRange=opt&&opt.range,rangeOffset=opt&&opt.startIndex||0,next(),expr=function parseTopParamType(){var expr;return token===Token.REST?(consume(Token.REST),maybeAddRange({type:Syntax.RestType,expression:parseTop()},[0,index])):(expr=parseTop(),token===Token.EQUAL?(consume(Token.EQUAL),maybeAddRange({type:Syntax.OptionalType,expression:expr},[0,index])):expr)}(),opt&&opt.midstream?{expression:expr,index:previous}:(token!==Token.EOF&&utility.throwError("not reach to EOF"),expr)},exports.stringify=function stringify(node,options){return null==options&&(options={}),stringifyImpl(node,options.compact,options.topLevel)},exports.Syntax=Syntax}()},"./node_modules/doctrine/lib/utility.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";var VERSION,Middle;function DoctrineError(message){this.name="DoctrineError",this.message=message}VERSION=__webpack_require__("./node_modules/doctrine/package.json").i8,exports.VERSION=VERSION,DoctrineError.prototype=((Middle=function(){}).prototype=Error.prototype,new Middle),DoctrineError.prototype.constructor=DoctrineError,exports.DoctrineError=DoctrineError,exports.throwError=function throwError(message){throw new DoctrineError(message)},exports.assert=__webpack_require__("./node_modules/assert/assert.js")}()},"./node_modules/emotion-theming/dist/emotion-theming.browser.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{f6:()=>ThemeProvider,Fg:()=>useTheme});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),react=__webpack_require__("./node_modules/react/index.js"),core_browser_esm=__webpack_require__("./node_modules/@emotion/core/dist/core.browser.esm.js");const weak_memoize_browser_esm=function weakMemoize(func){var cache=new WeakMap;return function(arg){if(cache.has(arg))return cache.get(arg);var ret=func(arg);return cache.set(arg,ret),ret}};__webpack_require__("./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}var getTheme=function getTheme(outerTheme,theme){return"function"==typeof theme?theme(outerTheme):function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){(0,defineProperty.Z)(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},outerTheme,{},theme)},createCacheWithTheme=weak_memoize_browser_esm((function(outerTheme){return weak_memoize_browser_esm((function(theme){return getTheme(outerTheme,theme)}))})),ThemeProvider=function ThemeProvider(props){return(0,react.createElement)(core_browser_esm.Ni.Consumer,null,(function(theme){return props.theme!==theme&&(theme=createCacheWithTheme(theme)(props.theme)),(0,react.createElement)(core_browser_esm.Ni.Provider,{value:theme},props.children)}))};function useTheme(){return react.useContext(core_browser_esm.Ni)}},"./node_modules/entities/lib/decode.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.decodeHTML=exports.decodeHTMLStrict=exports.decodeXML=void 0;var entities_json_1=__importDefault(__webpack_require__("./node_modules/entities/lib/maps/entities.json")),legacy_json_1=__importDefault(__webpack_require__("./node_modules/entities/lib/maps/legacy.json")),xml_json_1=__importDefault(__webpack_require__("./node_modules/entities/lib/maps/xml.json")),decode_codepoint_1=__importDefault(__webpack_require__("./node_modules/entities/lib/decode_codepoint.js"));function getStrictDecoder(map){var keys=Object.keys(map).join("|"),replace=getReplacer(map),re=new RegExp("&(?:"+(keys+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(str){return String(str).replace(re,replace)}}exports.decodeXML=getStrictDecoder(xml_json_1.default),exports.decodeHTMLStrict=getStrictDecoder(entities_json_1.default);var sorter=function(a,b){return a<b?1:-1};function getReplacer(map){return function replace(str){if("#"===str.charAt(1)){var secondChar=str.charAt(2);return"X"===secondChar||"x"===secondChar?decode_codepoint_1.default(parseInt(str.substr(3),16)):decode_codepoint_1.default(parseInt(str.substr(2),10))}return map[str.slice(1,-1)]}}exports.decodeHTML=function(){for(var legacy=Object.keys(legacy_json_1.default).sort(sorter),keys=Object.keys(entities_json_1.default).sort(sorter),i=0,j=0;i<keys.length;i++)legacy[j]===keys[i]?(keys[i]+=";?",j++):keys[i]+=";";var re=new RegExp("&(?:"+keys.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),replace=getReplacer(entities_json_1.default);function replacer(str){return";"!==str.substr(-1)&&(str+=";"),replace(str)}return function(str){return String(str).replace(re,replacer)}}()},"./node_modules/entities/lib/decode_codepoint.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var decode_json_1=__importDefault(__webpack_require__("./node_modules/entities/lib/maps/decode.json"));exports.default=function decodeCodePoint(codePoint){if(codePoint>=55296&&codePoint<=57343||codePoint>1114111)return"<22>";codePoint in decode_json_1.default&&(codePoint=decode_json_1.default[codePoint]);var output="";return codePoint>65535&&(codePoint-=65536,output+=String.fromCharCode(codePoint>>>10&1023|55296),codePoint=56320|1023&codePoint),output+=String.fromCharCode(codePoint)}},"./node_modules/entities/lib/encode.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.escape=exports.encodeHTML=exports.encodeXML=void 0;var inverseXML=getInverseObj(__importDefault(__webpack_require__("./node_modules/entities/lib/maps/xml.json")).default),xmlReplacer=getInverseReplacer(inverseXML);exports.encodeXML=getInverse(inverseXML,xmlReplacer);var inverseHTML=getInverseObj(__importDefault(__webpack_require__("./node_modules/entities/lib/maps/entities.json")).default),htmlReplacer=getInverseReplacer(inverseHTML);function getInverseObj(obj){return Object.keys(obj).sort().reduce((function(inverse,name){return inverse[obj[name]]="&"+name+";",inverse}),{})}function getInverseReplacer(inverse){for(var single=[],multiple=[],_i=0,_a=Object.keys(inverse);_i<_a.length;_i++){var k=_a[_i];1===k.length?single.push("\\"+k):multiple.push(k)}single.sort();for(var start=0;start<single.length-1;start++){for(var end=start;end<single.length-1&&single[end].charCodeAt(1)+1===single[end+1].charCodeAt(1);)end+=1;var count=1+end-start;count<3||single.splice(start,count,single[start]+"-"+single[end])}return multiple.unshift("["+single.join("")+"]"),new RegExp(multiple.join("|"),"g")}exports.encodeHTML=getInverse(inverseHTML,htmlReplacer);var reNonASCII=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g;function singleCharReplacer(c){return"&#x"+c.codePointAt(0).toString(16).toUpperCase()+";"}function getInverse(inverse,re){return function(data){return data.replace(re,(function(name){return inverse[name]})).replace(reNonASCII,singleCharReplacer)}}var reXmlChars=getInverseReplacer(inverseXML);exports.escape=function escape(data){return data.replace(reXmlChars,singleCharReplacer).replace(reNonASCII,singleCharReplacer)}},"./node_modules/entities/lib/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.decodeXMLStrict=exports.decodeHTML5Strict=exports.decodeHTML4Strict=exports.decodeHTML5=exports.decodeHTML4=exports.decodeHTMLStrict=exports.decodeHTML=exports.decodeXML=exports.encodeHTML5=exports.encodeHTML4=exports.escape=exports.encodeHTML=exports.encodeXML=exports.encode=exports.decodeStrict=exports.decode=void 0;var decode_1=__webpack_require__("./node_modules/entities/lib/decode.js"),encode_1=__webpack_require__("./node_modules/entities/lib/encode.js");exports.decode=function decode(data,level){return(!level||level<=0?decode_1.decodeXML:decode_1.decodeHTML)(data)},exports.decodeStrict=function decodeStrict(data,level){return(!level||level<=0?decode_1.decodeXML:decode_1.decodeHTMLStrict)(data)},exports.encode=function encode(data,level){return(!level||level<=0?encode_1.encodeXML:encode_1.encodeHTML)(data)};var encode_2=__webpack_require__("./node_modules/entities/lib/encode.js");Object.defineProperty(exports,"encodeXML",{enumerable:!0,get:function(){return encode_2.encodeXML}}),Object.defineProperty(exports,"encodeHTML",{enumerable:!0,get:function(){return encode_2.encodeHTML}}),Object.defineProperty(exports,"escape",{enumerable:!0,get:function(){return encode_2.escape}}),Object.defineProperty(exports,"encodeHTML4",{enumerable:!0,get:function(){return encode_2.encodeHTML}}),Object.defineProperty(exports,"encodeHTML5",{enumerable:!0,get:function(){return encode_2.encodeHTML}});var decode_2=__webpack_require__("./node_modules/entities/lib/decode.js");Object.defineProperty(exports,"decodeXML",{enumerable:!0,get:function(){return decode_2.decodeXML}}),Object.defineProperty(exports,"decodeHTML",{enumerable:!0,get:function(){return decode_2.decodeHTML}}),Object.defineProperty(exports,"decodeHTMLStrict",{enumerable:!0,get:function(){return decode_2.decodeHTMLStrict}}),Object.defineProperty(exports,"decodeHTML4",{enumerable:!0,get:function(){return decode_2.decodeHTML}}),Object.defineProperty(exports,"decodeHTML5",{enumerable:!0,get:function(){return decode_2.decodeHTML}}),Object.defineProperty(exports,"decodeHTML4Strict",{enumerable:!0,get:function(){return decode_2.decodeHTMLStrict}}),Object.defineProperty(exports,"decodeHTML5Strict",{enumerable:!0,get:function(){return decode_2.decodeHTMLStrict}}),Object.defineProperty(exports,"decodeXMLStrict",{enumerable:!0,get:function(){return decode_2.decodeXML}})},"./node_modules/es-array-method-boxes-properly/index.js":module=>{module.exports=function properlyBoxed(method){var properlyBoxesNonStrict=!0,properlyBoxesStrict=!0,threwException=!1;if("function"==typeof method){try{method.call("f",(function(_,__,O){"object"!=typeof O&&(properlyBoxesNonStrict=!1)})),method.call([null],(function(){"use strict";properlyBoxesStrict="string"==typeof this}),"x")}catch(e){threwException=!0}return!threwException&&properlyBoxesNonStrict&&properlyBoxesStrict}return!1}},"./node_modules/es-shim-unscopables/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var has=__webpack_require__("./node_modules/has/src/index.js"),hasUnscopables="function"==typeof Symbol&&"symbol"==typeof Symbol.unscopables,map=hasUnscopables&&Array.prototype[Symbol.unscopables],$TypeError=TypeError;module.exports=function shimUnscopables(method){if("string"!=typeof method||!method)throw new $TypeError("method must be a non-empty string");if(!has(Array.prototype,method))throw new $TypeError("method must be on Array.prototype");hasUnscopables&&(map[method]=!0)}},"./node_modules/es-to-primitive/es2015.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,isPrimitive=__webpack_require__("./node_modules/es-to-primitive/helpers/isPrimitive.js"),isCallable=__webpack_require__("./node_modules/is-callable/index.js"),isDate=__webpack_require__("./node_modules/is-date-object/index.js"),isSymbol=__webpack_require__("./node_modules/is-symbol/index.js"),ordinaryToPrimitive=function OrdinaryToPrimitive(O,hint){if(null==O)throw new TypeError("Cannot call method on "+O);if("string"!=typeof hint||"number"!==hint&&"string"!==hint)throw new TypeError('hint must be "string" or "number"');var method,result,i,methodNames="string"===hint?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<methodNames.length;++i)if(method=O[methodNames[i]],isCallable(method)&&(result=method.call(O),isPrimitive(result)))return result;throw new TypeError("No default value")},GetMethod=function GetMethod(O,P){var func=O[P];if(null!=func){if(!isCallable(func))throw new TypeError(func+" returned for property "+P+" of object "+O+" is not a function");return func}};module.exports=function ToPrimitive(input){if(isPrimitive(input))return input;var exoticToPrim,hint="default";if(arguments.length>1&&(arguments[1]===String?hint="string":arguments[1]===Number&&(hint="number")),hasSymbols&&(Symbol.toPrimitive?exoticToPrim=GetMethod(input,Symbol.toPrimitive):isSymbol(input)&&(exoticToPrim=Symbol.prototype.valueOf)),void 0!==exoticToPrim){var result=exoticToPrim.call(input,hint);if(isPrimitive(result))return result;throw new TypeError("unable to convert exotic object to primitive")}return"default"===hint&&(isDate(input)||isSymbol(input))&&(hint="string"),ordinaryToPrimitive(input,"default"===hint?"number":hint)}},"./node_modules/es-to-primitive/helpers/isPrimitive.js":module=>{"use strict";module.exports=function isPrimitive(value){return null===value||"function"!=typeof value&&"object"!=typeof value}},"./node_modules/es5-shim/es5-sham.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(root,factory){"use strict";void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=function(){var defineGetter,defineSetter,lookupGetter,lookupSetter,call=Function.call,prototypeOfObject=Object.prototype,owns=call.bind(prototypeOfObject.hasOwnProperty),isEnumerable=call.bind(prototypeOfObject.propertyIsEnumerable),toStr=call.bind(prototypeOfObject.toString),supportsAccessors=owns(prototypeOfObject,"__defineGetter__");supportsAccessors&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__));var isPrimitive=function isPrimitive(o){return null==o||"object"!=typeof o&&"function"!=typeof o};Object.getPrototypeOf||(Object.getPrototypeOf=function getPrototypeOf(object){var proto=object.__proto__;return proto||null==proto?proto:"[object Function]"===toStr(object.constructor)?object.constructor.prototype:object instanceof Object?prototypeOfObject:null});if(Object.defineProperty){var doesGetOwnPropertyDescriptorWork=function doesGetOwnPropertyDescriptorWork(object){try{return object.sentinel=0,0===Object.getOwnPropertyDescriptor(object,"sentinel").value}catch(exception){return!1}},getOwnPropertyDescriptorWorksOnObject=doesGetOwnPropertyDescriptorWork({});if(!("undefined"==typeof document||doesGetOwnPropertyDescriptorWork(document.createElement("div")))||!getOwnPropertyDescriptorWorksOnObject)var getOwnPropertyDescriptorFallback=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||getOwnPropertyDescriptorFallback){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function getOwnPropertyDescriptor(object,property){if(isPrimitive(object))throw new TypeError(ERR_NON_OBJECT+object);if(getOwnPropertyDescriptorFallback)try{return getOwnPropertyDescriptorFallback.call(Object,object,property)}catch(exception){}var descriptor;if(!owns(object,property))return descriptor;if(descriptor={enumerable:isEnumerable(object,property),configurable:!0},supportsAccessors){var prototype=object.__proto__,notPrototypeOfObject=object!==prototypeOfObject;notPrototypeOfObject&&(object.__proto__=prototypeOfObject);var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(notPrototypeOfObject&&(object.__proto__=prototype),getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor.writable=!0,descriptor}}Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function getOwnPropertyNames(object){return Object.keys(object)});if(!Object.create){var createEmpty,shouldUseActiveX=function shouldUseActiveX(){if(!document.domain)return!1;try{return!!new ActiveXObject("htmlfile")}catch(exception){return!1}},getEmptyViaActiveX=function getEmptyViaActiveX(){var empty,xDoc,script="script";return(xDoc=new ActiveXObject("htmlfile")).write("<"+script+"></"+script+">"),xDoc.close(),empty=xDoc.parentWindow.Object.prototype,xDoc=null,empty},getEmptyViaIFrame=function getEmptyViaIFrame(){var empty,iframe=document.createElement("iframe"),parent=document.body||document.documentElement;return iframe.style.display="none",parent.appendChild(iframe),iframe.src="javascript:",empty=iframe.contentWindow.Object.prototype,parent.removeChild(iframe),iframe=null,empty};createEmpty=!({__proto__:null}instanceof Object)||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var empty=shouldUseActiveX()?getEmptyViaActiveX():getEmptyViaIFrame();delete empty.constructor,delete empty.hasOwnProperty,delete empty.propertyIsEnumerable,delete empty.isPrototypeOf,delete empty.toLocaleString,delete empty.toString,delete empty.valueOf;var Empty=function Empty(){};return Empty.prototype=empty,createEmpty=function(){return new Empty},new Empty},Object.create=function create(prototype,properties){var object,Type=function Type(){};if(null===prototype)object=createEmpty();else{if(isPrimitive(prototype))throw new TypeError("Object prototype may only be an Object or null");Type.prototype=prototype,(object=new Type).__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}var doesDefinePropertyWork=function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){return!1}};if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty,definePropertiesFallback=Object.defineProperties}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function defineProperty(object,property,descriptor){if(isPrimitive(object))throw new TypeError(ERR_NON_OBJECT_TARGET+object);if(isPrimitive(descriptor))throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if("value"in descriptor)if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{var hasGetter="get"in descriptor,hasSetter="set"in descriptor;if(!supportsAccessors&&(hasGetter||hasSetter))throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);hasGetter&&defineGetter(object,property,descriptor.get),hasSetter&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties&&!definePropertiesFallback||(Object.defineProperties=function defineProperties(object,properties){if(definePropertiesFallback)try{return definePropertiesFallback.call(Object,object,properties)}catch(exception){}return Object.keys(properties).forEach((function(property){"__proto__"!==property&&Object.defineProperty(object,property,properties[property])})),object});Object.seal||(Object.seal=function seal(object){if(Object(object)!==object)throw new TypeError("Object.seal can only be called on Objects.");return object});Object.freeze||(Object.freeze=function freeze(object){if(Object(object)!==object)throw new TypeError("Object.freeze can only be called on Objects.");return object});try{Object.freeze((function(){}))}catch(exception){Object.freeze=(freezeObject=Object.freeze,function freeze(object){return"function"==typeof object?object:freezeObject(object)})}var freezeObject;Object.preventExtensions||(Object.preventExtensions=function preventExtensions(object){if(Object(object)!==object)throw new TypeError("Object.preventExtensions can only be called on Objects.");return object});Object.isSealed||(Object.isSealed=function isSealed(object){if(Object(object)!==object)throw new TypeError("Object.isSealed can only be called on Objects.");return!1});Object.isFrozen||(Object.isFrozen=function isFrozen(object){if(Object(object)!==object)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1});Object.isExtensible||(Object.isExtensible=function isExtensible(object){if(Object(object)!==object)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue})})?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()},"./node_modules/es5-shim/es5-shim.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(root,factory){"use strict";__WEBPACK_AMD_DEFINE_FACTORY__=function(){var isRegex,isString,$Array=Array,ArrayPrototype=$Array.prototype,$Object=Object,ObjectPrototype=$Object.prototype,$Function=Function,FunctionPrototype=$Function.prototype,$String=String,StringPrototype=$String.prototype,$Number=Number,NumberPrototype=$Number.prototype,array_slice=ArrayPrototype.slice,array_splice=ArrayPrototype.splice,array_push=ArrayPrototype.push,array_unshift=ArrayPrototype.unshift,array_concat=ArrayPrototype.concat,array_join=ArrayPrototype.join,call=FunctionPrototype.call,apply=FunctionPrototype.apply,max=Math.max,min=Math.min,floor=Math.floor,abs=Math.abs,pow=Math.pow,round=Math.round,log=Math.log,LOG10E=Math.LOG10E,log10=Math.log10||function log10(value){return log(value)*LOG10E},to_string=ObjectPrototype.toString,hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,fnToStr=Function.prototype.toString,constructorRegex=/^\s*class /,isES6ClassFn=function isES6ClassFn(value){try{var spaceStripped=fnToStr.call(value).replace(/\/\/.*\n/g,"").replace(/\/\*[.\s\S]*\*\//g,"").replace(/\n/gm," ").replace(/ {2}/g," ");return constructorRegex.test(spaceStripped)}catch(e){return!1}},tryFunctionObject=function tryFunctionObject(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch(e){return!1}},fnClass="[object Function]",genClass="[object GeneratorFunction]",isCallable=function isCallable(value){if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=to_string.call(value);return strClass===fnClass||strClass===genClass},regexExec=RegExp.prototype.exec,tryRegexExec=function tryRegexExec(value){try{return regexExec.call(value),!0}catch(e){return!1}},regexClass="[object RegExp]";isRegex=function isRegex(value){return"object"==typeof value&&(hasToStringTag?tryRegexExec(value):to_string.call(value)===regexClass)};var strValue=String.prototype.valueOf,tryStringObject=function tryStringObject(value){try{return strValue.call(value),!0}catch(e){return!1}},stringClass="[object String]";isString=function isString(value){return"string"==typeof value||"object"==typeof value&&(hasToStringTag?tryStringObject(value):to_string.call(value)===stringClass)};var supportsDescriptors=$Object.defineProperty&&function(){try{var obj={};for(var _ in $Object.defineProperty(obj,"x",{enumerable:!1,value:obj}),obj)return!1;return obj.x===obj}catch(e){return!1}}(),defineProperties=(has=ObjectPrototype.hasOwnProperty,defineProperty=supportsDescriptors?function(object,name,method,forceAssign){!forceAssign&&name in object||$Object.defineProperty(object,name,{configurable:!0,enumerable:!1,writable:!0,value:method})}:function(object,name,method,forceAssign){!forceAssign&&name in object||(object[name]=method)},function defineProperties(object,map,forceAssign){for(var name in map)has.call(map,name)&&defineProperty(object,name,map[name],forceAssign)});var has,defineProperty;if($Object.defineProperty&&supportsDescriptors){var F=function(){},toStringSentinel={},sentinel={toString:toStringSentinel};if($Object.defineProperty(F,"prototype",{value:sentinel,writable:!1}),(new F).toString!==toStringSentinel){var $dP=$Object.defineProperty,$gOPD=$Object.getOwnPropertyDescriptor;defineProperties($Object,{defineProperty:function defineProperty(o,k,d){var key=$String(k);if("function"==typeof o&&"prototype"===key){var desc=$gOPD(o,key);if(desc.writable&&!d.writable&&"value"in d)try{o[key]=d.value}catch(e){}return $dP(o,key,{configurable:"configurable"in d?d.configurable:desc.configurable,enumerable:"enumerable"in d?d.enumerable:desc.enumerable,writable:d.writable})}return $dP(o,key,d)}},!0)}}var isPrimitive=function isPrimitive(input){var type=typeof input;return null===input||"object"!==type&&"function"!==type},isActualNaN=$Number.isNaN||function isActualNaN(x){return x!=x},ES={ToInteger:function ToInteger(num){var n=+num;return isActualNaN(n)?n=0:0!==n&&n!==1/0&&n!==-1/0&&(n=(n>0||-1)*floor(abs(n))),n},ToPrimitive:function ToPrimitive(input){var val,valueOf,toStr;if(isPrimitive(input))return input;if(valueOf=input.valueOf,isCallable(valueOf)&&(val=valueOf.call(input),isPrimitive(val)))return val;if(toStr=input.toString,isCallable(toStr)&&(val=toStr.call(input),isPrimitive(val)))return val;throw new TypeError},ToObject:function(o){if(null==o)throw new TypeError("can't convert "+o+" to object");return $Object(o)},ToUint32:function ToUint32(x){return x>>>0}},Empty=function Empty(){};defineProperties(FunctionPrototype,{bind:function bind(that){var target=this;if(!isCallable(target))throw new TypeError("Function.prototype.bind called on incompatible "+target);for(var bound,args=array_slice.call(arguments,1),binder=function(){if(this instanceof bound){var result=apply.call(target,this,array_concat.call(args,array_slice.call(arguments)));return $Object(result)===result?result:this}return apply.call(target,that,array_concat.call(args,array_slice.call(arguments)))},boundLength=max(0,target.length-args.length),boundArgs=[],i=0;i<boundLength;i++)array_push.call(boundArgs,"$"+i);return bound=$Function("binder","return function ("+array_join.call(boundArgs,",")+"){ return binder.apply(this, arguments); }")(binder),target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound}});var owns=call.bind(ObjectPrototype.hasOwnProperty),toStr=call.bind(ObjectPrototype.toString),arraySlice=call.bind(array_slice),arraySliceApply=apply.bind(array_slice);if("object"==typeof document&&document&&document.documentElement)try{arraySlice(document.documentElement.childNodes)}catch(e){var origArraySlice=arraySlice,origArraySliceApply=arraySliceApply;arraySlice=function arraySliceIE(arr){for(var r=[],i=arr.length;i-- >0;)r[i]=arr[i];return origArraySliceApply(r,origArraySlice(arguments,1))},arraySliceApply=function arraySliceApplyIE(arr,args){return origArraySliceApply(arraySlice(arr),args)}}var strSlice=call.bind(StringPrototype.slice),strSplit=call.bind(StringPrototype.split),strIndexOf=call.bind(StringPrototype.indexOf),pushCall=call.bind(array_push),isEnum=call.bind(ObjectPrototype.propertyIsEnumerable),arraySort=call.bind(ArrayPrototype.sort),isArray=$Array.isArray||function isArray(obj){return"[object Array]"===toStr(obj)},hasUnshiftReturnValueBug=1!==[].unshift(0);defineProperties(ArrayPrototype,{unshift:function(){return array_unshift.apply(this,arguments),this.length}},hasUnshiftReturnValueBug),defineProperties($Array,{isArray});var boxedString=$Object("a"),splitString="a"!==boxedString[0]||!(0 in boxedString),properlyBoxesContext=function properlyBoxed(method){var properlyBoxesNonStrict=!0,properlyBoxesStrict=!0,threwException=!1;if(method)try{method.call("foo",(function(_,__,context){"object"!=typeof context&&(properlyBoxesNonStrict=!1)})),method.call([1],(function(){properlyBoxesStrict="string"==typeof this}),"x")}catch(e){threwException=!0}return!!method&&!threwException&&properlyBoxesNonStrict&&properlyBoxesStrict};defineProperties(ArrayPrototype,{forEach:function forEach(callbackfn){var T,object=ES.ToObject(this),self=splitString&&isString(this)?strSplit(this,""):object,i=-1,length=ES.ToUint32(self.length);if(arguments.length>1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++i<length;)i in self&&(void 0===T?callbackfn(self[i],i,object):callbackfn.call(T,self[i],i,object))}},!properlyBoxesContext(ArrayPrototype.forEach)),defineProperties(ArrayPrototype,{map:function map(callbackfn){var T,object=ES.ToObject(this),self=splitString&&isString(this)?strSplit(this,""):object,length=ES.ToUint32(self.length),result=$Array(length);if(arguments.length>1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.map callback must be a function");for(var i=0;i<length;i++)i in self&&(result[i]=void 0===T?callbackfn(self[i],i,object):callbackfn.call(T,self[i],i,object));return result}},!properlyBoxesContext(ArrayPrototype.map)),defineProperties(ArrayPrototype,{filter:function filter(callbackfn){var value,T,object=ES.ToObject(this),self=splitString&&isString(this)?strSplit(this,""):object,length=ES.ToUint32(self.length),result=[];if(arguments.length>1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.filter callback must be a function");for(var i=0;i<length;i++)i in self&&(value=self[i],(void 0===T?callbackfn(value,i,object):callbackfn.call(T,value,i,object))&&pushCall(result,value));return result}},!properlyBoxesContext(ArrayPrototype.filter)),defineProperties(ArrayPrototype,{every:function every(callbackfn){var T,object=ES.ToObject(this),self=splitString&&isString(this)?strSplit(this,""):object,length=ES.ToUint32(self.length);if(arguments.length>1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.every callback must be a function");for(var i=0;i<length;i++)if(i in self&&!(void 0===T?callbackfn(self[i],i,object):callbackfn.call(T,self[i],i,object)))return!1;return!0}},!properlyBoxesContext(ArrayPrototype.every)),defineProperties(ArrayPrototype,{some:function some(callbackfn){var T,object=ES.ToObject(this),self=splitString&&isString(this)?strSplit(this,""):object,length=ES.ToUint32(self.length);if(arguments.length>1&&(T=arguments[1]),!isCallable(callbackfn))throw new TypeError("Array.prototype.some callback must be a function");for(var i=0;i<length;i++)if(i in self&&(void 0===T?callbackfn(self[i],i,object):callbackfn.call(T,self[i],i,object)))return!0;return!1}},!properlyBoxesContext(ArrayPrototype.some));var reduceCoercesToObject=!1;ArrayPrototype.reduce&&(reduceCoercesToObject="object"==typeof ArrayPrototype.reduce.call("es5",(function(_,__,___,list){return list})));defineProperties(ArrayPrototype,{reduce:function reduce(callbackfn){var object=ES.ToObject(this),self=splitString&&isString(this)?strSplit(this,""):object,length=ES.ToUint32(self.length);if(!isCallable(callbackfn))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===length&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;i<length;i++)i in self&&(result=callbackfn(result,self[i],i,object));return result}},!reduceCoercesToObject);var reduceRightCoercesToObject=!1;ArrayPrototype.reduceRight&&(reduceRightCoercesToObject="object"==typeof ArrayPrototype.reduceRight.call("es5",(function(_,__,___,list){return list})));defineProperties(ArrayPrototype,{reduceRight:function reduceRight(callbackfn){var result,object=ES.ToObject(this),self=splitString&&isString(this)?strSplit(this,""):object,length=ES.ToUint32(self.length);if(!isCallable(callbackfn))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===length&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(--i<0)throw new TypeError("reduceRight of empty array with no initial value")}if(i<0)return result;do{i in self&&(result=callbackfn(result,self[i],i,object))}while(i--);return result}},!reduceRightCoercesToObject);var hasFirefox2IndexOfBug=ArrayPrototype.indexOf&&-1!==[0,1].indexOf(1,2);defineProperties(ArrayPrototype,{indexOf:function indexOf(searchElement){var self=splitString&&isString(this)?strSplit(this,""):ES.ToObject(this),length=ES.ToUint32(self.length);if(0===length)return-1;var i=0;for(arguments.length>1&&(i=ES.ToInteger(arguments[1])),i=i>=0?i:max(0,length+i);i<length;i++)if(i in self&&self[i]===searchElement)return i;return-1}},hasFirefox2IndexOfBug);var hasFirefox2LastIndexOfBug=ArrayPrototype.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);defineProperties(ArrayPrototype,{lastIndexOf:function lastIndexOf(searchElement){var self=splitString&&isString(this)?strSplit(this,""):ES.ToObject(this),length=ES.ToUint32(self.length);if(0===length)return-1;var i=length-1;for(arguments.length>1&&(i=min(i,ES.ToInteger(arguments[1]))),i=i>=0?i:length-abs(i);i>=0;i--)if(i in self&&searchElement===self[i])return i;return-1}},hasFirefox2LastIndexOfBug);var spliceNoopReturnsEmptyArray=(a=[1,2],result=a.splice(),2===a.length&&isArray(result)&&0===result.length);var a,result;defineProperties(ArrayPrototype,{splice:function splice(start,deleteCount){return 0===arguments.length?[]:array_splice.apply(this,arguments)}},!spliceNoopReturnsEmptyArray);var spliceWorksWithEmptyObject=(obj={},ArrayPrototype.splice.call(obj,0,0,1),1===obj.length),hasES6Defaults=3===[0,1,2].splice(0).length;var obj;defineProperties(ArrayPrototype,{splice:function splice(start,deleteCount){if(0===arguments.length)return[];var args=arguments;return this.length=max(ES.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof deleteCount&&((args=arraySlice(arguments)).length<2?pushCall(args,this.length-start):args[1]=ES.ToInteger(deleteCount)),array_splice.apply(this,args)}},!spliceWorksWithEmptyObject||!hasES6Defaults);var spliceWorksWithLargeSparseArrays=(arr=new $Array(1e5),arr[8]="x",arr.splice(1,1),7===arr.indexOf("x")),spliceWorksWithSmallSparseArrays=function(){var n=256,arr=[];return arr[n]="a",arr.splice(n+1,0,"b"),"a"===arr[n]}();var arr;defineProperties(ArrayPrototype,{splice:function splice(start,deleteCount){for(var from,O=ES.ToObject(this),A=[],len=ES.ToUint32(O.length),relativeStart=ES.ToInteger(start),actualStart=relativeStart<0?max(len+relativeStart,0):min(relativeStart,len),actualDeleteCount=0===arguments.length?0:1===arguments.length?len-actualStart:min(max(ES.ToInteger(deleteCount),0),len-actualStart),k=0;k<actualDeleteCount;)from=$String(actualStart+k),owns(O,from)&&(A[k]=O[from]),k+=1;var to,items=arraySlice(arguments,2),itemCount=items.length;if(itemCount<actualDeleteCount){k=actualStart;for(var maxK=len-actualDeleteCount;k<maxK;)from=$String(k+actualDeleteCount),to=$String(k+itemCount),owns(O,from)?O[to]=O[from]:delete O[to],k+=1;k=len;for(var minK=len-actualDeleteCount+itemCount;k>minK;)delete O[k-1],k-=1}else if(itemCount>actualDeleteCount)for(k=len-actualDeleteCount;k>actualStart;)from=$String(k+actualDeleteCount-1),to=$String(k+itemCount-1),owns(O,from)?O[to]=O[from]:delete O[to],k-=1;k=actualStart;for(var i=0;i<items.length;++i)O[k]=items[i],k+=1;return O.length=len-actualDeleteCount+itemCount,A}},!spliceWorksWithLargeSparseArrays||!spliceWorksWithSmallSparseArrays);var hasStringJoinBug,originalJoin=ArrayPrototype.join;try{hasStringJoinBug="1,2,3"!==Array.prototype.join.call("123",",")}catch(e){hasStringJoinBug=!0}hasStringJoinBug&&defineProperties(ArrayPrototype,{join:function join(separator){var sep=void 0===separator?",":separator;return originalJoin.call(isString(this)?strSplit(this,""):this,sep)}},hasStringJoinBug);var hasJoinUndefinedBug="1,2"!==[1,2].join(void 0);hasJoinUndefinedBug&&defineProperties(ArrayPrototype,{join:function join(separator){var sep=void 0===separator?",":separator;return originalJoin.call(this,sep)}},hasJoinUndefinedBug);var pushShim=function push(item){for(var O=ES.ToObject(this),n=ES.ToUint32(O.length),i=0;i<arguments.length;)O[n+i]=arguments[i],i+=1;return O.length=n+i,n+i},pushIsNotGeneric=function(){var obj={};return 1!==Array.prototype.push.call(obj,void 0)||1!==obj.length||void 0!==obj[0]||!owns(obj,0)}();defineProperties(ArrayPrototype,{push:function push(item){return isArray(this)?array_push.apply(this,arguments):pushShim.apply(this,arguments)}},pushIsNotGeneric);var pushUndefinedIsWeird=function(){var arr=[];return 1!==arr.push(void 0)||1!==arr.length||void 0!==arr[0]||!owns(arr,0)}();defineProperties(ArrayPrototype,{push:pushShim},pushUndefinedIsWeird),defineProperties(ArrayPrototype,{slice:function(start,end){var arr=isString(this)?strSplit(this,""):this;return arraySliceApply(arr,arguments)}},splitString);var sortIgnoresNonFunctions=function(){try{[1,2].sort(null)}catch(e){try{[1,2].sort({})}catch(e2){return!1}}return!0}(),sortThrowsOnRegex=function(){try{return[1,2].sort(/a/),!1}catch(e){}return!0}(),sortIgnoresUndefined=function(){try{return[1,2].sort(void 0),!0}catch(e){}return!1}();defineProperties(ArrayPrototype,{sort:function sort(compareFn){if(void 0===compareFn)return arraySort(this);if(!isCallable(compareFn))throw new TypeError("Array.prototype.sort callback must be a function");return arraySort(this,compareFn)}},sortIgnoresNonFunctions||!sortIgnoresUndefined||!sortThrowsOnRegex);var hasDontEnumBug=!isEnum({toString:null},"toString"),hasProtoEnumBug=isEnum((function(){}),"prototype"),hasStringEnumBug=!owns("x","0"),equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0,$width:!0,$height:!0,$top:!0,$localStorage:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var k in window)try{!excludedKeys["$"+k]&&owns(window,k)&&null!==window[k]&&"object"==typeof window[k]&&equalsConstructorPrototype(window[k])}catch(e){return!0}return!1}(),equalsConstructorPrototypeIfNotBuggy=function(object){if("undefined"==typeof window||!hasAutomationEqualityBug)return equalsConstructorPrototype(object);try{return equalsConstructorPrototype(object)}catch(e){return!1}},dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length,isStandardArguments=function isArguments(value){return"[object Arguments]"===toStr(value)},isLegacyArguments=function isArguments(value){return null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&!isArray(value)&&isCallable(value.callee)},isArguments=isStandardArguments(arguments)?isStandardArguments:isLegacyArguments;defineProperties($Object,{keys:function keys(object){var isFn=isCallable(object),isArgs=isArguments(object),isObject=null!==object&&"object"==typeof object,isStr=isObject&&isString(object);if(!isObject&&!isFn&&!isArgs)throw new TypeError("Object.keys called on a non-object");var theKeys=[],skipProto=hasProtoEnumBug&&isFn;if(isStr&&hasStringEnumBug||isArgs)for(var i=0;i<object.length;++i)pushCall(theKeys,$String(i));if(!isArgs)for(var name in object)skipProto&&"prototype"===name||!owns(object,name)||pushCall(theKeys,$String(name));if(hasDontEnumBug)for(var skipConstructor=equalsConstructorPrototypeIfNotBuggy(object),j=0;j<dontEnumsLength;j++){var dontEnum=dontEnums[j];skipConstructor&&"constructor"===dontEnum||!owns(object,dontEnum)||pushCall(theKeys,dontEnum)}return theKeys}});var keysWorksWithArguments=$Object.keys&&function(){return 2===$Object.keys(arguments).length}(1,2),keysHasArgumentsLengthBug=$Object.keys&&function(){var argKeys=$Object.keys(arguments);return 1!==arguments.length||1!==argKeys.length||1!==argKeys[0]}(1),originalKeys=$Object.keys;defineProperties($Object,{keys:function keys(object){return isArguments(object)?originalKeys(arraySlice(object)):originalKeys(object)}},!keysWorksWithArguments||keysHasArgumentsLengthBug);var hasToDateStringFormatBug,hasToStringFormatBug,hasNegativeMonthYearBug=0!==new Date(-0xc782b5b342b24).getUTCMonth(),aNegativeTestDate=new Date(-0x55d318d56a724),aPositiveTestDate=new Date(14496624e5),hasToUTCStringFormatBug="Mon, 01 Jan -45875 11:59:59 GMT"!==aNegativeTestDate.toUTCString();aNegativeTestDate.getTimezoneOffset()<-720?(hasToDateStringFormatBug="Tue Jan 02 -45875"!==aNegativeTestDate.toDateString(),hasToStringFormatBug=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(aPositiveTestDate))):(hasToDateStringFormatBug="Mon Jan 01 -45875"!==aNegativeTestDate.toDateString(),hasToStringFormatBug=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(aPositiveTestDate)));var originalGetFullYear=call.bind(Date.prototype.getFullYear),originalGetMonth=call.bind(Date.prototype.getMonth),originalGetDate=call.bind(Date.prototype.getDate),originalGetUTCFullYear=call.bind(Date.prototype.getUTCFullYear),originalGetUTCMonth=call.bind(Date.prototype.getUTCMonth),originalGetUTCDate=call.bind(Date.prototype.getUTCDate),originalGetUTCDay=call.bind(Date.prototype.getUTCDay),originalGetUTCHours=call.bind(Date.prototype.getUTCHours),originalGetUTCMinutes=call.bind(Date.prototype.getUTCMinutes),originalGetUTCSeconds=call.bind(Date.prototype.getUTCSeconds),originalGetUTCMilliseconds=call.bind(Date.prototype.getUTCMilliseconds),dayName=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthName=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],daysInMonth=function daysInMonth(month,year){return originalGetDate(new Date(year,month,0))};defineProperties(Date.prototype,{getFullYear:function getFullYear(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetFullYear(this);return year<0&&originalGetMonth(this)>11?year+1:year},getMonth:function getMonth(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetFullYear(this),month=originalGetMonth(this);return year<0&&month>11?0:month},getDate:function getDate(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetFullYear(this),month=originalGetMonth(this),date=originalGetDate(this);return year<0&&month>11?12===month?date:daysInMonth(0,year+1)-date+1:date},getUTCFullYear:function getUTCFullYear(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetUTCFullYear(this);return year<0&&originalGetUTCMonth(this)>11?year+1:year},getUTCMonth:function getUTCMonth(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetUTCFullYear(this),month=originalGetUTCMonth(this);return year<0&&month>11?0:month},getUTCDate:function getUTCDate(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var year=originalGetUTCFullYear(this),month=originalGetUTCMonth(this),date=originalGetUTCDate(this);return year<0&&month>11?12===month?date:daysInMonth(0,year+1)-date+1:date}},hasNegativeMonthYearBug),defineProperties(Date.prototype,{toUTCString:function toUTCString(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var day=originalGetUTCDay(this),date=originalGetUTCDate(this),month=originalGetUTCMonth(this),year=originalGetUTCFullYear(this),hour=originalGetUTCHours(this),minute=originalGetUTCMinutes(this),second=originalGetUTCSeconds(this);return dayName[day]+", "+(date<10?"0"+date:date)+" "+monthName[month]+" "+year+" "+(hour<10?"0"+hour:hour)+":"+(minute<10?"0"+minute:minute)+":"+(second<10?"0"+second:second)+" GMT"}},hasNegativeMonthYearBug||hasToUTCStringFormatBug),defineProperties(Date.prototype,{toDateString:function toDateString(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var day=this.getDay(),date=this.getDate(),month=this.getMonth(),year=this.getFullYear();return dayName[day]+" "+monthName[month]+" "+(date<10?"0"+date:date)+" "+year}},hasNegativeMonthYearBug||hasToDateStringFormatBug),(hasNegativeMonthYearBug||hasToStringFormatBug)&&(Date.prototype.toString=function toString(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var day=this.getDay(),date=this.getDate(),month=this.getMonth(),year=this.getFullYear(),hour=this.getHours(),minute=this.getMinutes(),second=this.getSeconds(),timezoneOffset=this.getTimezoneOffset(),hoursOffset=floor(abs(timezoneOffset)/60),minutesOffset=floor(abs(timezoneOffset)%60);return dayName[day]+" "+monthName[month]+" "+(date<10?"0"+date:date)+" "+year+" "+(hour<10?"0"+hour:hour)+":"+(minute<10?"0"+minute:minute)+":"+(second<10?"0"+second:second)+" GMT"+(timezoneOffset>0?"-":"+")+(hoursOffset<10?"0"+hoursOffset:hoursOffset)+(minutesOffset<10?"0"+minutesOffset:minutesOffset)},supportsDescriptors&&$Object.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var negativeDate=-621987552e5,negativeYearString="-000001",hasNegativeDateBug=Date.prototype.toISOString&&-1===new Date(negativeDate).toISOString().indexOf(negativeYearString),hasSafari51DateBug=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),getTime=call.bind(Date.prototype.getTime);defineProperties(Date.prototype,{toISOString:function toISOString(){if(!isFinite(this)||!isFinite(getTime(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var year=originalGetUTCFullYear(this),month=originalGetUTCMonth(this);year+=floor(month/12);var result=[(month=(month%12+12)%12)+1,originalGetUTCDate(this),originalGetUTCHours(this),originalGetUTCMinutes(this),originalGetUTCSeconds(this)];year=(year<0?"-":year>9999?"+":"")+strSlice("00000"+abs(year),0<=year&&year<=9999?-4:-6);for(var i=0;i<result.length;++i)result[i]=strSlice("00"+result[i],-2);return year+"-"+arraySlice(result,0,2).join("-")+"T"+arraySlice(result,2).join(":")+"."+strSlice("000"+originalGetUTCMilliseconds(this),-3)+"Z"}},hasNegativeDateBug||hasSafari51DateBug),function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(negativeDate).toJSON().indexOf(negativeYearString)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(e){return!1}}()||(Date.prototype.toJSON=function toJSON(key){var O=$Object(this),tv=ES.ToPrimitive(O);if("number"==typeof tv&&!isFinite(tv))return null;var toISO=O.toISOString;if(!isCallable(toISO))throw new TypeError("toISOString property is not callable");return toISO.call(O)});var supportsExtendedYears=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),acceptsInvalidDates=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z"));if(isNaN(Date.parse("2000-01-01T00:00:00.000Z"))||acceptsInvalidDates||!supportsExtendedYears){var maxSafeUnsigned32Bit=pow(2,31)-1,hasSafariSignedIntBug=isActualNaN(new Date(1970,0,1,0,0,0,maxSafeUnsigned32Bit+1).getTime());Date=function(NativeDate){var DateShim=function Date(Y,M,D,h,m,s,ms){var date,length=arguments.length;if(this instanceof NativeDate){var seconds=s,millis=ms;if(hasSafariSignedIntBug&&length>=7&&ms>maxSafeUnsigned32Bit){var msToShift=floor(ms/maxSafeUnsigned32Bit)*maxSafeUnsigned32Bit,sToShift=floor(msToShift/1e3);seconds+=sToShift,millis-=1e3*sToShift}var parsed=DateShim.parse(Y),hasNegTimestampParseBug=isNaN(parsed);date=1!==length||$String(Y)!==Y||hasNegTimestampParseBug?length>=7?new NativeDate(Y,M,D,h,m,seconds,millis):length>=6?new NativeDate(Y,M,D,h,m,seconds):length>=5?new NativeDate(Y,M,D,h,m):length>=4?new NativeDate(Y,M,D,h):length>=3?new NativeDate(Y,M,D):length>=2?new NativeDate(Y,M):length>=1?new NativeDate(Y instanceof NativeDate?+Y:Y):new NativeDate:new NativeDate(parsed)}else date=NativeDate.apply(this,arguments);return isPrimitive(date)||defineProperties(date,{constructor:DateShim},!0),date},isoDateExpression=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),months=[0,31,59,90,120,151,181,212,243,273,304,334,365],dayFromMonth=function dayFromMonth(year,month){var t=month>1?1:0;return months[month]+floor((year-1969+t)/4)-floor((year-1901+t)/100)+floor((year-1601+t)/400)+365*(year-1970)},toUTC=function toUTC(t){var s=0,ms=t;if(hasSafariSignedIntBug&&ms>maxSafeUnsigned32Bit){var msToShift=floor(ms/maxSafeUnsigned32Bit)*maxSafeUnsigned32Bit,sToShift=floor(msToShift/1e3);s+=sToShift,ms-=1e3*sToShift}return $Number(new NativeDate(1970,0,1,0,0,s,ms))};for(var key in NativeDate)owns(NativeDate,key)&&(DateShim[key]=NativeDate[key]);defineProperties(DateShim,{now:NativeDate.now,UTC:NativeDate.UTC},!0),DateShim.prototype=NativeDate.prototype,defineProperties(DateShim.prototype,{constructor:DateShim},!0);var parseShim=function parse(string){var match=isoDateExpression.exec(string);if(match){var result,year=$Number(match[1]),month=$Number(match[2]||1)-1,day=$Number(match[3]||1)-1,hour=$Number(match[4]||0),minute=$Number(match[5]||0),second=$Number(match[6]||0),millisecond=floor(1e3*$Number(match[7]||0)),isLocalTime=Boolean(match[4]&&!match[8]),signOffset="-"===match[9]?1:-1,hourOffset=$Number(match[10]||0),minuteOffset=$Number(match[11]||0);return hour<(minute>0||second>0||millisecond>0?24:25)&&minute<60&&second<60&&millisecond<1e3&&month>-1&&month<12&&hourOffset<24&&minuteOffset<60&&day>-1&&day<dayFromMonth(year,month+1)-dayFromMonth(year,month)&&(result=1e3*(60*((result=60*(24*(dayFromMonth(year,month)+day)+hour+hourOffset*signOffset))+minute+minuteOffset*signOffset)+second)+millisecond,isLocalTime&&(result=toUTC(result)),-864e13<=result&&result<=864e13)?result:NaN}return NativeDate.parse.apply(this,arguments)};return defineProperties(DateShim,{parse:parseShim}),DateShim}(Date)}Date.now||(Date.now=function now(){return(new Date).getTime()});var hasToFixedBugs=NumberPrototype.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0)),toFixedHelpers={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function multiply(n,c){for(var i=-1,c2=c;++i<toFixedHelpers.size;)c2+=n*toFixedHelpers.data[i],toFixedHelpers.data[i]=c2%toFixedHelpers.base,c2=floor(c2/toFixedHelpers.base)},divide:function divide(n){for(var i=toFixedHelpers.size,c=0;--i>=0;)c+=toFixedHelpers.data[i],toFixedHelpers.data[i]=floor(c/n),c=c%n*toFixedHelpers.base},numToString:function numToString(){for(var i=toFixedHelpers.size,s="";--i>=0;)if(""!==s||0===i||0!==toFixedHelpers.data[i]){var t=$String(toFixedHelpers.data[i]);""===s?s=t:s+=strSlice("0000000",0,7-t.length)+t}return s},pow:function pow(x,n,acc){return 0===n?acc:n%2==1?pow(x,n-1,acc*x):pow(x*x,n/2,acc)},log:function log(x){for(var n=0,x2=x;x2>=4096;)n+=12,x2/=4096;for(;x2>=2;)n+=1,x2/=2;return n}};defineProperties(NumberPrototype,{toFixed:function toFixed(fractionDigits){var f,x,s,m,e,z,j,k;if(f=$Number(fractionDigits),(f=isActualNaN(f)?0:floor(f))<0||f>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(x=$Number(this),isActualNaN(x))return"NaN";if(x<=-1e21||x>=1e21)return $String(x);if(s="",x<0&&(s="-",x=-x),m="0",x>1e-21)if(z=(e=toFixedHelpers.log(x*toFixedHelpers.pow(2,69,1))-69)<0?x*toFixedHelpers.pow(2,-e,1):x/toFixedHelpers.pow(2,e,1),z*=4503599627370496,(e=52-e)>0){for(toFixedHelpers.multiply(0,z),j=f;j>=7;)toFixedHelpers.multiply(1e7,0),j-=7;for(toFixedHelpers.multiply(toFixedHelpers.pow(10,j,1),0),j=e-1;j>=23;)toFixedHelpers.divide(1<<23),j-=23;toFixedHelpers.divide(1<<j),toFixedHelpers.multiply(1,1),toFixedHelpers.divide(2),m=toFixedHelpers.numToString()}else toFixedHelpers.multiply(0,z),toFixedHelpers.multiply(1<<-e,0),m=toFixedHelpers.numToString()+strSlice("0.00000000000000000000",2,2+f);return m=f>0?(k=m.length)<=f?s+strSlice("0.0000000000000000000",0,f-k+2)+m:s+strSlice(m,0,k-f)+"."+strSlice(m,k-f):s+m}},hasToFixedBugs);var hasToExponentialRoundingBug=function(){try{return"-6.9000e-11"!==(-69e-12).toExponential(4)}catch(e){return!1}}(),toExponentialAllowsInfiniteDigits=function(){try{return 1..toExponential(1/0),1..toExponential(-1/0),!0}catch(e){return!1}}(),originalToExponential=call.bind(NumberPrototype.toExponential),numberToString=call.bind(NumberPrototype.toString),numberValueOf=call.bind(NumberPrototype.valueOf);defineProperties(NumberPrototype,{toExponential:function toExponential(fractionDigits){var x=numberValueOf(this);if(void 0===fractionDigits)return originalToExponential(x);var f=ES.ToInteger(fractionDigits);if(isActualNaN(x))return"NaN";if(f<0||f>20){if(!isFinite(f))throw new RangeError("toExponential() argument must be between 0 and 20");return originalToExponential(x,f)}var s="";if(x<0&&(s="-",x=-x),x===1/0)return s+"Infinity";if(void 0!==fractionDigits&&(f<0||f>20))throw new RangeError("Fraction digits "+fractionDigits+" out of range");var m="",e=0,c="",d="";if(0===x)e=0,f=0,m="0";else{var L=log10(x);e=floor(L);var n=0;if(void 0!==fractionDigits){var w=pow(10,e-f);2*x>=(2*(n=round(x/w))+1)*w&&(n+=1),n>=pow(10,f+1)&&(n/=10,e+=1)}else for(var guess_n=round(pow(10,L-e+(f=16))),target_f=f;f-- >0;)guess_n=round(pow(10,L-e+f)),abs(guess_n*pow(10,e-f)-x)<=abs(n*pow(10,e-target_f)-x)&&(target_f=f,n=guess_n);if(m=numberToString(n,10),void 0===fractionDigits)for(;"0"===strSlice(m,-1);)m=strSlice(m,0,-1),d+=1}return 0!==f&&(m=strSlice(m,0,1)+"."+strSlice(m,1)),0===e?(c="+",d="0"):(c=e>0?"+":"-",d=numberToString(abs(e),10)),s+(m+="e"+c+d)}},hasToExponentialRoundingBug||toExponentialAllowsInfiniteDigits);var hasToPrecisionUndefinedBug=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),originalToPrecision=call.bind(NumberPrototype.toPrecision);defineProperties(NumberPrototype,{toPrecision:function toPrecision(precision){return void 0===precision?originalToPrecision(this):originalToPrecision(this,precision)}},hasToPrecisionUndefinedBug),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(compliantExecNpcg=void 0===/()??/.exec("")[1],maxSafe32BitInt=pow(2,32)-1,StringPrototype.split=function split(separator,limit){var string=String(this);if(void 0===separator&&0===limit)return[];if(!isRegex(separator))return strSplit(this,separator,limit);var separator2,match,lastIndex,lastLength,output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":""),lastLastIndex=0,separatorCopy=new RegExp(separator.source,flags+"g");compliantExecNpcg||(separator2=new RegExp("^"+separatorCopy.source+"$(?!\\s)",flags));var splitLimit=void 0===limit?maxSafe32BitInt:ES.ToUint32(limit);for(match=separatorCopy.exec(string);match&&!((lastIndex=match.index+match[0].length)>lastLastIndex&&(pushCall(output,strSlice(string,lastLastIndex,match.index)),!compliantExecNpcg&&match.length>1&&match[0].replace(separator2,(function(){for(var i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(match[i]=void 0)})),match.length>1&&match.index<string.length&&array_push.apply(output,arraySlice(match,1)),lastLength=match[0].length,lastLastIndex=lastIndex,output.length>=splitLimit));)separatorCopy.lastIndex===match.index&&separatorCopy.lastIndex++,match=separatorCopy.exec(string);return lastLastIndex===string.length?!lastLength&&separatorCopy.test("")||pushCall(output,""):pushCall(output,strSlice(string,lastLastIndex)),output.length>splitLimit?arraySlice(output,0,splitLimit):output}):"0".split(void 0,0).length&&(StringPrototype.split=function split(separator,limit){return void 0===separator&&0===limit?[]:strSplit(this,separator,limit)});var compliantExecNpcg,maxSafe32BitInt;var str_replace=StringPrototype.replace;groups=[],"x".replace(/x(.)?/g,(function(match,group){pushCall(groups,group)})),(1!==groups.length||void 0!==groups[0])&&(StringPrototype.replace=function replace(searchValue,replaceValue){var isFn=isCallable(replaceValue),hasCapturingGroups=isRegex(searchValue)&&/\)[*?]/.test(searchValue.source);if(!isFn||!hasCapturingGroups)return str_replace.call(this,searchValue,replaceValue);var wrappedReplaceValue=function(match){var length=arguments.length,originalLastIndex=searchValue.lastIndex;searchValue.lastIndex=0;var args=searchValue.exec(match)||[];return searchValue.lastIndex=originalLastIndex,pushCall(args,arguments[length-2],arguments[length-1]),replaceValue.apply(this,args)};return str_replace.call(this,searchValue,wrappedReplaceValue)});var groups;var string_substr=StringPrototype.substr,hasNegativeSubstrBug="".substr&&"b"!=="0b".substr(-1);defineProperties(StringPrototype,{substr:function substr(start,length){var normalizedStart=start;return start<0&&(normalizedStart=max(this.length+start,0)),string_substr.call(this,normalizedStart,length)}},hasNegativeSubstrBug);var ws="\t\n\v\f\r \u2028\u2029\ufeff",zeroWidth="",wsRegexChars="["+ws+"]",trimBeginRegexp=new RegExp("^"+wsRegexChars+wsRegexChars+"*"),trimEndRegexp=new RegExp(wsRegexChars+wsRegexChars+"*$"),hasTrimWhitespaceBug=StringPrototype.trim&&(ws.trim()||!zeroWidth.trim());defineProperties(StringPrototype,{trim:function trim(){if(null==this)throw new TypeError("can't convert "+this+" to object");return $String(this).replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}},hasTrimWhitespaceBug);var trim=call.bind(String.prototype.trim),hasLastIndexBug=StringPrototype.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);defineProperties(StringPrototype,{lastIndexOf:function lastIndexOf(searchString){if(null==this)throw new TypeError("can't convert "+this+" to object");for(var S=$String(this),searchStr=$String(searchString),numPos=arguments.length>1?$Number(arguments[1]):NaN,pos=isActualNaN(numPos)?1/0:ES.ToInteger(numPos),start=min(max(pos,0),S.length),searchLen=searchStr.length,k=start+searchLen;k>0;){k=max(0,k-searchLen);var index=strIndexOf(strSlice(S,k,start+searchLen),searchStr);if(-1!==index)return k+index}return-1}},hasLastIndexBug);var originalLastIndexOf=StringPrototype.lastIndexOf;defineProperties(StringPrototype,{lastIndexOf:function lastIndexOf(searchString){return originalLastIndexOf.apply(this,arguments)}},1!==StringPrototype.lastIndexOf.length);var hexRegex=/^[-+]?0[xX]/;8===parseInt(ws+"08")&&22===parseInt(ws+"0x16")||(parseInt=(origParseInt=parseInt,function parseInt(str,radix){this instanceof parseInt&&new origParseInt;var string=trim(String(str)),defaultedRadix=$Number(radix)||(hexRegex.test(string)?16:10);return origParseInt(string,defaultedRadix)}));var origParseInt;if(function(){if("function"!=typeof Symbol)return!1;try{return parseInt(Object(Symbol.iterator)),!0}catch(e){}try{return parseInt(Symbol.iterator),!0}catch(e){}return!1}()){var symbolValueOf=Symbol.prototype.valueOf;parseInt=function(origParseInt){return function parseInt(str,radix){this instanceof parseInt&&new origParseInt;var isSym="symbol"==typeof str;if(!isSym&&str&&"object"==typeof str)try{symbolValueOf.call(str),isSym=!0}catch(e){}var string=trim(String(str)),defaultedRadix=$Number(radix)||(hexRegex.test(string)?16:10);return origParseInt(string,defaultedRadix)}}(parseInt)}1/parseFloat("-0")!=-1/0&&(parseFloat=(origParseFloat=parseFloat,function parseFloat(string){var inputString=trim(String(string)),result=origParseFloat(inputString);return 0===result&&"-"===strSlice(inputString,0,1)?-0:result}));var origParseFloat;if("RangeError: test"!==String(new RangeError("test"))){var errorToStringShim=function toString(){if(null==this)throw new TypeError("can't convert "+this+" to object");var name=this.name;void 0===name?name="Error":"string"!=typeof name&&(name=$String(name));var msg=this.message;return void 0===msg?msg="":"string"!=typeof msg&&(msg=$String(msg)),name?msg?name+": "+msg:name:msg};Error.prototype.toString=errorToStringShim}if(supportsDescriptors){var ensureNonEnumerable=function(obj,prop){if(isEnum(obj,prop)){var desc=Object.getOwnPropertyDescriptor(obj,prop);desc.configurable&&(desc.enumerable=!1,Object.defineProperty(obj,prop,desc))}};ensureNonEnumerable(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),ensureNonEnumerable(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var regexToString=function toString(){var str="/"+this.source+"/";return this.global&&(str+="g"),this.ignoreCase&&(str+="i"),this.multiline&&(str+="m"),str};RegExp.prototype.toString=regexToString}},void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()},"./node_modules/es6-shim/es6-shim.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__,process=__webpack_require__("./node_modules/process/browser.js");__WEBPACK_AMD_DEFINE_FACTORY__=function(){"use strict";var ArrayIterator,_apply=Function.call.bind(Function.apply),_call=Function.call.bind(Function.call),isArray=Array.isArray,keys=Object.keys,not=function notThunker(func){return function notThunk(){return!_apply(func,this,arguments)}},throwsError=function(func){try{return func(),!1}catch(e){return!0}},valueOrFalseIfThrows=function valueOrFalseIfThrows(func){try{return func()}catch(e){return!1}},isCallableWithoutNew=not(throwsError),arePropertyDescriptorsSupported=function(){return!throwsError((function(){return Object.defineProperty({},"x",{get:function(){}})}))},supportsDescriptors=!!Object.defineProperty&&arePropertyDescriptorsSupported(),functionsHaveNames="foo"===function foo(){}.name,_forEach=Function.call.bind(Array.prototype.forEach),_reduce=Function.call.bind(Array.prototype.reduce),_filter=Function.call.bind(Array.prototype.filter),_some=Function.call.bind(Array.prototype.some),defineProperty=function(object,name,value,force){!force&&name in object||(supportsDescriptors?Object.defineProperty(object,name,{configurable:!0,enumerable:!1,writable:!0,value}):object[name]=value)},defineProperties=function(object,map,forceOverride){_forEach(keys(map),(function(name){var method=map[name];defineProperty(object,name,method,!!forceOverride)}))},_toString=Function.call.bind(Object.prototype.toString),isCallable=function IsCallableFast(x){return"function"==typeof x},Value={getter:function(object,name,getter){if(!supportsDescriptors)throw new TypeError("getters require true ES5 support");Object.defineProperty(object,name,{configurable:!0,enumerable:!1,get:getter})},proxy:function(originalObject,key,targetObject){if(!supportsDescriptors)throw new TypeError("getters require true ES5 support");var originalDescriptor=Object.getOwnPropertyDescriptor(originalObject,key);Object.defineProperty(targetObject,key,{configurable:originalDescriptor.configurable,enumerable:originalDescriptor.enumerable,get:function getKey(){return originalObject[key]},set:function setKey(value){originalObject[key]=value}})},redefine:function(object,property,newValue){if(supportsDescriptors){var descriptor=Object.getOwnPropertyDescriptor(object,property);descriptor.value=newValue,Object.defineProperty(object,property,descriptor)}else object[property]=newValue},defineByDescriptor:function(object,property,descriptor){supportsDescriptors?Object.defineProperty(object,property,descriptor):"value"in descriptor&&(object[property]=descriptor.value)},preserveToString:function(target,source){source&&isCallable(source.toString)&&defineProperty(target,"toString",source.toString.bind(source),!0)}},create=Object.create||function(prototype,properties){var Prototype=function Prototype(){};Prototype.prototype=prototype;var object=new Prototype;return void 0!==properties&&keys(properties).forEach((function(key){Value.defineByDescriptor(object,key,properties[key])})),object},supportsSubclassing=function(C,f){return!!Object.setPrototypeOf&&valueOrFalseIfThrows((function(){var Sub=function Subclass(arg){var o=new C(arg);return Object.setPrototypeOf(o,Subclass.prototype),o};return Object.setPrototypeOf(Sub,C),Sub.prototype=create(C.prototype,{constructor:{value:Sub}}),f(Sub)}))},globals=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==__webpack_require__.g)return __webpack_require__.g;throw new Error("unable to locate global object")}(),globalIsFinite=globals.isFinite,_indexOf=Function.call.bind(String.prototype.indexOf),_arrayIndexOfApply=Function.apply.bind(Array.prototype.indexOf),_concat=Function.call.bind(Array.prototype.concat),_strSlice=Function.call.bind(String.prototype.slice),_push=Function.call.bind(Array.prototype.push),_pushApply=Function.apply.bind(Array.prototype.push),_join=Function.call.bind(Array.prototype.join),_shift=Function.call.bind(Array.prototype.shift),_max=Math.max,_min=Math.min,_floor=Math.floor,_abs=Math.abs,_exp=Math.exp,_log=Math.log,_sqrt=Math.sqrt,_hasOwnProperty=Function.call.bind(Object.prototype.hasOwnProperty),noop=function(){},OrigMap=globals.Map,origMapDelete=OrigMap&&OrigMap.prototype.delete,origMapGet=OrigMap&&OrigMap.prototype.get,origMapHas=OrigMap&&OrigMap.prototype.has,origMapSet=OrigMap&&OrigMap.prototype.set,Symbol=globals.Symbol||{},symbolSpecies=Symbol.species||"@@species",numberIsNaN=Number.isNaN||function isNaN(value){return value!=value},numberIsFinite=Number.isFinite||function isFinite(value){return"number"==typeof value&&globalIsFinite(value)},_sign=isCallable(Math.sign)?Math.sign:function sign(value){var number=Number(value);return 0===number||numberIsNaN(number)?number:number<0?-1:1},_log1p=function log1p(value){var x=Number(value);return x<-1||numberIsNaN(x)?NaN:0===x||x===1/0?x:-1===x?-1/0:1+x-1==0?x:x*(_log(1+x)/(1+x-1))},isStandardArguments=function isArguments(value){return"[object Arguments]"===_toString(value)},isLegacyArguments=function isArguments(value){return null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==_toString(value)&&"[object Function]"===_toString(value.callee)},isArguments=isStandardArguments(arguments)?isStandardArguments:isLegacyArguments,Type={primitive:function(x){return null===x||"function"!=typeof x&&"object"!=typeof x},string:function(x){return"[object String]"===_toString(x)},regex:function(x){return"[object RegExp]"===_toString(x)},symbol:function(x){return"function"==typeof globals.Symbol&&"symbol"==typeof x}},overrideNative=function overrideNative(object,property,replacement){var original=object[property];defineProperty(object,property,replacement,!0),Value.preserveToString(object[property],original)},hasSymbols="function"==typeof Symbol&&"function"==typeof Symbol.for&&Type.symbol(Symbol()),$iterator$=Type.symbol(Symbol.iterator)?Symbol.iterator:"_es6-shim iterator_";globals.Set&&"function"==typeof(new globals.Set)["@@iterator"]&&($iterator$="@@iterator"),globals.Reflect||defineProperty(globals,"Reflect",{},!0);var o,Reflect=globals.Reflect,$String=String,domAll="undefined"!=typeof document&&document?document.all:null,isNullOrUndefined=null==domAll?function isNullOrUndefined(x){return null==x}:function isNullOrUndefinedAndNotDocumentAll(x){return null==x&&x!==domAll},ES={Call:function Call(F,V){var args=arguments.length>2?arguments[2]:[];if(!ES.IsCallable(F))throw new TypeError(F+" is not a function");return _apply(F,V,args)},RequireObjectCoercible:function(x,optMessage){if(isNullOrUndefined(x))throw new TypeError(optMessage||"Cannot call method on "+x);return x},TypeIsObject:function(x){return null!=x&&!0!==x&&!1!==x&&("function"==typeof x||"object"==typeof x||x===domAll)},ToObject:function(o,optMessage){return Object(ES.RequireObjectCoercible(o,optMessage))},IsCallable:isCallable,IsConstructor:function(x){return ES.IsCallable(x)},ToInt32:function(x){return ES.ToNumber(x)>>0},ToUint32:function(x){return ES.ToNumber(x)>>>0},ToNumber:function(value){if(hasSymbols&&"[object Symbol]"===_toString(value))throw new TypeError("Cannot convert a Symbol value to a number");return+value},ToInteger:function(value){var number=ES.ToNumber(value);return numberIsNaN(number)?0:0!==number&&numberIsFinite(number)?(number>0?1:-1)*_floor(_abs(number)):number},ToLength:function(value){var len=ES.ToInteger(value);return len<=0?0:len>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:len},SameValue:function(a,b){return a===b?0!==a||1/a==1/b:numberIsNaN(a)&&numberIsNaN(b)},SameValueZero:function(a,b){return a===b||numberIsNaN(a)&&numberIsNaN(b)},IsIterable:function(o){return ES.TypeIsObject(o)&&(void 0!==o[$iterator$]||isArguments(o))},GetIterator:function(o){if(isArguments(o))return new ArrayIterator(o,"value");var itFn=ES.GetMethod(o,$iterator$);if(!ES.IsCallable(itFn))throw new TypeError("value is not an iterable");var it=ES.Call(itFn,o);if(!ES.TypeIsObject(it))throw new TypeError("bad iterator");return it},GetMethod:function(o,p){var func=ES.ToObject(o)[p];if(!isNullOrUndefined(func)){if(!ES.IsCallable(func))throw new TypeError("Method not callable: "+p);return func}},IteratorComplete:function(iterResult){return!!iterResult.done},IteratorClose:function(iterator,completionIsThrow){var returnMethod=ES.GetMethod(iterator,"return");if(void 0!==returnMethod){var innerResult,innerException;try{innerResult=ES.Call(returnMethod,iterator)}catch(e){innerException=e}if(!completionIsThrow){if(innerException)throw innerException;if(!ES.TypeIsObject(innerResult))throw new TypeError("Iterator's return method returned a non-object.")}}},IteratorNext:function(it){var result=arguments.length>1?it.next(arguments[1]):it.next();if(!ES.TypeIsObject(result))throw new TypeError("bad iterator");return result},IteratorStep:function(it){var result=ES.IteratorNext(it);return!ES.IteratorComplete(result)&&result},Construct:function(C,args,newTarget,isES6internal){var target=void 0===newTarget?C:newTarget;if(!isES6internal&&Reflect.construct)return Reflect.construct(C,args,target);var proto=target.prototype;ES.TypeIsObject(proto)||(proto=Object.prototype);var obj=create(proto),result=ES.Call(C,obj,args);return ES.TypeIsObject(result)?result:obj},SpeciesConstructor:function(O,defaultConstructor){var C=O.constructor;if(void 0===C)return defaultConstructor;if(!ES.TypeIsObject(C))throw new TypeError("Bad constructor");var S=C[symbolSpecies];if(isNullOrUndefined(S))return defaultConstructor;if(!ES.IsConstructor(S))throw new TypeError("Bad @@species");return S},CreateHTML:function(string,tag,attribute,value){var S=ES.ToString(string),p1="<"+tag;return""!==attribute&&(p1+=" "+attribute+'="'+ES.ToString(value).replace(/"/g,""")+'"'),p1+">"+S+"</"+tag+">"},IsRegExp:function IsRegExp(argument){if(!ES.TypeIsObject(argument))return!1;var isRegExp=argument[Symbol.match];return void 0!==isRegExp?!!isRegExp:Type.regex(argument)},ToString:function ToString(string){if(hasSymbols&&"[object Symbol]"===_toString(string))throw new TypeError("Cannot convert a Symbol value to a number");return $String(string)}};if(supportsDescriptors&&hasSymbols){var defineWellKnownSymbol=function defineWellKnownSymbol(name){if(Type.symbol(Symbol[name]))return Symbol[name];var sym=Symbol.for("Symbol."+name);return Object.defineProperty(Symbol,name,{configurable:!1,enumerable:!1,writable:!1,value:sym}),sym};if(!Type.symbol(Symbol.search)){var symbolSearch=defineWellKnownSymbol("search"),originalSearch=String.prototype.search;defineProperty(RegExp.prototype,symbolSearch,(function search(string){return ES.Call(originalSearch,string,[this])}));var searchShim=function search(regexp){var O=ES.RequireObjectCoercible(this);if(!isNullOrUndefined(regexp)){var searcher=ES.GetMethod(regexp,symbolSearch);if(void 0!==searcher)return ES.Call(searcher,regexp,[O])}return ES.Call(originalSearch,O,[ES.ToString(regexp)])};overrideNative(String.prototype,"search",searchShim)}if(!Type.symbol(Symbol.replace)){var symbolReplace=defineWellKnownSymbol("replace"),originalReplace=String.prototype.replace;defineProperty(RegExp.prototype,symbolReplace,(function replace(string,replaceValue){return ES.Call(originalReplace,string,[this,replaceValue])}));var replaceShim=function replace(searchValue,replaceValue){var O=ES.RequireObjectCoercible(this);if(!isNullOrUndefined(searchValue)){var replacer=ES.GetMethod(searchValue,symbolReplace);if(void 0!==replacer)return ES.Call(replacer,searchValue,[O,replaceValue])}return ES.Call(originalReplace,O,[ES.ToString(searchValue),replaceValue])};overrideNative(String.prototype,"replace",replaceShim)}if(!Type.symbol(Symbol.split)){var symbolSplit=defineWellKnownSymbol("split"),originalSplit=String.prototype.split;defineProperty(RegExp.prototype,symbolSplit,(function split(string,limit){return ES.Call(originalSplit,string,[this,limit])}));var splitShim=function split(separator,limit){var O=ES.RequireObjectCoercible(this);if(!isNullOrUndefined(separator)){var splitter=ES.GetMethod(separator,symbolSplit);if(void 0!==splitter)return ES.Call(splitter,separator,[O,limit])}return ES.Call(originalSplit,O,[ES.ToString(separator),limit])};overrideNative(String.prototype,"split",splitShim)}var symbolMatchExists=Type.symbol(Symbol.match),stringMatchIgnoresSymbolMatch=symbolMatchExists&&((o={})[Symbol.match]=function(){return 42},42!=="a".match(o));if(!symbolMatchExists||stringMatchIgnoresSymbolMatch){var symbolMatch=defineWellKnownSymbol("match"),originalMatch=String.prototype.match;defineProperty(RegExp.prototype,symbolMatch,(function match(string){return ES.Call(originalMatch,string,[this])}));var matchShim=function match(regexp){var O=ES.RequireObjectCoercible(this);if(!isNullOrUndefined(regexp)){var matcher=ES.GetMethod(regexp,symbolMatch);if(void 0!==matcher)return ES.Call(matcher,regexp,[O])}return ES.Call(originalMatch,O,[ES.ToString(regexp)])};overrideNative(String.prototype,"match",matchShim)}}var wrapConstructor=function wrapConstructor(original,replacement,keysToSkip){Value.preserveToString(replacement,original),Object.setPrototypeOf&&Object.setPrototypeOf(original,replacement),supportsDescriptors?_forEach(Object.getOwnPropertyNames(original),(function(key){key in noop||keysToSkip[key]||Value.proxy(original,key,replacement)})):_forEach(Object.keys(original),(function(key){key in noop||keysToSkip[key]||(replacement[key]=original[key])})),replacement.prototype=original.prototype,Value.redefine(original.prototype,"constructor",replacement)},defaultSpeciesGetter=function(){return this},addDefaultSpecies=function(C){supportsDescriptors&&!_hasOwnProperty(C,symbolSpecies)&&Value.getter(C,symbolSpecies,defaultSpeciesGetter)},addIterator=function(prototype,impl){var implementation=impl||function iterator(){return this};defineProperty(prototype,$iterator$,implementation),!prototype[$iterator$]&&Type.symbol($iterator$)&&(prototype[$iterator$]=implementation)},createDataProperty=function createDataProperty(object,name,value){supportsDescriptors?Object.defineProperty(object,name,{configurable:!0,enumerable:!0,writable:!0,value}):object[name]=value},createDataPropertyOrThrow=function createDataPropertyOrThrow(object,name,value){if(createDataProperty(object,name,value),!ES.SameValue(object[name],value))throw new TypeError("property is nonconfigurable")},emulateES6construct=function(o,defaultNewTarget,defaultProto,slots){if(!ES.TypeIsObject(o))throw new TypeError("Constructor requires `new`: "+defaultNewTarget.name);var proto=defaultNewTarget.prototype;ES.TypeIsObject(proto)||(proto=defaultProto);var obj=create(proto);for(var name in slots)if(_hasOwnProperty(slots,name)){var value=slots[name];defineProperty(obj,name,value,!0)}return obj};if(String.fromCodePoint&&1!==String.fromCodePoint.length){var originalFromCodePoint=String.fromCodePoint;overrideNative(String,"fromCodePoint",(function fromCodePoint(codePoints){return ES.Call(originalFromCodePoint,this,arguments)}))}var StringShims={fromCodePoint:function fromCodePoint(codePoints){for(var next,result=[],i=0,length=arguments.length;i<length;i++){if(next=Number(arguments[i]),!ES.SameValue(next,ES.ToInteger(next))||next<0||next>1114111)throw new RangeError("Invalid code point "+next);next<65536?_push(result,String.fromCharCode(next)):(next-=65536,_push(result,String.fromCharCode(55296+(next>>10))),_push(result,String.fromCharCode(next%1024+56320)))}return _join(result,"")},raw:function raw(template){var cooked=ES.ToObject(template,"bad template"),raw=ES.ToObject(cooked.raw,"bad raw value"),len=raw.length,literalSegments=ES.ToLength(len);if(literalSegments<=0)return"";for(var nextKey,next,nextSeg,nextSub,stringElements=[],nextIndex=0;nextIndex<literalSegments&&(nextKey=ES.ToString(nextIndex),nextSeg=ES.ToString(raw[nextKey]),_push(stringElements,nextSeg),!(nextIndex+1>=literalSegments));)next=nextIndex+1<arguments.length?arguments[nextIndex+1]:"",nextSub=ES.ToString(next),_push(stringElements,nextSub),nextIndex+=1;return _join(stringElements,"")}};String.raw&&"xy"!==String.raw({raw:{0:"x",1:"y",length:2}})&&overrideNative(String,"raw",StringShims.raw),defineProperties(String,StringShims);var stringRepeat=function repeat(s,times){if(times<1)return"";if(times%2)return repeat(s,times-1)+s;var half=repeat(s,times/2);return half+half},stringMaxLength=1/0,StringPrototypeShims={repeat:function repeat(times){var thisStr=ES.ToString(ES.RequireObjectCoercible(this)),numTimes=ES.ToInteger(times);if(numTimes<0||numTimes>=stringMaxLength)throw new RangeError("repeat count must be less than infinity and not overflow maximum string size");return stringRepeat(thisStr,numTimes)},startsWith:function startsWith(searchString){var S=ES.ToString(ES.RequireObjectCoercible(this));if(ES.IsRegExp(searchString))throw new TypeError('Cannot call method "startsWith" with a regex');var position,searchStr=ES.ToString(searchString);arguments.length>1&&(position=arguments[1]);var start=_max(ES.ToInteger(position),0);return _strSlice(S,start,start+searchStr.length)===searchStr},endsWith:function endsWith(searchString){var S=ES.ToString(ES.RequireObjectCoercible(this));if(ES.IsRegExp(searchString))throw new TypeError('Cannot call method "endsWith" with a regex');var endPosition,searchStr=ES.ToString(searchString),len=S.length;arguments.length>1&&(endPosition=arguments[1]);var pos=void 0===endPosition?len:ES.ToInteger(endPosition),end=_min(_max(pos,0),len);return _strSlice(S,end-searchStr.length,end)===searchStr},includes:function includes(searchString){if(ES.IsRegExp(searchString))throw new TypeError('"includes" does not accept a RegExp');var position,searchStr=ES.ToString(searchString);return arguments.length>1&&(position=arguments[1]),-1!==_indexOf(this,searchStr,position)},codePointAt:function codePointAt(pos){var thisStr=ES.ToString(ES.RequireObjectCoercible(this)),position=ES.ToInteger(pos),length=thisStr.length;if(position>=0&&position<length){var first=thisStr.charCodeAt(position);if(first<55296||first>56319||position+1===length)return first;var second=thisStr.charCodeAt(position+1);return second<56320||second>57343?first:1024*(first-55296)+(second-56320)+65536}}};if(String.prototype.includes&&!1!=="a".includes("a",1/0)&&overrideNative(String.prototype,"includes",StringPrototypeShims.includes),String.prototype.startsWith&&String.prototype.endsWith){var startsWithRejectsRegex=throwsError((function(){return"/a/".startsWith(/a/)})),startsWithHandlesInfinity=valueOrFalseIfThrows((function(){return!1==="abc".startsWith("a",1/0)}));startsWithRejectsRegex&&startsWithHandlesInfinity||(overrideNative(String.prototype,"startsWith",StringPrototypeShims.startsWith),overrideNative(String.prototype,"endsWith",StringPrototypeShims.endsWith))}hasSymbols&&(valueOrFalseIfThrows((function(){var re=/a/;return re[Symbol.match]=!1,"/a/".startsWith(re)}))||overrideNative(String.prototype,"startsWith",StringPrototypeShims.startsWith),valueOrFalseIfThrows((function(){var re=/a/;return re[Symbol.match]=!1,"/a/".endsWith(re)}))||overrideNative(String.prototype,"endsWith",StringPrototypeShims.endsWith),valueOrFalseIfThrows((function(){var re=/a/;return re[Symbol.match]=!1,"/a/".includes(re)}))||overrideNative(String.prototype,"includes",StringPrototypeShims.includes)),defineProperties(String.prototype,StringPrototypeShims);var ws=["\t\n\v\f\r "," \u2028","\u2029\ufeff"].join(""),trimRegexp=new RegExp("(^["+ws+"]+)|(["+ws+"]+$)","g"),trimShim=function trim(){return ES.ToString(ES.RequireObjectCoercible(this)).replace(trimRegexp,"")},nonWS=["
","",""].join(""),nonWSregex=new RegExp("["+nonWS+"]","g"),isBadHexRegex=/^[-+]0x[0-9a-f]+$/i,hasStringTrimBug=nonWS.trim().length!==nonWS.length;defineProperty(String.prototype,"trim",trimShim,hasStringTrimBug);var iteratorResult=function(x){return{value:x,done:0===arguments.length}},StringIterator=function(s){ES.RequireObjectCoercible(s),this._s=ES.ToString(s),this._i=0};StringIterator.prototype.next=function(){var s=this._s,i=this._i;if(void 0===s||i>=s.length)return this._s=void 0,iteratorResult();var second,len,first=s.charCodeAt(i);return len=first<55296||first>56319||i+1===s.length||(second=s.charCodeAt(i+1))<56320||second>57343?1:2,this._i=i+len,iteratorResult(s.substr(i,len))},addIterator(StringIterator.prototype),addIterator(String.prototype,(function(){return new StringIterator(this)}));var ArrayShims={from:function from(items){var mapFn,mapping,T,length,result,i,C=this;if(arguments.length>1&&(mapFn=arguments[1]),void 0===mapFn)mapping=!1;else{if(!ES.IsCallable(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(T=arguments[2]),mapping=!0}if(void 0!==(isArguments(items)||ES.GetMethod(items,$iterator$))){result=ES.IsConstructor(C)?Object(new C):[];var next,nextValue,iterator=ES.GetIterator(items);for(i=0;!1!==(next=ES.IteratorStep(iterator));){nextValue=next.value;try{mapping&&(nextValue=void 0===T?mapFn(nextValue,i):_call(mapFn,T,nextValue,i)),result[i]=nextValue}catch(e){throw ES.IteratorClose(iterator,!0),e}i+=1}length=i}else{var value,arrayLike=ES.ToObject(items);for(length=ES.ToLength(arrayLike.length),result=ES.IsConstructor(C)?Object(new C(length)):new Array(length),i=0;i<length;++i)value=arrayLike[i],mapping&&(value=void 0===T?mapFn(value,i):_call(mapFn,T,value,i)),createDataPropertyOrThrow(result,i,value)}return result.length=length,result},of:function of(){for(var len=arguments.length,C=this,A=isArray(C)||!ES.IsCallable(C)?new Array(len):ES.Construct(C,[len]),k=0;k<len;++k)createDataPropertyOrThrow(A,k,arguments[k]);return A.length=len,A}};defineProperties(Array,ArrayShims),addDefaultSpecies(Array),defineProperties((ArrayIterator=function(array,kind){this.i=0,this.array=array,this.kind=kind}).prototype,{next:function(){var i=this.i,array=this.array;if(!(this instanceof ArrayIterator))throw new TypeError("Not an ArrayIterator");if(void 0!==array&&i<ES.ToLength(array.length)){var retval,kind=this.kind;return"key"===kind?retval=i:"value"===kind?retval=array[i]:"entry"===kind&&(retval=[i,array[i]]),this.i=i+1,iteratorResult(retval)}return this.array=void 0,iteratorResult()}}),addIterator(ArrayIterator.prototype),Array.of===ArrayShims.of||function(){var Foo=function Foo(len){this.length=len};Foo.prototype=[];var fooArr=Array.of.apply(Foo,[1,2]);return fooArr instanceof Foo&&2===fooArr.length}()||overrideNative(Array,"of",ArrayShims.of);var ArrayPrototypeShims={copyWithin:function copyWithin(target,start){var end,o=ES.ToObject(this),len=ES.ToLength(o.length),relativeTarget=ES.ToInteger(target),relativeStart=ES.ToInteger(start),to=relativeTarget<0?_max(len+relativeTarget,0):_min(relativeTarget,len),from=relativeStart<0?_max(len+relativeStart,0):_min(relativeStart,len);arguments.length>2&&(end=arguments[2]);var relativeEnd=void 0===end?len:ES.ToInteger(end),finalItem=relativeEnd<0?_max(len+relativeEnd,0):_min(relativeEnd,len),count=_min(finalItem-from,len-to),direction=1;for(from<to&&to<from+count&&(direction=-1,from+=count-1,to+=count-1);count>0;)from in o?o[to]=o[from]:delete o[to],from+=direction,to+=direction,count-=1;return o},fill:function fill(value){var start,end;arguments.length>1&&(start=arguments[1]),arguments.length>2&&(end=arguments[2]);var O=ES.ToObject(this),len=ES.ToLength(O.length);start=ES.ToInteger(void 0===start?0:start);for(var relativeEnd=(end=ES.ToInteger(void 0===end?len:end))<0?len+end:end,i=start<0?_max(len+start,0):_min(start,len);i<len&&i<relativeEnd;++i)O[i]=value;return O},find:function find(predicate){var list=ES.ToObject(this),length=ES.ToLength(list.length);if(!ES.IsCallable(predicate))throw new TypeError("Array#find: predicate must be a function");for(var value,thisArg=arguments.length>1?arguments[1]:null,i=0;i<length;i++)if(value=list[i],thisArg){if(_call(predicate,thisArg,value,i,list))return value}else if(predicate(value,i,list))return value},findIndex:function findIndex(predicate){var list=ES.ToObject(this),length=ES.ToLength(list.length);if(!ES.IsCallable(predicate))throw new TypeError("Array#findIndex: predicate must be a function");for(var thisArg=arguments.length>1?arguments[1]:null,i=0;i<length;i++)if(thisArg){if(_call(predicate,thisArg,list[i],i,list))return i}else if(predicate(list[i],i,list))return i;return-1},keys:function keys(){return new ArrayIterator(this,"key")},values:function values(){return new ArrayIterator(this,"value")},entries:function entries(){return new ArrayIterator(this,"entry")}};if(Array.prototype.keys&&!ES.IsCallable([1].keys().next)&&delete Array.prototype.keys,Array.prototype.entries&&!ES.IsCallable([1].entries().next)&&delete Array.prototype.entries,Array.prototype.keys&&Array.prototype.entries&&!Array.prototype.values&&Array.prototype[$iterator$]&&(defineProperties(Array.prototype,{values:Array.prototype[$iterator$]}),Type.symbol(Symbol.unscopables)&&(Array.prototype[Symbol.unscopables].values=!0)),functionsHaveNames&&Array.prototype.values&&"values"!==Array.prototype.values.name){var originalArrayPrototypeValues=Array.prototype.values;overrideNative(Array.prototype,"values",(function values(){return ES.Call(originalArrayPrototypeValues,this,arguments)})),defineProperty(Array.prototype,$iterator$,Array.prototype.values,!0)}defineProperties(Array.prototype,ArrayPrototypeShims),1/[!0].indexOf(!0,-0)<0&&defineProperty(Array.prototype,"indexOf",(function indexOf(searchElement){var value=_arrayIndexOfApply(this,arguments);return 0===value&&1/value<0?0:value}),!0),addIterator(Array.prototype,(function(){return this.values()})),Object.getPrototypeOf&&addIterator(Object.getPrototypeOf([].values()));var arr,arrayFromSwallowsNegativeLengths=valueOrFalseIfThrows((function(){return 0===Array.from({length:-1}).length})),arrayFromHandlesIterables=1===(arr=Array.from([0].entries())).length&&isArray(arr[0])&&0===arr[0][0]&&0===arr[0][1];if(arrayFromSwallowsNegativeLengths&&arrayFromHandlesIterables||overrideNative(Array,"from",ArrayShims.from),!valueOrFalseIfThrows((function(){return Array.from([0],void 0)}))){var origArrayFrom=Array.from;overrideNative(Array,"from",(function from(items){return arguments.length>1&&void 0!==arguments[1]?ES.Call(origArrayFrom,this,arguments):_call(origArrayFrom,this,items)}))}var int32sAsOne=-(Math.pow(2,32)-1),toLengthsCorrectly=function(method,reversed){var obj={length:int32sAsOne};return obj[reversed?(obj.length>>>0)-1:0]=!0,valueOrFalseIfThrows((function(){return _call(method,obj,(function(){throw new RangeError("should not reach here")}),[]),!0}))};if(!toLengthsCorrectly(Array.prototype.forEach)){var originalForEach=Array.prototype.forEach;overrideNative(Array.prototype,"forEach",(function forEach(callbackFn){return ES.Call(originalForEach,this.length>=0?this:[],arguments)}))}if(!toLengthsCorrectly(Array.prototype.map)){var originalMap=Array.prototype.map;overrideNative(Array.prototype,"map",(function map(callbackFn){return ES.Call(originalMap,this.length>=0?this:[],arguments)}))}if(!toLengthsCorrectly(Array.prototype.filter)){var originalFilter=Array.prototype.filter;overrideNative(Array.prototype,"filter",(function filter(callbackFn){return ES.Call(originalFilter,this.length>=0?this:[],arguments)}))}if(!toLengthsCorrectly(Array.prototype.some)){var originalSome=Array.prototype.some;overrideNative(Array.prototype,"some",(function some(callbackFn){return ES.Call(originalSome,this.length>=0?this:[],arguments)}))}if(!toLengthsCorrectly(Array.prototype.every)){var originalEvery=Array.prototype.every;overrideNative(Array.prototype,"every",(function every(callbackFn){return ES.Call(originalEvery,this.length>=0?this:[],arguments)}))}if(!toLengthsCorrectly(Array.prototype.reduce)){var originalReduce=Array.prototype.reduce;overrideNative(Array.prototype,"reduce",(function reduce(callbackFn){return ES.Call(originalReduce,this.length>=0?this:[],arguments)}))}if(!toLengthsCorrectly(Array.prototype.reduceRight,!0)){var originalReduceRight=Array.prototype.reduceRight;overrideNative(Array.prototype,"reduceRight",(function reduceRight(callbackFn){return ES.Call(originalReduceRight,this.length>=0?this:[],arguments)}))}var lacksOctalSupport=8!==Number("0o10"),lacksBinarySupport=2!==Number("0b10"),trimsNonWhitespace=_some(nonWS,(function(c){return 0===Number(c+0+c)}));if(lacksOctalSupport||lacksBinarySupport||trimsNonWhitespace){var OrigNumber=Number,binaryRegex=/^0b[01]+$/i,octalRegex=/^0o[0-7]+$/i,isBinary=binaryRegex.test.bind(binaryRegex),isOctal=octalRegex.test.bind(octalRegex),toPrimitive=function(O,hint){var result;if("function"==typeof O.valueOf&&(result=O.valueOf(),Type.primitive(result)))return result;if("function"==typeof O.toString&&(result=O.toString(),Type.primitive(result)))return result;throw new TypeError("No default value")},hasNonWS=nonWSregex.test.bind(nonWSregex),isBadHex=isBadHexRegex.test.bind(isBadHexRegex),NumberShim=function(){var NumberShim=function Number(value){var primValue;"string"==typeof(primValue=arguments.length>0?Type.primitive(value)?value:toPrimitive(value,"number"):0)&&(primValue=ES.Call(trimShim,primValue),isBinary(primValue)?primValue=parseInt(_strSlice(primValue,2),2):isOctal(primValue)?primValue=parseInt(_strSlice(primValue,2),8):(hasNonWS(primValue)||isBadHex(primValue))&&(primValue=NaN));var receiver=this,valueOfSucceeds=valueOrFalseIfThrows((function(){return OrigNumber.prototype.valueOf.call(receiver),!0}));return receiver instanceof NumberShim&&!valueOfSucceeds?new OrigNumber(primValue):OrigNumber(primValue)};return NumberShim}();wrapConstructor(OrigNumber,NumberShim,{}),defineProperties(NumberShim,{NaN:OrigNumber.NaN,MAX_VALUE:OrigNumber.MAX_VALUE,MIN_VALUE:OrigNumber.MIN_VALUE,NEGATIVE_INFINITY:OrigNumber.NEGATIVE_INFINITY,POSITIVE_INFINITY:OrigNumber.POSITIVE_INFINITY}),Number=NumberShim,Value.redefine(globals,"Number",NumberShim)}var maxSafeInteger=Math.pow(2,53)-1;defineProperties(Number,{MAX_SAFE_INTEGER:maxSafeInteger,MIN_SAFE_INTEGER:-maxSafeInteger,EPSILON:2220446049250313e-31,parseInt:globals.parseInt,parseFloat:globals.parseFloat,isFinite:numberIsFinite,isInteger:function isInteger(value){return numberIsFinite(value)&&ES.ToInteger(value)===value},isSafeInteger:function isSafeInteger(value){return Number.isInteger(value)&&_abs(value)<=Number.MAX_SAFE_INTEGER},isNaN:numberIsNaN}),defineProperty(Number,"parseInt",globals.parseInt,Number.parseInt!==globals.parseInt),1===[,1].find((function(){return!0}))&&overrideNative(Array.prototype,"find",ArrayPrototypeShims.find),0!==[,1].findIndex((function(){return!0}))&&overrideNative(Array.prototype,"findIndex",ArrayPrototypeShims.findIndex);var FAKENULL,gpo,spo,isEnumerableOn=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),ensureEnumerable=function ensureEnumerable(obj,prop){supportsDescriptors&&isEnumerableOn(obj,prop)&&Object.defineProperty(obj,prop,{enumerable:!1})},sliceArgs=function sliceArgs(){for(var initial=Number(this),len=arguments.length,desiredArgCount=len-initial,args=new Array(desiredArgCount<0?0:desiredArgCount),i=initial;i<len;++i)args[i-initial]=arguments[i];return args},assignTo=function assignTo(source){return function assignToSource(target,key){return target[key]=source[key],target}},assignReducer=function(target,source){var symbols,sourceKeys=keys(Object(source));return ES.IsCallable(Object.getOwnPropertySymbols)&&(symbols=_filter(Object.getOwnPropertySymbols(Object(source)),isEnumerableOn(source))),_reduce(_concat(sourceKeys,symbols||[]),assignTo(source),target)},ObjectShims={assign:function(target,source){var to=ES.ToObject(target,"Cannot convert undefined or null to object");return _reduce(ES.Call(sliceArgs,1,arguments),assignReducer,to)},is:function is(a,b){return ES.SameValue(a,b)}};if(Object.assign&&Object.preventExtensions&&function(){var thrower=Object.preventExtensions({1:2});try{Object.assign(thrower,"xy")}catch(e){return"y"===thrower[1]}}()&&overrideNative(Object,"assign",ObjectShims.assign),defineProperties(Object,ObjectShims),supportsDescriptors){var ES5ObjectShims={setPrototypeOf:function(Object,magic){var set,checkArgs=function(O,proto){if(!ES.TypeIsObject(O))throw new TypeError("cannot set prototype on a non-object");if(null!==proto&&!ES.TypeIsObject(proto))throw new TypeError("can only set prototype to an object or null"+proto)},setPrototypeOf=function(O,proto){return checkArgs(O,proto),_call(set,O,proto),O};try{set=Object.getOwnPropertyDescriptor(Object.prototype,magic).set,_call(set,{},null)}catch(e){if(Object.prototype!=={}[magic])return;set=function(proto){this[magic]=proto},setPrototypeOf.polyfill=setPrototypeOf(setPrototypeOf({},null),Object.prototype)instanceof Object}return setPrototypeOf}(Object,"__proto__")};defineProperties(Object,ES5ObjectShims)}if(Object.setPrototypeOf&&Object.getPrototypeOf&&null!==Object.getPrototypeOf(Object.setPrototypeOf({},null))&&null===Object.getPrototypeOf(Object.create(null))&&(FAKENULL=Object.create(null),gpo=Object.getPrototypeOf,spo=Object.setPrototypeOf,Object.getPrototypeOf=function(o){var result=gpo(o);return result===FAKENULL?null:result},Object.setPrototypeOf=function(o,p){return spo(o,null===p?FAKENULL:p)},Object.setPrototypeOf.polyfill=!1),throwsError((function(){return Object.keys("foo")}))){var originalObjectKeys=Object.keys;overrideNative(Object,"keys",(function keys(value){return originalObjectKeys(ES.ToObject(value))})),keys=Object.keys}if(throwsError((function(){return Object.keys(/a/g)}))){var regexRejectingObjectKeys=Object.keys;overrideNative(Object,"keys",(function keys(value){if(Type.regex(value)){var regexKeys=[];for(var k in value)_hasOwnProperty(value,k)&&_push(regexKeys,k);return regexKeys}return regexRejectingObjectKeys(value)})),keys=Object.keys}if(Object.getOwnPropertyNames&&throwsError((function(){return Object.getOwnPropertyNames("foo")}))){var cachedWindowNames="object"==typeof window?Object.getOwnPropertyNames(window):[],originalObjectGetOwnPropertyNames=Object.getOwnPropertyNames;overrideNative(Object,"getOwnPropertyNames",(function getOwnPropertyNames(value){var val=ES.ToObject(value);if("[object Window]"===_toString(val))try{return originalObjectGetOwnPropertyNames(val)}catch(e){return _concat([],cachedWindowNames)}return originalObjectGetOwnPropertyNames(val)}))}if(Object.getOwnPropertyDescriptor&&throwsError((function(){return Object.getOwnPropertyDescriptor("foo","bar")}))){var originalObjectGetOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;overrideNative(Object,"getOwnPropertyDescriptor",(function getOwnPropertyDescriptor(value,property){return originalObjectGetOwnPropertyDescriptor(ES.ToObject(value),property)}))}if(Object.seal&&throwsError((function(){return Object.seal("foo")}))){var originalObjectSeal=Object.seal;overrideNative(Object,"seal",(function seal(value){return ES.TypeIsObject(value)?originalObjectSeal(value):value}))}if(Object.isSealed&&throwsError((function(){return Object.isSealed("foo")}))){var originalObjectIsSealed=Object.isSealed;overrideNative(Object,"isSealed",(function isSealed(value){return!ES.TypeIsObject(value)||originalObjectIsSealed(value)}))}if(Object.freeze&&throwsError((function(){return Object.freeze("foo")}))){var originalObjectFreeze=Object.freeze;overrideNative(Object,"freeze",(function freeze(value){return ES.TypeIsObject(value)?originalObjectFreeze(value):value}))}if(Object.isFrozen&&throwsError((function(){return Object.isFrozen("foo")}))){var originalObjectIsFrozen=Object.isFrozen;overrideNative(Object,"isFrozen",(function isFrozen(value){return!ES.TypeIsObject(value)||originalObjectIsFrozen(value)}))}if(Object.preventExtensions&&throwsError((function(){return Object.preventExtensions("foo")}))){var originalObjectPreventExtensions=Object.preventExtensions;overrideNative(Object,"preventExtensions",(function preventExtensions(value){return ES.TypeIsObject(value)?originalObjectPreventExtensions(value):value}))}if(Object.isExtensible&&throwsError((function(){return Object.isExtensible("foo")}))){var originalObjectIsExtensible=Object.isExtensible;overrideNative(Object,"isExtensible",(function isExtensible(value){return!!ES.TypeIsObject(value)&&originalObjectIsExtensible(value)}))}if(Object.getPrototypeOf&&throwsError((function(){return Object.getPrototypeOf("foo")}))){var originalGetProto=Object.getPrototypeOf;overrideNative(Object,"getPrototypeOf",(function getPrototypeOf(value){return originalGetProto(ES.ToObject(value))}))}var desc,hasFlags=supportsDescriptors&&((desc=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags"))&&ES.IsCallable(desc.get));if(supportsDescriptors&&!hasFlags){var regExpFlagsGetter=function flags(){if(!ES.TypeIsObject(this))throw new TypeError("Method called on incompatible type: must be an object.");var result="";return this.global&&(result+="g"),this.ignoreCase&&(result+="i"),this.multiline&&(result+="m"),this.unicode&&(result+="u"),this.sticky&&(result+="y"),result};Value.getter(RegExp.prototype,"flags",regExpFlagsGetter)}var regex,regExpSupportsFlagsWithRegex=supportsDescriptors&&valueOrFalseIfThrows((function(){return"/a/i"===String(new RegExp(/a/g,"i"))})),regExpNeedsToSupportSymbolMatch=hasSymbols&&supportsDescriptors&&((regex=/./)[Symbol.match]=!1,RegExp(regex)===regex),regexToStringIsGeneric=valueOrFalseIfThrows((function(){return"/abc/"===RegExp.prototype.toString.call({source:"abc"})})),regexToStringSupportsGenericFlags=regexToStringIsGeneric&&valueOrFalseIfThrows((function(){return"/a/b"===RegExp.prototype.toString.call({source:"a",flags:"b"})}));if(!regexToStringIsGeneric||!regexToStringSupportsGenericFlags){var origRegExpToString=RegExp.prototype.toString;defineProperty(RegExp.prototype,"toString",(function toString(){var R=ES.RequireObjectCoercible(this);return Type.regex(R)?_call(origRegExpToString,R):"/"+$String(R.source)+"/"+$String(R.flags)}),!0),Value.preserveToString(RegExp.prototype.toString,origRegExpToString)}if(supportsDescriptors&&(!regExpSupportsFlagsWithRegex||regExpNeedsToSupportSymbolMatch)){var flagsGetter=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get,sourceDesc=Object.getOwnPropertyDescriptor(RegExp.prototype,"source")||{},legacySourceGetter=function(){return this.source},sourceGetter=ES.IsCallable(sourceDesc.get)?sourceDesc.get:legacySourceGetter,OrigRegExp=RegExp,RegExpShim=function RegExp(pattern,flags){var patternIsRegExp=ES.IsRegExp(pattern);return this instanceof RegExp||!patternIsRegExp||void 0!==flags||pattern.constructor!==RegExp?Type.regex(pattern)?new RegExp(ES.Call(sourceGetter,pattern),void 0===flags?ES.Call(flagsGetter,pattern):flags):(patternIsRegExp&&(pattern.source,void 0===flags&&pattern.flags),new OrigRegExp(pattern,flags)):pattern};wrapConstructor(OrigRegExp,RegExpShim,{$input:!0}),RegExp=RegExpShim,Value.redefine(globals,"RegExp",RegExpShim)}if(supportsDescriptors){var regexGlobals={input:"$_",lastMatch:"$&",lastParen:"$+",leftContext:"$`",rightContext:"$'"};_forEach(keys(regexGlobals),(function(prop){prop in RegExp&&!(regexGlobals[prop]in RegExp)&&Value.getter(RegExp,regexGlobals[prop],(function get(){return RegExp[prop]}))}))}addDefaultSpecies(RegExp);var inverseEpsilon=1/Number.EPSILON,roundTiesToEven=function roundTiesToEven(n){return n+inverseEpsilon-inverseEpsilon},BINARY_32_EPSILON=Math.pow(2,-23),BINARY_32_MAX_VALUE=Math.pow(2,127)*(2-BINARY_32_EPSILON),BINARY_32_MIN_VALUE=Math.pow(2,-126),E=Math.E,LOG2E=Math.LOG2E,LOG10E=Math.LOG10E,numberCLZ=Number.prototype.clz;delete Number.prototype.clz;var MathShims={acosh:function acosh(value){var x=Number(value);if(numberIsNaN(x)||value<1)return NaN;if(1===x)return 0;if(x===1/0)return x;var xInvSquared=1/(x*x);if(x<2)return _log1p(x-1+_sqrt(1-xInvSquared)*x);var halfX=x/2;return _log1p(halfX+_sqrt(1-xInvSquared)*halfX-1)+1/LOG2E},asinh:function asinh(value){var x=Number(value);if(0===x||!globalIsFinite(x))return x;var a=_abs(x),aSquared=a*a,s=_sign(x);return a<1?s*_log1p(a+aSquared/(_sqrt(aSquared+1)+1)):s*(_log1p(a/2+_sqrt(1+1/aSquared)*a/2-1)+1/LOG2E)},atanh:function atanh(value){var x=Number(value);if(0===x)return x;if(-1===x)return-1/0;if(1===x)return 1/0;if(numberIsNaN(x)||x<-1||x>1)return NaN;var a=_abs(x);return _sign(x)*_log1p(2*a/(1-a))/2},cbrt:function cbrt(value){var x=Number(value);if(0===x)return x;var result,negate=x<0;return negate&&(x=-x),result=x===1/0?1/0:(x/((result=_exp(_log(x)/3))*result)+2*result)/3,negate?-result:result},clz32:function clz32(value){var x=Number(value),number=ES.ToUint32(x);return 0===number?32:numberCLZ?ES.Call(numberCLZ,number):31-_floor(_log(number+.5)*LOG2E)},cosh:function cosh(value){var x=Number(value);if(0===x)return 1;if(numberIsNaN(x))return NaN;if(!globalIsFinite(x))return 1/0;var t=_exp(_abs(x)-1);return(t+1/(t*E*E))*(E/2)},expm1:function expm1(value){var x=Number(value);if(x===-1/0)return-1;if(!globalIsFinite(x)||0===x)return x;if(_abs(x)>.5)return _exp(x)-1;for(var t=x,sum=0,n=1;sum+t!==sum;)sum+=t,t*=x/(n+=1);return sum},hypot:function hypot(x,y){for(var result=0,largest=0,i=0;i<arguments.length;++i){var value=_abs(Number(arguments[i]));largest<value?(result*=largest/value*(largest/value),result+=1,largest=value):result+=value>0?value/largest*(value/largest):value}return largest===1/0?1/0:largest*_sqrt(result)},log2:function log2(value){return _log(value)*LOG2E},log10:function log10(value){return _log(value)*LOG10E},log1p:_log1p,sign:_sign,sinh:function sinh(value){var x=Number(value);if(!globalIsFinite(x)||0===x)return x;var a=_abs(x);if(a<1){var u=Math.expm1(a);return _sign(x)*u*(1+1/(u+1))/2}var t=_exp(a-1);return _sign(x)*(t-1/(t*E*E))*(E/2)},tanh:function tanh(value){var x=Number(value);return numberIsNaN(x)||0===x?x:x>=20?1:x<=-20?-1:(Math.expm1(x)-Math.expm1(-x))/(_exp(x)+_exp(-x))},trunc:function trunc(value){var x=Number(value);return x<0?-_floor(-x):_floor(x)},imul:function imul(x,y){var a=ES.ToUint32(x),b=ES.ToUint32(y),al=65535&a,bl=65535&b;return al*bl+((a>>>16&65535)*bl+al*(b>>>16&65535)<<16>>>0)|0},fround:function fround(x){var v=Number(x);if(0===v||v===1/0||v===-1/0||numberIsNaN(v))return v;var sign=_sign(v),abs=_abs(v);if(abs<BINARY_32_MIN_VALUE)return sign*roundTiesToEven(abs/BINARY_32_MIN_VALUE/BINARY_32_EPSILON)*BINARY_32_MIN_VALUE*BINARY_32_EPSILON;var a=(1+BINARY_32_EPSILON/Number.EPSILON)*abs,result=a-(a-abs);return result>BINARY_32_MAX_VALUE||numberIsNaN(result)?sign*(1/0):sign*result}},withinULPDistance=function withinULPDistance(result,expected,distance){return _abs(1-result/expected)/Number.EPSILON<(distance||8)};defineProperties(Math,MathShims),defineProperty(Math,"sinh",MathShims.sinh,Math.sinh(710)===1/0),defineProperty(Math,"cosh",MathShims.cosh,Math.cosh(710)===1/0),defineProperty(Math,"log1p",MathShims.log1p,-1e-17!==Math.log1p(-1e-17)),defineProperty(Math,"asinh",MathShims.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7)),defineProperty(Math,"asinh",MathShims.asinh,Math.asinh(1e300)===1/0),defineProperty(Math,"atanh",MathShims.atanh,0===Math.atanh(1e-300)),defineProperty(Math,"tanh",MathShims.tanh,-2e-17!==Math.tanh(-2e-17)),defineProperty(Math,"acosh",MathShims.acosh,Math.acosh(Number.MAX_VALUE)===1/0),defineProperty(Math,"acosh",MathShims.acosh,!withinULPDistance(Math.acosh(1+Number.EPSILON),Math.sqrt(2*Number.EPSILON))),defineProperty(Math,"cbrt",MathShims.cbrt,!withinULPDistance(Math.cbrt(1e-300),1e-100)),defineProperty(Math,"sinh",MathShims.sinh,-2e-17!==Math.sinh(-2e-17));var expm1OfTen=Math.expm1(10);defineProperty(Math,"expm1",MathShims.expm1,expm1OfTen>22025.465794806718||expm1OfTen<22025.465794806718),defineProperty(Math,"hypot",MathShims.hypot,Math.hypot(1/0,NaN)!==1/0);var origMathRound=Math.round,roundHandlesBoundaryConditions=0===Math.round(.5-Number.EPSILON/4)&&1===Math.round(Number.EPSILON/3.99-.5),roundDoesNotIncreaseIntegers=[inverseEpsilon+1,2*inverseEpsilon-1].every((function(num){return Math.round(num)===num}));defineProperty(Math,"round",(function round(x){var floor=_floor(x);return x-floor<.5?floor:-1===floor?-0:floor+1}),!roundHandlesBoundaryConditions||!roundDoesNotIncreaseIntegers),Value.preserveToString(Math.round,origMathRound);var origImul=Math.imul;-5!==Math.imul(4294967295,5)&&(Math.imul=MathShims.imul,Value.preserveToString(Math.imul,origImul)),2!==Math.imul.length&&overrideNative(Math,"imul",(function imul(x,y){return ES.Call(origImul,Math,arguments)}));var count,thenable,PromiseShim=function(){var setTimeout=globals.setTimeout;if("function"==typeof setTimeout||"object"==typeof setTimeout){ES.IsPromise=function(promise){return!!ES.TypeIsObject(promise)&&void 0!==promise._promise};var makeZeroTimeout,PromiseCapability=function(C){if(!ES.IsConstructor(C))throw new TypeError("Bad promise constructor");var capability=this,resolver=function(resolve,reject){if(void 0!==capability.resolve||void 0!==capability.reject)throw new TypeError("Bad Promise implementation!");capability.resolve=resolve,capability.reject=reject};if(capability.resolve=void 0,capability.reject=void 0,capability.promise=new C(resolver),!ES.IsCallable(capability.resolve)||!ES.IsCallable(capability.reject))throw new TypeError("Bad promise constructor")};"undefined"!=typeof window&&ES.IsCallable(window.postMessage)&&(makeZeroTimeout=function(){var timeouts=[],messageName="zero-timeout-message",setZeroTimeout=function(fn){_push(timeouts,fn),window.postMessage(messageName,"*")},handleMessage=function(event){if(event.source===window&&event.data===messageName){if(event.stopPropagation(),0===timeouts.length)return;_shift(timeouts)()}};return window.addEventListener("message",handleMessage,!0),setZeroTimeout});var Promise$prototype,Promise$prototype$then,makePromiseAsap=function(){var P=globals.Promise,pr=P&&P.resolve&&P.resolve();return pr&&function(task){return pr.then(task)}},enqueue=ES.IsCallable(globals.setImmediate)?globals.setImmediate:"object"==typeof process&&process.nextTick?process.nextTick:makePromiseAsap()||(ES.IsCallable(makeZeroTimeout)?makeZeroTimeout():function(task){setTimeout(task,0)}),PROMISE_IDENTITY=function(x){return x},PROMISE_THROWER=function(e){throw e},PROMISE_PENDING=0,PROMISE_FULFILLED=1,PROMISE_REJECTED=2,PROMISE_FULFILL_OFFSET=0,PROMISE_REJECT_OFFSET=1,PROMISE_CAPABILITY_OFFSET=2,PROMISE_FAKE_CAPABILITY={},enqueuePromiseReactionJob=function(handler,capability,argument){enqueue((function(){promiseReactionJob(handler,capability,argument)}))},promiseReactionJob=function(handler,promiseCapability,argument){var handlerResult,f;if(promiseCapability===PROMISE_FAKE_CAPABILITY)return handler(argument);try{handlerResult=handler(argument),f=promiseCapability.resolve}catch(e){handlerResult=e,f=promiseCapability.reject}f(handlerResult)},fulfillPromise=function(promise,value){var _promise=promise._promise,length=_promise.reactionLength;if(length>0&&(enqueuePromiseReactionJob(_promise.fulfillReactionHandler0,_promise.reactionCapability0,value),_promise.fulfillReactionHandler0=void 0,_promise.rejectReactions0=void 0,_promise.reactionCapability0=void 0,length>1))for(var i=1,idx=0;i<length;i++,idx+=3)enqueuePromiseReactionJob(_promise[idx+PROMISE_FULFILL_OFFSET],_promise[idx+PROMISE_CAPABILITY_OFFSET],value),promise[idx+PROMISE_FULFILL_OFFSET]=void 0,promise[idx+PROMISE_REJECT_OFFSET]=void 0,promise[idx+PROMISE_CAPABILITY_OFFSET]=void 0;_promise.result=value,_promise.state=PROMISE_FULFILLED,_promise.reactionLength=0},rejectPromise=function(promise,reason){var _promise=promise._promise,length=_promise.reactionLength;if(length>0&&(enqueuePromiseReactionJob(_promise.rejectReactionHandler0,_promise.reactionCapability0,reason),_promise.fulfillReactionHandler0=void 0,_promise.rejectReactions0=void 0,_promise.reactionCapability0=void 0,length>1))for(var i=1,idx=0;i<length;i++,idx+=3)enqueuePromiseReactionJob(_promise[idx+PROMISE_REJECT_OFFSET],_promise[idx+PROMISE_CAPABILITY_OFFSET],reason),promise[idx+PROMISE_FULFILL_OFFSET]=void 0,promise[idx+PROMISE_REJECT_OFFSET]=void 0,promise[idx+PROMISE_CAPABILITY_OFFSET]=void 0;_promise.result=reason,_promise.state=PROMISE_REJECTED,_promise.reactionLength=0},createResolvingFunctions=function(promise){var alreadyResolved=!1;return{resolve:function(resolution){var then;if(!alreadyResolved){if(alreadyResolved=!0,resolution===promise)return rejectPromise(promise,new TypeError("Self resolution"));if(!ES.TypeIsObject(resolution))return fulfillPromise(promise,resolution);try{then=resolution.then}catch(e){return rejectPromise(promise,e)}if(!ES.IsCallable(then))return fulfillPromise(promise,resolution);enqueue((function(){promiseResolveThenableJob(promise,resolution,then)}))}},reject:function(reason){if(!alreadyResolved)return alreadyResolved=!0,rejectPromise(promise,reason)}}},optimizedThen=function(then,thenable,resolve,reject){then===Promise$prototype$then?_call(then,thenable,resolve,reject,PROMISE_FAKE_CAPABILITY):_call(then,thenable,resolve,reject)},promiseResolveThenableJob=function(promise,thenable,then){var resolvingFunctions=createResolvingFunctions(promise),resolve=resolvingFunctions.resolve,reject=resolvingFunctions.reject;try{optimizedThen(then,thenable,resolve,reject)}catch(e){reject(e)}},Promise=function(){var PromiseShim=function Promise(resolver){if(!(this instanceof PromiseShim))throw new TypeError('Constructor Promise requires "new"');if(this&&this._promise)throw new TypeError("Bad construction");if(!ES.IsCallable(resolver))throw new TypeError("not a valid resolver");var promise=emulateES6construct(this,PromiseShim,Promise$prototype,{_promise:{result:void 0,state:PROMISE_PENDING,reactionLength:0,fulfillReactionHandler0:void 0,rejectReactionHandler0:void 0,reactionCapability0:void 0}}),resolvingFunctions=createResolvingFunctions(promise),reject=resolvingFunctions.reject;try{resolver(resolvingFunctions.resolve,reject)}catch(e){reject(e)}return promise};return PromiseShim}();Promise$prototype=Promise.prototype;var _promiseAllResolver=function(index,values,capability,remaining){var alreadyCalled=!1;return function(x){alreadyCalled||(alreadyCalled=!0,values[index]=x,0==--remaining.count&&(0,capability.resolve)(values))}},performPromiseAll=function(iteratorRecord,C,resultCapability){for(var next,nextValue,it=iteratorRecord.iterator,values=[],remaining={count:1},index=0;;){try{if(!1===(next=ES.IteratorStep(it))){iteratorRecord.done=!0;break}nextValue=next.value}catch(e){throw iteratorRecord.done=!0,e}values[index]=void 0;var nextPromise=C.resolve(nextValue),resolveElement=_promiseAllResolver(index,values,resultCapability,remaining);remaining.count+=1,optimizedThen(nextPromise.then,nextPromise,resolveElement,resultCapability.reject),index+=1}return 0==--remaining.count&&(0,resultCapability.resolve)(values),resultCapability.promise},performPromiseRace=function(iteratorRecord,C,resultCapability){for(var next,nextValue,nextPromise,it=iteratorRecord.iterator;;){try{if(!1===(next=ES.IteratorStep(it))){iteratorRecord.done=!0;break}nextValue=next.value}catch(e){throw iteratorRecord.done=!0,e}nextPromise=C.resolve(nextValue),optimizedThen(nextPromise.then,nextPromise,resultCapability.resolve,resultCapability.reject)}return resultCapability.promise};return defineProperties(Promise,{all:function all(iterable){var C=this;if(!ES.TypeIsObject(C))throw new TypeError("Promise is not object");var iterator,iteratorRecord,capability=new PromiseCapability(C);try{return iterator=ES.GetIterator(iterable),performPromiseAll(iteratorRecord={iterator,done:!1},C,capability)}catch(e){var exception=e;if(iteratorRecord&&!iteratorRecord.done)try{ES.IteratorClose(iterator,!0)}catch(ee){exception=ee}return(0,capability.reject)(exception),capability.promise}},race:function race(iterable){var C=this;if(!ES.TypeIsObject(C))throw new TypeError("Promise is not object");var iterator,iteratorRecord,capability=new PromiseCapability(C);try{return iterator=ES.GetIterator(iterable),performPromiseRace(iteratorRecord={iterator,done:!1},C,capability)}catch(e){var exception=e;if(iteratorRecord&&!iteratorRecord.done)try{ES.IteratorClose(iterator,!0)}catch(ee){exception=ee}return(0,capability.reject)(exception),capability.promise}},reject:function reject(reason){var C=this;if(!ES.TypeIsObject(C))throw new TypeError("Bad promise constructor");var capability=new PromiseCapability(C);return(0,capability.reject)(reason),capability.promise},resolve:function resolve(v){var C=this;if(!ES.TypeIsObject(C))throw new TypeError("Bad promise constructor");if(ES.IsPromise(v)&&v.constructor===C)return v;var capability=new PromiseCapability(C);return(0,capability.resolve)(v),capability.promise}}),defineProperties(Promise$prototype,{catch:function(onRejected){return this.then(null,onRejected)},then:function then(onFulfilled,onRejected){var promise=this;if(!ES.IsPromise(promise))throw new TypeError("not a promise");var resultCapability,C=ES.SpeciesConstructor(promise,Promise);resultCapability=arguments.length>2&&arguments[2]===PROMISE_FAKE_CAPABILITY&&C===Promise?PROMISE_FAKE_CAPABILITY:new PromiseCapability(C);var value,fulfillReactionHandler=ES.IsCallable(onFulfilled)?onFulfilled:PROMISE_IDENTITY,rejectReactionHandler=ES.IsCallable(onRejected)?onRejected:PROMISE_THROWER,_promise=promise._promise;if(_promise.state===PROMISE_PENDING){if(0===_promise.reactionLength)_promise.fulfillReactionHandler0=fulfillReactionHandler,_promise.rejectReactionHandler0=rejectReactionHandler,_promise.reactionCapability0=resultCapability;else{var idx=3*(_promise.reactionLength-1);_promise[idx+PROMISE_FULFILL_OFFSET]=fulfillReactionHandler,_promise[idx+PROMISE_REJECT_OFFSET]=rejectReactionHandler,_promise[idx+PROMISE_CAPABILITY_OFFSET]=resultCapability}_promise.reactionLength+=1}else if(_promise.state===PROMISE_FULFILLED)value=_promise.result,enqueuePromiseReactionJob(fulfillReactionHandler,resultCapability,value);else{if(_promise.state!==PROMISE_REJECTED)throw new TypeError("unexpected Promise state");value=_promise.result,enqueuePromiseReactionJob(rejectReactionHandler,resultCapability,value)}return resultCapability.promise}}),PROMISE_FAKE_CAPABILITY=new PromiseCapability(Promise),Promise$prototype$then=Promise$prototype.then,Promise}}();if(globals.Promise&&(delete globals.Promise.accept,delete globals.Promise.defer,delete globals.Promise.prototype.chain),"function"==typeof PromiseShim){defineProperties(globals,{Promise:PromiseShim});var promiseSupportsSubclassing=supportsSubclassing(globals.Promise,(function(S){return S.resolve(42).then((function(){}))instanceof S})),promiseIgnoresNonFunctionThenCallbacks=!throwsError((function(){return globals.Promise.reject(42).then(null,5).then(null,noop)})),promiseRequiresObjectContext=throwsError((function(){return globals.Promise.call(3,noop)})),promiseResolveBroken=function(Promise){var p=Promise.resolve(5);p.constructor={};var p2=Promise.resolve(p);try{p2.then(null,noop).then(null,noop)}catch(e){return!0}return p===p2}(globals.Promise),getsThenSynchronously=supportsDescriptors&&(count=0,thenable=Object.defineProperty({},"then",{get:function(){count+=1}}),Promise.resolve(thenable),1===count),BadResolverPromise=function BadResolverPromise(executor){var p=new Promise(executor);executor(3,(function(){})),this.then=p.then,this.constructor=BadResolverPromise};BadResolverPromise.prototype=Promise.prototype,BadResolverPromise.all=Promise.all;var hasBadResolverPromise=valueOrFalseIfThrows((function(){return!!BadResolverPromise.all([1,2])}));if(promiseSupportsSubclassing&&promiseIgnoresNonFunctionThenCallbacks&&promiseRequiresObjectContext&&!promiseResolveBroken&&getsThenSynchronously&&!hasBadResolverPromise||(Promise=PromiseShim,overrideNative(globals,"Promise",PromiseShim)),1!==Promise.all.length){var origAll=Promise.all;overrideNative(Promise,"all",(function all(iterable){return ES.Call(origAll,this,arguments)}))}if(1!==Promise.race.length){var origRace=Promise.race;overrideNative(Promise,"race",(function race(iterable){return ES.Call(origRace,this,arguments)}))}if(1!==Promise.resolve.length){var origResolve=Promise.resolve;overrideNative(Promise,"resolve",(function resolve(x){return ES.Call(origResolve,this,arguments)}))}if(1!==Promise.reject.length){var origReject=Promise.reject;overrideNative(Promise,"reject",(function reject(r){return ES.Call(origReject,this,arguments)}))}ensureEnumerable(Promise,"all"),ensureEnumerable(Promise,"race"),ensureEnumerable(Promise,"resolve"),ensureEnumerable(Promise,"reject"),addDefaultSpecies(Promise)}var s,m,testOrder=function(a){var b=keys(_reduce(a,(function(o,k){return o[k]=!0,o}),{}));return a.join(":")===b.join(":")},preservesInsertionOrder=testOrder(["z","a","bb"]),preservesNumericInsertionOrder=testOrder(["z",1,"a","3",2]);if(supportsDescriptors){var fastkey=function fastkey(key,skipInsertionOrderCheck){return skipInsertionOrderCheck||preservesInsertionOrder?isNullOrUndefined(key)?"^"+ES.ToString(key):"string"==typeof key?"$"+key:"number"==typeof key?preservesNumericInsertionOrder?key:"n"+key:"boolean"==typeof key?"b"+key:null:null},emptyObject=function emptyObject(){return Object.create?Object.create(null):{}},addIterableToMap=function addIterableToMap(MapConstructor,map,iterable){if(isArray(iterable)||Type.string(iterable))_forEach(iterable,(function(entry){if(!ES.TypeIsObject(entry))throw new TypeError("Iterator value "+entry+" is not an entry object");map.set(entry[0],entry[1])}));else if(iterable instanceof MapConstructor)_call(MapConstructor.prototype.forEach,iterable,(function(value,key){map.set(key,value)}));else{var iter,adder;if(!isNullOrUndefined(iterable)){if(adder=map.set,!ES.IsCallable(adder))throw new TypeError("bad map");iter=ES.GetIterator(iterable)}if(void 0!==iter)for(;;){var next=ES.IteratorStep(iter);if(!1===next)break;var nextItem=next.value;try{if(!ES.TypeIsObject(nextItem))throw new TypeError("Iterator value "+nextItem+" is not an entry object");_call(adder,map,nextItem[0],nextItem[1])}catch(e){throw ES.IteratorClose(iter,!0),e}}}},addIterableToSet=function addIterableToSet(SetConstructor,set,iterable){if(isArray(iterable)||Type.string(iterable))_forEach(iterable,(function(value){set.add(value)}));else if(iterable instanceof SetConstructor)_call(SetConstructor.prototype.forEach,iterable,(function(value){set.add(value)}));else{var iter,adder;if(!isNullOrUndefined(iterable)){if(adder=set.add,!ES.IsCallable(adder))throw new TypeError("bad set");iter=ES.GetIterator(iterable)}if(void 0!==iter)for(;;){var next=ES.IteratorStep(iter);if(!1===next)break;var nextValue=next.value;try{_call(adder,set,nextValue)}catch(e){throw ES.IteratorClose(iter,!0),e}}}},collectionShims={Map:function(){var empty={},MapEntry=function MapEntry(key,value){this.key=key,this.value=value,this.next=null,this.prev=null};MapEntry.prototype.isRemoved=function isRemoved(){return this.key===empty};var Map$prototype,isMap=function isMap(map){return!!map._es6map},requireMapSlot=function requireMapSlot(map,method){if(!ES.TypeIsObject(map)||!isMap(map))throw new TypeError("Method Map.prototype."+method+" called on incompatible receiver "+ES.ToString(map))},MapIterator=function MapIterator(map,kind){requireMapSlot(map,"[[MapIterator]]"),this.head=map._head,this.i=this.head,this.kind=kind};MapIterator.prototype={isMapIterator:!0,next:function next(){if(!this.isMapIterator)throw new TypeError("Not a MapIterator");var result,i=this.i,kind=this.kind,head=this.head;if(void 0===this.i)return iteratorResult();for(;i.isRemoved()&&i!==head;)i=i.prev;for(;i.next!==head;)if(!(i=i.next).isRemoved())return result="key"===kind?i.key:"value"===kind?i.value:[i.key,i.value],this.i=i,iteratorResult(result);return this.i=void 0,iteratorResult()}},addIterator(MapIterator.prototype);var MapShim=function Map(){if(!(this instanceof Map))throw new TypeError('Constructor Map requires "new"');if(this&&this._es6map)throw new TypeError("Bad construction");var map=emulateES6construct(this,Map,Map$prototype,{_es6map:!0,_head:null,_map:OrigMap?new OrigMap:null,_size:0,_storage:emptyObject()}),head=new MapEntry(null,null);return head.next=head.prev=head,map._head=head,arguments.length>0&&addIterableToMap(Map,map,arguments[0]),map};return Map$prototype=MapShim.prototype,Value.getter(Map$prototype,"size",(function(){if(void 0===this._size)throw new TypeError("size method called on incompatible Map");return this._size})),defineProperties(Map$prototype,{get:function get(key){var entry;requireMapSlot(this,"get");var fkey=fastkey(key,!0);if(null!==fkey)return(entry=this._storage[fkey])?entry.value:void 0;if(this._map)return(entry=origMapGet.call(this._map,key))?entry.value:void 0;for(var head=this._head,i=head;(i=i.next)!==head;)if(ES.SameValueZero(i.key,key))return i.value},has:function has(key){requireMapSlot(this,"has");var fkey=fastkey(key,!0);if(null!==fkey)return void 0!==this._storage[fkey];if(this._map)return origMapHas.call(this._map,key);for(var head=this._head,i=head;(i=i.next)!==head;)if(ES.SameValueZero(i.key,key))return!0;return!1},set:function set(key,value){requireMapSlot(this,"set");var entry,head=this._head,i=head,fkey=fastkey(key,!0);if(null!==fkey){if(void 0!==this._storage[fkey])return this._storage[fkey].value=value,this;entry=this._storage[fkey]=new MapEntry(key,value),i=head.prev}else this._map&&(origMapHas.call(this._map,key)?origMapGet.call(this._map,key).value=value:(entry=new MapEntry(key,value),origMapSet.call(this._map,key,entry),i=head.prev));for(;(i=i.next)!==head;)if(ES.SameValueZero(i.key,key))return i.value=value,this;return entry=entry||new MapEntry(key,value),ES.SameValue(-0,key)&&(entry.key=0),entry.next=this._head,entry.prev=this._head.prev,entry.prev.next=entry,entry.next.prev=entry,this._size+=1,this},delete:function(key){requireMapSlot(this,"delete");var head=this._head,i=head,fkey=fastkey(key,!0);if(null!==fkey){if(void 0===this._storage[fkey])return!1;i=this._storage[fkey].prev,delete this._storage[fkey]}else if(this._map){if(!origMapHas.call(this._map,key))return!1;i=origMapGet.call(this._map,key).prev,origMapDelete.call(this._map,key)}for(;(i=i.next)!==head;)if(ES.SameValueZero(i.key,key))return i.key=empty,i.value=empty,i.prev.next=i.next,i.next.prev=i.prev,this._size-=1,!0;return!1},clear:function clear(){requireMapSlot(this,"clear"),this._map=OrigMap?new OrigMap:null,this._size=0,this._storage=emptyObject();for(var head=this._head,i=head,p=i.next;(i=p)!==head;)i.key=empty,i.value=empty,p=i.next,i.next=i.prev=head;head.next=head.prev=head},keys:function keys(){return requireMapSlot(this,"keys"),new MapIterator(this,"key")},values:function values(){return requireMapSlot(this,"values"),new MapIterator(this,"value")},entries:function entries(){return requireMapSlot(this,"entries"),new MapIterator(this,"key+value")},forEach:function forEach(callback){requireMapSlot(this,"forEach");for(var context=arguments.length>1?arguments[1]:null,it=this.entries(),entry=it.next();!entry.done;entry=it.next())context?_call(callback,context,entry.value[1],entry.value[0],this):callback(entry.value[1],entry.value[0],this)}}),addIterator(Map$prototype,Map$prototype.entries),MapShim}(),Set:function(){var Set$prototype,isSet=function isSet(set){return set._es6set&&void 0!==set._storage},requireSetSlot=function requireSetSlot(set,method){if(!ES.TypeIsObject(set)||!isSet(set))throw new TypeError("Set.prototype."+method+" called on incompatible receiver "+ES.ToString(set))},SetShim=function Set(){if(!(this instanceof Set))throw new TypeError('Constructor Set requires "new"');if(this&&this._es6set)throw new TypeError("Bad construction");var set=emulateES6construct(this,Set,Set$prototype,{_es6set:!0,"[[SetData]]":null,_storage:emptyObject()});if(!set._es6set)throw new TypeError("bad set");return arguments.length>0&&addIterableToSet(Set,set,arguments[0]),set};Set$prototype=SetShim.prototype;var decodeKey=function(key){var k=key;if("^null"===k)return null;if("^undefined"!==k){var first=k.charAt(0);return"$"===first?_strSlice(k,1):"n"===first?+_strSlice(k,1):"b"===first?"btrue"===k:+k}},ensureMap=function ensureMap(set){if(!set["[[SetData]]"]){var m=new collectionShims.Map;set["[[SetData]]"]=m,_forEach(keys(set._storage),(function(key){var k=decodeKey(key);m.set(k,k)})),set["[[SetData]]"]=m}set._storage=null};Value.getter(SetShim.prototype,"size",(function(){return requireSetSlot(this,"size"),this._storage?keys(this._storage).length:(ensureMap(this),this["[[SetData]]"].size)})),defineProperties(SetShim.prototype,{has:function has(key){var fkey;return requireSetSlot(this,"has"),this._storage&&null!==(fkey=fastkey(key))?!!this._storage[fkey]:(ensureMap(this),this["[[SetData]]"].has(key))},add:function add(key){var fkey;return requireSetSlot(this,"add"),this._storage&&null!==(fkey=fastkey(key))?(this._storage[fkey]=!0,this):(ensureMap(this),this["[[SetData]]"].set(key,key),this)},delete:function(key){var fkey;if(requireSetSlot(this,"delete"),this._storage&&null!==(fkey=fastkey(key))){var hasFKey=_hasOwnProperty(this._storage,fkey);return delete this._storage[fkey]&&hasFKey}return ensureMap(this),this["[[SetData]]"].delete(key)},clear:function clear(){requireSetSlot(this,"clear"),this._storage&&(this._storage=emptyObject()),this["[[SetData]]"]&&this["[[SetData]]"].clear()},values:function values(){return requireSetSlot(this,"values"),ensureMap(this),new SetIterator(this["[[SetData]]"].values())},entries:function entries(){return requireSetSlot(this,"entries"),ensureMap(this),new SetIterator(this["[[SetData]]"].entries())},forEach:function forEach(callback){requireSetSlot(this,"forEach");var context=arguments.length>1?arguments[1]:null,entireSet=this;ensureMap(entireSet),this["[[SetData]]"].forEach((function(value,key){context?_call(callback,context,key,key,entireSet):callback(key,key,entireSet)}))}}),defineProperty(SetShim.prototype,"keys",SetShim.prototype.values,!0),addIterator(SetShim.prototype,SetShim.prototype.values);var SetIterator=function SetIterator(it){this.it=it};return SetIterator.prototype={isSetIterator:!0,next:function next(){if(!this.isSetIterator)throw new TypeError("Not a SetIterator");return this.it.next()}},addIterator(SetIterator.prototype),SetShim}()};if(globals.Set&&!Set.prototype.delete&&Set.prototype.remove&&Set.prototype.items&&Set.prototype.map&&Array.isArray((new Set).keys)&&(globals.Set=collectionShims.Set),globals.Map||globals.Set){valueOrFalseIfThrows((function(){return 2===new Map([[1,2]]).get(1)}))||(globals.Map=function Map(){if(!(this instanceof Map))throw new TypeError('Constructor Map requires "new"');var m=new OrigMap;return arguments.length>0&&addIterableToMap(Map,m,arguments[0]),delete m.constructor,Object.setPrototypeOf(m,globals.Map.prototype),m},globals.Map.prototype=create(OrigMap.prototype),defineProperty(globals.Map.prototype,"constructor",globals.Map,!0),Value.preserveToString(globals.Map,OrigMap));var testMap=new Map,mapUsesSameValueZero=((m=new Map([[1,0],[2,0],[3,0],[4,0]])).set(-0,m),m.get(0)===m&&m.get(-0)===m&&m.has(0)&&m.has(-0)),mapSupportsChaining=testMap.set(1,2)===testMap;mapUsesSameValueZero&&mapSupportsChaining||overrideNative(Map.prototype,"set",(function set(k,v){return _call(origMapSet,this,0===k?0:k,v),this})),mapUsesSameValueZero||(defineProperties(Map.prototype,{get:function get(k){return _call(origMapGet,this,0===k?0:k)},has:function has(k){return _call(origMapHas,this,0===k?0:k)}},!0),Value.preserveToString(Map.prototype.get,origMapGet),Value.preserveToString(Map.prototype.has,origMapHas));var testSet=new Set,setUsesSameValueZero=Set.prototype.delete&&Set.prototype.add&&Set.prototype.has&&((s=testSet).delete(0),s.add(-0),!s.has(0)),setSupportsChaining=testSet.add(1)===testSet;if(!setUsesSameValueZero||!setSupportsChaining){var origSetAdd=Set.prototype.add;Set.prototype.add=function add(v){return _call(origSetAdd,this,0===v?0:v),this},Value.preserveToString(Set.prototype.add,origSetAdd)}if(!setUsesSameValueZero){var origSetHas=Set.prototype.has;Set.prototype.has=function has(v){return _call(origSetHas,this,0===v?0:v)},Value.preserveToString(Set.prototype.has,origSetHas);var origSetDel=Set.prototype.delete;Set.prototype.delete=function SetDelete(v){return _call(origSetDel,this,0===v?0:v)},Value.preserveToString(Set.prototype.delete,origSetDel)}var mapSupportsSubclassing=supportsSubclassing(globals.Map,(function(M){var m=new M([]);return m.set(42,42),m instanceof M})),mapFailsToSupportSubclassing=Object.setPrototypeOf&&!mapSupportsSubclassing,mapRequiresNew=function(){try{return!(globals.Map()instanceof globals.Map)}catch(e){return e instanceof TypeError}}();0===globals.Map.length&&!mapFailsToSupportSubclassing&&mapRequiresNew||(globals.Map=function Map(){if(!(this instanceof Map))throw new TypeError('Constructor Map requires "new"');var m=new OrigMap;return arguments.length>0&&addIterableToMap(Map,m,arguments[0]),delete m.constructor,Object.setPrototypeOf(m,Map.prototype),m},globals.Map.prototype=OrigMap.prototype,defineProperty(globals.Map.prototype,"constructor",globals.Map,!0),Value.preserveToString(globals.Map,OrigMap));var setSupportsSubclassing=supportsSubclassing(globals.Set,(function(S){var s=new S([]);return s.add(42,42),s instanceof S})),setFailsToSupportSubclassing=Object.setPrototypeOf&&!setSupportsSubclassing,setRequiresNew=function(){try{return!(globals.Set()instanceof globals.Set)}catch(e){return e instanceof TypeError}}();if(0!==globals.Set.length||setFailsToSupportSubclassing||!setRequiresNew){var OrigSet=globals.Set;globals.Set=function Set(){if(!(this instanceof Set))throw new TypeError('Constructor Set requires "new"');var s=new OrigSet;return arguments.length>0&&addIterableToSet(Set,s,arguments[0]),delete s.constructor,Object.setPrototypeOf(s,Set.prototype),s},globals.Set.prototype=OrigSet.prototype,defineProperty(globals.Set.prototype,"constructor",globals.Set,!0),Value.preserveToString(globals.Set,OrigSet)}var newMap=new globals.Map,mapIterationThrowsStopIterator=!valueOrFalseIfThrows((function(){return newMap.keys().next().done}));if(("function"!=typeof globals.Map.prototype.clear||0!==(new globals.Set).size||0!==newMap.size||"function"!=typeof globals.Map.prototype.keys||"function"!=typeof globals.Set.prototype.keys||"function"!=typeof globals.Map.prototype.forEach||"function"!=typeof globals.Set.prototype.forEach||isCallableWithoutNew(globals.Map)||isCallableWithoutNew(globals.Set)||"function"!=typeof newMap.keys().next||mapIterationThrowsStopIterator||!mapSupportsSubclassing)&&defineProperties(globals,{Map:collectionShims.Map,Set:collectionShims.Set},!0),globals.Set.prototype.keys!==globals.Set.prototype.values&&defineProperty(globals.Set.prototype,"keys",globals.Set.prototype.values,!0),addIterator(Object.getPrototypeOf((new globals.Map).keys())),addIterator(Object.getPrototypeOf((new globals.Set).keys())),functionsHaveNames&&"has"!==globals.Set.prototype.has.name){var anonymousSetHas=globals.Set.prototype.has;overrideNative(globals.Set.prototype,"has",(function has(key){return _call(anonymousSetHas,this,key)}))}}defineProperties(globals,collectionShims),addDefaultSpecies(globals.Map),addDefaultSpecies(globals.Set)}var throwUnlessTargetIsObject=function throwUnlessTargetIsObject(target){if(!ES.TypeIsObject(target))throw new TypeError("target must be an object")},ReflectShims={apply:function apply(){return ES.Call(ES.Call,null,arguments)},construct:function construct(constructor,args){if(!ES.IsConstructor(constructor))throw new TypeError("First argument must be a constructor.");var newTarget=arguments.length>2?arguments[2]:constructor;if(!ES.IsConstructor(newTarget))throw new TypeError("new.target must be a constructor.");return ES.Construct(constructor,args,newTarget,"internal")},deleteProperty:function deleteProperty(target,key){if(throwUnlessTargetIsObject(target),supportsDescriptors){var desc=Object.getOwnPropertyDescriptor(target,key);if(desc&&!desc.configurable)return!1}return delete target[key]},has:function has(target,key){return throwUnlessTargetIsObject(target),key in target}};Object.getOwnPropertyNames&&Object.assign(ReflectShims,{ownKeys:function ownKeys(target){throwUnlessTargetIsObject(target);var keys=Object.getOwnPropertyNames(target);return ES.IsCallable(Object.getOwnPropertySymbols)&&_pushApply(keys,Object.getOwnPropertySymbols(target)),keys}});var callAndCatchException=function ConvertExceptionToBoolean(func){return!throwsError(func)};if(Object.preventExtensions&&Object.assign(ReflectShims,{isExtensible:function isExtensible(target){return throwUnlessTargetIsObject(target),Object.isExtensible(target)},preventExtensions:function preventExtensions(target){return throwUnlessTargetIsObject(target),callAndCatchException((function(){return Object.preventExtensions(target)}))}}),supportsDescriptors){var internalGet=function get(target,key,receiver){var desc=Object.getOwnPropertyDescriptor(target,key);if(!desc){var parent=Object.getPrototypeOf(target);if(null===parent)return;return internalGet(parent,key,receiver)}return"value"in desc?desc.value:desc.get?ES.Call(desc.get,receiver):void 0},internalSet=function set(target,key,value,receiver){var desc=Object.getOwnPropertyDescriptor(target,key);if(!desc){var parent=Object.getPrototypeOf(target);if(null!==parent)return internalSet(parent,key,value,receiver);desc={value:void 0,writable:!0,enumerable:!0,configurable:!0}}return"value"in desc?!!desc.writable&&!!ES.TypeIsObject(receiver)&&(Object.getOwnPropertyDescriptor(receiver,key)?Reflect.defineProperty(receiver,key,{value}):Reflect.defineProperty(receiver,key,{value,writable:!0,enumerable:!0,configurable:!0})):!!desc.set&&(_call(desc.set,receiver,value),!0)};Object.assign(ReflectShims,{defineProperty:function defineProperty(target,propertyKey,attributes){return throwUnlessTargetIsObject(target),callAndCatchException((function(){return Object.defineProperty(target,propertyKey,attributes)}))},getOwnPropertyDescriptor:function getOwnPropertyDescriptor(target,propertyKey){return throwUnlessTargetIsObject(target),Object.getOwnPropertyDescriptor(target,propertyKey)},get:function get(target,key){return throwUnlessTargetIsObject(target),internalGet(target,key,arguments.length>2?arguments[2]:target)},set:function set(target,key,value){return throwUnlessTargetIsObject(target),internalSet(target,key,value,arguments.length>3?arguments[3]:target)}})}if(Object.getPrototypeOf){var objectDotGetPrototypeOf=Object.getPrototypeOf;ReflectShims.getPrototypeOf=function getPrototypeOf(target){return throwUnlessTargetIsObject(target),objectDotGetPrototypeOf(target)}}if(Object.setPrototypeOf&&ReflectShims.getPrototypeOf){var willCreateCircularPrototype=function(object,lastProto){for(var proto=lastProto;proto;){if(object===proto)return!0;proto=ReflectShims.getPrototypeOf(proto)}return!1};Object.assign(ReflectShims,{setPrototypeOf:function setPrototypeOf(object,proto){if(throwUnlessTargetIsObject(object),null!==proto&&!ES.TypeIsObject(proto))throw new TypeError("proto must be an object or null");return proto===Reflect.getPrototypeOf(object)||!(Reflect.isExtensible&&!Reflect.isExtensible(object))&&!willCreateCircularPrototype(object,proto)&&(Object.setPrototypeOf(object,proto),!0)}})}var defineOrOverrideReflectProperty=function(key,shim){ES.IsCallable(globals.Reflect[key])?valueOrFalseIfThrows((function(){return globals.Reflect[key](1),globals.Reflect[key](NaN),globals.Reflect[key](!0),!0}))&&overrideNative(globals.Reflect,key,shim):defineProperty(globals.Reflect,key,shim)};Object.keys(ReflectShims).forEach((function(key){defineOrOverrideReflectProperty(key,ReflectShims[key])}));var originalReflectGetProto=globals.Reflect.getPrototypeOf;if(functionsHaveNames&&originalReflectGetProto&&"getPrototypeOf"!==originalReflectGetProto.name&&overrideNative(globals.Reflect,"getPrototypeOf",(function getPrototypeOf(target){return _call(originalReflectGetProto,globals.Reflect,target)})),globals.Reflect.setPrototypeOf&&valueOrFalseIfThrows((function(){return globals.Reflect.setPrototypeOf(1,{}),!0}))&&overrideNative(globals.Reflect,"setPrototypeOf",ReflectShims.setPrototypeOf),globals.Reflect.defineProperty&&(valueOrFalseIfThrows((function(){var basic=!globals.Reflect.defineProperty(1,"test",{value:1}),extensible="function"!=typeof Object.preventExtensions||!globals.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return basic&&extensible}))||overrideNative(globals.Reflect,"defineProperty",ReflectShims.defineProperty)),globals.Reflect.construct&&(valueOrFalseIfThrows((function(){var F=function F(){};return globals.Reflect.construct((function(){}),[],F)instanceof F}))||overrideNative(globals.Reflect,"construct",ReflectShims.construct)),"Invalid Date"!==String(new Date(NaN))){var dateToString=Date.prototype.toString,shimmedDateToString=function toString(){var valueOf=+this;return valueOf!=valueOf?"Invalid Date":ES.Call(dateToString,this)};overrideNative(Date.prototype,"toString",shimmedDateToString)}var stringHTMLshims={anchor:function anchor(name){return ES.CreateHTML(this,"a","name",name)},big:function big(){return ES.CreateHTML(this,"big","","")},blink:function blink(){return ES.CreateHTML(this,"blink","","")},bold:function bold(){return ES.CreateHTML(this,"b","","")},fixed:function fixed(){return ES.CreateHTML(this,"tt","","")},fontcolor:function fontcolor(color){return ES.CreateHTML(this,"font","color",color)},fontsize:function fontsize(size){return ES.CreateHTML(this,"font","size",size)},italics:function italics(){return ES.CreateHTML(this,"i","","")},link:function link(url){return ES.CreateHTML(this,"a","href",url)},small:function small(){return ES.CreateHTML(this,"small","","")},strike:function strike(){return ES.CreateHTML(this,"strike","","")},sub:function sub(){return ES.CreateHTML(this,"sub","","")},sup:function sub(){return ES.CreateHTML(this,"sup","","")}};_forEach(Object.keys(stringHTMLshims),(function(key){var method=String.prototype[key],shouldOverwrite=!1;if(ES.IsCallable(method)){var output=_call(method,"",' " '),quotesCount=_concat([],output.match(/"/g)).length;shouldOverwrite=output!==output.toLowerCase()||quotesCount>2}else shouldOverwrite=!0;shouldOverwrite&&overrideNative(String.prototype,key,stringHTMLshims[key])}));var JSONstringifiesSymbols=function(){if(!hasSymbols)return!1;var stringify="object"==typeof JSON&&"function"==typeof JSON.stringify?JSON.stringify:null;if(!stringify)return!1;if(void 0!==stringify(Symbol()))return!0;if("[null]"!==stringify([Symbol()]))return!0;var obj={a:Symbol()};return obj[Symbol()]=!0,"{}"!==stringify(obj)}(),JSONstringifyAcceptsObjectSymbol=valueOrFalseIfThrows((function(){return!hasSymbols||"{}"===JSON.stringify(Object(Symbol()))&&"[{}]"===JSON.stringify([Object(Symbol())])}));if(JSONstringifiesSymbols||!JSONstringifyAcceptsObjectSymbol){var origStringify=JSON.stringify;overrideNative(JSON,"stringify",(function stringify(value){if("symbol"!=typeof value){var replacer;arguments.length>1&&(replacer=arguments[1]);var args=[value];if(isArray(replacer))args.push(replacer);else{var replaceFn=ES.IsCallable(replacer)?replacer:null,wrappedReplacer=function(key,val){var parsedValue=replaceFn?_call(replaceFn,this,key,val):val;if("symbol"!=typeof parsedValue)return Type.symbol(parsedValue)?assignTo({})(parsedValue):parsedValue};args.push(wrappedReplacer)}return arguments.length>2&&args.push(arguments[2]),origStringify.apply(this,args)}}))}return globals},void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},"./node_modules/escodegen/escodegen.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";var Syntax,Precedence,BinaryPrecedence,SourceNode,estraverse,esutils,base,indent,json,renumber,hexadecimal,quotes,escapeless,newline,space,parentheses,semicolons,safeConcatenation,directive,extra,parse,sourceMap,sourceCode,preserveBlankLines,FORMAT_MINIFY,FORMAT_DEFAULTS;function isStatement(node){return CodeGenerator.Statement.hasOwnProperty(node.type)}estraverse=__webpack_require__("./node_modules/estraverse/estraverse.js"),esutils=__webpack_require__("./node_modules/esutils/lib/utils.js"),Syntax=estraverse.Syntax,BinaryPrecedence={"||":(Precedence={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Exponentiation:13,Await:14,Unary:14,Postfix:15,OptionalChaining:16,Call:17,New:18,TaggedTemplate:19,Member:20,Primary:21}).LogicalOR,"&&":Precedence.LogicalAND,"|":Precedence.BitwiseOR,"^":Precedence.BitwiseXOR,"&":Precedence.BitwiseAND,"==":Precedence.Equality,"!=":Precedence.Equality,"===":Precedence.Equality,"!==":Precedence.Equality,is:Precedence.Equality,isnt:Precedence.Equality,"<":Precedence.Relational,">":Precedence.Relational,"<=":Precedence.Relational,">=":Precedence.Relational,in:Precedence.Relational,instanceof:Precedence.Relational,"<<":Precedence.BitwiseSHIFT,">>":Precedence.BitwiseSHIFT,">>>":Precedence.BitwiseSHIFT,"+":Precedence.Additive,"-":Precedence.Additive,"*":Precedence.Multiplicative,"%":Precedence.Multiplicative,"/":Precedence.Multiplicative,"**":Precedence.Exponentiation};function stringRepeat(str,num){var result="";for(num|=0;num>0;num>>>=1,str+=str)1&num&&(result+=str);return result}function endsWithLineTerminator(str){var len=str.length;return len&&esutils.code.isLineTerminator(str.charCodeAt(len-1))}function merge(target,override){var key;for(key in override)override.hasOwnProperty(key)&&(target[key]=override[key]);return target}function updateDeeply(target,override){var key,val;function isHashObject(target){return"object"==typeof target&&target instanceof Object&&!(target instanceof RegExp)}for(key in override)override.hasOwnProperty(key)&&(isHashObject(val=override[key])?isHashObject(target[key])?updateDeeply(target[key],val):target[key]=updateDeeply({},val):target[key]=val);return target}function escapeRegExpCharacter(ch,previousIsBackslash){return 8232==(-2&ch)?(previousIsBackslash?"u":"\\u")+(8232===ch?"2028":"2029"):10===ch||13===ch?(previousIsBackslash?"":"\\")+(10===ch?"n":"r"):String.fromCharCode(ch)}function escapeAllowedCharacter(code,next){var hex;return 8===code?"\\b":12===code?"\\f":9===code?"\\t":(hex=code.toString(16).toUpperCase(),json||code>255?"\\u"+"0000".slice(hex.length)+hex:0!==code||esutils.code.isDecimalDigit(next)?11===code?"\\x0B":"\\x"+"00".slice(hex.length)+hex:"\\0")}function escapeDisallowedCharacter(code){if(92===code)return"\\\\";if(10===code)return"\\n";if(13===code)return"\\r";if(8232===code)return"\\u2028";if(8233===code)return"\\u2029";throw new Error("Incorrectly classified character")}function flattenToString(arr){var i,iz,elem,result="";for(i=0,iz=arr.length;i<iz;++i)elem=arr[i],result+=Array.isArray(elem)?flattenToString(elem):elem;return result}function toSourceNodeWhenNeeded(generated,node){if(!sourceMap)return Array.isArray(generated)?flattenToString(generated):generated;if(null==node){if(generated instanceof SourceNode)return generated;node={}}return null==node.loc?new SourceNode(null,null,sourceMap,generated,node.name||null):new SourceNode(node.loc.start.line,node.loc.start.column,!0===sourceMap?node.loc.source||null:sourceMap,generated,node.name||null)}function noEmptySpace(){return space||" "}function join(left,right){var leftSource,rightSource,leftCharCode,rightCharCode;return 0===(leftSource=toSourceNodeWhenNeeded(left).toString()).length?[right]:0===(rightSource=toSourceNodeWhenNeeded(right).toString()).length?[left]:(leftCharCode=leftSource.charCodeAt(leftSource.length-1),rightCharCode=rightSource.charCodeAt(0),(43===leftCharCode||45===leftCharCode)&&leftCharCode===rightCharCode||esutils.code.isIdentifierPartES5(leftCharCode)&&esutils.code.isIdentifierPartES5(rightCharCode)||47===leftCharCode&&105===rightCharCode?[left,noEmptySpace(),right]:esutils.code.isWhiteSpace(leftCharCode)||esutils.code.isLineTerminator(leftCharCode)||esutils.code.isWhiteSpace(rightCharCode)||esutils.code.isLineTerminator(rightCharCode)?[left,right]:[left,space,right])}function addIndent(stmt){return[base,stmt]}function withIndent(fn){var previousBase;previousBase=base,fn(base+=indent),base=previousBase}function generateComment(comment,specialBase){if("Line"===comment.type){if(endsWithLineTerminator(comment.value))return"//"+comment.value;var result="//"+comment.value;return preserveBlankLines||(result+="\n"),result}return extra.format.indent.adjustMultilineComment&&/[\n\r]/.test(comment.value)?function adjustMultilineComment(value,specialBase){var array,i,len,line,j,spaces,previousBase,sn;for(array=value.split(/\r\n|[\r\n]/),spaces=Number.MAX_VALUE,i=1,len=array.length;i<len;++i){for(line=array[i],j=0;j<line.length&&esutils.code.isWhiteSpace(line.charCodeAt(j));)++j;spaces>j&&(spaces=j)}for(void 0!==specialBase?(previousBase=base,"*"===array[1][spaces]&&(specialBase+=" "),base=specialBase):(1&spaces&&--spaces,previousBase=base),i=1,len=array.length;i<len;++i)sn=toSourceNodeWhenNeeded(addIndent(array[i].slice(spaces))),array[i]=sourceMap?sn.join(""):sn;return base=previousBase,array.join("\n")}("/*"+comment.value+"*/",specialBase):"/*"+comment.value+"*/"}function addComments(stmt,result){var i,len,comment,save,tailingToStatement,specialBase,fragment,extRange,range,prevRange,prefix,count;if(stmt.leadingComments&&stmt.leadingComments.length>0){if(save=result,preserveBlankLines){for(result=[],extRange=(comment=stmt.leadingComments[0]).extendedRange,range=comment.range,(count=((prefix=sourceCode.substring(extRange[0],range[0])).match(/\n/g)||[]).length)>0?(result.push(stringRepeat("\n",count)),result.push(addIndent(generateComment(comment)))):(result.push(prefix),result.push(generateComment(comment))),prevRange=range,i=1,len=stmt.leadingComments.length;i<len;i++)range=(comment=stmt.leadingComments[i]).range,count=(sourceCode.substring(prevRange[1],range[0]).match(/\n/g)||[]).length,result.push(stringRepeat("\n",count)),result.push(addIndent(generateComment(comment))),prevRange=range;count=(sourceCode.substring(range[1],extRange[1]).match(/\n/g)||[]).length,result.push(stringRepeat("\n",count))}else for(comment=stmt.leadingComments[0],result=[],safeConcatenation&&stmt.type===Syntax.Program&&0===stmt.body.length&&result.push("\n"),result.push(generateComment(comment)),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push("\n"),i=1,len=stmt.leadingComments.length;i<len;++i)endsWithLineTerminator(toSourceNodeWhenNeeded(fragment=[generateComment(comment=stmt.leadingComments[i])]).toString())||fragment.push("\n"),result.push(addIndent(fragment));result.push(addIndent(save))}if(stmt.trailingComments)if(preserveBlankLines)extRange=(comment=stmt.trailingComments[0]).extendedRange,range=comment.range,(count=((prefix=sourceCode.substring(extRange[0],range[0])).match(/\n/g)||[]).length)>0?(result.push(stringRepeat("\n",count)),result.push(addIndent(generateComment(comment)))):(result.push(prefix),result.push(generateComment(comment)));else for(tailingToStatement=!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString()),specialBase=stringRepeat(" ",function calculateSpaces(str){var i;for(i=str.length-1;i>=0&&!esutils.code.isLineTerminator(str.charCodeAt(i));--i);return str.length-1-i}(toSourceNodeWhenNeeded([base,result,indent]).toString())),i=0,len=stmt.trailingComments.length;i<len;++i)comment=stmt.trailingComments[i],tailingToStatement?(result=0===i?[result,indent]:[result,specialBase]).push(generateComment(comment,specialBase)):result=[result,addIndent(generateComment(comment))],i===len-1||endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||(result=[result,"\n"]);return result}function generateBlankLines(start,end,result){var j,newlineCount=0;for(j=start;j<end;j++)"\n"===sourceCode[j]&&newlineCount++;for(j=1;j<newlineCount;j++)result.push(newline)}function parenthesize(text,current,should){return current<should?["(",text,")"]:text}function generateVerbatimString(string){var i,iz,result;for(i=1,iz=(result=string.split(/\r\n|\n/)).length;i<iz;i++)result[i]=newline+base+result[i];return result}function CodeGenerator(){}function generateIdentifier(node){return toSourceNodeWhenNeeded(node.name,node)}function generateAsyncPrefix(node,spaceRequired){return node.async?"async"+(spaceRequired?noEmptySpace():space):""}function generateStarSuffix(node){return node.generator&&!extra.moz.starlessGenerator?"*"+space:""}function generateMethodPrefix(prop){var func=prop.value,prefix="";return func.async&&(prefix+=generateAsyncPrefix(func,!prop.computed)),func.generator&&(prefix+=generateStarSuffix(func)?"*":""),prefix}function generateInternal(node){var codegen;if(codegen=new CodeGenerator,isStatement(node))return codegen.generateStatement(node,1);if(function isExpression(node){return CodeGenerator.Expression.hasOwnProperty(node.type)}(node))return codegen.generateExpression(node,Precedence.Sequence,7);throw new Error("Unknown node type: "+node.type)}CodeGenerator.prototype.maybeBlock=function(stmt,flags){var result,noLeadingComment,that=this;return noLeadingComment=!extra.comment||!stmt.leadingComments,stmt.type===Syntax.BlockStatement&&noLeadingComment?[space,this.generateStatement(stmt,flags)]:stmt.type===Syntax.EmptyStatement&&noLeadingComment?";":(withIndent((function(){result=[newline,addIndent(that.generateStatement(stmt,flags))]})),result)},CodeGenerator.prototype.maybeBlockSuffix=function(stmt,result){var ends=endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString());return stmt.type!==Syntax.BlockStatement||extra.comment&&stmt.leadingComments||ends?ends?[result,base]:[result,newline,base]:[result,space]},CodeGenerator.prototype.generatePattern=function(node,precedence,flags){return node.type===Syntax.Identifier?generateIdentifier(node):this.generateExpression(node,precedence,flags)},CodeGenerator.prototype.generateFunctionParams=function(node){var i,iz,result,hasDefault;if(hasDefault=!1,node.type!==Syntax.ArrowFunctionExpression||node.rest||node.defaults&&0!==node.defaults.length||1!==node.params.length||node.params[0].type!==Syntax.Identifier){for((result=node.type===Syntax.ArrowFunctionExpression?[generateAsyncPrefix(node,!1)]:[]).push("("),node.defaults&&(hasDefault=!0),i=0,iz=node.params.length;i<iz;++i)hasDefault&&node.defaults[i]?result.push(this.generateAssignment(node.params[i],node.defaults[i],"=",Precedence.Assignment,7)):result.push(this.generatePattern(node.params[i],Precedence.Assignment,7)),i+1<iz&&result.push(","+space);node.rest&&(node.params.length&&result.push(","+space),result.push("..."),result.push(generateIdentifier(node.rest))),result.push(")")}else result=[generateAsyncPrefix(node,!0),generateIdentifier(node.params[0])];return result},CodeGenerator.prototype.generateFunctionBody=function(node){var result,expr;return result=this.generateFunctionParams(node),node.type===Syntax.ArrowFunctionExpression&&(result.push(space),result.push("=>")),node.expression?(result.push(space),"{"===(expr=this.generateExpression(node.body,Precedence.Assignment,7)).toString().charAt(0)&&(expr=["(",expr,")"]),result.push(expr)):result.push(this.maybeBlock(node.body,9)),result},CodeGenerator.prototype.generateIterationForStatement=function(operator,stmt,flags){var result=["for"+(stmt.await?noEmptySpace()+"await":"")+space+"("],that=this;return withIndent((function(){stmt.left.type===Syntax.VariableDeclaration?withIndent((function(){result.push(stmt.left.kind+noEmptySpace()),result.push(that.generateStatement(stmt.left.declarations[0],0))})):result.push(that.generateExpression(stmt.left,Precedence.Call,7)),result=join(result,operator),result=[join(result,that.generateExpression(stmt.right,Precedence.Assignment,7)),")"]})),result.push(this.maybeBlock(stmt.body,flags)),result},CodeGenerator.prototype.generatePropertyKey=function(expr,computed){var result=[];return computed&&result.push("["),result.push(this.generateExpression(expr,Precedence.Assignment,7)),computed&&result.push("]"),result},CodeGenerator.prototype.generateAssignment=function(left,right,operator,precedence,flags){return Precedence.Assignment<precedence&&(flags|=1),parenthesize([this.generateExpression(left,Precedence.Call,flags),space+operator+space,this.generateExpression(right,Precedence.Assignment,flags)],Precedence.Assignment,precedence)},CodeGenerator.prototype.semicolon=function(flags){return!semicolons&&32&flags?"":";"},CodeGenerator.Statement={BlockStatement:function(stmt,flags){var range,content,result=["{",newline],that=this;return withIndent((function(){var i,iz,fragment,bodyFlags;for(0===stmt.body.length&&preserveBlankLines&&(range=stmt.range)[1]-range[0]>2&&("\n"===(content=sourceCode.substring(range[0]+1,range[1]-1))[0]&&(result=["{"]),result.push(content)),bodyFlags=1,8&flags&&(bodyFlags|=16),i=0,iz=stmt.body.length;i<iz;++i)preserveBlankLines&&(0===i&&(stmt.body[0].leadingComments&&(range=stmt.body[0].leadingComments[0].extendedRange,"\n"===(content=sourceCode.substring(range[0],range[1]))[0]&&(result=["{"])),stmt.body[0].leadingComments||generateBlankLines(stmt.range[0],stmt.body[0].range[0],result)),i>0&&(stmt.body[i-1].trailingComments||stmt.body[i].leadingComments||generateBlankLines(stmt.body[i-1].range[1],stmt.body[i].range[0],result))),i===iz-1&&(bodyFlags|=32),fragment=stmt.body[i].leadingComments&&preserveBlankLines?that.generateStatement(stmt.body[i],bodyFlags):addIndent(that.generateStatement(stmt.body[i],bodyFlags)),result.push(fragment),endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())||preserveBlankLines&&i<iz-1&&stmt.body[i+1].leadingComments||result.push(newline),preserveBlankLines&&i===iz-1&&(stmt.body[i].trailingComments||generateBlankLines(stmt.body[i].range[1],stmt.range[1],result))})),result.push(addIndent("}")),result},BreakStatement:function(stmt,flags){return stmt.label?"break "+stmt.label.name+this.semicolon(flags):"break"+this.semicolon(flags)},ContinueStatement:function(stmt,flags){return stmt.label?"continue "+stmt.label.name+this.semicolon(flags):"continue"+this.semicolon(flags)},ClassBody:function(stmt,flags){var result=["{",newline],that=this;return withIndent((function(indent){var i,iz;for(i=0,iz=stmt.body.length;i<iz;++i)result.push(indent),result.push(that.generateExpression(stmt.body[i],Precedence.Sequence,7)),i+1<iz&&result.push(newline)})),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),result.push(base),result.push("}"),result},ClassDeclaration:function(stmt,flags){var result,fragment;return result=["class"],stmt.id&&(result=join(result,this.generateExpression(stmt.id,Precedence.Sequence,7))),stmt.superClass&&(fragment=join("extends",this.generateExpression(stmt.superClass,Precedence.Unary,7)),result=join(result,fragment)),result.push(space),result.push(this.generateStatement(stmt.body,33)),result},DirectiveStatement:function(stmt,flags){return extra.raw&&stmt.raw?stmt.raw+this.semicolon(flags):function escapeDirective(str){var i,iz,code,quote;for(quote="double"===quotes?'"':"'",i=0,iz=str.length;i<iz;++i){if(39===(code=str.charCodeAt(i))){quote='"';break}if(34===code){quote="'";break}92===code&&++i}return quote+str+quote}(stmt.directive)+this.semicolon(flags)},DoWhileStatement:function(stmt,flags){var result=join("do",this.maybeBlock(stmt.body,1));return join(result=this.maybeBlockSuffix(stmt.body,result),["while"+space+"(",this.generateExpression(stmt.test,Precedence.Sequence,7),")"+this.semicolon(flags)])},CatchClause:function(stmt,flags){var result,that=this;return withIndent((function(){var guard;stmt.param?(result=["catch"+space+"(",that.generateExpression(stmt.param,Precedence.Sequence,7),")"],stmt.guard&&(guard=that.generateExpression(stmt.guard,Precedence.Sequence,7),result.splice(2,0," if ",guard))):result=["catch"]})),result.push(this.maybeBlock(stmt.body,1)),result},DebuggerStatement:function(stmt,flags){return"debugger"+this.semicolon(flags)},EmptyStatement:function(stmt,flags){return";"},ExportDefaultDeclaration:function(stmt,flags){var bodyFlags,result=["export"];return bodyFlags=32&flags?33:1,result=join(result,"default"),result=isStatement(stmt.declaration)?join(result,this.generateStatement(stmt.declaration,bodyFlags)):join(result,this.generateExpression(stmt.declaration,Precedence.Assignment,7)+this.semicolon(flags))},ExportNamedDeclaration:function(stmt,flags){var bodyFlags,result=["export"],that=this;return bodyFlags=32&flags?33:1,stmt.declaration?join(result,this.generateStatement(stmt.declaration,bodyFlags)):(stmt.specifiers&&(0===stmt.specifiers.length?result=join(result,"{"+space+"}"):stmt.specifiers[0].type===Syntax.ExportBatchSpecifier?result=join(result,this.generateExpression(stmt.specifiers[0],Precedence.Sequence,7)):(result=join(result,"{"),withIndent((function(indent){var i,iz;for(result.push(newline),i=0,iz=stmt.specifiers.length;i<iz;++i)result.push(indent),result.push(that.generateExpression(stmt.specifiers[i],Precedence.Sequence,7)),i+1<iz&&result.push(","+newline)})),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),result.push(base+"}")),stmt.source?result=join(result,["from"+space,this.generateExpression(stmt.source,Precedence.Sequence,7),this.semicolon(flags)]):result.push(this.semicolon(flags))),result)},ExportAllDeclaration:function(stmt,flags){return["export"+space,"*"+space,"from"+space,this.generateExpression(stmt.source,Precedence.Sequence,7),this.semicolon(flags)]},ExpressionStatement:function(stmt,flags){var result,fragment;return 123===(fragment=toSourceNodeWhenNeeded(result=[this.generateExpression(stmt.expression,Precedence.Sequence,7)]).toString()).charCodeAt(0)||function isClassPrefixed(fragment){var code;return"class"===fragment.slice(0,5)&&(123===(code=fragment.charCodeAt(5))||esutils.code.isWhiteSpace(code)||esutils.code.isLineTerminator(code))}(fragment)||function isFunctionPrefixed(fragment){var code;return"function"===fragment.slice(0,8)&&(40===(code=fragment.charCodeAt(8))||esutils.code.isWhiteSpace(code)||42===code||esutils.code.isLineTerminator(code))}(fragment)||function isAsyncPrefixed(fragment){var code,i,iz;if("async"!==fragment.slice(0,5))return!1;if(!esutils.code.isWhiteSpace(fragment.charCodeAt(5)))return!1;for(i=6,iz=fragment.length;i<iz&&esutils.code.isWhiteSpace(fragment.charCodeAt(i));++i);return i!==iz&&("function"===fragment.slice(i,i+8)&&(40===(code=fragment.charCodeAt(i+8))||esutils.code.isWhiteSpace(code)||42===code||esutils.code.isLineTerminator(code)))}(fragment)||directive&&16&flags&&stmt.expression.type===Syntax.Literal&&"string"==typeof stmt.expression.value?result=["(",result,")"+this.semicolon(flags)]:result.push(this.semicolon(flags)),result},ImportDeclaration:function(stmt,flags){var result,cursor,that=this;return 0===stmt.specifiers.length?["import",space,this.generateExpression(stmt.source,Precedence.Sequence,7),this.semicolon(flags)]:(result=["import"],cursor=0,stmt.specifiers[cursor].type===Syntax.ImportDefaultSpecifier&&(result=join(result,[this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,7)]),++cursor),stmt.specifiers[cursor]&&(0!==cursor&&result.push(","),stmt.specifiers[cursor].type===Syntax.ImportNamespaceSpecifier?result=join(result,[space,this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,7)]):(result.push(space+"{"),stmt.specifiers.length-cursor==1?(result.push(space),result.push(this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,7)),result.push(space+"}"+space)):(withIndent((function(indent){var i,iz;for(result.push(newline),i=cursor,iz=stmt.specifiers.length;i<iz;++i)result.push(indent),result.push(that.generateExpression(stmt.specifiers[i],Precedence.Sequence,7)),i+1<iz&&result.push(","+newline)})),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),result.push(base+"}"+space)))),result=join(result,["from"+space,this.generateExpression(stmt.source,Precedence.Sequence,7),this.semicolon(flags)]))},VariableDeclarator:function(stmt,flags){var itemFlags=1&flags?7:6;return stmt.init?[this.generateExpression(stmt.id,Precedence.Assignment,itemFlags),space,"=",space,this.generateExpression(stmt.init,Precedence.Assignment,itemFlags)]:this.generatePattern(stmt.id,Precedence.Assignment,itemFlags)},VariableDeclaration:function(stmt,flags){var result,i,iz,node,bodyFlags,that=this;function block(){for(node=stmt.declarations[0],extra.comment&&node.leadingComments?(result.push("\n"),result.push(addIndent(that.generateStatement(node,bodyFlags)))):(result.push(noEmptySpace()),result.push(that.generateStatement(node,bodyFlags))),i=1,iz=stmt.declarations.length;i<iz;++i)node=stmt.declarations[i],extra.comment&&node.leadingComments?(result.push(","+newline),result.push(addIndent(that.generateStatement(node,bodyFlags)))):(result.push(","+space),result.push(that.generateStatement(node,bodyFlags)))}return result=[stmt.kind],bodyFlags=1&flags?1:0,stmt.declarations.length>1?withIndent(block):block(),result.push(this.semicolon(flags)),result},ThrowStatement:function(stmt,flags){return[join("throw",this.generateExpression(stmt.argument,Precedence.Sequence,7)),this.semicolon(flags)]},TryStatement:function(stmt,flags){var result,i,iz,guardedHandlers;if(result=["try",this.maybeBlock(stmt.block,1)],result=this.maybeBlockSuffix(stmt.block,result),stmt.handlers)for(i=0,iz=stmt.handlers.length;i<iz;++i)result=join(result,this.generateStatement(stmt.handlers[i],1)),(stmt.finalizer||i+1!==iz)&&(result=this.maybeBlockSuffix(stmt.handlers[i].body,result));else{for(i=0,iz=(guardedHandlers=stmt.guardedHandlers||[]).length;i<iz;++i)result=join(result,this.generateStatement(guardedHandlers[i],1)),(stmt.finalizer||i+1!==iz)&&(result=this.maybeBlockSuffix(guardedHandlers[i].body,result));if(stmt.handler)if(Array.isArray(stmt.handler))for(i=0,iz=stmt.handler.length;i<iz;++i)result=join(result,this.generateStatement(stmt.handler[i],1)),(stmt.finalizer||i+1!==iz)&&(result=this.maybeBlockSuffix(stmt.handler[i].body,result));else result=join(result,this.generateStatement(stmt.handler,1)),stmt.finalizer&&(result=this.maybeBlockSuffix(stmt.handler.body,result))}return stmt.finalizer&&(result=join(result,["finally",this.maybeBlock(stmt.finalizer,1)])),result},SwitchStatement:function(stmt,flags){var result,fragment,i,iz,bodyFlags,that=this;if(withIndent((function(){result=["switch"+space+"(",that.generateExpression(stmt.discriminant,Precedence.Sequence,7),")"+space+"{"+newline]})),stmt.cases)for(bodyFlags=1,i=0,iz=stmt.cases.length;i<iz;++i)i===iz-1&&(bodyFlags|=32),fragment=addIndent(this.generateStatement(stmt.cases[i],bodyFlags)),result.push(fragment),endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())||result.push(newline);return result.push(addIndent("}")),result},SwitchCase:function(stmt,flags){var result,fragment,i,iz,bodyFlags,that=this;return withIndent((function(){for(result=stmt.test?[join("case",that.generateExpression(stmt.test,Precedence.Sequence,7)),":"]:["default:"],i=0,(iz=stmt.consequent.length)&&stmt.consequent[0].type===Syntax.BlockStatement&&(fragment=that.maybeBlock(stmt.consequent[0],1),result.push(fragment),i=1),i===iz||endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),bodyFlags=1;i<iz;++i)i===iz-1&&32&flags&&(bodyFlags|=32),fragment=addIndent(that.generateStatement(stmt.consequent[i],bodyFlags)),result.push(fragment),i+1===iz||endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())||result.push(newline)})),result},IfStatement:function(stmt,flags){var result,bodyFlags,that=this;return withIndent((function(){result=["if"+space+"(",that.generateExpression(stmt.test,Precedence.Sequence,7),")"]})),bodyFlags=1,32&flags&&(bodyFlags|=32),stmt.alternate?(result.push(this.maybeBlock(stmt.consequent,1)),result=this.maybeBlockSuffix(stmt.consequent,result),result=stmt.alternate.type===Syntax.IfStatement?join(result,["else ",this.generateStatement(stmt.alternate,bodyFlags)]):join(result,join("else",this.maybeBlock(stmt.alternate,bodyFlags)))):result.push(this.maybeBlock(stmt.consequent,bodyFlags)),result},ForStatement:function(stmt,flags){var result,that=this;return withIndent((function(){result=["for"+space+"("],stmt.init?stmt.init.type===Syntax.VariableDeclaration?result.push(that.generateStatement(stmt.init,0)):(result.push(that.generateExpression(stmt.init,Precedence.Sequence,6)),result.push(";")):result.push(";"),stmt.test?(result.push(space),result.push(that.generateExpression(stmt.test,Precedence.Sequence,7)),result.push(";")):result.push(";"),stmt.update?(result.push(space),result.push(that.generateExpression(stmt.update,Precedence.Sequence,7)),result.push(")")):result.push(")")})),result.push(this.maybeBlock(stmt.body,32&flags?33:1)),result},ForInStatement:function(stmt,flags){return this.generateIterationForStatement("in",stmt,32&flags?33:1)},ForOfStatement:function(stmt,flags){return this.generateIterationForStatement("of",stmt,32&flags?33:1)},LabeledStatement:function(stmt,flags){return[stmt.label.name+":",this.maybeBlock(stmt.body,32&flags?33:1)]},Program:function(stmt,flags){var result,fragment,i,iz,bodyFlags;for(iz=stmt.body.length,result=[safeConcatenation&&iz>0?"\n":""],bodyFlags=17,i=0;i<iz;++i)safeConcatenation||i!==iz-1||(bodyFlags|=32),preserveBlankLines&&(0===i&&(stmt.body[0].leadingComments||generateBlankLines(stmt.range[0],stmt.body[i].range[0],result)),i>0&&(stmt.body[i-1].trailingComments||stmt.body[i].leadingComments||generateBlankLines(stmt.body[i-1].range[1],stmt.body[i].range[0],result))),fragment=addIndent(this.generateStatement(stmt.body[i],bodyFlags)),result.push(fragment),i+1<iz&&!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())&&(preserveBlankLines&&stmt.body[i+1].leadingComments||result.push(newline)),preserveBlankLines&&i===iz-1&&(stmt.body[i].trailingComments||generateBlankLines(stmt.body[i].range[1],stmt.range[1],result));return result},FunctionDeclaration:function(stmt,flags){return[generateAsyncPrefix(stmt,!0),"function",generateStarSuffix(stmt)||noEmptySpace(),stmt.id?generateIdentifier(stmt.id):"",this.generateFunctionBody(stmt)]},ReturnStatement:function(stmt,flags){return stmt.argument?[join("return",this.generateExpression(stmt.argument,Precedence.Sequence,7)),this.semicolon(flags)]:["return"+this.semicolon(flags)]},WhileStatement:function(stmt,flags){var result,that=this;return withIndent((function(){result=["while"+space+"(",that.generateExpression(stmt.test,Precedence.Sequence,7),")"]})),result.push(this.maybeBlock(stmt.body,32&flags?33:1)),result},WithStatement:function(stmt,flags){var result,that=this;return withIndent((function(){result=["with"+space+"(",that.generateExpression(stmt.object,Precedence.Sequence,7),")"]})),result.push(this.maybeBlock(stmt.body,32&flags?33:1)),result}},merge(CodeGenerator.prototype,CodeGenerator.Statement),CodeGenerator.Expression={SequenceExpression:function(expr,precedence,flags){var result,i,iz;for(Precedence.Sequence<precedence&&(flags|=1),result=[],i=0,iz=expr.expressions.length;i<iz;++i)result.push(this.generateExpression(expr.expressions[i],Precedence.Assignment,flags)),i+1<iz&&result.push(","+space);return parenthesize(result,Precedence.Sequence,precedence)},AssignmentExpression:function(expr,precedence,flags){return this.generateAssignment(expr.left,expr.right,expr.operator,precedence,flags)},ArrowFunctionExpression:function(expr,precedence,flags){return parenthesize(this.generateFunctionBody(expr),Precedence.ArrowFunction,precedence)},ConditionalExpression:function(expr,precedence,flags){return Precedence.Conditional<precedence&&(flags|=1),parenthesize([this.generateExpression(expr.test,Precedence.LogicalOR,flags),space+"?"+space,this.generateExpression(expr.consequent,Precedence.Assignment,flags),space+":"+space,this.generateExpression(expr.alternate,Precedence.Assignment,flags)],Precedence.Conditional,precedence)},LogicalExpression:function(expr,precedence,flags){return this.BinaryExpression(expr,precedence,flags)},BinaryExpression:function(expr,precedence,flags){var result,leftPrecedence,rightPrecedence,currentPrecedence,fragment,leftSource;return currentPrecedence=BinaryPrecedence[expr.operator],leftPrecedence="**"===expr.operator?Precedence.Postfix:currentPrecedence,rightPrecedence="**"===expr.operator?currentPrecedence:currentPrecedence+1,currentPrecedence<precedence&&(flags|=1),result=47===(leftSource=(fragment=this.generateExpression(expr.left,leftPrecedence,flags)).toString()).charCodeAt(leftSource.length-1)&&esutils.code.isIdentifierPartES5(expr.operator.charCodeAt(0))?[fragment,noEmptySpace(),expr.operator]:join(fragment,expr.operator),fragment=this.generateExpression(expr.right,rightPrecedence,flags),"/"===expr.operator&&"/"===fragment.toString().charAt(0)||"<"===expr.operator.slice(-1)&&"!--"===fragment.toString().slice(0,3)?(result.push(noEmptySpace()),result.push(fragment)):result=join(result,fragment),"in"!==expr.operator||1&flags?parenthesize(result,currentPrecedence,precedence):["(",result,")"]},CallExpression:function(expr,precedence,flags){var result,i,iz;for(result=[this.generateExpression(expr.callee,Precedence.Call,3)],expr.optional&&result.push("?."),result.push("("),i=0,iz=expr.arguments.length;i<iz;++i)result.push(this.generateExpression(expr.arguments[i],Precedence.Assignment,7)),i+1<iz&&result.push(","+space);return result.push(")"),2&flags?parenthesize(result,Precedence.Call,precedence):["(",result,")"]},ChainExpression:function(expr,precedence,flags){return Precedence.OptionalChaining<precedence&&(flags|=2),parenthesize(this.generateExpression(expr.expression,Precedence.OptionalChaining,flags),Precedence.OptionalChaining,precedence)},NewExpression:function(expr,precedence,flags){var result,length,i,iz,itemFlags;if(length=expr.arguments.length,itemFlags=4&flags&&!parentheses&&0===length?5:1,result=join("new",this.generateExpression(expr.callee,Precedence.New,itemFlags)),!(4&flags)||parentheses||length>0){for(result.push("("),i=0,iz=length;i<iz;++i)result.push(this.generateExpression(expr.arguments[i],Precedence.Assignment,7)),i+1<iz&&result.push(","+space);result.push(")")}return parenthesize(result,Precedence.New,precedence)},MemberExpression:function(expr,precedence,flags){var result,fragment;return result=[this.generateExpression(expr.object,Precedence.Call,2&flags?3:1)],expr.computed?(expr.optional&&result.push("?."),result.push("["),result.push(this.generateExpression(expr.property,Precedence.Sequence,2&flags?7:5)),result.push("]")):(expr.optional||expr.object.type!==Syntax.Literal||"number"!=typeof expr.object.value||(fragment=toSourceNodeWhenNeeded(result).toString()).indexOf(".")<0&&!/[eExX]/.test(fragment)&&esutils.code.isDecimalDigit(fragment.charCodeAt(fragment.length-1))&&!(fragment.length>=2&&48===fragment.charCodeAt(0))&&result.push(" "),result.push(expr.optional?"?.":"."),result.push(generateIdentifier(expr.property))),parenthesize(result,Precedence.Member,precedence)},MetaProperty:function(expr,precedence,flags){var result;return(result=[]).push("string"==typeof expr.meta?expr.meta:generateIdentifier(expr.meta)),result.push("."),result.push("string"==typeof expr.property?expr.property:generateIdentifier(expr.property)),parenthesize(result,Precedence.Member,precedence)},UnaryExpression:function(expr,precedence,flags){var result,fragment,rightCharCode,leftSource,leftCharCode;return fragment=this.generateExpression(expr.argument,Precedence.Unary,7),""===space?result=join(expr.operator,fragment):(result=[expr.operator],expr.operator.length>2?result=join(result,fragment):(leftCharCode=(leftSource=toSourceNodeWhenNeeded(result).toString()).charCodeAt(leftSource.length-1),rightCharCode=fragment.toString().charCodeAt(0),(43===leftCharCode||45===leftCharCode)&&leftCharCode===rightCharCode||esutils.code.isIdentifierPartES5(leftCharCode)&&esutils.code.isIdentifierPartES5(rightCharCode)?(result.push(noEmptySpace()),result.push(fragment)):result.push(fragment))),parenthesize(result,Precedence.Unary,precedence)},YieldExpression:function(expr,precedence,flags){var result;return result=expr.delegate?"yield*":"yield",expr.argument&&(result=join(result,this.generateExpression(expr.argument,Precedence.Yield,7))),parenthesize(result,Precedence.Yield,precedence)},AwaitExpression:function(expr,precedence,flags){return parenthesize(join(expr.all?"await*":"await",this.generateExpression(expr.argument,Precedence.Await,7)),Precedence.Await,precedence)},UpdateExpression:function(expr,precedence,flags){return expr.prefix?parenthesize([expr.operator,this.generateExpression(expr.argument,Precedence.Unary,7)],Precedence.Unary,precedence):parenthesize([this.generateExpression(expr.argument,Precedence.Postfix,7),expr.operator],Precedence.Postfix,precedence)},FunctionExpression:function(expr,precedence,flags){var result=[generateAsyncPrefix(expr,!0),"function"];return expr.id?(result.push(generateStarSuffix(expr)||noEmptySpace()),result.push(generateIdentifier(expr.id))):result.push(generateStarSuffix(expr)||space),result.push(this.generateFunctionBody(expr)),result},ArrayPattern:function(expr,precedence,flags){return this.ArrayExpression(expr,precedence,flags,!0)},ArrayExpression:function(expr,precedence,flags,isPattern){var result,multiline,that=this;return expr.elements.length?(multiline=!isPattern&&expr.elements.length>1,result=["[",multiline?newline:""],withIndent((function(indent){var i,iz;for(i=0,iz=expr.elements.length;i<iz;++i)expr.elements[i]?(result.push(multiline?indent:""),result.push(that.generateExpression(expr.elements[i],Precedence.Assignment,7))):(multiline&&result.push(indent),i+1===iz&&result.push(",")),i+1<iz&&result.push(","+(multiline?newline:space))})),multiline&&!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())&&result.push(newline),result.push(multiline?base:""),result.push("]"),result):"[]"},RestElement:function(expr,precedence,flags){return"..."+this.generatePattern(expr.argument)},ClassExpression:function(expr,precedence,flags){var result,fragment;return result=["class"],expr.id&&(result=join(result,this.generateExpression(expr.id,Precedence.Sequence,7))),expr.superClass&&(fragment=join("extends",this.generateExpression(expr.superClass,Precedence.Unary,7)),result=join(result,fragment)),result.push(space),result.push(this.generateStatement(expr.body,33)),result},MethodDefinition:function(expr,precedence,flags){var result,fragment;return result=expr.static?["static"+space]:[],fragment="get"===expr.kind||"set"===expr.kind?[join(expr.kind,this.generatePropertyKey(expr.key,expr.computed)),this.generateFunctionBody(expr.value)]:[generateMethodPrefix(expr),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)],join(result,fragment)},Property:function(expr,precedence,flags){return"get"===expr.kind||"set"===expr.kind?[expr.kind,noEmptySpace(),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)]:expr.shorthand?"AssignmentPattern"===expr.value.type?this.AssignmentPattern(expr.value,Precedence.Sequence,7):this.generatePropertyKey(expr.key,expr.computed):expr.method?[generateMethodPrefix(expr),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)]:[this.generatePropertyKey(expr.key,expr.computed),":"+space,this.generateExpression(expr.value,Precedence.Assignment,7)]},ObjectExpression:function(expr,precedence,flags){var multiline,result,fragment,that=this;return expr.properties.length?(multiline=expr.properties.length>1,withIndent((function(){fragment=that.generateExpression(expr.properties[0],Precedence.Sequence,7)})),multiline||function hasLineTerminator(str){return/[\r\n]/g.test(str)}(toSourceNodeWhenNeeded(fragment).toString())?(withIndent((function(indent){var i,iz;if(result=["{",newline,indent,fragment],multiline)for(result.push(","+newline),i=1,iz=expr.properties.length;i<iz;++i)result.push(indent),result.push(that.generateExpression(expr.properties[i],Precedence.Sequence,7)),i+1<iz&&result.push(","+newline)})),endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())||result.push(newline),result.push(base),result.push("}"),result):["{",space,fragment,space,"}"]):"{}"},AssignmentPattern:function(expr,precedence,flags){return this.generateAssignment(expr.left,expr.right,"=",precedence,flags)},ObjectPattern:function(expr,precedence,flags){var result,i,iz,multiline,property,that=this;if(!expr.properties.length)return"{}";if(multiline=!1,1===expr.properties.length)(property=expr.properties[0]).type===Syntax.Property&&property.value.type!==Syntax.Identifier&&(multiline=!0);else for(i=0,iz=expr.properties.length;i<iz;++i)if((property=expr.properties[i]).type===Syntax.Property&&!property.shorthand){multiline=!0;break}return result=["{",multiline?newline:""],withIndent((function(indent){var i,iz;for(i=0,iz=expr.properties.length;i<iz;++i)result.push(multiline?indent:""),result.push(that.generateExpression(expr.properties[i],Precedence.Sequence,7)),i+1<iz&&result.push(","+(multiline?newline:space))})),multiline&&!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())&&result.push(newline),result.push(multiline?base:""),result.push("}"),result},ThisExpression:function(expr,precedence,flags){return"this"},Super:function(expr,precedence,flags){return"super"},Identifier:function(expr,precedence,flags){return generateIdentifier(expr)},ImportDefaultSpecifier:function(expr,precedence,flags){return generateIdentifier(expr.id||expr.local)},ImportNamespaceSpecifier:function(expr,precedence,flags){var result=["*"],id=expr.id||expr.local;return id&&result.push(space+"as"+noEmptySpace()+generateIdentifier(id)),result},ImportSpecifier:function(expr,precedence,flags){var imported=expr.imported,result=[imported.name],local=expr.local;return local&&local.name!==imported.name&&result.push(noEmptySpace()+"as"+noEmptySpace()+generateIdentifier(local)),result},ExportSpecifier:function(expr,precedence,flags){var local=expr.local,result=[local.name],exported=expr.exported;return exported&&exported.name!==local.name&&result.push(noEmptySpace()+"as"+noEmptySpace()+generateIdentifier(exported)),result},Literal:function(expr,precedence,flags){var raw;if(expr.hasOwnProperty("raw")&&parse&&extra.raw)try{if((raw=parse(expr.raw).body[0].expression).type===Syntax.Literal&&raw.value===expr.value)return expr.raw}catch(e){}return expr.regex?"/"+expr.regex.pattern+"/"+expr.regex.flags:null===expr.value?"null":"string"==typeof expr.value?function escapeString(str){var i,len,code,single,quote,result="",singleQuotes=0,doubleQuotes=0;for(i=0,len=str.length;i<len;++i){if(39===(code=str.charCodeAt(i)))++singleQuotes;else if(34===code)++doubleQuotes;else if(47===code&&json)result+="\\";else{if(esutils.code.isLineTerminator(code)||92===code){result+=escapeDisallowedCharacter(code);continue}if(!esutils.code.isIdentifierPartES5(code)&&(json&&code<32||!json&&!escapeless&&(code<32||code>126))){result+=escapeAllowedCharacter(code,str.charCodeAt(i+1));continue}}result+=String.fromCharCode(code)}if(quote=(single=!("double"===quotes||"auto"===quotes&&doubleQuotes<singleQuotes))?"'":'"',!(single?singleQuotes:doubleQuotes))return quote+result+quote;for(str=result,result=quote,i=0,len=str.length;i<len;++i)(39===(code=str.charCodeAt(i))&&single||34===code&&!single)&&(result+="\\"),result+=String.fromCharCode(code);return result+quote}(expr.value):"number"==typeof expr.value?function generateNumber(value){var result,point,temp,exponent,pos;if(value!=value)throw new Error("Numeric literal whose value is NaN");if(value<0||0===value&&1/value<0)throw new Error("Numeric literal whose value is negative");if(value===1/0)return json?"null":renumber?"1e400":"1e+400";if(result=""+value,!renumber||result.length<3)return result;for(point=result.indexOf("."),json||48!==result.charCodeAt(0)||1!==point||(point=0,result=result.slice(1)),temp=result,result=result.replace("e+","e"),exponent=0,(pos=temp.indexOf("e"))>0&&(exponent=+temp.slice(pos+1),temp=temp.slice(0,pos)),point>=0&&(exponent-=temp.length-point-1,temp=+(temp.slice(0,point)+temp.slice(point+1))+""),pos=0;48===temp.charCodeAt(temp.length+pos-1);)--pos;return 0!==pos&&(exponent-=pos,temp=temp.slice(0,pos)),0!==exponent&&(temp+="e"+exponent),(temp.length<result.length||hexadecimal&&value>1e12&&Math.floor(value)===value&&(temp="0x"+value.toString(16)).length<result.length)&&+temp===value&&(result=temp),result}(expr.value):"boolean"==typeof expr.value?expr.value?"true":"false":function generateRegExp(reg){var match,result,flags,i,iz,ch,characterInBrack,previousIsBackslash;if(result=reg.toString(),reg.source){if(!(match=result.match(/\/([^/]*)$/)))return result;for(flags=match[1],result="",characterInBrack=!1,previousIsBackslash=!1,i=0,iz=reg.source.length;i<iz;++i)ch=reg.source.charCodeAt(i),previousIsBackslash?(result+=escapeRegExpCharacter(ch,previousIsBackslash),previousIsBackslash=!1):(characterInBrack?93===ch&&(characterInBrack=!1):47===ch?result+="\\":91===ch&&(characterInBrack=!0),result+=escapeRegExpCharacter(ch,previousIsBackslash),previousIsBackslash=92===ch);return"/"+result+"/"+flags}return result}(expr.value)},GeneratorExpression:function(expr,precedence,flags){return this.ComprehensionExpression(expr,precedence,flags)},ComprehensionExpression:function(expr,precedence,flags){var result,i,iz,fragment,that=this;return result=expr.type===Syntax.GeneratorExpression?["("]:["["],extra.moz.comprehensionExpressionStartsWithAssignment&&(fragment=this.generateExpression(expr.body,Precedence.Assignment,7),result.push(fragment)),expr.blocks&&withIndent((function(){for(i=0,iz=expr.blocks.length;i<iz;++i)fragment=that.generateExpression(expr.blocks[i],Precedence.Sequence,7),i>0||extra.moz.comprehensionExpressionStartsWithAssignment?result=join(result,fragment):result.push(fragment)})),expr.filter&&(result=join(result,"if"+space),fragment=this.generateExpression(expr.filter,Precedence.Sequence,7),result=join(result,["(",fragment,")"])),extra.moz.comprehensionExpressionStartsWithAssignment||(fragment=this.generateExpression(expr.body,Precedence.Assignment,7),result=join(result,fragment)),result.push(expr.type===Syntax.GeneratorExpression?")":"]"),result},ComprehensionBlock:function(expr,precedence,flags){var fragment;return fragment=join(fragment=expr.left.type===Syntax.VariableDeclaration?[expr.left.kind,noEmptySpace(),this.generateStatement(expr.left.declarations[0],0)]:this.generateExpression(expr.left,Precedence.Call,7),expr.of?"of":"in"),fragment=join(fragment,this.generateExpression(expr.right,Precedence.Sequence,7)),["for"+space+"(",fragment,")"]},SpreadElement:function(expr,precedence,flags){return["...",this.generateExpression(expr.argument,Precedence.Assignment,7)]},TaggedTemplateExpression:function(expr,precedence,flags){var itemFlags=3;return 2&flags||(itemFlags=1),parenthesize([this.generateExpression(expr.tag,Precedence.Call,itemFlags),this.generateExpression(expr.quasi,Precedence.Primary,4)],Precedence.TaggedTemplate,precedence)},TemplateElement:function(expr,precedence,flags){return expr.value.raw},TemplateLiteral:function(expr,precedence,flags){var result,i,iz;for(result=["`"],i=0,iz=expr.quasis.length;i<iz;++i)result.push(this.generateExpression(expr.quasis[i],Precedence.Primary,7)),i+1<iz&&(result.push("${"+space),result.push(this.generateExpression(expr.expressions[i],Precedence.Sequence,7)),result.push(space+"}"));return result.push("`"),result},ModuleSpecifier:function(expr,precedence,flags){return this.Literal(expr,precedence,flags)},ImportExpression:function(expr,precedence,flag){return parenthesize(["import(",this.generateExpression(expr.source,Precedence.Assignment,7),")"],Precedence.Call,precedence)}},merge(CodeGenerator.prototype,CodeGenerator.Expression),CodeGenerator.prototype.generateExpression=function(expr,precedence,flags){var result,type;return type=expr.type||Syntax.Property,extra.verbatim&&expr.hasOwnProperty(extra.verbatim)?function generateVerbatim(expr,precedence){var verbatim;return toSourceNodeWhenNeeded("string"==typeof(verbatim=expr[extra.verbatim])?parenthesize(generateVerbatimString(verbatim),Precedence.Sequence,precedence):parenthesize(generateVerbatimString(verbatim.content),null!=verbatim.precedence?verbatim.precedence:Precedence.Sequence,precedence),expr)}(expr,precedence):(result=this[type](expr,precedence,flags),extra.comment&&(result=addComments(expr,result)),toSourceNodeWhenNeeded(result,expr))},CodeGenerator.prototype.generateStatement=function(stmt,flags){var result,fragment;return result=this[stmt.type](stmt,flags),extra.comment&&(result=addComments(stmt,result)),fragment=toSourceNodeWhenNeeded(result).toString(),stmt.type!==Syntax.Program||safeConcatenation||""!==newline||"\n"!==fragment.charAt(fragment.length-1)||(result=sourceMap?toSourceNodeWhenNeeded(result).replaceRight(/\s+$/,""):fragment.replace(/\s+$/,"")),toSourceNodeWhenNeeded(result,stmt)},FORMAT_MINIFY={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},FORMAT_DEFAULTS={indent:{style:" ",base:0,adjustMultilineComment:!1},newline:"\n",space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},__webpack_require__("./node_modules/escodegen/package.json"),exports.R_=function generate(node,options){var result,pair,defaultOptions={indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:"\n",space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null};return null!=options?("string"==typeof options.indent&&(defaultOptions.format.indent.style=options.indent),"number"==typeof options.base&&(defaultOptions.format.indent.base=options.base),options=updateDeeply(defaultOptions,options),indent=options.format.indent.style,base="string"==typeof options.base?options.base:stringRepeat(indent,options.format.indent.base)):(indent=(options=defaultOptions).format.indent.style,base=stringRepeat(indent,options.format.indent.base)),json=options.format.json,renumber=options.format.renumber,hexadecimal=!json&&options.format.hexadecimal,quotes=json?"double":options.format.quotes,escapeless=options.format.escapeless,newline=options.format.newline,space=options.format.space,options.format.compact&&(newline=space=indent=base=""),parentheses=options.format.parentheses,semicolons=options.format.semicolons,safeConcatenation=options.format.safeConcatenation,directive=options.directive,parse=json?null:options.parse,sourceMap=options.sourceMap,sourceCode=options.sourceCode,preserveBlankLines=options.format.preserveBlankLines&&null!==sourceCode,extra=options,sourceMap&&(SourceNode=exports.Xh?__webpack_require__.g.sourceMap.SourceNode:__webpack_require__("./node_modules/escodegen/node_modules/source-map/source-map.js").SourceNode),result=generateInternal(node),sourceMap?(pair=result.toStringWithSourceMap({file:options.file,sourceRoot:options.sourceMapRoot}),options.sourceContent&&pair.map.setSourceContent(options.sourceMap,options.sourceContent),options.sourceMapWithCode?pair:pair.map.toString()):(pair={code:result.toString(),map:null},options.sourceMapWithCode?pair:pair.code)},estraverse.attachComments,updateDeeply({},Precedence),exports.Xh=!1,FORMAT_MINIFY,FORMAT_DEFAULTS}()},"./node_modules/escodegen/node_modules/source-map/lib/array-set.js":(__unused_webpack_module,exports,__webpack_require__)=>{var util=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/util.js"),has=Object.prototype.hasOwnProperty,hasNativeMap="undefined"!=typeof Map;function ArraySet(){this._array=[],this._set=hasNativeMap?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(aArray,aAllowDuplicates){for(var set=new ArraySet,i=0,len=aArray.length;i<len;i++)set.add(aArray[i],aAllowDuplicates);return set},ArraySet.prototype.size=function ArraySet_size(){return hasNativeMap?this._set.size:Object.getOwnPropertyNames(this._set).length},ArraySet.prototype.add=function ArraySet_add(aStr,aAllowDuplicates){var sStr=hasNativeMap?aStr:util.toSetString(aStr),isDuplicate=hasNativeMap?this.has(aStr):has.call(this._set,sStr),idx=this._array.length;isDuplicate&&!aAllowDuplicates||this._array.push(aStr),isDuplicate||(hasNativeMap?this._set.set(aStr,idx):this._set[sStr]=idx)},ArraySet.prototype.has=function ArraySet_has(aStr){if(hasNativeMap)return this._set.has(aStr);var sStr=util.toSetString(aStr);return has.call(this._set,sStr)},ArraySet.prototype.indexOf=function ArraySet_indexOf(aStr){if(hasNativeMap){var idx=this._set.get(aStr);if(idx>=0)return idx}else{var sStr=util.toSetString(aStr);if(has.call(this._set,sStr))return this._set[sStr]}throw new Error('"'+aStr+'" is not in the set.')},ArraySet.prototype.at=function ArraySet_at(aIdx){if(aIdx>=0&&aIdx<this._array.length)return this._array[aIdx];throw new Error("No element indexed by "+aIdx)},ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()},exports.I=ArraySet},"./node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js":(__unused_webpack_module,exports,__webpack_require__)=>{var base64=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/base64.js");exports.encode=function base64VLQ_encode(aValue){var digit,encoded="",vlq=function toVLQSigned(aValue){return aValue<0?1+(-aValue<<1):0+(aValue<<1)}(aValue);do{digit=31&vlq,(vlq>>>=5)>0&&(digit|=32),encoded+=base64.encode(digit)}while(vlq>0);return encoded},exports.decode=function base64VLQ_decode(aStr,aIndex,aOutParam){var continuation,digit,strLen=aStr.length,result=0,shift=0;do{if(aIndex>=strLen)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(digit=base64.decode(aStr.charCodeAt(aIndex++))))throw new Error("Invalid base64 digit: "+aStr.charAt(aIndex-1));continuation=!!(32&digit),result+=(digit&=31)<<shift,shift+=5}while(continuation);aOutParam.value=function fromVLQSigned(aValue){var shifted=aValue>>1;return 1==(1&aValue)?-shifted:shifted}(result),aOutParam.rest=aIndex}},"./node_modules/escodegen/node_modules/source-map/lib/base64.js":(__unused_webpack_module,exports)=>{var intToCharMap="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");exports.encode=function(number){if(0<=number&&number<intToCharMap.length)return intToCharMap[number];throw new TypeError("Must be between 0 and 63: "+number)},exports.decode=function(charCode){return 65<=charCode&&charCode<=90?charCode-65:97<=charCode&&charCode<=122?charCode-97+26:48<=charCode&&charCode<=57?charCode-48+52:43==charCode?62:47==charCode?63:-1}},"./node_modules/escodegen/node_modules/source-map/lib/binary-search.js":(__unused_webpack_module,exports)=>{function recursiveSearch(aLow,aHigh,aNeedle,aHaystack,aCompare,aBias){var mid=Math.floor((aHigh-aLow)/2)+aLow,cmp=aCompare(aNeedle,aHaystack[mid],!0);return 0===cmp?mid:cmp>0?aHigh-mid>1?recursiveSearch(mid,aHigh,aNeedle,aHaystack,aCompare,aBias):aBias==exports.LEAST_UPPER_BOUND?aHigh<aHaystack.length?aHigh:-1:mid:mid-aLow>1?recursiveSearch(aLow,mid,aNeedle,aHaystack,aCompare,aBias):aBias==exports.LEAST_UPPER_BOUND?mid:aLow<0?-1:aLow}exports.GREATEST_LOWER_BOUND=1,exports.LEAST_UPPER_BOUND=2,exports.search=function search(aNeedle,aHaystack,aCompare,aBias){if(0===aHaystack.length)return-1;var index=recursiveSearch(-1,aHaystack.length,aNeedle,aHaystack,aCompare,aBias||exports.GREATEST_LOWER_BOUND);if(index<0)return-1;for(;index-1>=0&&0===aCompare(aHaystack[index],aHaystack[index-1],!0);)--index;return index}},"./node_modules/escodegen/node_modules/source-map/lib/mapping-list.js":(__unused_webpack_module,exports,__webpack_require__)=>{var util=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/util.js");function MappingList(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(aCallback,aThisArg){this._array.forEach(aCallback,aThisArg)},MappingList.prototype.add=function MappingList_add(aMapping){!function generatedPositionAfter(mappingA,mappingB){var lineA=mappingA.generatedLine,lineB=mappingB.generatedLine,columnA=mappingA.generatedColumn,columnB=mappingB.generatedColumn;return lineB>lineA||lineB==lineA&&columnB>=columnA||util.compareByGeneratedPositionsInflated(mappingA,mappingB)<=0}(this._last,aMapping)?(this._sorted=!1,this._array.push(aMapping)):(this._last=aMapping,this._array.push(aMapping))},MappingList.prototype.toArray=function MappingList_toArray(){return this._sorted||(this._array.sort(util.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},exports.H=MappingList},"./node_modules/escodegen/node_modules/source-map/lib/quick-sort.js":(__unused_webpack_module,exports)=>{function swap(ary,x,y){var temp=ary[x];ary[x]=ary[y],ary[y]=temp}function doQuickSort(ary,comparator,p,r){if(p<r){var i=p-1;swap(ary,function randomIntInRange(low,high){return Math.round(low+Math.random()*(high-low))}(p,r),r);for(var pivot=ary[r],j=p;j<r;j++)comparator(ary[j],pivot)<=0&&swap(ary,i+=1,j);swap(ary,i+1,j);var q=i+1;doQuickSort(ary,comparator,p,q-1),doQuickSort(ary,comparator,q+1,r)}}exports.U=function(ary,comparator){doQuickSort(ary,comparator,0,ary.length-1)}},"./node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js":(__unused_webpack_module,exports,__webpack_require__)=>{var util=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/util.js"),binarySearch=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/binary-search.js"),ArraySet=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/array-set.js").I,base64VLQ=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"),quickSort=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/quick-sort.js").U;function SourceMapConsumer(aSourceMap,aSourceMapURL){var sourceMap=aSourceMap;return"string"==typeof aSourceMap&&(sourceMap=util.parseSourceMapInput(aSourceMap)),null!=sourceMap.sections?new IndexedSourceMapConsumer(sourceMap,aSourceMapURL):new BasicSourceMapConsumer(sourceMap,aSourceMapURL)}function BasicSourceMapConsumer(aSourceMap,aSourceMapURL){var sourceMap=aSourceMap;"string"==typeof aSourceMap&&(sourceMap=util.parseSourceMapInput(aSourceMap));var version=util.getArg(sourceMap,"version"),sources=util.getArg(sourceMap,"sources"),names=util.getArg(sourceMap,"names",[]),sourceRoot=util.getArg(sourceMap,"sourceRoot",null),sourcesContent=util.getArg(sourceMap,"sourcesContent",null),mappings=util.getArg(sourceMap,"mappings"),file=util.getArg(sourceMap,"file",null);if(version!=this._version)throw new Error("Unsupported version: "+version);sourceRoot&&(sourceRoot=util.normalize(sourceRoot)),sources=sources.map(String).map(util.normalize).map((function(source){return sourceRoot&&util.isAbsolute(sourceRoot)&&util.isAbsolute(source)?util.relative(sourceRoot,source):source})),this._names=ArraySet.fromArray(names.map(String),!0),this._sources=ArraySet.fromArray(sources,!0),this._absoluteSources=this._sources.toArray().map((function(s){return util.computeSourceURL(sourceRoot,s,aSourceMapURL)})),this.sourceRoot=sourceRoot,this.sourcesContent=sourcesContent,this._mappings=mappings,this._sourceMapURL=aSourceMapURL,this.file=file}function Mapping(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function IndexedSourceMapConsumer(aSourceMap,aSourceMapURL){var sourceMap=aSourceMap;"string"==typeof aSourceMap&&(sourceMap=util.parseSourceMapInput(aSourceMap));var version=util.getArg(sourceMap,"version"),sections=util.getArg(sourceMap,"sections");if(version!=this._version)throw new Error("Unsupported version: "+version);this._sources=new ArraySet,this._names=new ArraySet;var lastOffset={line:-1,column:0};this._sections=sections.map((function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var offset=util.getArg(s,"offset"),offsetLine=util.getArg(offset,"line"),offsetColumn=util.getArg(offset,"column");if(offsetLine<lastOffset.line||offsetLine===lastOffset.line&&offsetColumn<lastOffset.column)throw new Error("Section offsets must be ordered and non-overlapping.");return lastOffset=offset,{generatedOffset:{generatedLine:offsetLine+1,generatedColumn:offsetColumn+1},consumer:new SourceMapConsumer(util.getArg(s,"map"),aSourceMapURL)}}))}SourceMapConsumer.fromSourceMap=function(aSourceMap,aSourceMapURL){return BasicSourceMapConsumer.fromSourceMap(aSourceMap,aSourceMapURL)},SourceMapConsumer.prototype._version=3,SourceMapConsumer.prototype.__generatedMappings=null,Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),SourceMapConsumer.prototype.__originalMappings=null,Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(aStr,index){var c=aStr.charAt(index);return";"===c||","===c},SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(aStr,aSourceRoot){throw new Error("Subclasses must implement _parseMappings")},SourceMapConsumer.GENERATED_ORDER=1,SourceMapConsumer.ORIGINAL_ORDER=2,SourceMapConsumer.GREATEST_LOWER_BOUND=1,SourceMapConsumer.LEAST_UPPER_BOUND=2,SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(aCallback,aContext,aOrder){var mappings,context=aContext||null;switch(aOrder||SourceMapConsumer.GENERATED_ORDER){case SourceMapConsumer.GENERATED_ORDER:mappings=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:mappings=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var sourceRoot=this.sourceRoot;mappings.map((function(mapping){var source=null===mapping.source?null:this._sources.at(mapping.source);return{source:source=util.computeSourceURL(sourceRoot,source,this._sourceMapURL),generatedLine:mapping.generatedLine,generatedColumn:mapping.generatedColumn,originalLine:mapping.originalLine,originalColumn:mapping.originalColumn,name:null===mapping.name?null:this._names.at(mapping.name)}}),this).forEach(aCallback,context)},SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(aArgs){var line=util.getArg(aArgs,"line"),needle={source:util.getArg(aArgs,"source"),originalLine:line,originalColumn:util.getArg(aArgs,"column",0)};if(needle.source=this._findSourceIndex(needle.source),needle.source<0)return[];var mappings=[],index=this._findMapping(needle,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,binarySearch.LEAST_UPPER_BOUND);if(index>=0){var mapping=this._originalMappings[index];if(void 0===aArgs.column)for(var originalLine=mapping.originalLine;mapping&&mapping.originalLine===originalLine;)mappings.push({line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)}),mapping=this._originalMappings[++index];else for(var originalColumn=mapping.originalColumn;mapping&&mapping.originalLine===line&&mapping.originalColumn==originalColumn;)mappings.push({line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)}),mapping=this._originalMappings[++index]}return mappings},BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer,BasicSourceMapConsumer.prototype._findSourceIndex=function(aSource){var i,relativeSource=aSource;if(null!=this.sourceRoot&&(relativeSource=util.relative(this.sourceRoot,relativeSource)),this._sources.has(relativeSource))return this._sources.indexOf(relativeSource);for(i=0;i<this._absoluteSources.length;++i)if(this._absoluteSources[i]==aSource)return i;return-1},BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(aSourceMap,aSourceMapURL){var smc=Object.create(BasicSourceMapConsumer.prototype),names=smc._names=ArraySet.fromArray(aSourceMap._names.toArray(),!0),sources=smc._sources=ArraySet.fromArray(aSourceMap._sources.toArray(),!0);smc.sourceRoot=aSourceMap._sourceRoot,smc.sourcesContent=aSourceMap._generateSourcesContent(smc._sources.toArray(),smc.sourceRoot),smc.file=aSourceMap._file,smc._sourceMapURL=aSourceMapURL,smc._absoluteSources=smc._sources.toArray().map((function(s){return util.computeSourceURL(smc.sourceRoot,s,aSourceMapURL)}));for(var generatedMappings=aSourceMap._mappings.toArray().slice(),destGeneratedMappings=smc.__generatedMappings=[],destOriginalMappings=smc.__originalMappings=[],i=0,length=generatedMappings.length;i<length;i++){var srcMapping=generatedMappings[i],destMapping=new Mapping;destMapping.generatedLine=srcMapping.generatedLine,destMapping.generatedColumn=srcMapping.generatedColumn,srcMapping.source&&(destMapping.source=sources.indexOf(srcMapping.source),destMapping.originalLine=srcMapping.originalLine,destMapping.originalColumn=srcMapping.originalColumn,srcMapping.name&&(destMapping.name=names.indexOf(srcMapping.name)),destOriginalMappings.push(destMapping)),destGeneratedMappings.push(destMapping)}return quickSort(smc.__originalMappings,util.compareByOriginalPositions),smc},BasicSourceMapConsumer.prototype._version=3,Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(aStr,aSourceRoot){for(var mapping,str,segment,end,value,generatedLine=1,previousGeneratedColumn=0,previousOriginalLine=0,previousOriginalColumn=0,previousSource=0,previousName=0,length=aStr.length,index=0,cachedSegments={},temp={},originalMappings=[],generatedMappings=[];index<length;)if(";"===aStr.charAt(index))generatedLine++,index++,previousGeneratedColumn=0;else if(","===aStr.charAt(index))index++;else{for((mapping=new Mapping).generatedLine=generatedLine,end=index;end<length&&!this._charIsMappingSeparator(aStr,end);end++);if(segment=cachedSegments[str=aStr.slice(index,end)])index+=str.length;else{for(segment=[];index<end;)base64VLQ.decode(aStr,index,temp),value=temp.value,index=temp.rest,segment.push(value);if(2===segment.length)throw new Error("Found a source, but no line and column");if(3===segment.length)throw new Error("Found a source and line, but no column");cachedSegments[str]=segment}mapping.generatedColumn=previousGeneratedColumn+segment[0],previousGeneratedColumn=mapping.generatedColumn,segment.length>1&&(mapping.source=previousSource+segment[1],previousSource+=segment[1],mapping.originalLine=previousOriginalLine+segment[2],previousOriginalLine=mapping.originalLine,mapping.originalLine+=1,mapping.originalColumn=previousOriginalColumn+segment[3],previousOriginalColumn=mapping.originalColumn,segment.length>4&&(mapping.name=previousName+segment[4],previousName+=segment[4])),generatedMappings.push(mapping),"number"==typeof mapping.originalLine&&originalMappings.push(mapping)}quickSort(generatedMappings,util.compareByGeneratedPositionsDeflated),this.__generatedMappings=generatedMappings,quickSort(originalMappings,util.compareByOriginalPositions),this.__originalMappings=originalMappings},BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(aNeedle,aMappings,aLineName,aColumnName,aComparator,aBias){if(aNeedle[aLineName]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+aNeedle[aLineName]);if(aNeedle[aColumnName]<0)throw new TypeError("Column must be greater than or equal to 0, got "+aNeedle[aColumnName]);return binarySearch.search(aNeedle,aMappings,aComparator,aBias)},BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var index=0;index<this._generatedMappings.length;++index){var mapping=this._generatedMappings[index];if(index+1<this._generatedMappings.length){var nextMapping=this._generatedMappings[index+1];if(mapping.generatedLine===nextMapping.generatedLine){mapping.lastGeneratedColumn=nextMapping.generatedColumn-1;continue}}mapping.lastGeneratedColumn=1/0}},BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(aArgs){var needle={generatedLine:util.getArg(aArgs,"line"),generatedColumn:util.getArg(aArgs,"column")},index=this._findMapping(needle,this._generatedMappings,"generatedLine","generatedColumn",util.compareByGeneratedPositionsDeflated,util.getArg(aArgs,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(index>=0){var mapping=this._generatedMappings[index];if(mapping.generatedLine===needle.generatedLine){var source=util.getArg(mapping,"source",null);null!==source&&(source=this._sources.at(source),source=util.computeSourceURL(this.sourceRoot,source,this._sourceMapURL));var name=util.getArg(mapping,"name",null);return null!==name&&(name=this._names.at(name)),{source,line:util.getArg(mapping,"originalLine",null),column:util.getArg(mapping,"originalColumn",null),name}}}return{source:null,line:null,column:null,name:null}},BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(sc){return null==sc})))},BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(aSource,nullOnMissing){if(!this.sourcesContent)return null;var index=this._findSourceIndex(aSource);if(index>=0)return this.sourcesContent[index];var url,relativeSource=aSource;if(null!=this.sourceRoot&&(relativeSource=util.relative(this.sourceRoot,relativeSource)),null!=this.sourceRoot&&(url=util.urlParse(this.sourceRoot))){var fileUriAbsPath=relativeSource.replace(/^file:\/\//,"");if("file"==url.scheme&&this._sources.has(fileUriAbsPath))return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)];if((!url.path||"/"==url.path)&&this._sources.has("/"+relativeSource))return this.sourcesContent[this._sources.indexOf("/"+relativeSource)]}if(nullOnMissing)return null;throw new Error('"'+relativeSource+'" is not in the SourceMap.')},BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(aArgs){var source=util.getArg(aArgs,"source");if((source=this._findSourceIndex(source))<0)return{line:null,column:null,lastColumn:null};var needle={source,originalLine:util.getArg(aArgs,"line"),originalColumn:util.getArg(aArgs,"column")},index=this._findMapping(needle,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,util.getArg(aArgs,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(index>=0){var mapping=this._originalMappings[index];if(mapping.source===needle.source)return{line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer,IndexedSourceMapConsumer.prototype._version=3,Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){for(var sources=[],i=0;i<this._sections.length;i++)for(var j=0;j<this._sections[i].consumer.sources.length;j++)sources.push(this._sections[i].consumer.sources[j]);return sources}}),IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(aArgs){var needle={generatedLine:util.getArg(aArgs,"line"),generatedColumn:util.getArg(aArgs,"column")},sectionIndex=binarySearch.search(needle,this._sections,(function(needle,section){var cmp=needle.generatedLine-section.generatedOffset.generatedLine;return cmp||needle.generatedColumn-section.generatedOffset.generatedColumn})),section=this._sections[sectionIndex];return section?section.consumer.originalPositionFor({line:needle.generatedLine-(section.generatedOffset.generatedLine-1),column:needle.generatedColumn-(section.generatedOffset.generatedLine===needle.generatedLine?section.generatedOffset.generatedColumn-1:0),bias:aArgs.bias}):{source:null,line:null,column:null,name:null}},IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(s){return s.consumer.hasContentsOfAllSources()}))},IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(aSource,nullOnMissing){for(var i=0;i<this._sections.length;i++){var content=this._sections[i].consumer.sourceContentFor(aSource,!0);if(content)return content}if(nullOnMissing)return null;throw new Error('"'+aSource+'" is not in the SourceMap.')},IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(aArgs){for(var i=0;i<this._sections.length;i++){var section=this._sections[i];if(-1!==section.consumer._findSourceIndex(util.getArg(aArgs,"source"))){var generatedPosition=section.consumer.generatedPositionFor(aArgs);if(generatedPosition)return{line:generatedPosition.line+(section.generatedOffset.generatedLine-1),column:generatedPosition.column+(section.generatedOffset.generatedLine===generatedPosition.line?section.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(aStr,aSourceRoot){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var section=this._sections[i],sectionMappings=section.consumer._generatedMappings,j=0;j<sectionMappings.length;j++){var mapping=sectionMappings[j],source=section.consumer._sources.at(mapping.source);source=util.computeSourceURL(section.consumer.sourceRoot,source,this._sourceMapURL),this._sources.add(source),source=this._sources.indexOf(source);var name=null;mapping.name&&(name=section.consumer._names.at(mapping.name),this._names.add(name),name=this._names.indexOf(name));var adjustedMapping={source,generatedLine:mapping.generatedLine+(section.generatedOffset.generatedLine-1),generatedColumn:mapping.generatedColumn+(section.generatedOffset.generatedLine===mapping.generatedLine?section.generatedOffset.generatedColumn-1:0),originalLine:mapping.originalLine,originalColumn:mapping.originalColumn,name};this.__generatedMappings.push(adjustedMapping),"number"==typeof adjustedMapping.originalLine&&this.__originalMappings.push(adjustedMapping)}quickSort(this.__generatedMappings,util.compareByGeneratedPositionsDeflated),quickSort(this.__originalMappings,util.compareByOriginalPositions)}},"./node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js":(__unused_webpack_module,exports,__webpack_require__)=>{var base64VLQ=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"),util=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/util.js"),ArraySet=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/array-set.js").I,MappingList=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/mapping-list.js").H;function SourceMapGenerator(aArgs){aArgs||(aArgs={}),this._file=util.getArg(aArgs,"file",null),this._sourceRoot=util.getArg(aArgs,"sourceRoot",null),this._skipValidation=util.getArg(aArgs,"skipValidation",!1),this._sources=new ArraySet,this._names=new ArraySet,this._mappings=new MappingList,this._sourcesContents=null}SourceMapGenerator.prototype._version=3,SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(aSourceMapConsumer){var sourceRoot=aSourceMapConsumer.sourceRoot,generator=new SourceMapGenerator({file:aSourceMapConsumer.file,sourceRoot});return aSourceMapConsumer.eachMapping((function(mapping){var newMapping={generated:{line:mapping.generatedLine,column:mapping.generatedColumn}};null!=mapping.source&&(newMapping.source=mapping.source,null!=sourceRoot&&(newMapping.source=util.relative(sourceRoot,newMapping.source)),newMapping.original={line:mapping.originalLine,column:mapping.originalColumn},null!=mapping.name&&(newMapping.name=mapping.name)),generator.addMapping(newMapping)})),aSourceMapConsumer.sources.forEach((function(sourceFile){var sourceRelative=sourceFile;null!==sourceRoot&&(sourceRelative=util.relative(sourceRoot,sourceFile)),generator._sources.has(sourceRelative)||generator._sources.add(sourceRelative);var content=aSourceMapConsumer.sourceContentFor(sourceFile);null!=content&&generator.setSourceContent(sourceFile,content)})),generator},SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(aArgs){var generated=util.getArg(aArgs,"generated"),original=util.getArg(aArgs,"original",null),source=util.getArg(aArgs,"source",null),name=util.getArg(aArgs,"name",null);this._skipValidation||this._validateMapping(generated,original,source,name),null!=source&&(source=String(source),this._sources.has(source)||this._sources.add(source)),null!=name&&(name=String(name),this._names.has(name)||this._names.add(name)),this._mappings.add({generatedLine:generated.line,generatedColumn:generated.column,originalLine:null!=original&&original.line,originalColumn:null!=original&&original.column,source,name})},SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(aSourceFile,aSourceContent){var source=aSourceFile;null!=this._sourceRoot&&(source=util.relative(this._sourceRoot,source)),null!=aSourceContent?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[util.toSetString(source)]=aSourceContent):this._sourcesContents&&(delete this._sourcesContents[util.toSetString(source)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(aSourceMapConsumer,aSourceFile,aSourceMapPath){var sourceFile=aSourceFile;if(null==aSourceFile){if(null==aSourceMapConsumer.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');sourceFile=aSourceMapConsumer.file}var sourceRoot=this._sourceRoot;null!=sourceRoot&&(sourceFile=util.relative(sourceRoot,sourceFile));var newSources=new ArraySet,newNames=new ArraySet;this._mappings.unsortedForEach((function(mapping){if(mapping.source===sourceFile&&null!=mapping.originalLine){var original=aSourceMapConsumer.originalPositionFor({line:mapping.originalLine,column:mapping.originalColumn});null!=original.source&&(mapping.source=original.source,null!=aSourceMapPath&&(mapping.source=util.join(aSourceMapPath,mapping.source)),null!=sourceRoot&&(mapping.source=util.relative(sourceRoot,mapping.source)),mapping.originalLine=original.line,mapping.originalColumn=original.column,null!=original.name&&(mapping.name=original.name))}var source=mapping.source;null==source||newSources.has(source)||newSources.add(source);var name=mapping.name;null==name||newNames.has(name)||newNames.add(name)}),this),this._sources=newSources,this._names=newNames,aSourceMapConsumer.sources.forEach((function(sourceFile){var content=aSourceMapConsumer.sourceContentFor(sourceFile);null!=content&&(null!=aSourceMapPath&&(sourceFile=util.join(aSourceMapPath,sourceFile)),null!=sourceRoot&&(sourceFile=util.relative(sourceRoot,sourceFile)),this.setSourceContent(sourceFile,content))}),this)},SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(aGenerated,aOriginal,aSource,aName){if(aOriginal&&"number"!=typeof aOriginal.line&&"number"!=typeof aOriginal.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&aGenerated.line>0&&aGenerated.column>=0)||aOriginal||aSource||aName)&&!(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&aOriginal&&"line"in aOriginal&&"column"in aOriginal&&aGenerated.line>0&&aGenerated.column>=0&&aOriginal.line>0&&aOriginal.column>=0&&aSource))throw new Error("Invalid mapping: "+JSON.stringify({generated:aGenerated,source:aSource,original:aOriginal,name:aName}))},SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){for(var next,mapping,nameIdx,sourceIdx,previousGeneratedColumn=0,previousGeneratedLine=1,previousOriginalColumn=0,previousOriginalLine=0,previousName=0,previousSource=0,result="",mappings=this._mappings.toArray(),i=0,len=mappings.length;i<len;i++){if(next="",(mapping=mappings[i]).generatedLine!==previousGeneratedLine)for(previousGeneratedColumn=0;mapping.generatedLine!==previousGeneratedLine;)next+=";",previousGeneratedLine++;else if(i>0){if(!util.compareByGeneratedPositionsInflated(mapping,mappings[i-1]))continue;next+=","}next+=base64VLQ.encode(mapping.generatedColumn-previousGeneratedColumn),previousGeneratedColumn=mapping.generatedColumn,null!=mapping.source&&(sourceIdx=this._sources.indexOf(mapping.source),next+=base64VLQ.encode(sourceIdx-previousSource),previousSource=sourceIdx,next+=base64VLQ.encode(mapping.originalLine-1-previousOriginalLine),previousOriginalLine=mapping.originalLine-1,next+=base64VLQ.encode(mapping.originalColumn-previousOriginalColumn),previousOriginalColumn=mapping.originalColumn,null!=mapping.name&&(nameIdx=this._names.indexOf(mapping.name),next+=base64VLQ.encode(nameIdx-previousName),previousName=nameIdx)),result+=next}return result},SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(aSources,aSourceRoot){return aSources.map((function(source){if(!this._sourcesContents)return null;null!=aSourceRoot&&(source=util.relative(aSourceRoot,source));var key=util.toSetString(source);return Object.prototype.hasOwnProperty.call(this._sourcesContents,key)?this._sourcesContents[key]:null}),this)},SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var map={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(map.file=this._file),null!=this._sourceRoot&&(map.sourceRoot=this._sourceRoot),this._sourcesContents&&(map.sourcesContent=this._generateSourcesContent(map.sources,map.sourceRoot)),map},SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())},exports.h=SourceMapGenerator},"./node_modules/escodegen/node_modules/source-map/lib/source-node.js":(__unused_webpack_module,exports,__webpack_require__)=>{var SourceMapGenerator=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js").h,util=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/util.js"),REGEX_NEWLINE=/(\r?\n)/,isSourceNode="$$$isSourceNode$$$";function SourceNode(aLine,aColumn,aSource,aChunks,aName){this.children=[],this.sourceContents={},this.line=null==aLine?null:aLine,this.column=null==aColumn?null:aColumn,this.source=null==aSource?null:aSource,this.name=null==aName?null:aName,this[isSourceNode]=!0,null!=aChunks&&this.add(aChunks)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(aGeneratedCode,aSourceMapConsumer,aRelativePath){var node=new SourceNode,remainingLines=aGeneratedCode.split(REGEX_NEWLINE),remainingLinesIndex=0,shiftNextLine=function(){return getNextLine()+(getNextLine()||"");function getNextLine(){return remainingLinesIndex<remainingLines.length?remainingLines[remainingLinesIndex++]:void 0}},lastGeneratedLine=1,lastGeneratedColumn=0,lastMapping=null;return aSourceMapConsumer.eachMapping((function(mapping){if(null!==lastMapping){if(!(lastGeneratedLine<mapping.generatedLine)){var code=(nextLine=remainingLines[remainingLinesIndex]||"").substr(0,mapping.generatedColumn-lastGeneratedColumn);return remainingLines[remainingLinesIndex]=nextLine.substr(mapping.generatedColumn-lastGeneratedColumn),lastGeneratedColumn=mapping.generatedColumn,addMappingWithCode(lastMapping,code),void(lastMapping=mapping)}addMappingWithCode(lastMapping,shiftNextLine()),lastGeneratedLine++,lastGeneratedColumn=0}for(;lastGeneratedLine<mapping.generatedLine;)node.add(shiftNextLine()),lastGeneratedLine++;if(lastGeneratedColumn<mapping.generatedColumn){var nextLine=remainingLines[remainingLinesIndex]||"";node.add(nextLine.substr(0,mapping.generatedColumn)),remainingLines[remainingLinesIndex]=nextLine.substr(mapping.generatedColumn),lastGeneratedColumn=mapping.generatedColumn}lastMapping=mapping}),this),remainingLinesIndex<remainingLines.length&&(lastMapping&&addMappingWithCode(lastMapping,shiftNextLine()),node.add(remainingLines.splice(remainingLinesIndex).join(""))),aSourceMapConsumer.sources.forEach((function(sourceFile){var content=aSourceMapConsumer.sourceContentFor(sourceFile);null!=content&&(null!=aRelativePath&&(sourceFile=util.join(aRelativePath,sourceFile)),node.setSourceContent(sourceFile,content))})),node;function addMappingWithCode(mapping,code){if(null===mapping||void 0===mapping.source)node.add(code);else{var source=aRelativePath?util.join(aRelativePath,mapping.source):mapping.source;node.add(new SourceNode(mapping.originalLine,mapping.originalColumn,source,code,mapping.name))}}},SourceNode.prototype.add=function SourceNode_add(aChunk){if(Array.isArray(aChunk))aChunk.forEach((function(chunk){this.add(chunk)}),this);else{if(!aChunk[isSourceNode]&&"string"!=typeof aChunk)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+aChunk);aChunk&&this.children.push(aChunk)}return this},SourceNode.prototype.prepend=function SourceNode_prepend(aChunk){if(Array.isArray(aChunk))for(var i=aChunk.length-1;i>=0;i--)this.prepend(aChunk[i]);else{if(!aChunk[isSourceNode]&&"string"!=typeof aChunk)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+aChunk);this.children.unshift(aChunk)}return this},SourceNode.prototype.walk=function SourceNode_walk(aFn){for(var chunk,i=0,len=this.children.length;i<len;i++)(chunk=this.children[i])[isSourceNode]?chunk.walk(aFn):""!==chunk&&aFn(chunk,{source:this.source,line:this.line,column:this.column,name:this.name})},SourceNode.prototype.join=function SourceNode_join(aSep){var newChildren,i,len=this.children.length;if(len>0){for(newChildren=[],i=0;i<len-1;i++)newChildren.push(this.children[i]),newChildren.push(aSep);newChildren.push(this.children[i]),this.children=newChildren}return this},SourceNode.prototype.replaceRight=function SourceNode_replaceRight(aPattern,aReplacement){var lastChild=this.children[this.children.length-1];return lastChild[isSourceNode]?lastChild.replaceRight(aPattern,aReplacement):"string"==typeof lastChild?this.children[this.children.length-1]=lastChild.replace(aPattern,aReplacement):this.children.push("".replace(aPattern,aReplacement)),this},SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(aSourceFile,aSourceContent){this.sourceContents[util.toSetString(aSourceFile)]=aSourceContent},SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(aFn){for(var i=0,len=this.children.length;i<len;i++)this.children[i][isSourceNode]&&this.children[i].walkSourceContents(aFn);var sources=Object.keys(this.sourceContents);for(i=0,len=sources.length;i<len;i++)aFn(util.fromSetString(sources[i]),this.sourceContents[sources[i]])},SourceNode.prototype.toString=function SourceNode_toString(){var str="";return this.walk((function(chunk){str+=chunk})),str},SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(aArgs){var generated={code:"",line:1,column:0},map=new SourceMapGenerator(aArgs),sourceMappingActive=!1,lastOriginalSource=null,lastOriginalLine=null,lastOriginalColumn=null,lastOriginalName=null;return this.walk((function(chunk,original){generated.code+=chunk,null!==original.source&&null!==original.line&&null!==original.column?(lastOriginalSource===original.source&&lastOriginalLine===original.line&&lastOriginalColumn===original.column&&lastOriginalName===original.name||map.addMapping({source:original.source,original:{line:original.line,column:original.column},generated:{line:generated.line,column:generated.column},name:original.name}),lastOriginalSource=original.source,lastOriginalLine=original.line,lastOriginalColumn=original.column,lastOriginalName=original.name,sourceMappingActive=!0):sourceMappingActive&&(map.addMapping({generated:{line:generated.line,column:generated.column}}),lastOriginalSource=null,sourceMappingActive=!1);for(var idx=0,length=chunk.length;idx<length;idx++)10===chunk.charCodeAt(idx)?(generated.line++,generated.column=0,idx+1===length?(lastOriginalSource=null,sourceMappingActive=!1):sourceMappingActive&&map.addMapping({source:original.source,original:{line:original.line,column:original.column},generated:{line:generated.line,column:generated.column},name:original.name})):generated.column++})),this.walkSourceContents((function(sourceFile,sourceContent){map.setSourceContent(sourceFile,sourceContent)})),{code:generated.code,map}},exports.SourceNode=SourceNode},"./node_modules/escodegen/node_modules/source-map/lib/util.js":(__unused_webpack_module,exports)=>{exports.getArg=function getArg(aArgs,aName,aDefaultValue){if(aName in aArgs)return aArgs[aName];if(3===arguments.length)return aDefaultValue;throw new Error('"'+aName+'" is a required argument.')};var urlRegexp=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,dataUrlRegexp=/^data:.+\,.+$/;function urlParse(aUrl){var match=aUrl.match(urlRegexp);return match?{scheme:match[1],auth:match[2],host:match[3],port:match[4],path:match[5]}:null}function urlGenerate(aParsedUrl){var url="";return aParsedUrl.scheme&&(url+=aParsedUrl.scheme+":"),url+="//",aParsedUrl.auth&&(url+=aParsedUrl.auth+"@"),aParsedUrl.host&&(url+=aParsedUrl.host),aParsedUrl.port&&(url+=":"+aParsedUrl.port),aParsedUrl.path&&(url+=aParsedUrl.path),url}function normalize(aPath){var path=aPath,url=urlParse(aPath);if(url){if(!url.path)return aPath;path=url.path}for(var part,isAbsolute=exports.isAbsolute(path),parts=path.split(/\/+/),up=0,i=parts.length-1;i>=0;i--)"."===(part=parts[i])?parts.splice(i,1):".."===part?up++:up>0&&(""===part?(parts.splice(i+1,up),up=0):(parts.splice(i,2),up--));return""===(path=parts.join("/"))&&(path=isAbsolute?"/":"."),url?(url.path=path,urlGenerate(url)):path}function join(aRoot,aPath){""===aRoot&&(aRoot="."),""===aPath&&(aPath=".");var aPathUrl=urlParse(aPath),aRootUrl=urlParse(aRoot);if(aRootUrl&&(aRoot=aRootUrl.path||"/"),aPathUrl&&!aPathUrl.scheme)return aRootUrl&&(aPathUrl.scheme=aRootUrl.scheme),urlGenerate(aPathUrl);if(aPathUrl||aPath.match(dataUrlRegexp))return aPath;if(aRootUrl&&!aRootUrl.host&&!aRootUrl.path)return aRootUrl.host=aPath,urlGenerate(aRootUrl);var joined="/"===aPath.charAt(0)?aPath:normalize(aRoot.replace(/\/+$/,"")+"/"+aPath);return aRootUrl?(aRootUrl.path=joined,urlGenerate(aRootUrl)):joined}exports.urlParse=urlParse,exports.urlGenerate=urlGenerate,exports.normalize=normalize,exports.join=join,exports.isAbsolute=function(aPath){return"/"===aPath.charAt(0)||urlRegexp.test(aPath)},exports.relative=function relative(aRoot,aPath){""===aRoot&&(aRoot="."),aRoot=aRoot.replace(/\/$/,"");for(var level=0;0!==aPath.indexOf(aRoot+"/");){var index=aRoot.lastIndexOf("/");if(index<0)return aPath;if((aRoot=aRoot.slice(0,index)).match(/^([^\/]+:\/)?\/*$/))return aPath;++level}return Array(level+1).join("../")+aPath.substr(aRoot.length+1)};var supportsNullProto=!("__proto__"in Object.create(null));function identity(s){return s}function isProtoString(s){if(!s)return!1;var length=s.length;if(length<9)return!1;if(95!==s.charCodeAt(length-1)||95!==s.charCodeAt(length-2)||111!==s.charCodeAt(length-3)||116!==s.charCodeAt(length-4)||111!==s.charCodeAt(length-5)||114!==s.charCodeAt(length-6)||112!==s.charCodeAt(length-7)||95!==s.charCodeAt(length-8)||95!==s.charCodeAt(length-9))return!1;for(var i=length-10;i>=0;i--)if(36!==s.charCodeAt(i))return!1;return!0}function strcmp(aStr1,aStr2){return aStr1===aStr2?0:null===aStr1?1:null===aStr2?-1:aStr1>aStr2?1:-1}exports.toSetString=supportsNullProto?identity:function toSetString(aStr){return isProtoString(aStr)?"$"+aStr:aStr},exports.fromSetString=supportsNullProto?identity:function fromSetString(aStr){return isProtoString(aStr)?aStr.slice(1):aStr},exports.compareByOriginalPositions=function compareByOriginalPositions(mappingA,mappingB,onlyCompareOriginal){var cmp=strcmp(mappingA.source,mappingB.source);return 0!==cmp||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)||onlyCompareOriginal||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=mappingA.generatedLine-mappingB.generatedLine)?cmp:strcmp(mappingA.name,mappingB.name)},exports.compareByGeneratedPositionsDeflated=function compareByGeneratedPositionsDeflated(mappingA,mappingB,onlyCompareGenerated){var cmp=mappingA.generatedLine-mappingB.generatedLine;return 0!==cmp||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||onlyCompareGenerated||0!==(cmp=strcmp(mappingA.source,mappingB.source))||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:strcmp(mappingA.name,mappingB.name)},exports.compareByGeneratedPositionsInflated=function compareByGeneratedPositionsInflated(mappingA,mappingB){var cmp=mappingA.generatedLine-mappingB.generatedLine;return 0!==cmp||0!==(cmp=mappingA.generatedColumn-mappingB.generatedColumn)||0!==(cmp=strcmp(mappingA.source,mappingB.source))||0!==(cmp=mappingA.originalLine-mappingB.originalLine)||0!==(cmp=mappingA.originalColumn-mappingB.originalColumn)?cmp:strcmp(mappingA.name,mappingB.name)},exports.parseSourceMapInput=function parseSourceMapInput(str){return JSON.parse(str.replace(/^\)]}'[^\n]*\n/,""))},exports.computeSourceURL=function computeSourceURL(sourceRoot,sourceURL,sourceMapURL){if(sourceURL=sourceURL||"",sourceRoot&&("/"!==sourceRoot[sourceRoot.length-1]&&"/"!==sourceURL[0]&&(sourceRoot+="/"),sourceURL=sourceRoot+sourceURL),sourceMapURL){var parsed=urlParse(sourceMapURL);if(!parsed)throw new Error("sourceMapURL could not be parsed");if(parsed.path){var index=parsed.path.lastIndexOf("/");index>=0&&(parsed.path=parsed.path.substring(0,index+1))}sourceURL=join(urlGenerate(parsed),sourceURL)}return normalize(sourceURL)}},"./node_modules/escodegen/node_modules/source-map/source-map.js":(__unused_webpack_module,exports,__webpack_require__)=>{__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js").h,__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"),exports.SourceNode=__webpack_require__("./node_modules/escodegen/node_modules/source-map/lib/source-node.js").SourceNode},"./node_modules/estraverse/estraverse.js":(__unused_webpack_module,exports)=>{!function clone(exports){"use strict";var Syntax,VisitorOption,VisitorKeys,BREAK,SKIP,REMOVE;function deepCopy(obj){var key,val,ret={};for(key in obj)obj.hasOwnProperty(key)&&(val=obj[key],ret[key]="object"==typeof val&&null!==val?deepCopy(val):val);return ret}function Reference(parent,key){this.parent=parent,this.key=key}function Element(node,path,wrap,ref){this.node=node,this.path=path,this.wrap=wrap,this.ref=ref}function Controller(){}function isNode(node){return null!=node&&("object"==typeof node&&"string"==typeof node.type)}function isProperty(nodeType,key){return(nodeType===Syntax.ObjectExpression||nodeType===Syntax.ObjectPattern)&&"properties"===key}function candidateExistsInLeaveList(leavelist,candidate){for(var i=leavelist.length-1;i>=0;--i)if(leavelist[i].node===candidate)return!0;return!1}function traverse(root,visitor){return(new Controller).traverse(root,visitor)}function extendCommentRange(comment,tokens){var target;return target=function upperBound(array,func){var diff,len,i,current;for(len=array.length,i=0;len;)func(array[current=i+(diff=len>>>1)])?len=diff:(i=current+1,len-=diff+1);return i}(tokens,(function search(token){return token.range[0]>comment.range[0]})),comment.extendedRange=[comment.range[0],comment.range[1]],target!==tokens.length&&(comment.extendedRange[1]=tokens[target].range[0]),(target-=1)>=0&&(comment.extendedRange[0]=tokens[target].range[1]),comment}return Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},VisitorKeys={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},VisitorOption={Break:BREAK={},Skip:SKIP={},Remove:REMOVE={}},Reference.prototype.replace=function replace(node){this.parent[this.key]=node},Reference.prototype.remove=function remove(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},Controller.prototype.path=function path(){var i,iz,j,jz,result;function addToPath(result,path){if(Array.isArray(path))for(j=0,jz=path.length;j<jz;++j)result.push(path[j]);else result.push(path)}if(!this.__current.path)return null;for(result=[],i=2,iz=this.__leavelist.length;i<iz;++i)addToPath(result,this.__leavelist[i].path);return addToPath(result,this.__current.path),result},Controller.prototype.type=function(){return this.current().type||this.__current.wrap},Controller.prototype.parents=function parents(){var i,iz,result;for(result=[],i=1,iz=this.__leavelist.length;i<iz;++i)result.push(this.__leavelist[i].node);return result},Controller.prototype.current=function current(){return this.__current.node},Controller.prototype.__execute=function __execute(callback,element){var previous,result;return result=void 0,previous=this.__current,this.__current=element,this.__state=null,callback&&(result=callback.call(this,element.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=previous,result},Controller.prototype.notify=function notify(flag){this.__state=flag},Controller.prototype.skip=function(){this.notify(SKIP)},Controller.prototype.break=function(){this.notify(BREAK)},Controller.prototype.remove=function(){this.notify(REMOVE)},Controller.prototype.__initialize=function(root,visitor){this.visitor=visitor,this.root=root,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,"iteration"===visitor.fallback?this.__fallback=Object.keys:"function"==typeof visitor.fallback&&(this.__fallback=visitor.fallback),this.__keys=VisitorKeys,visitor.keys&&(this.__keys=Object.assign(Object.create(this.__keys),visitor.keys))},Controller.prototype.traverse=function traverse(root,visitor){var worklist,leavelist,element,node,nodeType,ret,key,current,current2,candidates,candidate,sentinel;for(this.__initialize(root,visitor),sentinel={},worklist=this.__worklist,leavelist=this.__leavelist,worklist.push(new Element(root,null,null,null)),leavelist.push(new Element(null,null,null,null));worklist.length;)if((element=worklist.pop())!==sentinel){if(element.node){if(ret=this.__execute(visitor.enter,element),this.__state===BREAK||ret===BREAK)return;if(worklist.push(sentinel),leavelist.push(element),this.__state===SKIP||ret===SKIP)continue;if(nodeType=(node=element.node).type||element.wrap,!(candidates=this.__keys[nodeType])){if(!this.__fallback)throw new Error("Unknown node type "+nodeType+".");candidates=this.__fallback(node)}for(current=candidates.length;(current-=1)>=0;)if(candidate=node[key=candidates[current]])if(Array.isArray(candidate)){for(current2=candidate.length;(current2-=1)>=0;)if(candidate[current2]&&!candidateExistsInLeaveList(leavelist,candidate[current2])){if(isProperty(nodeType,candidates[current]))element=new Element(candidate[current2],[key,current2],"Property",null);else{if(!isNode(candidate[current2]))continue;element=new Element(candidate[current2],[key,current2],null,null)}worklist.push(element)}}else if(isNode(candidate)){if(candidateExistsInLeaveList(leavelist,candidate))continue;worklist.push(new Element(candidate,key,null,null))}}}else if(element=leavelist.pop(),ret=this.__execute(visitor.leave,element),this.__state===BREAK||ret===BREAK)return},Controller.prototype.replace=function replace(root,visitor){var worklist,leavelist,node,nodeType,target,element,current,current2,candidates,candidate,sentinel,outer,key;function removeElem(element){var i,key,nextElem,parent;if(element.ref.remove())for(key=element.ref.key,parent=element.ref.parent,i=worklist.length;i--;)if((nextElem=worklist[i]).ref&&nextElem.ref.parent===parent){if(nextElem.ref.key<key)break;--nextElem.ref.key}}for(this.__initialize(root,visitor),sentinel={},worklist=this.__worklist,leavelist=this.__leavelist,element=new Element(root,null,null,new Reference(outer={root},"root")),worklist.push(element),leavelist.push(element);worklist.length;)if((element=worklist.pop())!==sentinel){if(void 0!==(target=this.__execute(visitor.enter,element))&&target!==BREAK&&target!==SKIP&&target!==REMOVE&&(element.ref.replace(target),element.node=target),this.__state!==REMOVE&&target!==REMOVE||(removeElem(element),element.node=null),this.__state===BREAK||target===BREAK)return outer.root;if((node=element.node)&&(worklist.push(sentinel),leavelist.push(element),this.__state!==SKIP&&target!==SKIP)){if(nodeType=node.type||element.wrap,!(candidates=this.__keys[nodeType])){if(!this.__fallback)throw new Error("Unknown node type "+nodeType+".");candidates=this.__fallback(node)}for(current=candidates.length;(current-=1)>=0;)if(candidate=node[key=candidates[current]])if(Array.isArray(candidate)){for(current2=candidate.length;(current2-=1)>=0;)if(candidate[current2]){if(isProperty(nodeType,candidates[current]))element=new Element(candidate[current2],[key,current2],"Property",new Reference(candidate,current2));else{if(!isNode(candidate[current2]))continue;element=new Element(candidate[current2],[key,current2],null,new Reference(candidate,current2))}worklist.push(element)}}else isNode(candidate)&&worklist.push(new Element(candidate,key,null,new Reference(node,key)))}}else if(element=leavelist.pop(),void 0!==(target=this.__execute(visitor.leave,element))&&target!==BREAK&&target!==SKIP&&target!==REMOVE&&element.ref.replace(target),this.__state!==REMOVE&&target!==REMOVE||removeElem(element),this.__state===BREAK||target===BREAK)return outer.root;return outer.root},exports.Syntax=Syntax,exports.traverse=traverse,exports.replace=function replace(root,visitor){return(new Controller).replace(root,visitor)},exports.attachComments=function attachComments(tree,providedComments,tokens){var comment,len,i,cursor,comments=[];if(!tree.range)throw new Error("attachComments needs range information");if(!tokens.length){if(providedComments.length){for(i=0,len=providedComments.length;i<len;i+=1)(comment=deepCopy(providedComments[i])).extendedRange=[0,tree.range[0]],comments.push(comment);tree.leadingComments=comments}return tree}for(i=0,len=providedComments.length;i<len;i+=1)comments.push(extendCommentRange(deepCopy(providedComments[i]),tokens));return cursor=0,traverse(tree,{enter:function(node){for(var comment;cursor<comments.length&&!((comment=comments[cursor]).extendedRange[1]>node.range[0]);)comment.extendedRange[1]===node.range[0]?(node.leadingComments||(node.leadingComments=[]),node.leadingComments.push(comment),comments.splice(cursor,1)):cursor+=1;return cursor===comments.length?VisitorOption.Break:comments[cursor].extendedRange[0]>node.range[1]?VisitorOption.Skip:void 0}}),cursor=0,traverse(tree,{leave:function(node){for(var comment;cursor<comments.length&&(comment=comments[cursor],!(node.range[1]<comment.extendedRange[0]));)node.range[1]===comment.extendedRange[0]?(node.trailingComments||(node.trailingComments=[]),node.trailingComments.push(comment),comments.splice(cursor,1)):cursor+=1;return cursor===comments.length?VisitorOption.Break:comments[cursor].extendedRange[0]>node.range[1]?VisitorOption.Skip:void 0}}),tree},exports.VisitorKeys=VisitorKeys,exports.VisitorOption=VisitorOption,exports.Controller=Controller,exports.cloneEnvironment=function(){return clone({})},exports}(exports)},"./node_modules/esutils/lib/ast.js":module=>{!function(){"use strict";function isStatement(node){if(null==node)return!1;switch(node.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function trailingStatement(node){switch(node.type){case"IfStatement":return null!=node.alternate?node.alternate:node.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return node.body}return null}module.exports={isExpression:function isExpression(node){if(null==node)return!1;switch(node.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement,isIterationStatement:function isIterationStatement(node){if(null==node)return!1;switch(node.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(node){return isStatement(node)||null!=node&&"FunctionDeclaration"===node.type},isProblematicIfStatement:function isProblematicIfStatement(node){var current;if("IfStatement"!==node.type)return!1;if(null==node.alternate)return!1;current=node.consequent;do{if("IfStatement"===current.type&&null==current.alternate)return!0;current=trailingStatement(current)}while(current);return!1},trailingStatement}}()},"./node_modules/esutils/lib/code.js":module=>{!function(){"use strict";var ES6Regex,ES5Regex,NON_ASCII_WHITESPACES,IDENTIFIER_START,IDENTIFIER_PART,ch;function fromCodePoint(cp){return cp<=65535?String.fromCharCode(cp):String.fromCharCode(Math.floor((cp-65536)/1024)+55296)+String.fromCharCode((cp-65536)%1024+56320)}for(ES5Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\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-\u08B4\u08B6-\u08BD\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\u0AF9\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-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\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-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\uAB70-\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\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-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},ES6Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\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-\u08B4\u08B6-\u08BD\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\u0AF9\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-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\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\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},NON_ASCII_WHITESPACES=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],IDENTIFIER_START=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_START[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||36===ch||95===ch;for(IDENTIFIER_PART=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_PART[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57||36===ch||95===ch;module.exports={isDecimalDigit:function isDecimalDigit(ch){return 48<=ch&&ch<=57},isHexDigit:function isHexDigit(ch){return 48<=ch&&ch<=57||97<=ch&&ch<=102||65<=ch&&ch<=70},isOctalDigit:function isOctalDigit(ch){return ch>=48&&ch<=55},isWhiteSpace:function isWhiteSpace(ch){return 32===ch||9===ch||11===ch||12===ch||160===ch||ch>=5760&&NON_ASCII_WHITESPACES.indexOf(ch)>=0},isLineTerminator:function isLineTerminator(ch){return 10===ch||13===ch||8232===ch||8233===ch},isIdentifierStartES5:function isIdentifierStartES5(ch){return ch<128?IDENTIFIER_START[ch]:ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES5:function isIdentifierPartES5(ch){return ch<128?IDENTIFIER_PART[ch]:ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))},isIdentifierStartES6:function isIdentifierStartES6(ch){return ch<128?IDENTIFIER_START[ch]:ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES6:function isIdentifierPartES6(ch){return ch<128?IDENTIFIER_PART[ch]:ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}}}()},"./node_modules/esutils/lib/keyword.js":(module,__unused_webpack_exports,__webpack_require__)=>{!function(){"use strict";var code=__webpack_require__("./node_modules/esutils/lib/code.js");function isKeywordES5(id,strict){return!(!strict&&"yield"===id)&&isKeywordES6(id,strict)}function isKeywordES6(id,strict){if(strict&&function isStrictModeReservedWordES6(id){switch(id){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(id))return!0;switch(id.length){case 2:return"if"===id||"in"===id||"do"===id;case 3:return"var"===id||"for"===id||"new"===id||"try"===id;case 4:return"this"===id||"else"===id||"case"===id||"void"===id||"with"===id||"enum"===id;case 5:return"while"===id||"break"===id||"catch"===id||"throw"===id||"const"===id||"yield"===id||"class"===id||"super"===id;case 6:return"return"===id||"typeof"===id||"delete"===id||"switch"===id||"export"===id||"import"===id;case 7:return"default"===id||"finally"===id||"extends"===id;case 8:return"function"===id||"continue"===id||"debugger"===id;case 10:return"instanceof"===id;default:return!1}}function isReservedWordES5(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES5(id,strict)}function isReservedWordES6(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES6(id,strict)}function isIdentifierNameES5(id){var i,iz,ch;if(0===id.length)return!1;if(ch=id.charCodeAt(0),!code.isIdentifierStartES5(ch))return!1;for(i=1,iz=id.length;i<iz;++i)if(ch=id.charCodeAt(i),!code.isIdentifierPartES5(ch))return!1;return!0}function isIdentifierNameES6(id){var i,iz,ch,lowCh,check;if(0===id.length)return!1;for(check=code.isIdentifierStartES6,i=0,iz=id.length;i<iz;++i){if(55296<=(ch=id.charCodeAt(i))&&ch<=56319){if(++i>=iz)return!1;if(!(56320<=(lowCh=id.charCodeAt(i))&&lowCh<=57343))return!1;ch=1024*(ch-55296)+(lowCh-56320)+65536}if(!check(ch))return!1;check=code.isIdentifierPartES6}return!0}module.exports={isKeywordES5,isKeywordES6,isReservedWordES5,isReservedWordES6,isRestrictedWord:function isRestrictedWord(id){return"eval"===id||"arguments"===id},isIdentifierNameES5,isIdentifierNameES6,isIdentifierES5:function isIdentifierES5(id,strict){return isIdentifierNameES5(id)&&!isReservedWordES5(id,strict)},isIdentifierES6:function isIdentifierES6(id,strict){return isIdentifierNameES6(id)&&!isReservedWordES6(id,strict)}}}()},"./node_modules/esutils/lib/utils.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";exports.ast=__webpack_require__("./node_modules/esutils/lib/ast.js"),exports.code=__webpack_require__("./node_modules/esutils/lib/code.js"),exports.keyword=__webpack_require__("./node_modules/esutils/lib/keyword.js")}()},"./node_modules/fast-deep-equal/index.js":module=>{"use strict";module.exports=function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var length,i,keys;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;for(i=length;0!=i--;){var key=keys[i];if(!equal(a[key],b[key]))return!1}return!0}return a!=a&&b!=b}},"./node_modules/function-bind/implementation.js":module=>{"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice=Array.prototype.slice,toStr=Object.prototype.toString;module.exports=function bind(that){var target=this;if("function"!=typeof target||"[object Function]"!==toStr.call(target))throw new TypeError(ERROR_MESSAGE+target);for(var bound,args=slice.call(arguments,1),binder=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))},boundLength=Math.max(0,target.length-args.length),boundArgs=[],i=0;i<boundLength;i++)boundArgs.push("$"+i);if(bound=Function("binder","return function ("+boundArgs.join(",")+"){ return binder.apply(this,arguments); }")(binder),target.prototype){var Empty=function Empty(){};Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null}return bound}},"./node_modules/function-bind/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/function-bind/implementation.js");module.exports=Function.prototype.bind||implementation},"./node_modules/function.prototype.name/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),functionsHaveNames=__webpack_require__("./node_modules/functions-have-names/index.js")(),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),$functionToString=callBound("Function.prototype.toString"),$stringMatch=callBound("String.prototype.match"),classRegex=/^class /,regex=/\s*function\s+([^(\s]*)\s*/,functionProto=Function.prototype;module.exports=function getName(){if(!function isClassConstructor(fn){if(IsCallable(fn))return!1;if("function"!=typeof fn)return!1;try{return!!$stringMatch($functionToString(fn),classRegex)}catch(e){}return!1}(this)&&!IsCallable(this))throw new TypeError("Function.prototype.name sham getter called on non-function");if(functionsHaveNames)return this.name;if(this===functionProto)return"";var str=$functionToString(this),match=$stringMatch(str,regex);return match&&match[1]}},"./node_modules/function.prototype.name/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/function.prototype.name/implementation.js");module.exports=function getPolyfill(){return implementation}},"./node_modules/function.prototype.name/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var supportsDescriptors=__webpack_require__("./node_modules/define-properties/index.js").supportsDescriptors,functionsHaveNames=__webpack_require__("./node_modules/functions-have-names/index.js")(),getPolyfill=__webpack_require__("./node_modules/function.prototype.name/polyfill.js"),defineProperty=Object.defineProperty,TypeErr=TypeError;module.exports=function shimName(){var polyfill=getPolyfill();if(functionsHaveNames)return polyfill;if(!supportsDescriptors)throw new TypeErr("Shimming Function.prototype.name support requires ES5 property descriptor support.");var functionProto=Function.prototype;return defineProperty(functionProto,"name",{configurable:!0,enumerable:!1,get:function(){var name=polyfill.call(this);return this!==functionProto&&defineProperty(this,"name",{configurable:!0,enumerable:!1,value:name,writable:!1}),name}}),polyfill}},"./node_modules/functions-have-names/index.js":module=>{"use strict";var functionsHaveNames=function functionsHaveNames(){return"string"==typeof function f(){}.name},gOPD=Object.getOwnPropertyDescriptor;if(gOPD)try{gOPD([],"length")}catch(e){gOPD=null}functionsHaveNames.functionsHaveConfigurableNames=function functionsHaveConfigurableNames(){return functionsHaveNames()&&gOPD&&!!gOPD((function(){}),"name").configurable};var $bind=Function.prototype.bind;functionsHaveNames.boundFunctionsHaveNames=function boundFunctionsHaveNames(){return functionsHaveNames()&&"function"==typeof $bind&&""!==function f(){}.bind().name},module.exports=functionsHaveNames},"./node_modules/get-intrinsic/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $SyntaxError=SyntaxError,$Function=Function,$TypeError=TypeError,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),getProto=Object.getPrototypeOf||function(x){return x.__proto__},needsEval={},TypedArray="undefined"==typeof Uint8Array?undefined:getProto(Uint8Array),INTRINSICS={"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet},doEval=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__("./node_modules/function-bind/index.js"),hasOwn=__webpack_require__("./node_modules/has/src/index.js"),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function stringToPath(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result},getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i<parts.length;i+=1){var part=parts[i],first=$strSlice(part,0,1),last=$strSlice(part,-1);if(('"'===first||"'"===first||"`"===first||'"'===last||"'"===last||"`"===last)&&first!==last)throw new $SyntaxError("property names with quotes must have matching quotes");if("constructor"!==part&&isOwn||(skipFurtherCaching=!0),hasOwn(INTRINSICS,intrinsicRealName="%"+(intrinsicBaseName+="."+part)+"%"))value=INTRINSICS[intrinsicRealName];else if(null!=value){if(!(part in value)){if(!allowMissing)throw new $TypeError("base intrinsic for "+name+" exists, but the property is not available.");return}if($gOPD&&i+1>=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},"./node_modules/get-symbol-description/getInferredName.js":module=>{"use strict";var getInferredName;try{getInferredName=Function("s","return { [s]() {} }[s].name;")}catch(e){}module.exports=getInferredName&&"inferred"===function(){}.name?getInferredName:null},"./node_modules/get-symbol-description/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),$SyntaxError=GetIntrinsic("%SyntaxError%"),getGlobalSymbolDescription=GetIntrinsic("%Symbol.keyFor%",!0),thisSymbolValue=callBound("%Symbol.prototype.valueOf%",!0),symToStr=callBound("Symbol.prototype.toString",!0),getInferredName=__webpack_require__("./node_modules/get-symbol-description/getInferredName.js");module.exports=callBound("%Symbol.prototype.description%",!0)||function getSymbolDescription(symbol){if(!thisSymbolValue)throw new $SyntaxError("Symbols are not supported in this environment");var desc,sym=thisSymbolValue(symbol);if(getInferredName){var name=getInferredName(sym);if(""===name)return;return name.slice(1,-1)}return getGlobalSymbolDescription&&"string"==typeof(desc=getGlobalSymbolDescription(sym))?desc:(desc=symToStr(sym).slice(7,-1))||void 0}},"./node_modules/global/document.js":(module,__unused_webpack_exports,__webpack_require__)=>{var doccy,topLevel=void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof window?window:{},minDoc=__webpack_require__("?34aa");"undefined"!=typeof document?doccy=document:(doccy=topLevel["__GLOBAL_DOCUMENT_CACHE@4"])||(doccy=topLevel["__GLOBAL_DOCUMENT_CACHE@4"]=minDoc),module.exports=doccy},"./node_modules/global/window.js":(module,__unused_webpack_exports,__webpack_require__)=>{var win;win="undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{},module.exports=win},"./node_modules/globalthis/auto.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/globalthis/shim.js")()},"./node_modules/globalthis/implementation.browser.js":module=>{"use strict";"undefined"!=typeof self?module.exports=self:"undefined"!=typeof window?module.exports=window:module.exports=Function("return this")()},"./node_modules/globalthis/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/globalthis/implementation.browser.js");module.exports=function getPolyfill(){return"object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Math===Math&&__webpack_require__.g.Array===Array?__webpack_require__.g:implementation}},"./node_modules/globalthis/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),getPolyfill=__webpack_require__("./node_modules/globalthis/polyfill.js");module.exports=function shimGlobal(){var polyfill=getPolyfill();if(define.supportsDescriptors){var descriptor=Object.getOwnPropertyDescriptor(polyfill,"globalThis");(!descriptor||descriptor.configurable&&(descriptor.enumerable||descriptor.writable||globalThis!==polyfill))&&Object.defineProperty(polyfill,"globalThis",{configurable:!0,enumerable:!1,value:polyfill,writable:!1})}else"object"==typeof globalThis&&globalThis===polyfill||(polyfill.globalThis=polyfill);return polyfill}},"./node_modules/has-property-descriptors/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.defineProperty%",!0),hasPropertyDescriptors=function hasPropertyDescriptors(){if($defineProperty)try{return $defineProperty({},"a",{value:1}),!0}catch(e){return!1}return!1};hasPropertyDescriptors.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!hasPropertyDescriptors())return null;try{return 1!==$defineProperty([],"length",{value:1}).length}catch(e){return!0}},module.exports=hasPropertyDescriptors},"./node_modules/has-symbols/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=__webpack_require__("./node_modules/has-symbols/shams.js");module.exports=function hasNativeSymbols(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}},"./node_modules/has-symbols/shams.js":module=>{"use strict";module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}},"./node_modules/has-tostringtag/shams.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("./node_modules/has-symbols/shams.js");module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}},"./node_modules/has/src/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var bind=__webpack_require__("./node_modules/function-bind/index.js");module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty)},"./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var reactIs=__webpack_require__("./node_modules/react-is/index.js"),REACT_STATICS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KNOWN_STATICS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},MEMO_STATICS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TYPE_STATICS={};function getStatics(component){return reactIs.isMemo(component)?MEMO_STATICS:TYPE_STATICS[component.$$typeof]||REACT_STATICS}TYPE_STATICS[reactIs.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},TYPE_STATICS[reactIs.Memo]=MEMO_STATICS;var defineProperty=Object.defineProperty,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getPrototypeOf=Object.getPrototypeOf,objectPrototype=Object.prototype;module.exports=function hoistNonReactStatics(targetComponent,sourceComponent,blacklist){if("string"!=typeof sourceComponent){if(objectPrototype){var inheritedComponent=getPrototypeOf(sourceComponent);inheritedComponent&&inheritedComponent!==objectPrototype&&hoistNonReactStatics(targetComponent,inheritedComponent,blacklist)}var keys=getOwnPropertyNames(sourceComponent);getOwnPropertySymbols&&(keys=keys.concat(getOwnPropertySymbols(sourceComponent)));for(var targetStatics=getStatics(targetComponent),sourceStatics=getStatics(sourceComponent),i=0;i<keys.length;++i){var key=keys[i];if(!(KNOWN_STATICS[key]||blacklist&&blacklist[key]||sourceStatics&&sourceStatics[key]||targetStatics&&targetStatics[key])){var descriptor=getOwnPropertyDescriptor(sourceComponent,key);try{defineProperty(targetComponent,key,descriptor)}catch(e){}}}}return targetComponent}},"./node_modules/html-tags/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/html-tags/html-tags.json")},"./node_modules/internal-slot/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),has=__webpack_require__("./node_modules/has/src/index.js"),channel=__webpack_require__("./node_modules/side-channel/index.js")(),$TypeError=GetIntrinsic("%TypeError%"),SLOT={assert:function(O,slot){if(!O||"object"!=typeof O&&"function"!=typeof O)throw new $TypeError("`O` is not an object");if("string"!=typeof slot)throw new $TypeError("`slot` must be a string");channel.assert(O)},get:function(O,slot){if(!O||"object"!=typeof O&&"function"!=typeof O)throw new $TypeError("`O` is not an object");if("string"!=typeof slot)throw new $TypeError("`slot` must be a string");var slots=channel.get(O);return slots&&slots["$"+slot]},has:function(O,slot){if(!O||"object"!=typeof O&&"function"!=typeof O)throw new $TypeError("`O` is not an object");if("string"!=typeof slot)throw new $TypeError("`slot` must be a string");var slots=channel.get(O);return!!slots&&has(slots,"$"+slot)},set:function(O,slot,V){if(!O||"object"!=typeof O&&"function"!=typeof O)throw new $TypeError("`O` is not an object");if("string"!=typeof slot)throw new $TypeError("`slot` must be a string");var slots=channel.get(O);slots||(slots={},channel.set(O,slots)),slots["$"+slot]=V}};Object.freeze&&Object.freeze(SLOT),module.exports=SLOT},"./node_modules/is-arguments/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),$toString=__webpack_require__("./node_modules/call-bind/callBound.js")("Object.prototype.toString"),isStandardArguments=function isArguments(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function isArguments(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},"./node_modules/is-callable/index.js":module=>{"use strict";var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function isES6ClassFunction(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,documentDotAll="object"==typeof document&&void 0===document.all&&void 0!==document.all?document.all:{};module.exports=reflectApply?function isCallable(value){if(value===documentDotAll)return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if("function"==typeof value&&!value.prototype)return!0;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)}:function isCallable(value){if(value===documentDotAll)return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if("function"==typeof value&&!value.prototype)return!0;if(hasToStringTag)return function tryFunctionToStr(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch(e){return!1}}(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return"[object Function]"===strClass||"[object GeneratorFunction]"===strClass}},"./node_modules/is-date-object/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getDay=Date.prototype.getDay,toStr=Object.prototype.toString,hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")();module.exports=function isDateObject(value){return"object"==typeof value&&null!==value&&(hasToStringTag?function tryDateGetDayCall(value){try{return getDay.call(value),!0}catch(e){return!1}}(value):"[object Date]"===toStr.call(value))}},"./node_modules/is-function/index.js":module=>{module.exports=function isFunction(fn){if(!fn)return!1;var string=toString.call(fn);return"[object Function]"===string||"function"==typeof fn&&"[object RegExp]"!==string||"undefined"!=typeof window&&(fn===window.setTimeout||fn===window.alert||fn===window.confirm||fn===window.prompt)};var toString=Object.prototype.toString},"./node_modules/is-hotkey/lib/index.js":(__unused_webpack_module,exports)=>{"use strict";for(var IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),MODIFIERS={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},CODES={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},f=1;f<20;f++)CODES["f"+f]=111+f;function isHotkey(hotkey,options,event){options&&!("byKey"in options)&&(event=options,options=null),Array.isArray(hotkey)||(hotkey=[hotkey]);var array=hotkey.map((function(string){return parseHotkey(string,options)})),check=function check(e){return array.some((function(object){return compareHotkey(object,e)}))};return null==event?check:check(event)}function parseHotkey(hotkey,options){var byKey=options&&options.byKey,ret={},values=(hotkey=hotkey.replace("++","+add")).split("+"),length=values.length;for(var k in MODIFIERS)ret[MODIFIERS[k]]=!1;var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=values[Symbol.iterator]();!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var value=_step.value,optional=value.endsWith("?")&&value.length>1;optional&&(value=value.slice(0,-1));var name=toKeyName(value),modifier=MODIFIERS[name];1!==length&&modifier||(byKey?ret.key=name:ret.which=toKeyCode(value)),modifier&&(ret[modifier]=!optional||null)}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{!_iteratorNormalCompletion&&_iterator.return&&_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}return ret}function compareHotkey(object,event){for(var key in object){var expected=object[key],actual=void 0;if(null!=expected&&((null!=(actual="key"===key&&null!=event.key?event.key.toLowerCase():"which"===key?91===expected&&93===event.which?91:event.which:event[key])||!1!==expected)&&actual!==expected))return!1}return!0}function toKeyCode(name){return name=toKeyName(name),CODES[name]||name.toUpperCase().charCodeAt(0)}function toKeyName(name){return name=name.toLowerCase(),name=ALIASES[name]||name}exports.TB=function isKeyHotkey(hotkey,event){return isHotkey(hotkey,{byKey:!0},event)}},"./node_modules/is-map/index.js":module=>{"use strict";var exported,$Map="function"==typeof Map&&Map.prototype?Map:null,$Set="function"==typeof Set&&Set.prototype?Set:null;$Map||(exported=function isMap(x){return!1});var $mapHas=$Map?Map.prototype.has:null,$setHas=$Set?Set.prototype.has:null;exported||$mapHas||(exported=function isMap(x){return!1}),module.exports=exported||function isMap(x){if(!x||"object"!=typeof x)return!1;try{if($mapHas.call(x),$setHas)try{$setHas.call(x)}catch(e){return!0}return x instanceof $Map}catch(e){}return!1}},"./node_modules/is-regex/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var has,$exec,isRegexMarker,badStringifier,callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")();if(hasToStringTag){has=callBound("Object.prototype.hasOwnProperty"),$exec=callBound("RegExp.prototype.exec"),isRegexMarker={};var throwRegexMarker=function(){throw isRegexMarker};badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker)}var $toString=callBound("Object.prototype.toString"),gOPD=Object.getOwnPropertyDescriptor;module.exports=hasToStringTag?function isRegex(value){if(!value||"object"!=typeof value)return!1;var descriptor=gOPD(value,"lastIndex");if(!(descriptor&&has(descriptor,"value")))return!1;try{$exec(value,badStringifier)}catch(e){return e===isRegexMarker}}:function isRegex(value){return!(!value||"object"!=typeof value&&"function"!=typeof value)&&"[object RegExp]"===$toString(value)}},"./node_modules/is-set/index.js":module=>{"use strict";var exported,$Map="function"==typeof Map&&Map.prototype?Map:null,$Set="function"==typeof Set&&Set.prototype?Set:null;$Set||(exported=function isSet(x){return!1});var $mapHas=$Map?Map.prototype.has:null,$setHas=$Set?Set.prototype.has:null;exported||$setHas||(exported=function isSet(x){return!1}),module.exports=exported||function isSet(x){if(!x||"object"!=typeof x)return!1;try{if($setHas.call(x),$mapHas)try{$mapHas.call(x)}catch(e){return!0}return x instanceof $Set}catch(e){}return!1}},"./node_modules/is-string/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var strValue=String.prototype.valueOf,toStr=Object.prototype.toString,hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")();module.exports=function isString(value){return"string"==typeof value||"object"==typeof value&&(hasToStringTag?function tryStringObject(value){try{return strValue.call(value),!0}catch(e){return!1}}(value):"[object String]"===toStr.call(value))}},"./node_modules/is-symbol/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toStr=Object.prototype.toString;if(__webpack_require__("./node_modules/has-symbols/index.js")()){var symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/;module.exports=function isSymbol(value){if("symbol"==typeof value)return!0;if("[object Symbol]"!==toStr.call(value))return!1;try{return function isRealSymbolObject(value){return"symbol"==typeof value.valueOf()&&symStringRegex.test(symToStr.call(value))}(value)}catch(e){return!1}}}else module.exports=function isSymbol(value){return!1}},"./node_modules/isarray/index.js":module=>{var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},"./node_modules/iterate-iterator/index.js":module=>{"use strict";var $TypeError=TypeError;module.exports=function iterateIterator(iterator){if(!iterator||"function"!=typeof iterator.next)throw new $TypeError("iterator must be an object with a `next` method");if(arguments.length>1){var callback=arguments[1];if("function"!=typeof callback)throw new $TypeError("`callback`, if provided, must be a function")}for(var result,values=callback||[];(result=iterator.next())&&!result.done;)callback?callback(result.value):values.push(result.value);if(!callback)return values}},"./node_modules/jest-mock/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}exports.fn=void 0;const FUNCTION_NAME_RESERVED_PATTERN=/[\s!-\/:-@\[-`{-~]/,FUNCTION_NAME_RESERVED_REPLACE=new RegExp(FUNCTION_NAME_RESERVED_PATTERN.source,"g"),RESERVED_KEYWORDS=new Set(["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"]);function getObjectType(value){return Object.prototype.toString.apply(value).slice(8,-1)}function isReadonlyProp(object,prop){if("arguments"===prop||"caller"===prop||"callee"===prop||"name"===prop||"length"===prop){const typeName=getObjectType(object);return"Function"===typeName||"AsyncFunction"===typeName||"GeneratorFunction"===typeName}return("source"===prop||"global"===prop||"ignoreCase"===prop||"multiline"===prop)&&"RegExp"===getObjectType(object)}class ModuleMocker{constructor(global){_defineProperty(this,"_environmentGlobal",void 0),_defineProperty(this,"_mockState",void 0),_defineProperty(this,"_mockConfigRegistry",void 0),_defineProperty(this,"_spyState",void 0),_defineProperty(this,"_invocationCallCounter",void 0),this._environmentGlobal=global,this._mockState=new WeakMap,this._mockConfigRegistry=new WeakMap,this._spyState=new Set,this._invocationCallCounter=1}_getSlots(object){if(!object)return[];const slots=new Set,EnvObjectProto=this._environmentGlobal.Object.prototype,EnvFunctionProto=this._environmentGlobal.Function.prototype,EnvRegExpProto=this._environmentGlobal.RegExp.prototype,ObjectProto=Object.prototype,FunctionProto=Function.prototype,RegExpProto=RegExp.prototype;for(;null!=object&&object!==EnvObjectProto&&object!==EnvFunctionProto&&object!==EnvRegExpProto&&object!==ObjectProto&&object!==FunctionProto&&object!==RegExpProto;){const ownNames=Object.getOwnPropertyNames(object);for(let i=0;i<ownNames.length;i++){const prop=ownNames[i];if(!isReadonlyProp(object,prop)){const propDesc=Object.getOwnPropertyDescriptor(object,prop);(void 0!==propDesc&&!propDesc.get||object.__esModule)&&slots.add(prop)}}object=Object.getPrototypeOf(object)}return Array.from(slots)}_ensureMockConfig(f){let config=this._mockConfigRegistry.get(f);return config||(config=this._defaultMockConfig(),this._mockConfigRegistry.set(f,config)),config}_ensureMockState(f){let state=this._mockState.get(f);return state||(state=this._defaultMockState(),this._mockState.set(f,state)),state.calls.length>0&&(state.lastCall=state.calls[state.calls.length-1]),state}_defaultMockConfig(){return{mockImpl:void 0,mockName:"jest.fn()",specificMockImpls:[],specificReturnValues:[]}}_defaultMockState(){return{calls:[],instances:[],invocationCallOrder:[],results:[]}}_makeComponent(metadata,restore){if("object"===metadata.type)return new this._environmentGlobal.Object;if("array"===metadata.type)return new this._environmentGlobal.Array;if("regexp"===metadata.type)return new this._environmentGlobal.RegExp("");if("constant"===metadata.type||"collection"===metadata.type||"null"===metadata.type||"undefined"===metadata.type)return metadata.value;if("function"===metadata.type){const prototype=metadata.members&&metadata.members.prototype&&metadata.members.prototype.members||{},prototypeSlots=this._getSlots(prototype),mocker=this,mockConstructor=function matchArity(fn,length){let mockConstructor;switch(length){case 1:mockConstructor=function(_a){return fn.apply(this,arguments)};break;case 2:mockConstructor=function(_a,_b){return fn.apply(this,arguments)};break;case 3:mockConstructor=function(_a,_b,_c){return fn.apply(this,arguments)};break;case 4:mockConstructor=function(_a,_b,_c,_d){return fn.apply(this,arguments)};break;case 5:mockConstructor=function(_a,_b,_c,_d,_e){return fn.apply(this,arguments)};break;case 6:mockConstructor=function(_a,_b,_c,_d,_e,_f){return fn.apply(this,arguments)};break;case 7:mockConstructor=function(_a,_b,_c,_d,_e,_f,_g){return fn.apply(this,arguments)};break;case 8:mockConstructor=function(_a,_b,_c,_d,_e,_f,_g,_h){return fn.apply(this,arguments)};break;case 9:mockConstructor=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){return fn.apply(this,arguments)};break;default:mockConstructor=function(){return fn.apply(this,arguments)}}return mockConstructor}((function(...args){const mockState=mocker._ensureMockState(f),mockConfig=mocker._ensureMockConfig(f);mockState.instances.push(this),mockState.calls.push(args);const mockResult={type:"incomplete",value:void 0};let finalReturnValue,thrownError;mockState.results.push(mockResult),mockState.invocationCallOrder.push(mocker._invocationCallCounter++);let callDidThrowError=!1;try{finalReturnValue=(()=>{if(this instanceof f){prototypeSlots.forEach((slot=>{if("function"===prototype[slot].type){const protoImpl=this[slot];this[slot]=mocker.generateFromMetadata(prototype[slot]),this[slot]._protoImpl=protoImpl}}));const mockImpl=mockConfig.specificMockImpls.length?mockConfig.specificMockImpls.shift():mockConfig.mockImpl;return mockImpl&&mockImpl.apply(this,arguments)}let specificMockImpl=mockConfig.specificMockImpls.shift();return void 0===specificMockImpl&&(specificMockImpl=mockConfig.mockImpl),specificMockImpl?specificMockImpl.apply(this,arguments):f._protoImpl?f._protoImpl.apply(this,arguments):void 0})()}catch(error){throw thrownError=error,callDidThrowError=!0,error}finally{mockResult.type=callDidThrowError?"throw":"return",mockResult.value=callDidThrowError?thrownError:finalReturnValue}return finalReturnValue}),metadata.length||0),f=this._createMockFunction(metadata,mockConstructor);return f._isMockFunction=!0,f.getMockImplementation=()=>this._ensureMockConfig(f).mockImpl,"function"==typeof restore&&this._spyState.add(restore),this._mockState.set(f,this._defaultMockState()),this._mockConfigRegistry.set(f,this._defaultMockConfig()),Object.defineProperty(f,"mock",{configurable:!1,enumerable:!0,get:()=>this._ensureMockState(f),set:val=>this._mockState.set(f,val)}),f.mockClear=()=>(this._mockState.delete(f),f),f.mockReset=()=>(f.mockClear(),this._mockConfigRegistry.delete(f),f),f.mockRestore=()=>(f.mockReset(),restore?restore():void 0),f.mockReturnValueOnce=value=>f.mockImplementationOnce((()=>value)),f.mockResolvedValueOnce=value=>f.mockImplementationOnce((()=>Promise.resolve(value))),f.mockRejectedValueOnce=value=>f.mockImplementationOnce((()=>Promise.reject(value))),f.mockReturnValue=value=>f.mockImplementation((()=>value)),f.mockResolvedValue=value=>f.mockImplementation((()=>Promise.resolve(value))),f.mockRejectedValue=value=>f.mockImplementation((()=>Promise.reject(value))),f.mockImplementationOnce=fn=>(this._ensureMockConfig(f).specificMockImpls.push(fn),f),f.mockImplementation=fn=>(this._ensureMockConfig(f).mockImpl=fn,f),f.mockReturnThis=()=>f.mockImplementation((function(){return this})),f.mockName=name=>{if(name){this._ensureMockConfig(f).mockName=name}return f},f.getMockName=()=>this._ensureMockConfig(f).mockName||"jest.fn()",metadata.mockImpl&&f.mockImplementation(metadata.mockImpl),f}{const unknownType=metadata.type||"undefined type";throw new Error("Unrecognized type "+unknownType)}}_createMockFunction(metadata,mockConstructor){let name=metadata.name;if(!name)return mockConstructor;let bindCall="";if(name&&name.startsWith("bound "))do{name=name.substring("bound ".length),bindCall=".bind(null)"}while(name&&name.startsWith("bound "));if("mockConstructor"===name)return mockConstructor;(RESERVED_KEYWORDS.has(name)||/^\d/.test(name))&&(name="$"+name),FUNCTION_NAME_RESERVED_PATTERN.test(name)&&(name=name.replace(FUNCTION_NAME_RESERVED_REPLACE,"$"));const body="return function "+name+"() {return mockConstructor.apply(this,arguments);}"+bindCall;return new this._environmentGlobal.Function("mockConstructor",body)(mockConstructor)}_generateMock(metadata,callbacks,refs){const mock=this._makeComponent(metadata);return null!=metadata.refID&&(refs[metadata.refID]=mock),this._getSlots(metadata.members).forEach((slot=>{const slotMetadata=metadata.members&&metadata.members[slot]||{};var ref;null!=slotMetadata.ref?callbacks.push((ref=slotMetadata.ref,()=>mock[slot]=refs[ref])):mock[slot]=this._generateMock(slotMetadata,callbacks,refs)})),"undefined"!==metadata.type&&"null"!==metadata.type&&mock.prototype&&"object"==typeof mock.prototype&&(mock.prototype.constructor=mock),mock}generateFromMetadata(_metadata){const callbacks=[],mock=this._generateMock(_metadata,callbacks,{});return callbacks.forEach((setter=>setter())),mock}getMetadata(component,_refs){const refs=_refs||new Map,ref=refs.get(component);if(null!=ref)return{ref};const type=function getType(ref){const typeName=getObjectType(ref);return"Function"===typeName||"AsyncFunction"===typeName||"GeneratorFunction"===typeName?"function":Array.isArray(ref)?"array":"Object"===typeName?"object":"Number"===typeName||"String"===typeName||"Boolean"===typeName||"Symbol"===typeName?"constant":"Map"===typeName||"WeakMap"===typeName||"Set"===typeName?"collection":"RegExp"===typeName?"regexp":void 0===ref?"undefined":null===ref?"null":null}(component);if(!type)return null;const metadata={type};if("constant"===type||"collection"===type||"undefined"===type||"null"===type)return metadata.value=component,metadata;"function"===type&&(metadata.name=component.name,!0===component._isMockFunction&&(metadata.mockImpl=component.getMockImplementation())),metadata.refID=refs.size,refs.set(component,metadata.refID);let members=null;return"array"!==type&&this._getSlots(component).forEach((slot=>{if("function"===type&&!0===component._isMockFunction&&slot.match(/^mock/))return;const slotMetadata=this.getMetadata(component[slot],refs);slotMetadata&&(members||(members={}),members[slot]=slotMetadata)})),members&&(metadata.members=members),metadata}isMockFunction(fn){return!!fn&&!0===fn._isMockFunction}fn(implementation){const length=implementation?implementation.length:0,fn=this._makeComponent({length,type:"function"});return implementation&&fn.mockImplementation(implementation),fn}spyOn(object,methodName,accessType){if(accessType)return this._spyOnProperty(object,methodName,accessType);if("object"!=typeof object&&"function"!=typeof object)throw new Error("Cannot spyOn on a primitive value; "+this._typeOf(object)+" given");const original=object[methodName];if(!this.isMockFunction(original)){if("function"!=typeof original)throw new Error("Cannot spy the "+methodName+" property because it is not a function; "+this._typeOf(original)+" given instead");const isMethodOwner=Object.prototype.hasOwnProperty.call(object,methodName);let mock,descriptor=Object.getOwnPropertyDescriptor(object,methodName),proto=Object.getPrototypeOf(object);for(;!descriptor&&null!==proto;)descriptor=Object.getOwnPropertyDescriptor(proto,methodName),proto=Object.getPrototypeOf(proto);if(descriptor&&descriptor.get){const originalGet=descriptor.get;mock=this._makeComponent({type:"function"},(()=>{descriptor.get=originalGet,Object.defineProperty(object,methodName,descriptor)})),descriptor.get=()=>mock,Object.defineProperty(object,methodName,descriptor)}else mock=this._makeComponent({type:"function"},(()=>{isMethodOwner?object[methodName]=original:delete object[methodName]})),object[methodName]=mock;mock.mockImplementation((function(){return original.apply(this,arguments)}))}return object[methodName]}_spyOnProperty(obj,propertyName,accessType="get"){if("object"!=typeof obj&&"function"!=typeof obj)throw new Error("Cannot spyOn on a primitive value; "+this._typeOf(obj)+" given");if(!obj)throw new Error("spyOn could not find an object to spy upon for "+propertyName);if(!propertyName)throw new Error("No property name supplied");let descriptor=Object.getOwnPropertyDescriptor(obj,propertyName),proto=Object.getPrototypeOf(obj);for(;!descriptor&&null!==proto;)descriptor=Object.getOwnPropertyDescriptor(proto,propertyName),proto=Object.getPrototypeOf(proto);if(!descriptor)throw new Error(propertyName+" property does not exist");if(!descriptor.configurable)throw new Error(propertyName+" is not declared configurable");if(!descriptor[accessType])throw new Error("Property "+propertyName+" does not have access type "+accessType);const original=descriptor[accessType];if(!this.isMockFunction(original)){if("function"!=typeof original)throw new Error("Cannot spy the "+propertyName+" property because it is not a function; "+this._typeOf(original)+" given instead");descriptor[accessType]=this._makeComponent({type:"function"},(()=>{descriptor[accessType]=original,Object.defineProperty(obj,propertyName,descriptor)})),descriptor[accessType].mockImplementation((function(){return original.apply(this,arguments)}))}return Object.defineProperty(obj,propertyName,descriptor),descriptor[accessType]}clearAllMocks(){this._mockState=new WeakMap}resetAllMocks(){this._mockConfigRegistry=new WeakMap,this._mockState=new WeakMap}restoreAllMocks(){this._spyState.forEach((restore=>restore())),this._spyState=new Set}_typeOf(value){return null==value?""+value:typeof value}mocked(item,_deep=!1){return item}}const JestMock=new ModuleMocker(__webpack_require__.g),fn=JestMock.fn.bind(JestMock);exports.fn=fn;JestMock.spyOn.bind(JestMock);JestMock.mocked.bind(JestMock)},"./node_modules/keycode/index.js":(module,exports)=>{function keyCode(searchInput){if(searchInput&&"object"==typeof searchInput){var hasKeyCode=searchInput.which||searchInput.keyCode||searchInput.charCode;hasKeyCode&&(searchInput=hasKeyCode)}if("number"==typeof searchInput)return names[searchInput];var foundNamedKey,search=String(searchInput);return(foundNamedKey=codes[search.toLowerCase()])?foundNamedKey:(foundNamedKey=aliases[search.toLowerCase()])||(1===search.length?search.charCodeAt(0):void 0)}keyCode.isEventKey=function isEventKey(event,nameOrCode){if(event&&"object"==typeof event){var keyCode=event.which||event.keyCode||event.charCode;if(null==keyCode)return!1;if("string"==typeof nameOrCode){var foundNamedKey;if(foundNamedKey=codes[nameOrCode.toLowerCase()])return foundNamedKey===keyCode;if(foundNamedKey=aliases[nameOrCode.toLowerCase()])return foundNamedKey===keyCode}else if("number"==typeof nameOrCode)return nameOrCode===keyCode;return!1}};var codes=(exports=module.exports=keyCode).code=exports.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},aliases=exports.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(i=97;i<123;i++)codes[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)codes[i-48]=i;for(i=1;i<13;i++)codes["f"+i]=i+111;for(i=0;i<10;i++)codes["numpad "+i]=i+96;var names=exports.names=exports.title={};for(i in codes)names[codes[i]]=i;for(var alias in aliases)codes[alias]=aliases[alias]},"./node_modules/lodash/_DataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"DataView");module.exports=DataView},"./node_modules/lodash/_Hash.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hashClear=__webpack_require__("./node_modules/lodash/_hashClear.js"),hashDelete=__webpack_require__("./node_modules/lodash/_hashDelete.js"),hashGet=__webpack_require__("./node_modules/lodash/_hashGet.js"),hashHas=__webpack_require__("./node_modules/lodash/_hashHas.js"),hashSet=__webpack_require__("./node_modules/lodash/_hashSet.js");function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet,module.exports=Hash},"./node_modules/lodash/_ListCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var listCacheClear=__webpack_require__("./node_modules/lodash/_listCacheClear.js"),listCacheDelete=__webpack_require__("./node_modules/lodash/_listCacheDelete.js"),listCacheGet=__webpack_require__("./node_modules/lodash/_listCacheGet.js"),listCacheHas=__webpack_require__("./node_modules/lodash/_listCacheHas.js"),listCacheSet=__webpack_require__("./node_modules/lodash/_listCacheSet.js");function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet,module.exports=ListCache},"./node_modules/lodash/_Map.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Map=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Map");module.exports=Map},"./node_modules/lodash/_MapCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var mapCacheClear=__webpack_require__("./node_modules/lodash/_mapCacheClear.js"),mapCacheDelete=__webpack_require__("./node_modules/lodash/_mapCacheDelete.js"),mapCacheGet=__webpack_require__("./node_modules/lodash/_mapCacheGet.js"),mapCacheHas=__webpack_require__("./node_modules/lodash/_mapCacheHas.js"),mapCacheSet=__webpack_require__("./node_modules/lodash/_mapCacheSet.js");function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet,module.exports=MapCache},"./node_modules/lodash/_Promise.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Promise=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Promise");module.exports=Promise},"./node_modules/lodash/_Set.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Set");module.exports=Set},"./node_modules/lodash/_SetCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js"),setCacheAdd=__webpack_require__("./node_modules/lodash/_setCacheAdd.js"),setCacheHas=__webpack_require__("./node_modules/lodash/_setCacheHas.js");function SetCache(values){var index=-1,length=null==values?0:values.length;for(this.__data__=new MapCache;++index<length;)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas,module.exports=SetCache},"./node_modules/lodash/_Stack.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),stackClear=__webpack_require__("./node_modules/lodash/_stackClear.js"),stackDelete=__webpack_require__("./node_modules/lodash/_stackDelete.js"),stackGet=__webpack_require__("./node_modules/lodash/_stackGet.js"),stackHas=__webpack_require__("./node_modules/lodash/_stackHas.js"),stackSet=__webpack_require__("./node_modules/lodash/_stackSet.js");function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet,module.exports=Stack},"./node_modules/lodash/_Symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_root.js").Symbol;module.exports=Symbol},"./node_modules/lodash/_Uint8Array.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Uint8Array=__webpack_require__("./node_modules/lodash/_root.js").Uint8Array;module.exports=Uint8Array},"./node_modules/lodash/_WeakMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var WeakMap=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"WeakMap");module.exports=WeakMap},"./node_modules/lodash/_apply.js":module=>{module.exports=function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}},"./node_modules/lodash/_arrayEach.js":module=>{module.exports=function arrayEach(array,iteratee){for(var index=-1,length=null==array?0:array.length;++index<length&&!1!==iteratee(array[index],index,array););return array}},"./node_modules/lodash/_arrayFilter.js":module=>{module.exports=function arrayFilter(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index<length;){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}},"./node_modules/lodash/_arrayIncludes.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIndexOf=__webpack_require__("./node_modules/lodash/_baseIndexOf.js");module.exports=function arrayIncludes(array,value){return!!(null==array?0:array.length)&&baseIndexOf(array,value,0)>-1}},"./node_modules/lodash/_arrayIncludesWith.js":module=>{module.exports=function arrayIncludesWith(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index<length;)if(comparator(value,array[index]))return!0;return!1}},"./node_modules/lodash/_arrayLikeKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseTimes=__webpack_require__("./node_modules/lodash/_baseTimes.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}},"./node_modules/lodash/_arrayMap.js":module=>{module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index<length;)result[index]=iteratee(array[index],index,array);return result}},"./node_modules/lodash/_arrayPush.js":module=>{module.exports=function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index<length;)array[offset+index]=values[index];return array}},"./node_modules/lodash/_arrayReduce.js":module=>{module.exports=function arrayReduce(array,iteratee,accumulator,initAccum){var index=-1,length=null==array?0:array.length;for(initAccum&&length&&(accumulator=array[++index]);++index<length;)accumulator=iteratee(accumulator,array[index],index,array);return accumulator}},"./node_modules/lodash/_arraySome.js":module=>{module.exports=function arraySome(array,predicate){for(var index=-1,length=null==array?0:array.length;++index<length;)if(predicate(array[index],index,array))return!0;return!1}},"./node_modules/lodash/_asciiToArray.js":module=>{module.exports=function asciiToArray(string){return string.split("")}},"./node_modules/lodash/_asciiWords.js":module=>{var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;module.exports=function asciiWords(string){return string.match(reAsciiWord)||[]}},"./node_modules/lodash/_assignValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js"),eq=__webpack_require__("./node_modules/lodash/eq.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function assignValue(object,key,value){var objValue=object[key];hasOwnProperty.call(object,key)&&eq(objValue,value)&&(void 0!==value||key in object)||baseAssignValue(object,key,value)}},"./node_modules/lodash/_assocIndexOf.js":(module,__unused_webpack_exports,__webpack_require__)=>{var eq=__webpack_require__("./node_modules/lodash/eq.js");module.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},"./node_modules/lodash/_baseAssign.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function baseAssign(object,source){return object&©Object(source,keys(source),object)}},"./node_modules/lodash/_baseAssignIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js");module.exports=function baseAssignIn(object,source){return object&©Object(source,keysIn(source),object)}},"./node_modules/lodash/_baseAssignValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__("./node_modules/lodash/_defineProperty.js");module.exports=function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:!0,enumerable:!0,value,writable:!0}):object[key]=value}},"./node_modules/lodash/_baseClone.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),arrayEach=__webpack_require__("./node_modules/lodash/_arrayEach.js"),assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),baseAssign=__webpack_require__("./node_modules/lodash/_baseAssign.js"),baseAssignIn=__webpack_require__("./node_modules/lodash/_baseAssignIn.js"),cloneBuffer=__webpack_require__("./node_modules/lodash/_cloneBuffer.js"),copyArray=__webpack_require__("./node_modules/lodash/_copyArray.js"),copySymbols=__webpack_require__("./node_modules/lodash/_copySymbols.js"),copySymbolsIn=__webpack_require__("./node_modules/lodash/_copySymbolsIn.js"),getAllKeys=__webpack_require__("./node_modules/lodash/_getAllKeys.js"),getAllKeysIn=__webpack_require__("./node_modules/lodash/_getAllKeysIn.js"),getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),initCloneArray=__webpack_require__("./node_modules/lodash/_initCloneArray.js"),initCloneByTag=__webpack_require__("./node_modules/lodash/_initCloneByTag.js"),initCloneObject=__webpack_require__("./node_modules/lodash/_initCloneObject.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isMap=__webpack_require__("./node_modules/lodash/isMap.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isSet=__webpack_require__("./node_modules/lodash/isSet.js"),keys=__webpack_require__("./node_modules/lodash/keys.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js"),cloneableTags={};cloneableTags["[object Arguments]"]=cloneableTags["[object Array]"]=cloneableTags["[object ArrayBuffer]"]=cloneableTags["[object DataView]"]=cloneableTags["[object Boolean]"]=cloneableTags["[object Date]"]=cloneableTags["[object Float32Array]"]=cloneableTags["[object Float64Array]"]=cloneableTags["[object Int8Array]"]=cloneableTags["[object Int16Array]"]=cloneableTags["[object Int32Array]"]=cloneableTags["[object Map]"]=cloneableTags["[object Number]"]=cloneableTags["[object Object]"]=cloneableTags["[object RegExp]"]=cloneableTags["[object Set]"]=cloneableTags["[object String]"]=cloneableTags["[object Symbol]"]=cloneableTags["[object Uint8Array]"]=cloneableTags["[object Uint8ClampedArray]"]=cloneableTags["[object Uint16Array]"]=cloneableTags["[object Uint32Array]"]=!0,cloneableTags["[object Error]"]=cloneableTags["[object Function]"]=cloneableTags["[object WeakMap]"]=!1,module.exports=function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=1&bitmask,isFlat=2&bitmask,isFull=4&bitmask;if(customizer&&(result=object?customizer(value,key,object,stack):customizer(value)),void 0!==result)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=initCloneArray(value),!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc="[object Function]"==tag||"[object GeneratorFunction]"==tag;if(isBuffer(value))return cloneBuffer(value,isDeep);if("[object Object]"==tag||"[object Arguments]"==tag||isFunc&&!object){if(result=isFlat||isFunc?{}:initCloneObject(value),!isDeep)return isFlat?copySymbolsIn(value,baseAssignIn(result,value)):copySymbols(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=initCloneByTag(value,tag,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result),isSet(value)?value.forEach((function(subValue){result.add(baseClone(subValue,bitmask,customizer,subValue,value,stack))})):isMap(value)&&value.forEach((function(subValue,key){result.set(key,baseClone(subValue,bitmask,customizer,key,value,stack))}));var props=isArr?void 0:(isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys)(value);return arrayEach(props||value,(function(subValue,key){props&&(subValue=value[key=subValue]),assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))})),result}},"./node_modules/lodash/_baseCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js"),objectCreate=Object.create,baseCreate=function(){function object(){}return function(proto){if(!isObject(proto))return{};if(objectCreate)return objectCreate(proto);object.prototype=proto;var result=new object;return object.prototype=void 0,result}}();module.exports=baseCreate},"./node_modules/lodash/_baseFindIndex.js":module=>{module.exports=function baseFindIndex(array,predicate,fromIndex,fromRight){for(var length=array.length,index=fromIndex+(fromRight?1:-1);fromRight?index--:++index<length;)if(predicate(array[index],index,array))return index;return-1}},"./node_modules/lodash/_baseFlatten.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),isFlattenable=__webpack_require__("./node_modules/lodash/_isFlattenable.js");module.exports=function baseFlatten(array,depth,predicate,isStrict,result){var index=-1,length=array.length;for(predicate||(predicate=isFlattenable),result||(result=[]);++index<length;){var value=array[index];depth>0&&predicate(value)?depth>1?baseFlatten(value,depth-1,predicate,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}},"./node_modules/lodash/_baseFor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("./node_modules/lodash/_createBaseFor.js")();module.exports=baseFor},"./node_modules/lodash/_baseForOwn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("./node_modules/lodash/_baseFor.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}},"./node_modules/lodash/_baseGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&index<length;)object=object[toKey(path[index++])];return index&&index==length?object:void 0}},"./node_modules/lodash/_baseGetAllKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js");module.exports=function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}},"./node_modules/lodash/_baseGetTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),getRawTag=__webpack_require__("./node_modules/lodash/_getRawTag.js"),objectToString=__webpack_require__("./node_modules/lodash/_objectToString.js"),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},"./node_modules/lodash/_baseHasIn.js":module=>{module.exports=function baseHasIn(object,key){return null!=object&&key in Object(object)}},"./node_modules/lodash/_baseIndexOf.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFindIndex=__webpack_require__("./node_modules/lodash/_baseFindIndex.js"),baseIsNaN=__webpack_require__("./node_modules/lodash/_baseIsNaN.js"),strictIndexOf=__webpack_require__("./node_modules/lodash/_strictIndexOf.js");module.exports=function baseIndexOf(array,value,fromIndex){return value==value?strictIndexOf(array,value,fromIndex):baseFindIndex(array,baseIsNaN,fromIndex)}},"./node_modules/lodash/_baseIsArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsArguments(value){return isObjectLike(value)&&"[object Arguments]"==baseGetTag(value)}},"./node_modules/lodash/_baseIsEqual.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqualDeep=__webpack_require__("./node_modules/lodash/_baseIsEqualDeep.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsEqual(value,other,bitmask,customizer,stack){return value===other||(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other)?value!=value&&other!=other:baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack))}},"./node_modules/lodash/_baseIsEqualDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),equalByTag=__webpack_require__("./node_modules/lodash/_equalByTag.js"),equalObjects=__webpack_require__("./node_modules/lodash/_equalObjects.js"),getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),objectTag="[object Object]",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?"[object Array]":getTag(object),othTag=othIsArr?"[object Array]":getTag(other),objIsObj=(objTag="[object Arguments]"==objTag?objectTag:objTag)==objectTag,othIsObj=(othTag="[object Arguments]"==othTag?objectTag:othTag)==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(1&bitmask)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return!!isSameTag&&(stack||(stack=new Stack),equalObjects(object,other,bitmask,customizer,equalFunc,stack))}},"./node_modules/lodash/_baseIsMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsMap(value){return isObjectLike(value)&&"[object Map]"==getTag(value)}},"./node_modules/lodash/_baseIsMatch.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js");module.exports=function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index<length;){var key=(data=matchData[index])[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(void 0===objValue&&!(key in object))return!1}else{var stack=new Stack;if(customizer)var result=customizer(objValue,srcValue,key,object,source,stack);if(!(void 0===result?baseIsEqual(srcValue,objValue,3,customizer,stack):result))return!1}}return!0}},"./node_modules/lodash/_baseIsNaN.js":module=>{module.exports=function baseIsNaN(value){return value!=value}},"./node_modules/lodash/_baseIsNative.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isMasked=__webpack_require__("./node_modules/lodash/_isMasked.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function baseIsNative(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},"./node_modules/lodash/_baseIsSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsSet(value){return isObjectLike(value)&&"[object Set]"==getTag(value)}},"./node_modules/lodash/_baseIsTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}},"./node_modules/lodash/_baseIteratee.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseMatches=__webpack_require__("./node_modules/lodash/_baseMatches.js"),baseMatchesProperty=__webpack_require__("./node_modules/lodash/_baseMatchesProperty.js"),identity=__webpack_require__("./node_modules/lodash/identity.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),property=__webpack_require__("./node_modules/lodash/property.js");module.exports=function baseIteratee(value){return"function"==typeof value?value:null==value?identity:"object"==typeof value?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}},"./node_modules/lodash/_baseKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js"),nativeKeys=__webpack_require__("./node_modules/lodash/_nativeKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}},"./node_modules/lodash/_baseKeysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js"),nativeKeysIn=__webpack_require__("./node_modules/lodash/_nativeKeysIn.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeysIn(object){if(!isObject(object))return nativeKeysIn(object);var isProto=isPrototype(object),result=[];for(var key in object)("constructor"!=key||!isProto&&hasOwnProperty.call(object,key))&&result.push(key);return result}},"./node_modules/lodash/_baseMatches.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMatch=__webpack_require__("./node_modules/lodash/_baseIsMatch.js"),getMatchData=__webpack_require__("./node_modules/lodash/_getMatchData.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js");module.exports=function baseMatches(source){var matchData=getMatchData(source);return 1==matchData.length&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}},"./node_modules/lodash/_baseMatchesProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js"),get=__webpack_require__("./node_modules/lodash/get.js"),hasIn=__webpack_require__("./node_modules/lodash/hasIn.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,3)}}},"./node_modules/lodash/_basePick.js":(module,__unused_webpack_exports,__webpack_require__)=>{var basePickBy=__webpack_require__("./node_modules/lodash/_basePickBy.js"),hasIn=__webpack_require__("./node_modules/lodash/hasIn.js");module.exports=function basePick(object,paths){return basePickBy(object,paths,(function(value,path){return hasIn(object,path)}))}},"./node_modules/lodash/_basePickBy.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js"),baseSet=__webpack_require__("./node_modules/lodash/_baseSet.js"),castPath=__webpack_require__("./node_modules/lodash/_castPath.js");module.exports=function basePickBy(object,paths,predicate){for(var index=-1,length=paths.length,result={};++index<length;){var path=paths[index],value=baseGet(object,path);predicate(value,path)&&baseSet(result,castPath(path,object),value)}return result}},"./node_modules/lodash/_baseProperty.js":module=>{module.exports=function baseProperty(key){return function(object){return null==object?void 0:object[key]}}},"./node_modules/lodash/_basePropertyDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function basePropertyDeep(path){return function(object){return baseGet(object,path)}}},"./node_modules/lodash/_basePropertyOf.js":module=>{module.exports=function basePropertyOf(object){return function(key){return null==object?void 0:object[key]}}},"./node_modules/lodash/_baseSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseSet(object,path,value,customizer){if(!isObject(object))return object;for(var index=-1,length=(path=castPath(path,object)).length,lastIndex=length-1,nested=object;null!=nested&&++index<length;){var key=toKey(path[index]),newValue=value;if("__proto__"===key||"constructor"===key||"prototype"===key)return object;if(index!=lastIndex){var objValue=nested[key];void 0===(newValue=customizer?customizer(objValue,key,nested):void 0)&&(newValue=isObject(objValue)?objValue:isIndex(path[index+1])?[]:{})}assignValue(nested,key,newValue),nested=nested[key]}return object}},"./node_modules/lodash/_baseSetToString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var constant=__webpack_require__("./node_modules/lodash/constant.js"),defineProperty=__webpack_require__("./node_modules/lodash/_defineProperty.js"),identity=__webpack_require__("./node_modules/lodash/identity.js"),baseSetToString=defineProperty?function(func,string){return defineProperty(func,"toString",{configurable:!0,enumerable:!1,value:constant(string),writable:!0})}:identity;module.exports=baseSetToString},"./node_modules/lodash/_baseSlice.js":module=>{module.exports=function baseSlice(array,start,end){var index=-1,length=array.length;start<0&&(start=-start>length?0:length+start),(end=end>length?length:end)<0&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);++index<length;)result[index]=array[index+start];return result}},"./node_modules/lodash/_baseTimes.js":module=>{module.exports=function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}},"./node_modules/lodash/_baseToString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),arrayMap=__webpack_require__("./node_modules/lodash/_arrayMap.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;module.exports=function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_baseTrim.js":(module,__unused_webpack_exports,__webpack_require__)=>{var trimmedEndIndex=__webpack_require__("./node_modules/lodash/_trimmedEndIndex.js"),reTrimStart=/^\s+/;module.exports=function baseTrim(string){return string?string.slice(0,trimmedEndIndex(string)+1).replace(reTrimStart,""):string}},"./node_modules/lodash/_baseUnary.js":module=>{module.exports=function baseUnary(func){return function(value){return func(value)}}},"./node_modules/lodash/_baseUniq.js":(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__("./node_modules/lodash/_SetCache.js"),arrayIncludes=__webpack_require__("./node_modules/lodash/_arrayIncludes.js"),arrayIncludesWith=__webpack_require__("./node_modules/lodash/_arrayIncludesWith.js"),cacheHas=__webpack_require__("./node_modules/lodash/_cacheHas.js"),createSet=__webpack_require__("./node_modules/lodash/_createSet.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js");module.exports=function baseUniq(array,iteratee,comparator){var index=-1,includes=arrayIncludes,length=array.length,isCommon=!0,result=[],seen=result;if(comparator)isCommon=!1,includes=arrayIncludesWith;else if(length>=200){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index<length;){var value=array[index],computed=iteratee?iteratee(value):value;if(value=comparator||0!==value?value:0,isCommon&&computed==computed){for(var seenIndex=seen.length;seenIndex--;)if(seen[seenIndex]===computed)continue outer;iteratee&&seen.push(computed),result.push(value)}else includes(seen,computed,comparator)||(seen!==result&&seen.push(computed),result.push(value))}return result}},"./node_modules/lodash/_cacheHas.js":module=>{module.exports=function cacheHas(cache,key){return cache.has(key)}},"./node_modules/lodash/_castPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),stringToPath=__webpack_require__("./node_modules/lodash/_stringToPath.js"),toString=__webpack_require__("./node_modules/lodash/toString.js");module.exports=function castPath(value,object){return isArray(value)?value:isKey(value,object)?[value]:stringToPath(toString(value))}},"./node_modules/lodash/_castSlice.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseSlice=__webpack_require__("./node_modules/lodash/_baseSlice.js");module.exports=function castSlice(array,start,end){var length=array.length;return end=void 0===end?length:end,!start&&end>=length?array:baseSlice(array,start,end)}},"./node_modules/lodash/_cloneArrayBuffer.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Uint8Array=__webpack_require__("./node_modules/lodash/_Uint8Array.js");module.exports=function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);return new Uint8Array(result).set(new Uint8Array(arrayBuffer)),result}},"./node_modules/lodash/_cloneBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("./node_modules/lodash/_root.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;module.exports=function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);return buffer.copy(result),result}},"./node_modules/lodash/_cloneDataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js");module.exports=function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}},"./node_modules/lodash/_cloneRegExp.js":module=>{var reFlags=/\w*$/;module.exports=function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));return result.lastIndex=regexp.lastIndex,result}},"./node_modules/lodash/_cloneSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}},"./node_modules/lodash/_cloneTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js");module.exports=function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}},"./node_modules/lodash/_copyArray.js":module=>{module.exports=function copyArray(source,array){var index=-1,length=source.length;for(array||(array=Array(length));++index<length;)array[index]=source[index];return array}},"./node_modules/lodash/_copyObject.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js");module.exports=function copyObject(source,props,object,customizer){var isNew=!object;object||(object={});for(var index=-1,length=props.length;++index<length;){var key=props[index],newValue=customizer?customizer(object[key],source[key],key,object,source):void 0;void 0===newValue&&(newValue=source[key]),isNew?baseAssignValue(object,key,newValue):assignValue(object,key,newValue)}return object}},"./node_modules/lodash/_copySymbols.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js");module.exports=function copySymbols(source,object){return copyObject(source,getSymbols(source),object)}},"./node_modules/lodash/_copySymbolsIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),getSymbolsIn=__webpack_require__("./node_modules/lodash/_getSymbolsIn.js");module.exports=function copySymbolsIn(source,object){return copyObject(source,getSymbolsIn(source),object)}},"./node_modules/lodash/_coreJsData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var coreJsData=__webpack_require__("./node_modules/lodash/_root.js")["__core-js_shared__"];module.exports=coreJsData},"./node_modules/lodash/_createBaseFor.js":module=>{module.exports=function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(!1===iteratee(iterable[key],key,iterable))break}return object}}},"./node_modules/lodash/_createCaseFirst.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castSlice=__webpack_require__("./node_modules/lodash/_castSlice.js"),hasUnicode=__webpack_require__("./node_modules/lodash/_hasUnicode.js"),stringToArray=__webpack_require__("./node_modules/lodash/_stringToArray.js"),toString=__webpack_require__("./node_modules/lodash/toString.js");module.exports=function createCaseFirst(methodName){return function(string){string=toString(string);var strSymbols=hasUnicode(string)?stringToArray(string):void 0,chr=strSymbols?strSymbols[0]:string.charAt(0),trailing=strSymbols?castSlice(strSymbols,1).join(""):string.slice(1);return chr[methodName]()+trailing}}},"./node_modules/lodash/_createCompounder.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayReduce=__webpack_require__("./node_modules/lodash/_arrayReduce.js"),deburr=__webpack_require__("./node_modules/lodash/deburr.js"),words=__webpack_require__("./node_modules/lodash/words.js"),reApos=RegExp("['’]","g");module.exports=function createCompounder(callback){return function(string){return arrayReduce(words(deburr(string).replace(reApos,"")),callback,"")}}},"./node_modules/lodash/_createSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("./node_modules/lodash/_Set.js"),noop=__webpack_require__("./node_modules/lodash/noop.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js"),createSet=Set&&1/setToArray(new Set([,-0]))[1]==1/0?function(values){return new Set(values)}:noop;module.exports=createSet},"./node_modules/lodash/_deburrLetter.js":(module,__unused_webpack_exports,__webpack_require__)=>{var deburrLetter=__webpack_require__("./node_modules/lodash/_basePropertyOf.js")({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});module.exports=deburrLetter},"./node_modules/lodash/_defineProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getNative=__webpack_require__("./node_modules/lodash/_getNative.js"),defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}();module.exports=defineProperty},"./node_modules/lodash/_equalArrays.js":(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__("./node_modules/lodash/_SetCache.js"),arraySome=__webpack_require__("./node_modules/lodash/_arraySome.js"),cacheHas=__webpack_require__("./node_modules/lodash/_cacheHas.js");module.exports=function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(void 0!==compared){if(compared)continue;result=!1;break}if(seen){if(!arraySome(other,(function(othValue,othIndex){if(!cacheHas(seen,othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack)))return seen.push(othIndex)}))){result=!1;break}}else if(arrValue!==othValue&&!equalFunc(arrValue,othValue,bitmask,customizer,stack)){result=!1;break}}return stack.delete(array),stack.delete(other),result}},"./node_modules/lodash/_equalByTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),Uint8Array=__webpack_require__("./node_modules/lodash/_Uint8Array.js"),eq=__webpack_require__("./node_modules/lodash/eq.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),mapToArray=__webpack_require__("./node_modules/lodash/_mapToArray.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case"[object DataView]":if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case"[object ArrayBuffer]":return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)));case"[object Boolean]":case"[object Date]":case"[object Number]":return eq(+object,+other);case"[object Error]":return object.name==other.name&&object.message==other.message;case"[object RegExp]":case"[object String]":return object==other+"";case"[object Map]":var convert=mapToArray;case"[object Set]":var isPartial=1&bitmask;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=2,stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case"[object Symbol]":if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}},"./node_modules/lodash/_equalObjects.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getAllKeys=__webpack_require__("./node_modules/lodash/_getAllKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){var objValue=object[key=objProps[index]],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(void 0===compared?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=!1;break}skipCtor||(skipCtor="constructor"==key)}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor==othCtor||!("constructor"in object)||!("constructor"in other)||"function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor||(result=!1)}return stack.delete(object),stack.delete(other),result}},"./node_modules/lodash/_flatRest.js":(module,__unused_webpack_exports,__webpack_require__)=>{var flatten=__webpack_require__("./node_modules/lodash/flatten.js"),overRest=__webpack_require__("./node_modules/lodash/_overRest.js"),setToString=__webpack_require__("./node_modules/lodash/_setToString.js");module.exports=function flatRest(func){return setToString(overRest(func,void 0,flatten),func+"")}},"./node_modules/lodash/_freeGlobal.js":(module,__unused_webpack_exports,__webpack_require__)=>{var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g;module.exports=freeGlobal},"./node_modules/lodash/_getAllKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("./node_modules/lodash/_baseGetAllKeys.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}},"./node_modules/lodash/_getAllKeysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("./node_modules/lodash/_baseGetAllKeys.js"),getSymbolsIn=__webpack_require__("./node_modules/lodash/_getSymbolsIn.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js");module.exports=function getAllKeysIn(object){return baseGetAllKeys(object,keysIn,getSymbolsIn)}},"./node_modules/lodash/_getMapData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isKeyable=__webpack_require__("./node_modules/lodash/_isKeyable.js");module.exports=function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}},"./node_modules/lodash/_getMatchData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}},"./node_modules/lodash/_getNative.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsNative=__webpack_require__("./node_modules/lodash/_baseIsNative.js"),getValue=__webpack_require__("./node_modules/lodash/_getValue.js");module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},"./node_modules/lodash/_getPrototype.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getPrototype=__webpack_require__("./node_modules/lodash/_overArg.js")(Object.getPrototypeOf,Object);module.exports=getPrototype},"./node_modules/lodash/_getRawTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},"./node_modules/lodash/_getSymbols.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayFilter=__webpack_require__("./node_modules/lodash/_arrayFilter.js"),stubArray=__webpack_require__("./node_modules/lodash/stubArray.js"),propertyIsEnumerable=Object.prototype.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),arrayFilter(nativeGetSymbols(object),(function(symbol){return propertyIsEnumerable.call(object,symbol)})))}:stubArray;module.exports=getSymbols},"./node_modules/lodash/_getSymbolsIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),getPrototype=__webpack_require__("./node_modules/lodash/_getPrototype.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js"),stubArray=__webpack_require__("./node_modules/lodash/stubArray.js"),getSymbolsIn=Object.getOwnPropertySymbols?function(object){for(var result=[];object;)arrayPush(result,getSymbols(object)),object=getPrototype(object);return result}:stubArray;module.exports=getSymbolsIn},"./node_modules/lodash/_getTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_DataView.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),Promise=__webpack_require__("./node_modules/lodash/_Promise.js"),Set=__webpack_require__("./node_modules/lodash/_Set.js"),WeakMap=__webpack_require__("./node_modules/lodash/_WeakMap.js"),baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&"[object DataView]"!=getTag(new DataView(new ArrayBuffer(1)))||Map&&"[object Map]"!=getTag(new Map)||Promise&&"[object Promise]"!=getTag(Promise.resolve())||Set&&"[object Set]"!=getTag(new Set)||WeakMap&&"[object WeakMap]"!=getTag(new WeakMap))&&(getTag=function(value){var result=baseGetTag(value),Ctor="[object Object]"==result?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return"[object DataView]";case mapCtorString:return"[object Map]";case promiseCtorString:return"[object Promise]";case setCtorString:return"[object Set]";case weakMapCtorString:return"[object WeakMap]"}return result}),module.exports=getTag},"./node_modules/lodash/_getValue.js":module=>{module.exports=function getValue(object,key){return null==object?void 0:object[key]}},"./node_modules/lodash/_hasPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function hasPath(object,path,hasFunc){for(var index=-1,length=(path=castPath(path,object)).length,result=!1;++index<length;){var key=toKey(path[index]);if(!(result=null!=object&&hasFunc(object,key)))break;object=object[key]}return result||++index!=length?result:!!(length=null==object?0:object.length)&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}},"./node_modules/lodash/_hasUnicode.js":module=>{var reHasUnicode=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");module.exports=function hasUnicode(string){return reHasUnicode.test(string)}},"./node_modules/lodash/_hasUnicodeWord.js":module=>{var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;module.exports=function hasUnicodeWord(string){return reHasUnicodeWord.test(string)}},"./node_modules/lodash/_hashClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},"./node_modules/lodash/_hashDelete.js":module=>{module.exports=function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}},"./node_modules/lodash/_hashGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return"__lodash_hash_undefined__"===result?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}},"./node_modules/lodash/_hashHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},"./node_modules/lodash/_hashSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this}},"./node_modules/lodash/_initCloneArray.js":module=>{var hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function initCloneArray(array){var length=array.length,result=new array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}},"./node_modules/lodash/_initCloneByTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js"),cloneDataView=__webpack_require__("./node_modules/lodash/_cloneDataView.js"),cloneRegExp=__webpack_require__("./node_modules/lodash/_cloneRegExp.js"),cloneSymbol=__webpack_require__("./node_modules/lodash/_cloneSymbol.js"),cloneTypedArray=__webpack_require__("./node_modules/lodash/_cloneTypedArray.js");module.exports=function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case"[object ArrayBuffer]":return cloneArrayBuffer(object);case"[object Boolean]":case"[object Date]":return new Ctor(+object);case"[object DataView]":return cloneDataView(object,isDeep);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return cloneTypedArray(object,isDeep);case"[object Map]":case"[object Set]":return new Ctor;case"[object Number]":case"[object String]":return new Ctor(object);case"[object RegExp]":return cloneRegExp(object);case"[object Symbol]":return cloneSymbol(object)}}},"./node_modules/lodash/_initCloneObject.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseCreate=__webpack_require__("./node_modules/lodash/_baseCreate.js"),getPrototype=__webpack_require__("./node_modules/lodash/_getPrototype.js"),isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js");module.exports=function initCloneObject(object){return"function"!=typeof object.constructor||isPrototype(object)?{}:baseCreate(getPrototype(object))}},"./node_modules/lodash/_isFlattenable.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0;module.exports=function isFlattenable(value){return isArray(value)||isArguments(value)||!!(spreadableSymbol&&value&&value[spreadableSymbol])}},"./node_modules/lodash/_isIndex.js":module=>{var reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function isIndex(value,length){var type=typeof value;return!!(length=null==length?9007199254740991:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}},"./node_modules/lodash/_isKey.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;module.exports=function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return!("number"!=type&&"symbol"!=type&&"boolean"!=type&&null!=value&&!isSymbol(value))||(reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object))}},"./node_modules/lodash/_isKeyable.js":module=>{module.exports=function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},"./node_modules/lodash/_isMasked.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uid,coreJsData=__webpack_require__("./node_modules/lodash/_coreJsData.js"),maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""))?"Symbol(src)_1."+uid:"";module.exports=function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}},"./node_modules/lodash/_isPrototype.js":module=>{var objectProto=Object.prototype;module.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},"./node_modules/lodash/_isStrictComparable.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isStrictComparable(value){return value==value&&!isObject(value)}},"./node_modules/lodash/_listCacheClear.js":module=>{module.exports=function listCacheClear(){this.__data__=[],this.size=0}},"./node_modules/lodash/_listCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js"),splice=Array.prototype.splice;module.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}},"./node_modules/lodash/_listCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}},"./node_modules/lodash/_listCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}},"./node_modules/lodash/_listCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},"./node_modules/lodash/_mapCacheClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Hash=__webpack_require__("./node_modules/lodash/_Hash.js"),ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js");module.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},"./node_modules/lodash/_mapCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}},"./node_modules/lodash/_mapCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheGet(key){return getMapData(this,key).get(key)}},"./node_modules/lodash/_mapCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheHas(key){return getMapData(this,key).has(key)}},"./node_modules/lodash/_mapCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},"./node_modules/lodash/_mapToArray.js":module=>{module.exports=function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach((function(value,key){result[++index]=[key,value]})),result}},"./node_modules/lodash/_matchesStrictComparable.js":module=>{module.exports=function matchesStrictComparable(key,srcValue){return function(object){return null!=object&&(object[key]===srcValue&&(void 0!==srcValue||key in Object(object)))}}},"./node_modules/lodash/_memoizeCapped.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoize=__webpack_require__("./node_modules/lodash/memoize.js");module.exports=function memoizeCapped(func){var result=memoize(func,(function(key){return 500===cache.size&&cache.clear(),key})),cache=result.cache;return result}},"./node_modules/lodash/_nativeCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_getNative.js")(Object,"create");module.exports=nativeCreate},"./node_modules/lodash/_nativeKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeKeys=__webpack_require__("./node_modules/lodash/_overArg.js")(Object.keys,Object);module.exports=nativeKeys},"./node_modules/lodash/_nativeKeysIn.js":module=>{module.exports=function nativeKeysIn(object){var result=[];if(null!=object)for(var key in Object(object))result.push(key);return result}},"./node_modules/lodash/_nodeUtil.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil},"./node_modules/lodash/_objectToString.js":module=>{var nativeObjectToString=Object.prototype.toString;module.exports=function objectToString(value){return nativeObjectToString.call(value)}},"./node_modules/lodash/_overArg.js":module=>{module.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}},"./node_modules/lodash/_overRest.js":(module,__unused_webpack_exports,__webpack_require__)=>{var apply=__webpack_require__("./node_modules/lodash/_apply.js"),nativeMax=Math.max;module.exports=function overRest(func,start,transform){return start=nativeMax(void 0===start?func.length-1:start,0),function(){for(var args=arguments,index=-1,length=nativeMax(args.length-start,0),array=Array(length);++index<length;)array[index]=args[start+index];index=-1;for(var otherArgs=Array(start+1);++index<start;)otherArgs[index]=args[index];return otherArgs[start]=transform(array),apply(func,this,otherArgs)}}},"./node_modules/lodash/_root.js":(module,__unused_webpack_exports,__webpack_require__)=>{var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},"./node_modules/lodash/_setCacheAdd.js":module=>{module.exports=function setCacheAdd(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this}},"./node_modules/lodash/_setCacheHas.js":module=>{module.exports=function setCacheHas(value){return this.__data__.has(value)}},"./node_modules/lodash/_setToArray.js":module=>{module.exports=function setToArray(set){var index=-1,result=Array(set.size);return set.forEach((function(value){result[++index]=value})),result}},"./node_modules/lodash/_setToString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseSetToString=__webpack_require__("./node_modules/lodash/_baseSetToString.js"),setToString=__webpack_require__("./node_modules/lodash/_shortOut.js")(baseSetToString);module.exports=setToString},"./node_modules/lodash/_shortOut.js":module=>{var nativeNow=Date.now;module.exports=function shortOut(func){var count=0,lastCalled=0;return function(){var stamp=nativeNow(),remaining=16-(stamp-lastCalled);if(lastCalled=stamp,remaining>0){if(++count>=800)return arguments[0]}else count=0;return func.apply(void 0,arguments)}}},"./node_modules/lodash/_stackClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js");module.exports=function stackClear(){this.__data__=new ListCache,this.size=0}},"./node_modules/lodash/_stackDelete.js":module=>{module.exports=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}},"./node_modules/lodash/_stackGet.js":module=>{module.exports=function stackGet(key){return this.__data__.get(key)}},"./node_modules/lodash/_stackHas.js":module=>{module.exports=function stackHas(key){return this.__data__.has(key)}},"./node_modules/lodash/_stackSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");module.exports=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this}},"./node_modules/lodash/_strictIndexOf.js":module=>{module.exports=function strictIndexOf(array,value,fromIndex){for(var index=fromIndex-1,length=array.length;++index<length;)if(array[index]===value)return index;return-1}},"./node_modules/lodash/_stringToArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var asciiToArray=__webpack_require__("./node_modules/lodash/_asciiToArray.js"),hasUnicode=__webpack_require__("./node_modules/lodash/_hasUnicode.js"),unicodeToArray=__webpack_require__("./node_modules/lodash/_unicodeToArray.js");module.exports=function stringToArray(string){return hasUnicode(string)?unicodeToArray(string):asciiToArray(string)}},"./node_modules/lodash/_stringToPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoizeCapped=__webpack_require__("./node_modules/lodash/_memoizeCapped.js"),rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(string){var result=[];return 46===string.charCodeAt(0)&&result.push(""),string.replace(rePropName,(function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)})),result}));module.exports=stringToPath},"./node_modules/lodash/_toKey.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js");module.exports=function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_toSource.js":module=>{var funcToString=Function.prototype.toString;module.exports=function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},"./node_modules/lodash/_trimmedEndIndex.js":module=>{var reWhitespace=/\s/;module.exports=function trimmedEndIndex(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index}},"./node_modules/lodash/_unicodeToArray.js":module=>{var rsAstral="[\\ud800-\\udfff]",rsCombo="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsNonAstral="[^\\ud800-\\udfff]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",reOptMod="(?:"+rsCombo+"|"+rsFitz+")"+"?",rsSeq="[\\ufe0e\\ufe0f]?"+reOptMod+("(?:\\u200d(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")[\\ufe0e\\ufe0f]?"+reOptMod+")*"),rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");module.exports=function unicodeToArray(string){return string.match(reUnicode)||[]}},"./node_modules/lodash/_unicodeWords.js":module=>{var rsBreakRange="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsBreak="["+rsBreakRange+"]",rsDigits="\\d+",rsDingbat="[\\u2700-\\u27bf]",rsLower="[a-z\\xdf-\\xf6\\xf8-\\xff]",rsMisc="[^\\ud800-\\udfff"+rsBreakRange+rsDigits+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="[A-Z\\xc0-\\xd6\\xd8-\\xde]",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",reOptMod="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",rsSeq="[\\ufe0e\\ufe0f]?"+reOptMod+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",rsRegional,rsSurrPair].join("|")+")[\\ufe0e\\ufe0f]?"+reOptMod+")*"),rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?",rsUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsDigits,rsEmoji].join("|"),"g");module.exports=function unicodeWords(string){return string.match(reUnicodeWord)||[]}},"./node_modules/lodash/cloneDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseClone=__webpack_require__("./node_modules/lodash/_baseClone.js");module.exports=function cloneDeep(value){return baseClone(value,5)}},"./node_modules/lodash/constant.js":module=>{module.exports=function constant(value){return function(){return value}}},"./node_modules/lodash/debounce.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js"),now=__webpack_require__("./node_modules/lodash/now.js"),toNumber=__webpack_require__("./node_modules/lodash/toNumber.js"),nativeMax=Math.max,nativeMin=Math.min;module.exports=function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}},"./node_modules/lodash/deburr.js":(module,__unused_webpack_exports,__webpack_require__)=>{var deburrLetter=__webpack_require__("./node_modules/lodash/_deburrLetter.js"),toString=__webpack_require__("./node_modules/lodash/toString.js"),reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,reComboMark=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");module.exports=function deburr(string){return(string=toString(string))&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}},"./node_modules/lodash/eq.js":module=>{module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},"./node_modules/lodash/flatten.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFlatten=__webpack_require__("./node_modules/lodash/_baseFlatten.js");module.exports=function flatten(array){return(null==array?0:array.length)?baseFlatten(array,1):[]}},"./node_modules/lodash/get.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}},"./node_modules/lodash/hasIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseHasIn=__webpack_require__("./node_modules/lodash/_baseHasIn.js"),hasPath=__webpack_require__("./node_modules/lodash/_hasPath.js");module.exports=function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}},"./node_modules/lodash/identity.js":module=>{module.exports=function identity(value){return value}},"./node_modules/lodash/isArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsArguments=__webpack_require__("./node_modules/lodash/_baseIsArguments.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},"./node_modules/lodash/isArray.js":module=>{var isArray=Array.isArray;module.exports=isArray},"./node_modules/lodash/isArrayLike.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js");module.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},"./node_modules/lodash/isBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("./node_modules/lodash/_root.js"),stubFalse=__webpack_require__("./node_modules/lodash/stubFalse.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||stubFalse;module.exports=isBuffer},"./node_modules/lodash/isEqual.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js");module.exports=function isEqual(value,other){return baseIsEqual(value,other)}},"./node_modules/lodash/isFunction.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return"[object Function]"==tag||"[object GeneratorFunction]"==tag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}},"./node_modules/lodash/isLength.js":module=>{module.exports=function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=9007199254740991}},"./node_modules/lodash/isMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMap=__webpack_require__("./node_modules/lodash/_baseIsMap.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap},"./node_modules/lodash/isObject.js":module=>{module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},"./node_modules/lodash/isObjectLike.js":module=>{module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},"./node_modules/lodash/isPlainObject.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),getPrototype=__webpack_require__("./node_modules/lodash/_getPrototype.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object);module.exports=function isPlainObject(value){if(!isObjectLike(value)||"[object Object]"!=baseGetTag(value))return!1;var proto=getPrototype(value);if(null===proto)return!0;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}},"./node_modules/lodash/isSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsSet=__webpack_require__("./node_modules/lodash/_baseIsSet.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet},"./node_modules/lodash/isString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&"[object String]"==baseGetTag(value)}},"./node_modules/lodash/isSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&"[object Symbol]"==baseGetTag(value)}},"./node_modules/lodash/isTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsTypedArray=__webpack_require__("./node_modules/lodash/_baseIsTypedArray.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},"./node_modules/lodash/keys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("./node_modules/lodash/_arrayLikeKeys.js"),baseKeys=__webpack_require__("./node_modules/lodash/_baseKeys.js"),isArrayLike=__webpack_require__("./node_modules/lodash/isArrayLike.js");module.exports=function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}},"./node_modules/lodash/keysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("./node_modules/lodash/_arrayLikeKeys.js"),baseKeysIn=__webpack_require__("./node_modules/lodash/_baseKeysIn.js"),isArrayLike=__webpack_require__("./node_modules/lodash/isArrayLike.js");module.exports=function keysIn(object){return isArrayLike(object)?arrayLikeKeys(object,!0):baseKeysIn(object)}},"./node_modules/lodash/mapValues.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js"),baseForOwn=__webpack_require__("./node_modules/lodash/_baseForOwn.js"),baseIteratee=__webpack_require__("./node_modules/lodash/_baseIteratee.js");module.exports=function mapValues(object,iteratee){var result={};return iteratee=baseIteratee(iteratee,3),baseForOwn(object,(function(value,key,object){baseAssignValue(result,key,iteratee(value,key,object))})),result}},"./node_modules/lodash/memoize.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError("Expected a function");var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache,module.exports=memoize},"./node_modules/lodash/noop.js":module=>{module.exports=function noop(){}},"./node_modules/lodash/now.js":(module,__unused_webpack_exports,__webpack_require__)=>{var root=__webpack_require__("./node_modules/lodash/_root.js");module.exports=function(){return root.Date.now()}},"./node_modules/lodash/pick.js":(module,__unused_webpack_exports,__webpack_require__)=>{var basePick=__webpack_require__("./node_modules/lodash/_basePick.js"),pick=__webpack_require__("./node_modules/lodash/_flatRest.js")((function(object,paths){return null==object?{}:basePick(object,paths)}));module.exports=pick},"./node_modules/lodash/pickBy.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayMap=__webpack_require__("./node_modules/lodash/_arrayMap.js"),baseIteratee=__webpack_require__("./node_modules/lodash/_baseIteratee.js"),basePickBy=__webpack_require__("./node_modules/lodash/_basePickBy.js"),getAllKeysIn=__webpack_require__("./node_modules/lodash/_getAllKeysIn.js");module.exports=function pickBy(object,predicate){if(null==object)return{};var props=arrayMap(getAllKeysIn(object),(function(prop){return[prop]}));return predicate=baseIteratee(predicate),basePickBy(object,props,(function(value,path){return predicate(value,path[0])}))}},"./node_modules/lodash/property.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseProperty=__webpack_require__("./node_modules/lodash/_baseProperty.js"),basePropertyDeep=__webpack_require__("./node_modules/lodash/_basePropertyDeep.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}},"./node_modules/lodash/startCase.js":(module,__unused_webpack_exports,__webpack_require__)=>{var createCompounder=__webpack_require__("./node_modules/lodash/_createCompounder.js"),upperFirst=__webpack_require__("./node_modules/lodash/upperFirst.js"),startCase=createCompounder((function(result,word,index){return result+(index?" ":"")+upperFirst(word)}));module.exports=startCase},"./node_modules/lodash/stubArray.js":module=>{module.exports=function stubArray(){return[]}},"./node_modules/lodash/stubFalse.js":module=>{module.exports=function stubFalse(){return!1}},"./node_modules/lodash/throttle.js":(module,__unused_webpack_exports,__webpack_require__)=>{var debounce=__webpack_require__("./node_modules/lodash/debounce.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading,maxWait:wait,trailing})}},"./node_modules/lodash/toNumber.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseTrim=__webpack_require__("./node_modules/lodash/_baseTrim.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;module.exports=function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value}},"./node_modules/lodash/toString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseToString=__webpack_require__("./node_modules/lodash/_baseToString.js");module.exports=function toString(value){return null==value?"":baseToString(value)}},"./node_modules/lodash/uniq.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseUniq=__webpack_require__("./node_modules/lodash/_baseUniq.js");module.exports=function uniq(array){return array&&array.length?baseUniq(array):[]}},"./node_modules/lodash/upperFirst.js":(module,__unused_webpack_exports,__webpack_require__)=>{var upperFirst=__webpack_require__("./node_modules/lodash/_createCaseFirst.js")("toUpperCase");module.exports=upperFirst},"./node_modules/lodash/words.js":(module,__unused_webpack_exports,__webpack_require__)=>{var asciiWords=__webpack_require__("./node_modules/lodash/_asciiWords.js"),hasUnicodeWord=__webpack_require__("./node_modules/lodash/_hasUnicodeWord.js"),toString=__webpack_require__("./node_modules/lodash/toString.js"),unicodeWords=__webpack_require__("./node_modules/lodash/_unicodeWords.js");module.exports=function words(string,pattern,guard){return string=toString(string),void 0===(pattern=guard?void 0:pattern)?hasUnicodeWord(string)?unicodeWords(string):asciiWords(string):string.match(pattern)||[]}},"./node_modules/markdown-to-jsx/dist/index.modern.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}const n=["children","options"],r=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(((t,e)=>(t[e.toLowerCase()]=e,t)),{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],a=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,u=/mailto:/i,i=/\n{2,}$/,l=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,s=/^ *> ?/gm,_=/^ {2,}\n/,f=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,d=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,p=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,g=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,m=/^(?:\n *)*\n/,y=/\r\n?/g,h=/^\[\^([^\]]+)](:.*)\n/,k=/^\[\^([^\]]+)]/,x=/\f/g,b=/^\s*?\[(x|\s)\]/,v=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,S=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,$=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,w=/&([a-z]+);/g,z=/^<!--[\s\S]*?(?:-->)/,E=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,A=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,R=/^\{.*\}$/,I=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,M=/^<([^ >]+@[^ >]+)>/,O=/^<([^ >]+:\/[^ >]+)>/,B=/ *\n+$/,L=/(?:^|\n)( *)$/,T=/-([a-z])?/gi,j=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,C=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,D=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,N=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Z=/(\[|\])/g,F=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,P=/\t/g,G=/^ *\| */,H=/(^ *\||\| *$)/g,q=/ *$/,U=/^ *:-+: *$/,V=/^ *:-+ *$/,W=/^ *-+: *$/,Q=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,X=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,J=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,K=/^\\([^0-9A-Za-z\s])/,Y=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,tt=/^\n+/,et=/^([ \t]*)/,nt=/\\([^0-9A-Z\s])/gi,rt=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +"),ot=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),ct=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)"),at="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",ut=new RegExp("^\\[("+at+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),it=new RegExp("^!\\[("+at+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),lt=[l,p,d,v,S,z,ot,ct,j],st=[...lt,/^[^\n]+(?: \n|\n{2,})/,$,A];function _t(t){return t.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function ft(t){return W.test(t)?"right":U.test(t)?"center":V.test(t)?"left":null}function dt(t,e,n){const r=n.t;n.t=!0;const o=e(t.trim(),n);n.t=r;let c=[[]];return o.forEach((function(t,e){"tableSeparator"===t.type?0!==e&&e!==o.length-1&&c.push([]):("text"!==t.type||null!=o[e+1]&&"tableSeparator"!==o[e+1].type||(t.content=t.content.replace(q,"")),c[c.length-1].push(t))})),c}function pt(t,e,n){n.o=!0;const r=dt(t[1],e,n),o=t[2].replace(H,"").split("|").map(ft),c=function(t,e,n){return t.trim().split("\n").map((function(t){return dt(t,e,n)}))}(t[3],e,n);return n.o=!1,{align:o,cells:c,header:r,type:"table"}}function gt(t,e){return null==t.align[e]?{}:{textAlign:t.align[e]}}function mt(t){return function(e,n){return n.o?t.exec(e):null}}function yt(t){return function(e,n){return n.o||n.u?t.exec(e):null}}function ht(t){return function(e,n){return n.o||n.u?null:t.exec(e)}}function kt(t){return function(e){return t.exec(e)}}function xt(t,e,n){if(e.o||e.u)return null;if(n&&!n.endsWith("\n"))return null;let r="";t.split("\n").every((t=>!lt.some((e=>e.test(t)))&&(r+=t+"\n",t.trim())));const o=r.trimEnd();return""==o?null:[r,o]}function bt(t){try{if(decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(t){return null}return t}function vt(t){return t.replace(nt,"$1")}function St(t,e,n){const r=n.o||!1,o=n.u||!1;n.o=!0,n.u=!0;const c=t(e,n);return n.o=r,n.u=o,c}function $t(t,e,n){const r=n.o||!1,o=n.u||!1;n.o=!1,n.u=!0;const c=t(e,n);return n.o=r,n.u=o,c}function wt(t,e,n){return n.o=!1,t(e+"\n\n",n)}const zt=(t,e,n)=>({content:St(e,t[1],n)});function Et(){return{}}function At(){return null}function Rt(...t){return t.filter(Boolean).join(" ")}function It(t,e,n){let r=t;const o=e.split(".");for(;o.length&&(r=r[o[0]],void 0!==r);)o.shift();return r||n}var Mt,t;function Ot(n,H={}){H.overrides=H.overrides||{},H.slugify=H.slugify||_t,H.namedCodesToUnicode=H.namedCodesToUnicode?e({},o,H.namedCodesToUnicode):o;const q=H.createElement||react__WEBPACK_IMPORTED_MODULE_0__.createElement;function U(t,n,...r){const o=It(H.overrides,`${t}.props`,{});return q(function(t,e){const n=It(e,t);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:It(e,`${t}.component`,t):t}(t,H.overrides),e({},n,o,{className:Rt(null==n?void 0:n.className,o.className)||void 0}),...r)}function V(e){let n=!1;H.forceInline?n=!0:H.forceBlock||(n=!1===F.test(e));const r=dt(ft(n?e:`${e.trimEnd().replace(tt,"")}\n\n`,{o:n}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===H.wrapper)return r;const o=H.wrapper||(n?"span":"div");let c;if(r.length>1||H.forceWrapper)c=r;else{if(1===r.length)return c=r[0],"string"==typeof c?U("span",{key:"outer"},c):c;c=null}return react__WEBPACK_IMPORTED_MODULE_0__.createElement(o,{key:"outer"},c)}function W(e){const n=e.match(a);return n?n.reduce((function(e,n,o){const c=n.indexOf("=");if(-1!==c){const a=(t=n.slice(0,c),-1!==t.indexOf("-")&&null===t.match(E)&&(t=t.replace(T,(function(t,e){return e.toUpperCase()}))),t).trim(),u=function(t){const e=t[0];return('"'===e||"'"===e)&&t.length>=2&&t[t.length-1]===e?t.slice(1,-1):t}(n.slice(c+1).trim()),i=r[a]||a,l=e[i]=function(t,e){return"style"===t?e.split(/;\s?/).reduce((function(t,e){const n=e.slice(0,e.indexOf(":"));return t[n.replace(/(-[a-z])/g,(t=>t[1].toUpperCase()))]=e.slice(n.length+1).trim(),t}),{}):"href"===t?bt(e):(e.match(R)&&(e=e.slice(1,e.length-1)),"true"===e||"false"!==e&&e)}(a,u);"string"==typeof l&&($.test(l)||A.test(l))&&(e[i]=react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(V(l.trim()),{key:o}))}else"style"!==n&&(e[r[n]||n]=!0);var t;return e}),{}):void 0}const nt=[],at={},lt={blockQuote:{i:ht(l),l:Mt.HIGH,_:(t,e,n)=>({content:e(t[0].replace(s,""),n)}),p:(t,e,n)=>U("blockquote",{key:n.g},e(t.content,n))},breakLine:{i:kt(_),l:Mt.HIGH,_:Et,p:(t,e,n)=>U("br",{key:n.g})},breakThematic:{i:ht(f),l:Mt.HIGH,_:Et,p:(t,e,n)=>U("hr",{key:n.g})},codeBlock:{i:ht(p),l:Mt.MAX,_:t=>({content:t[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}),p:(t,e,n)=>U("pre",{key:n.g},U("code",{className:t.lang?`lang-${t.lang}`:""},t.content))},codeFenced:{i:ht(d),l:Mt.MAX,_:t=>({content:t[3],lang:t[2]||void 0,type:"codeBlock"})},codeInline:{i:yt(g),l:Mt.LOW,_:t=>({content:t[2]}),p:(t,e,n)=>U("code",{key:n.g},t.content)},footnote:{i:ht(h),l:Mt.MAX,_:t=>(nt.push({footnote:t[2],identifier:t[1]}),{}),p:At},footnoteReference:{i:mt(k),l:Mt.HIGH,_:t=>({content:t[1],target:`#${H.slugify(t[1])}`}),p:(t,e,n)=>U("a",{key:n.g,href:bt(t.target)},U("sup",{key:n.g},t.content))},gfmTask:{i:mt(b),l:Mt.HIGH,_:t=>({completed:"x"===t[1].toLowerCase()}),p:(t,e,n)=>U("input",{checked:t.completed,key:n.g,readOnly:!0,type:"checkbox"})},heading:{i:ht(v),l:Mt.HIGH,_:(t,e,n)=>({content:St(e,t[2],n),id:H.slugify(t[2]),level:t[1].length}),p:(t,e,n)=>(t.tag=`h${t.level}`,U(t.tag,{id:t.id,key:n.g},e(t.content,n)))},headingSetext:{i:ht(S),l:Mt.MAX,_:(t,e,n)=>({content:St(e,t[1],n),level:"="===t[2]?1:2,type:"heading"})},htmlComment:{i:kt(z),l:Mt.HIGH,_:()=>({}),p:At},image:{i:yt(it),l:Mt.HIGH,_:t=>({alt:t[1],target:vt(t[2]),title:t[3]}),p:(t,e,n)=>U("img",{key:n.g,alt:t.alt||void 0,title:t.title||void 0,src:bt(t.target)})},link:{i:mt(ut),l:Mt.LOW,_:(t,e,n)=>({content:$t(e,t[1],n),target:vt(t[2]),title:t[3]}),p:(t,e,n)=>U("a",{key:n.g,href:bt(t.target),title:t.title},e(t.content,n))},linkAngleBraceStyleDetector:{i:mt(O),l:Mt.MAX,_:t=>({content:[{content:t[1],type:"text"}],target:t[1],type:"link"})},linkBareUrlDetector:{i:(t,e)=>e.m?null:mt(I)(t,e),l:Mt.MAX,_:t=>({content:[{content:t[1],type:"text"}],target:t[1],title:void 0,type:"link"})},linkMailtoDetector:{i:mt(M),l:Mt.MAX,_(t){let e=t[1],n=t[1];return u.test(n)||(n="mailto:"+n),{content:[{content:e.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{i(t,e,n){const r=L.exec(n);return!r||!e.h&&e.o?null:ct.exec(t=r[1]+t)},l:Mt.HIGH,_(t,e,n){const r=t[2],o=r.length>1,c=o?+r:void 0,a=t[0].replace(i,"\n").match(ot);let u=!1;return{items:a.map((function(t,r){const o=rt.exec(t)[0].length,c=new RegExp("^ {1,"+o+"}","gm"),i=t.replace(c,"").replace(rt,""),l=r===a.length-1,s=-1!==i.indexOf("\n\n")||l&&u;u=s;const _=n.o,f=n.h;let d;n.h=!0,s?(n.o=!1,d=i.replace(B,"\n\n")):(n.o=!0,d=i.replace(B,""));const p=e(d,n);return n.o=_,n.h=f,p})),ordered:o,start:c}},p:(t,e,n)=>U(t.ordered?"ol":"ul",{key:n.g,start:t.start},t.items.map((function(t,r){return U("li",{key:r},e(t,n))})))},newlineCoalescer:{i:ht(m),l:Mt.LOW,_:Et,p:()=>"\n"},paragraph:{i:xt,l:Mt.LOW,_:zt,p:(t,e,n)=>U("p",{key:n.g},e(t.content,n))},ref:{i:mt(C),l:Mt.MAX,_:t=>(at[t[1]]={target:t[2],title:t[4]},{}),p:At},refImage:{i:yt(D),l:Mt.MAX,_:t=>({alt:t[1]||void 0,ref:t[2]}),p:(t,e,n)=>U("img",{key:n.g,alt:t.alt,src:bt(at[t.ref].target),title:at[t.ref].title})},refLink:{i:mt(N),l:Mt.MAX,_:(t,e,n)=>({content:e(t[1],n),fallbackContent:e(t[0].replace(Z,"\\$1"),n),ref:t[2]}),p:(t,e,n)=>at[t.ref]?U("a",{key:n.g,href:bt(at[t.ref].target),title:at[t.ref].title},e(t.content,n)):U("span",{key:n.g},e(t.fallbackContent,n))},table:{i:ht(j),l:Mt.HIGH,_:pt,p:(t,e,n)=>U("table",{key:n.g},U("thead",null,U("tr",null,t.header.map((function(r,o){return U("th",{key:o,style:gt(t,o)},e(r,n))})))),U("tbody",null,t.cells.map((function(r,o){return U("tr",{key:o},r.map((function(r,o){return U("td",{key:o,style:gt(t,o)},e(r,n))})))}))))},tableSeparator:{i:function(t,e){return e.t?G.exec(t):null},l:Mt.HIGH,_:function(){return{type:"tableSeparator"}},p:()=>" | "},text:{i:kt(Y),l:Mt.MIN,_:t=>({content:t[0].replace(w,((t,e)=>H.namedCodesToUnicode[e]?H.namedCodesToUnicode[e]:t))}),p:t=>t.content},textBolded:{i:yt(Q),l:Mt.MED,_:(t,e,n)=>({content:e(t[2],n)}),p:(t,e,n)=>U("strong",{key:n.g},e(t.content,n))},textEmphasized:{i:yt(X),l:Mt.LOW,_:(t,e,n)=>({content:e(t[2],n)}),p:(t,e,n)=>U("em",{key:n.g},e(t.content,n))},textEscaped:{i:yt(K),l:Mt.HIGH,_:t=>({content:t[1],type:"text"})},textStrikethroughed:{i:yt(J),l:Mt.LOW,_:zt,p:(t,e,n)=>U("del",{key:n.g},e(t.content,n))}};!0!==H.disableParsingRawHTML&&(lt.htmlBlock={i:kt($),l:Mt.HIGH,_(t,e,n){const[,r]=t[3].match(et),o=new RegExp(`^${r}`,"gm"),a=t[3].replace(o,""),u=(i=a,st.some((t=>t.test(i)))?wt:St);var i;const l=t[1].toLowerCase(),s=-1!==c.indexOf(l);n.m=n.m||"a"===l;const _=s?t[3]:u(e,a,n);return n.m=!1,{attrs:W(t[2]),content:_,noInnerParse:s,tag:s?l:t[1]}},p:(t,n,r)=>U(t.tag,e({key:r.g},t.attrs),t.noInnerParse?t.content:n(t.content,r))},lt.htmlSelfClosing={i:kt(A),l:Mt.HIGH,_:t=>({attrs:W(t[2]||""),tag:t[1]}),p:(t,n,r)=>U(t.tag,e({},t.attrs,{key:r.g}))});const ft=function(t){let e=Object.keys(t);function n(r,o){let c=[],a="";for(;r;){let u=0;for(;u<e.length;){const i=e[u],l=t[i],s=l.i(r,o,a);if(s){const t=s[0];r=r.substring(t.length);const e=l._(s,n,o);null==e.type&&(e.type=i),c.push(e),a=t;break}u++}}return c}return e.sort((function(e,n){let r=t[e].l,o=t[n].l;return r!==o?r-o:e<n?-1:1})),function(t,e){return n(function(t){return t.replace(y,"\n").replace(x,"").replace(P," ")}(t),e)}}(lt),dt=(t=lt,Ot=function(e,n,r){return t[e.type].p(e,n,r)},function t(e,n={}){if(Array.isArray(e)){const r=n.g,o=[];let c=!1;for(let r=0;r<e.length;r++){n.g=r;const a=t(e[r],n),u="string"==typeof a;u&&c?o[o.length-1]+=a:null!==a&&o.push(a),c=u}return n.g=r,o}return Ot(e,t,n)});var t,Ot;const Bt=V(n);return nt.length?U("div",null,Bt,U("footer",{key:"footer"},nt.map((function(t){return U("div",{id:H.slugify(t.identifier),key:t.identifier},t.identifier,dt(ft(t.footnote,{o:!0})))})))):Bt}(t=Mt||(Mt={}))[t.MAX=0]="MAX",t[t.HIGH=1]="HIGH",t[t.MED=2]="MED",t[t.LOW=3]="LOW",t[t.MIN=4]="MIN";const __WEBPACK_DEFAULT_EXPORT__=e=>{let{children:r,options:o}=e,c=function(t,e){if(null==t)return{};var n,r,o={},c=Object.keys(t);for(r=0;r<c.length;r++)e.indexOf(n=c[r])>=0||(o[n]=t[n]);return o}(e,n);return react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(Ot(r,o),c)}},"./node_modules/memoizerific/memoizerific.js":module=>{module.exports=function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,(function(e){var n=t[o][1][e];return s(n||e)}),l,l.exports,e,t,n,r)}return n[o].exports}for(var i=void 0,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){module.exports=function(forceSimilar){return"function"!=typeof Map||forceSimilar?new(_dereq_("./similar")):new Map}},{"./similar":2}],2:[function(_dereq_,module,exports){function Similar(){return this.list=[],this.lastItem=void 0,this.size=0,this}Similar.prototype.get=function(key){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?this.lastItem.val:(index=this.indexOf(key))>=0?(this.lastItem=this.list[index],this.list[index].val):void 0},Similar.prototype.set=function(key,val){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?(this.lastItem.val=val,this):(index=this.indexOf(key))>=0?(this.lastItem=this.list[index],this.list[index].val=val,this):(this.lastItem={key,val},this.list.push(this.lastItem),this.size++,this)},Similar.prototype.delete=function(key){var index;if(this.lastItem&&this.isEqual(this.lastItem.key,key)&&(this.lastItem=void 0),(index=this.indexOf(key))>=0)return this.size--,this.list.splice(index,1)[0]},Similar.prototype.has=function(key){var index;return!(!this.lastItem||!this.isEqual(this.lastItem.key,key))||(index=this.indexOf(key))>=0&&(this.lastItem=this.list[index],!0)},Similar.prototype.forEach=function(callback,thisArg){var i;for(i=0;i<this.size;i++)callback.call(thisArg||this,this.list[i].val,this.list[i].key,this)},Similar.prototype.indexOf=function(key){var i;for(i=0;i<this.size;i++)if(this.isEqual(this.list[i].key,key))return i;return-1},Similar.prototype.isEqual=function(val1,val2){return val1===val2||val1!=val1&&val2!=val2},module.exports=Similar},{}],3:[function(_dereq_,module,exports){var MapOrSimilar=_dereq_("map-or-similar");function moveToMostRecentLru(lru,lruPath){var isMatch,i,ii,lruLen=lru.length,lruPathLen=lruPath.length;for(i=0;i<lruLen;i++){for(isMatch=!0,ii=0;ii<lruPathLen;ii++)if(!isEqual(lru[i][ii].arg,lruPath[ii].arg)){isMatch=!1;break}if(isMatch)break}lru.push(lru.splice(i,1)[0])}function removeCachedResult(removedLru){var tmp,i,removedLruLen=removedLru.length,currentLru=removedLru[removedLruLen-1];for(currentLru.cacheItem.delete(currentLru.arg),i=removedLruLen-2;i>=0&&(!(tmp=(currentLru=removedLru[i]).cacheItem.get(currentLru.arg))||!tmp.size);i--)currentLru.cacheItem.delete(currentLru.arg)}function isEqual(val1,val2){return val1===val2||val1!=val1&&val2!=val2}module.exports=function(limit){var cache=new MapOrSimilar(!1),lru=[];return function(fn){var memoizerific=function(){var newMap,fnResult,i,currentCache=cache,argsLengthMinusOne=arguments.length-1,lruPath=Array(argsLengthMinusOne+1),isMemoized=!0;if((memoizerific.numArgs||0===memoizerific.numArgs)&&memoizerific.numArgs!==argsLengthMinusOne+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(i=0;i<argsLengthMinusOne;i++)lruPath[i]={cacheItem:currentCache,arg:arguments[i]},currentCache.has(arguments[i])?currentCache=currentCache.get(arguments[i]):(isMemoized=!1,newMap=new MapOrSimilar(!1),currentCache.set(arguments[i],newMap),currentCache=newMap);return isMemoized&&(currentCache.has(arguments[argsLengthMinusOne])?fnResult=currentCache.get(arguments[argsLengthMinusOne]):isMemoized=!1),isMemoized||(fnResult=fn.apply(null,arguments),currentCache.set(arguments[argsLengthMinusOne],fnResult)),limit>0&&(lruPath[argsLengthMinusOne]={cacheItem:currentCache,arg:arguments[argsLengthMinusOne]},isMemoized?moveToMostRecentLru(lru,lruPath):lru.push(lruPath),lru.length>limit&&removeCachedResult(lru.shift())),memoizerific.wasMemoized=isMemoized,memoizerific.numArgs=argsLengthMinusOne+1,fnResult};return memoizerific.limit=limit,memoizerific.wasMemoized=!1,memoizerific.cache=cache,memoizerific.lru=lru,memoizerific}}},{"map-or-similar":1}]},{},[3])(3)},"./node_modules/moment/locale/af.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(input){return/^nm$/i.test(input)},meridiem:function(hours,minutes,isLower){return hours<12?isLower?"vm":"VM":isLower?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(number){return number+(1===number||8===number||number>=20?"ste":"de")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ar-dz.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var pluralForm=function(n){return 0===n?0:1===n?1:2===n?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},plurals={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},pluralize=function(u){return function(number,withoutSuffix,string,isFuture){var f=pluralForm(number),str=plurals[u][pluralForm(number)];return 2===f&&(str=str[withoutSuffix?0:1]),str.replace(/%d/i,number)}},months=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];moment.defineLocale("ar-dz",{months,monthsShort:months,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(hour,minute,isLower){return hour<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:pluralize("s"),ss:pluralize("s"),m:pluralize("m"),mm:pluralize("m"),h:pluralize("h"),hh:pluralize("h"),d:pluralize("d"),dd:pluralize("d"),M:pluralize("M"),MM:pluralize("M"),y:pluralize("y"),yy:pluralize("y")},postformat:function(string){return string.replace(/,/g,"،")},week:{dow:0,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ar-kw.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ar-ly.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},pluralForm=function(n){return 0===n?0:1===n?1:2===n?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},plurals={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},pluralize=function(u){return function(number,withoutSuffix,string,isFuture){var f=pluralForm(number),str=plurals[u][pluralForm(number)];return 2===f&&(str=str[withoutSuffix?0:1]),str.replace(/%d/i,number)}},months=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];moment.defineLocale("ar-ly",{months,monthsShort:months,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(hour,minute,isLower){return hour<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:pluralize("s"),ss:pluralize("s"),m:pluralize("m"),mm:pluralize("m"),h:pluralize("h"),hh:pluralize("h"),d:pluralize("d"),dd:pluralize("d"),M:pluralize("M"),MM:pluralize("M"),y:pluralize("y"),yy:pluralize("y")},preparse:function(string){return string.replace(/،/g,",")},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ar-ma.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ar-sa.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},numberMap={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};moment.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(hour,minute,isLower){return hour<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(string){return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(match){return numberMap[match]})).replace(/،/g,",")},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ar-tn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ar.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},numberMap={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},pluralForm=function(n){return 0===n?0:1===n?1:2===n?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},plurals={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},pluralize=function(u){return function(number,withoutSuffix,string,isFuture){var f=pluralForm(number),str=plurals[u][pluralForm(number)];return 2===f&&(str=str[withoutSuffix?0:1]),str.replace(/%d/i,number)}},months=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];moment.defineLocale("ar",{months,monthsShort:months,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(hour,minute,isLower){return hour<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:pluralize("s"),ss:pluralize("s"),m:pluralize("m"),mm:pluralize("m"),h:pluralize("h"),hh:pluralize("h"),d:pluralize("d"),dd:pluralize("d"),M:pluralize("M"),MM:pluralize("M"),y:pluralize("y"),yy:pluralize("y")},preparse:function(string){return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(match){return numberMap[match]})).replace(/،/g,",")},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/az.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var suffixes={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};moment.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(input){return/^(gündüz|axşam)$/.test(input)},meridiem:function(hour,minute,isLower){return hour<4?"gecə":hour<12?"səhər":hour<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(number){if(0===number)return number+"-ıncı";var a=number%10,b=number%100-a,c=number>=100?100:null;return number+(suffixes[a]||suffixes[b]||suffixes[c])},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/be.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function plural(word,num){var forms=word.split("_");return num%10==1&&num%100!=11?forms[0]:num%10>=2&&num%10<=4&&(num%100<10||num%100>=20)?forms[1]:forms[2]}function relativeTimeWithPlural(number,withoutSuffix,key){return"m"===key?withoutSuffix?"хвіліна":"хвіліну":"h"===key?withoutSuffix?"гадзіна":"гадзіну":number+" "+plural({ss:withoutSuffix?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:withoutSuffix?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:withoutSuffix?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[key],+number)}moment.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:relativeTimeWithPlural,mm:relativeTimeWithPlural,h:relativeTimeWithPlural,hh:relativeTimeWithPlural,d:"дзень",dd:relativeTimeWithPlural,M:"месяц",MM:relativeTimeWithPlural,y:"год",yy:relativeTimeWithPlural},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(input){return/^(дня|вечара)$/.test(input)},meridiem:function(hour,minute,isLower){return hour<4?"ночы":hour<12?"раніцы":hour<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(number,period){switch(period){case"M":case"d":case"DDD":case"w":case"W":return number%10!=2&&number%10!=3||number%100==12||number%100==13?number+"-ы":number+"-і";case"D":return number+"-га";default:return number}},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/bg.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(number){var lastDigit=number%10,last2Digits=number%100;return 0===number?number+"-ев":0===last2Digits?number+"-ен":last2Digits>10&&last2Digits<20?number+"-ти":1===lastDigit?number+"-ви":2===lastDigit?number+"-ри":7===lastDigit||8===lastDigit?number+"-ми":number+"-ти"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/bm.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/bn-bd.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},numberMap={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};moment.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(string){return string.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"রাত"===meridiem?hour<4?hour:hour+12:"ভোর"===meridiem||"সকাল"===meridiem?hour:"দুপুর"===meridiem?hour>=3?hour:hour+12:"বিকাল"===meridiem||"সন্ধ্যা"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"রাত":hour<6?"ভোর":hour<12?"সকাল":hour<15?"দুপুর":hour<18?"বিকাল":hour<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/bn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},numberMap={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};moment.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(string){return string.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"রাত"===meridiem&&hour>=4||"দুপুর"===meridiem&&hour<5||"বিকাল"===meridiem?hour+12:hour},meridiem:function(hour,minute,isLower){return hour<4?"রাত":hour<10?"সকাল":hour<17?"দুপুর":hour<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/bo.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},numberMap={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};moment.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(string){return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"མཚན་མོ"===meridiem&&hour>=4||"ཉིན་གུང"===meridiem&&hour<5||"དགོང་དག"===meridiem?hour+12:hour},meridiem:function(hour,minute,isLower){return hour<4?"མཚན་མོ":hour<10?"ཞོགས་ཀས":hour<17?"ཉིན་གུང":hour<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/br.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function relativeTimeWithMutation(number,withoutSuffix,key){return number+" "+mutation({mm:"munutenn",MM:"miz",dd:"devezh"}[key],number)}function specialMutationForYears(number){switch(lastNumber(number)){case 1:case 3:case 4:case 5:case 9:return number+" bloaz";default:return number+" vloaz"}}function lastNumber(number){return number>9?lastNumber(number%10):number}function mutation(text,number){return 2===number?softMutation(text):text}function softMutation(text){var mutationTable={m:"v",b:"v",d:"z"};return void 0===mutationTable[text.charAt(0)]?text:mutationTable[text.charAt(0)]+text.substring(1)}var monthsParse=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],monthsRegex=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsStrictRegex=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,fullWeekdaysParse=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];moment.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:minWeekdaysParse,fullWeekdaysParse,shortWeekdaysParse,minWeekdaysParse,monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex,monthsShortStrictRegex,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:relativeTimeWithMutation,h:"un eur",hh:"%d eur",d:"un devezh",dd:relativeTimeWithMutation,M:"ur miz",MM:relativeTimeWithMutation,y:"ur bloaz",yy:specialMutationForYears},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(number){return number+(1===number?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(token){return"g.m."===token},meridiem:function(hour,minute,isLower){return hour<12?"a.m.":"g.m."}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/bs.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function translate(number,withoutSuffix,key){var result=number+" ";switch(key){case"ss":return result+=1===number?"sekunda":2===number||3===number||4===number?"sekunde":"sekundi";case"m":return withoutSuffix?"jedna minuta":"jedne minute";case"mm":return result+=1===number?"minuta":2===number||3===number||4===number?"minute":"minuta";case"h":return withoutSuffix?"jedan sat":"jednog sata";case"hh":return result+=1===number?"sat":2===number||3===number||4===number?"sata":"sati";case"dd":return result+=1===number?"dan":"dana";case"MM":return result+=1===number?"mjesec":2===number||3===number||4===number?"mjeseca":"mjeseci";case"yy":return result+=1===number?"godina":2===number||3===number||4===number?"godine":"godina"}}moment.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:translate,m:translate,mm:translate,h:translate,hh:translate,d:"dan",dd:translate,M:"mjesec",MM:translate,y:"godinu",yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ca.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(number,period){var output=1===number?"r":2===number?"n":3===number?"r":4===number?"t":"è";return"w"!==period&&"W"!==period||(output="a"),number+output},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/cs.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var months={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},monthsShort="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),monthsParse=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],monthsRegex=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function plural(n){return n>1&&n<5&&1!=~~(n/10)}function translate(number,withoutSuffix,key,isFuture){var result=number+" ";switch(key){case"s":return withoutSuffix||isFuture?"pár sekund":"pár sekundami";case"ss":return withoutSuffix||isFuture?result+(plural(number)?"sekundy":"sekund"):result+"sekundami";case"m":return withoutSuffix?"minuta":isFuture?"minutu":"minutou";case"mm":return withoutSuffix||isFuture?result+(plural(number)?"minuty":"minut"):result+"minutami";case"h":return withoutSuffix?"hodina":isFuture?"hodinu":"hodinou";case"hh":return withoutSuffix||isFuture?result+(plural(number)?"hodiny":"hodin"):result+"hodinami";case"d":return withoutSuffix||isFuture?"den":"dnem";case"dd":return withoutSuffix||isFuture?result+(plural(number)?"dny":"dní"):result+"dny";case"M":return withoutSuffix||isFuture?"měsíc":"měsícem";case"MM":return withoutSuffix||isFuture?result+(plural(number)?"měsíce":"měsíců"):result+"měsíci";case"y":return withoutSuffix||isFuture?"rok":"rokem";case"yy":return withoutSuffix||isFuture?result+(plural(number)?"roky":"let"):result+"lety"}}moment.defineLocale("cs",{months,monthsShort,monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:translate,ss:translate,m:translate,mm:translate,h:translate,hh:translate,d:translate,dd:translate,M:translate,MM:translate,y:translate,yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/cv.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(output){return output+(/сехет$/i.exec(output)?"рен":/ҫул$/i.exec(output)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/cy.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(number){var output="";return number>20?output=40===number||50===number||60===number||80===number||100===number?"fed":"ain":number>0&&(output=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][number]),number+output},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/da.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/de-at.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var format={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[number+" Tage",number+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[number+" Monate",number+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[number+" Jahre",number+" Jahren"]};return withoutSuffix?format[key][0]:format[key][1]}moment.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:processRelativeTime,mm:"%d Minuten",h:processRelativeTime,hh:"%d Stunden",d:processRelativeTime,dd:processRelativeTime,w:processRelativeTime,ww:"%d Wochen",M:processRelativeTime,MM:processRelativeTime,y:processRelativeTime,yy:processRelativeTime},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/de-ch.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var format={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[number+" Tage",number+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[number+" Monate",number+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[number+" Jahre",number+" Jahren"]};return withoutSuffix?format[key][0]:format[key][1]}moment.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:processRelativeTime,mm:"%d Minuten",h:processRelativeTime,hh:"%d Stunden",d:processRelativeTime,dd:processRelativeTime,w:processRelativeTime,ww:"%d Wochen",M:processRelativeTime,MM:processRelativeTime,y:processRelativeTime,yy:processRelativeTime},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/de.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var format={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[number+" Tage",number+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[number+" Monate",number+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[number+" Jahre",number+" Jahren"]};return withoutSuffix?format[key][0]:format[key][1]}moment.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:processRelativeTime,mm:"%d Minuten",h:processRelativeTime,hh:"%d Stunden",d:processRelativeTime,dd:processRelativeTime,w:processRelativeTime,ww:"%d Wochen",M:processRelativeTime,MM:processRelativeTime,y:processRelativeTime,yy:processRelativeTime},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/dv.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var months=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],weekdays=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];moment.defineLocale("dv",{months,monthsShort:months,weekdays,weekdaysShort:weekdays,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(input){return"މފ"===input},meridiem:function(hour,minute,isLower){return hour<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(string){return string.replace(/،/g,",")},postformat:function(string){return string.replace(/,/g,"،")},week:{dow:7,doy:12}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/el.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function isFunction(input){return"undefined"!=typeof Function&&input instanceof Function||"[object Function]"===Object.prototype.toString.call(input)}moment.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(momentToFormat,format){return momentToFormat?"string"==typeof format&&/D/.test(format.substring(0,format.indexOf("MMMM")))?this._monthsGenitiveEl[momentToFormat.month()]:this._monthsNominativeEl[momentToFormat.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(hours,minutes,isLower){return hours>11?isLower?"μμ":"ΜΜ":isLower?"πμ":"ΠΜ"},isPM:function(input){return"μ"===(input+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(key,mom){var output=this._calendarEl[key],hours=mom&&mom.hours();return isFunction(output)&&(output=output.apply(mom)),output.replace("{}",hours%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/en-au.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/en-ca.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/en-gb.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/en-ie.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/en-il.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/en-in.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/en-nz.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/en-sg.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/eo.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(input){return"p"===input.charAt(0).toLowerCase()},meridiem:function(hours,minutes,isLower){return hours>11?isLower?"p.t.m.":"P.T.M.":isLower?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/es-do.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsShortDot="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),monthsShort="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),monthsParse=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],monthsRegex=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;moment.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,format){return m?/-MMM-/.test(format)?monthsShort[m.month()]:monthsShortDot[m.month()]:monthsShortDot},monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/es-mx.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsShortDot="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),monthsShort="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),monthsParse=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],monthsRegex=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;moment.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,format){return m?/-MMM-/.test(format)?monthsShort[m.month()]:monthsShortDot[m.month()]:monthsShortDot},monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/es-us.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsShortDot="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),monthsShort="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),monthsParse=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],monthsRegex=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;moment.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,format){return m?/-MMM-/.test(format)?monthsShort[m.month()]:monthsShortDot[m.month()]:monthsShortDot},monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/es.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsShortDot="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),monthsShort="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),monthsParse=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],monthsRegex=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;moment.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,format){return m?/-MMM-/.test(format)?monthsShort[m.month()]:monthsShortDot[m.month()]:monthsShortDot},monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/et.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var format={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[number+"sekundi",number+"sekundit"],m:["ühe minuti","üks minut"],mm:[number+" minuti",number+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[number+" tunni",number+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[number+" kuu",number+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[number+" aasta",number+" aastat"]};return withoutSuffix?format[key][2]?format[key][2]:format[key][1]:isFuture?format[key][0]:format[key][1]}moment.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:processRelativeTime,ss:processRelativeTime,m:processRelativeTime,mm:processRelativeTime,h:processRelativeTime,hh:processRelativeTime,d:processRelativeTime,dd:"%d päeva",M:processRelativeTime,MM:processRelativeTime,y:processRelativeTime,yy:processRelativeTime},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/eu.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/fa.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},numberMap={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};moment.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(input){return/بعد از ظهر/.test(input)},meridiem:function(hour,minute,isLower){return hour<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(string){return string.replace(/[۰-۹]/g,(function(match){return numberMap[match]})).replace(/،/g,",")},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/fi.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var numbersPast="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),numbersFuture=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",numbersPast[7],numbersPast[8],numbersPast[9]];function translate(number,withoutSuffix,key,isFuture){var result="";switch(key){case"s":return isFuture?"muutaman sekunnin":"muutama sekunti";case"ss":result=isFuture?"sekunnin":"sekuntia";break;case"m":return isFuture?"minuutin":"minuutti";case"mm":result=isFuture?"minuutin":"minuuttia";break;case"h":return isFuture?"tunnin":"tunti";case"hh":result=isFuture?"tunnin":"tuntia";break;case"d":return isFuture?"päivän":"päivä";case"dd":result=isFuture?"päivän":"päivää";break;case"M":return isFuture?"kuukauden":"kuukausi";case"MM":result=isFuture?"kuukauden":"kuukautta";break;case"y":return isFuture?"vuoden":"vuosi";case"yy":result=isFuture?"vuoden":"vuotta"}return result=verbalNumber(number,isFuture)+" "+result}function verbalNumber(number,isFuture){return number<10?isFuture?numbersFuture[number]:numbersPast[number]:number}moment.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:translate,ss:translate,m:translate,mm:translate,h:translate,hh:translate,d:translate,dd:translate,M:translate,MM:translate,y:translate,yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/fil.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(number){return number},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/fo.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/fr-ca.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(number,period){switch(period){default:case"M":case"Q":case"D":case"DDD":case"d":return number+(1===number?"er":"e");case"w":case"W":return number+(1===number?"re":"e")}}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/fr-ch.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(number,period){switch(period){default:case"M":case"Q":case"D":case"DDD":case"d":return number+(1===number?"er":"e");case"w":case"W":return number+(1===number?"re":"e")}},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/fr.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsStrictRegex=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsRegex=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsParse=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];moment.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex,monthsShortStrictRegex,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(number,period){switch(period){case"D":return number+(1===number?"er":"");default:case"M":case"Q":case"DDD":case"d":return number+(1===number?"er":"e");case"w":case"W":return number+(1===number?"re":"e")}},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/fy.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsShortWithDots="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),monthsShortWithoutDots="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");moment.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(m,format){return m?/-MMM-/.test(format)?monthsShortWithoutDots[m.month()]:monthsShortWithDots[m.month()]:monthsShortWithDots},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(number){return number+(1===number||8===number||number>=20?"ste":"de")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ga.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var months=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],weekdays=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin=["Do","Lu","Má","Cé","Dé","A","Sa"];moment.defineLocale("ga",{months,monthsShort,monthsParseExact:!0,weekdays,weekdaysShort,weekdaysMin,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(number){return number+(1===number?"d":number%10==2?"na":"mh")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/gd.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var months=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],weekdays=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];moment.defineLocale("gd",{months,monthsShort,monthsParseExact:!0,weekdays,weekdaysShort,weekdaysMin,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(number){return number+(1===number?"d":number%10==2?"na":"mh")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/gl.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(str){return 0===str.indexOf("un")?"n"+str:"en "+str},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/gom-deva.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var format={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[number+" सॅकंडांनी",number+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[number+" मिणटांनी",number+" मिणटां"],h:["एका वरान","एक वर"],hh:[number+" वरांनी",number+" वरां"],d:["एका दिसान","एक दीस"],dd:[number+" दिसांनी",number+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[number+" म्हयन्यानी",number+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[number+" वर्सांनी",number+" वर्सां"]};return isFuture?format[key][0]:format[key][1]}moment.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:processRelativeTime,ss:processRelativeTime,m:processRelativeTime,mm:processRelativeTime,h:processRelativeTime,hh:processRelativeTime,d:processRelativeTime,dd:processRelativeTime,M:processRelativeTime,MM:processRelativeTime,y:processRelativeTime,yy:processRelativeTime},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(number,period){return"D"===period?number+"वेर":number},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"राती"===meridiem?hour<4?hour:hour+12:"सकाळीं"===meridiem?hour:"दनपारां"===meridiem?hour>12?hour:hour+12:"सांजे"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"राती":hour<12?"सकाळीं":hour<16?"दनपारां":hour<20?"सांजे":"राती"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/gom-latn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var format={s:["thoddea sekondamni","thodde sekond"],ss:[number+" sekondamni",number+" sekond"],m:["eka mintan","ek minut"],mm:[number+" mintamni",number+" mintam"],h:["eka voran","ek vor"],hh:[number+" voramni",number+" voram"],d:["eka disan","ek dis"],dd:[number+" disamni",number+" dis"],M:["eka mhoinean","ek mhoino"],MM:[number+" mhoineamni",number+" mhoine"],y:["eka vorsan","ek voros"],yy:[number+" vorsamni",number+" vorsam"]};return isFuture?format[key][0]:format[key][1]}moment.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:processRelativeTime,ss:processRelativeTime,m:processRelativeTime,mm:processRelativeTime,h:processRelativeTime,hh:processRelativeTime,d:processRelativeTime,dd:processRelativeTime,M:processRelativeTime,MM:processRelativeTime,y:processRelativeTime,yy:processRelativeTime},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(number,period){return"D"===period?number+"er":number},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"rati"===meridiem?hour<4?hour:hour+12:"sokallim"===meridiem?hour:"donparam"===meridiem?hour>12?hour:hour+12:"sanje"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"rati":hour<12?"sokallim":hour<16?"donparam":hour<20?"sanje":"rati"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/gu.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},numberMap={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};moment.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(string){return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"રાત"===meridiem?hour<4?hour:hour+12:"સવાર"===meridiem?hour:"બપોર"===meridiem?hour>=10?hour:hour+12:"સાંજ"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"રાત":hour<10?"સવાર":hour<17?"બપોર":hour<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/he.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(number){return 2===number?"שעתיים":number+" שעות"},d:"יום",dd:function(number){return 2===number?"יומיים":number+" ימים"},M:"חודש",MM:function(number){return 2===number?"חודשיים":number+" חודשים"},y:"שנה",yy:function(number){return 2===number?"שנתיים":number%10==0&&10!==number?number+" שנה":number+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(input){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(input)},meridiem:function(hour,minute,isLower){return hour<5?"לפנות בוקר":hour<10?"בבוקר":hour<12?isLower?'לפנה"צ':"לפני הצהריים":hour<18?isLower?'אחה"צ':"אחרי הצהריים":"בערב"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/hi.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},numberMap={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},monthsParse=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],shortMonthsParse=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];moment.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse,longMonthsParse:monthsParse,shortMonthsParse,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(string){return string.replace(/[१२३४५६७८९०]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"रात"===meridiem?hour<4?hour:hour+12:"सुबह"===meridiem?hour:"दोपहर"===meridiem?hour>=10?hour:hour+12:"शाम"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"रात":hour<10?"सुबह":hour<17?"दोपहर":hour<20?"शाम":"रात"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/hr.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function translate(number,withoutSuffix,key){var result=number+" ";switch(key){case"ss":return result+=1===number?"sekunda":2===number||3===number||4===number?"sekunde":"sekundi";case"m":return withoutSuffix?"jedna minuta":"jedne minute";case"mm":return result+=1===number?"minuta":2===number||3===number||4===number?"minute":"minuta";case"h":return withoutSuffix?"jedan sat":"jednog sata";case"hh":return result+=1===number?"sat":2===number||3===number||4===number?"sata":"sati";case"dd":return result+=1===number?"dan":"dana";case"MM":return result+=1===number?"mjesec":2===number||3===number||4===number?"mjeseca":"mjeseci";case"yy":return result+=1===number?"godina":2===number||3===number||4===number?"godine":"godina"}}moment.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:translate,m:translate,mm:translate,h:translate,hh:translate,d:"dan",dd:translate,M:"mjesec",MM:translate,y:"godinu",yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/hu.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var weekEndings="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function translate(number,withoutSuffix,key,isFuture){var num=number;switch(key){case"s":return isFuture||withoutSuffix?"néhány másodperc":"néhány másodperce";case"ss":return num+(isFuture||withoutSuffix)?" másodperc":" másodperce";case"m":return"egy"+(isFuture||withoutSuffix?" perc":" perce");case"mm":return num+(isFuture||withoutSuffix?" perc":" perce");case"h":return"egy"+(isFuture||withoutSuffix?" óra":" órája");case"hh":return num+(isFuture||withoutSuffix?" óra":" órája");case"d":return"egy"+(isFuture||withoutSuffix?" nap":" napja");case"dd":return num+(isFuture||withoutSuffix?" nap":" napja");case"M":return"egy"+(isFuture||withoutSuffix?" hónap":" hónapja");case"MM":return num+(isFuture||withoutSuffix?" hónap":" hónapja");case"y":return"egy"+(isFuture||withoutSuffix?" év":" éve");case"yy":return num+(isFuture||withoutSuffix?" év":" éve")}return""}function week(isFuture){return(isFuture?"":"[múlt] ")+"["+weekEndings[this.day()]+"] LT[-kor]"}moment.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(input){return"u"===input.charAt(1).toLowerCase()},meridiem:function(hours,minutes,isLower){return hours<12?!0===isLower?"de":"DE":!0===isLower?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return week.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return week.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:translate,ss:translate,m:translate,mm:translate,h:translate,hh:translate,d:translate,dd:translate,M:translate,MM:translate,y:translate,yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/hy-am.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(input){return/^(ցերեկվա|երեկոյան)$/.test(input)},meridiem:function(hour){return hour<4?"գիշերվա":hour<12?"առավոտվա":hour<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(number,period){switch(period){case"DDD":case"w":case"W":case"DDDo":return 1===number?number+"-ին":number+"-րդ";default:return number}},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/id.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"pagi"===meridiem?hour:"siang"===meridiem?hour>=11?hour:hour+12:"sore"===meridiem||"malam"===meridiem?hour+12:void 0},meridiem:function(hours,minutes,isLower){return hours<11?"pagi":hours<15?"siang":hours<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/is.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function plural(n){return n%100==11||n%10!=1}function translate(number,withoutSuffix,key,isFuture){var result=number+" ";switch(key){case"s":return withoutSuffix||isFuture?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return plural(number)?result+(withoutSuffix||isFuture?"sekúndur":"sekúndum"):result+"sekúnda";case"m":return withoutSuffix?"mínúta":"mínútu";case"mm":return plural(number)?result+(withoutSuffix||isFuture?"mínútur":"mínútum"):withoutSuffix?result+"mínúta":result+"mínútu";case"hh":return plural(number)?result+(withoutSuffix||isFuture?"klukkustundir":"klukkustundum"):result+"klukkustund";case"d":return withoutSuffix?"dagur":isFuture?"dag":"degi";case"dd":return plural(number)?withoutSuffix?result+"dagar":result+(isFuture?"daga":"dögum"):withoutSuffix?result+"dagur":result+(isFuture?"dag":"degi");case"M":return withoutSuffix?"mánuður":isFuture?"mánuð":"mánuði";case"MM":return plural(number)?withoutSuffix?result+"mánuðir":result+(isFuture?"mánuði":"mánuðum"):withoutSuffix?result+"mánuður":result+(isFuture?"mánuð":"mánuði");case"y":return withoutSuffix||isFuture?"ár":"ári";case"yy":return plural(number)?result+(withoutSuffix||isFuture?"ár":"árum"):result+(withoutSuffix||isFuture?"ár":"ári")}}moment.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:translate,ss:translate,m:translate,mm:translate,h:"klukkustund",hh:translate,d:translate,dd:translate,M:translate,MM:translate,y:translate,yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/it-ch.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(s){return(/^[0-9].+$/.test(s)?"tra":"in")+" "+s},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/it.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ja.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(input,match){return"元"===match[1]?1:parseInt(match[1]||input,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(input){return"午後"===input},meridiem:function(hour,minute,isLower){return hour<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(now){return now.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(now){return this.week()!==now.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(number,period){switch(period){case"y":return 1===number?"元年":number+"年";case"d":case"D":case"DDD":return number+"日";default:return number}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/jv.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"enjing"===meridiem?hour:"siyang"===meridiem?hour>=11?hour:hour+12:"sonten"===meridiem||"ndalu"===meridiem?hour+12:void 0},meridiem:function(hours,minutes,isLower){return hours<11?"enjing":hours<15?"siyang":hours<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ka.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(s){return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function($0,$1,$2){return"ი"===$2?$1+"ში":$1+$2+"ში"}))},past:function(s){return/(წამი|წუთი|საათი|დღე|თვე)/.test(s)?s.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(s)?s.replace(/წელი$/,"წლის წინ"):s},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(number){return 0===number?number:1===number?number+"-ლი":number<20||number<=100&&number%20==0||number%100==0?"მე-"+number:number+"-ე"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/kk.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var suffixes={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};moment.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(number){var a=number%10,b=number>=100?100:null;return number+(suffixes[number]||suffixes[a]||suffixes[b])},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/km.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},numberMap={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};moment.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(input){return"ល្ងាច"===input},meridiem:function(hour,minute,isLower){return hour<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(string){return string.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/kn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},numberMap={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};moment.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(string){return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"ರಾತ್ರಿ"===meridiem?hour<4?hour:hour+12:"ಬೆಳಿಗ್ಗೆ"===meridiem?hour:"ಮಧ್ಯಾಹ್ನ"===meridiem?hour>=10?hour:hour+12:"ಸಂಜೆ"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"ರಾತ್ರಿ":hour<10?"ಬೆಳಿಗ್ಗೆ":hour<17?"ಮಧ್ಯಾಹ್ನ":hour<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(number){return number+"ನೇ"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ko.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(number,period){switch(period){case"d":case"D":case"DDD":return number+"일";case"M":return number+"월";case"w":case"W":return number+"주";default:return number}},meridiemParse:/오전|오후/,isPM:function(token){return"오후"===token},meridiem:function(hour,minute,isUpper){return hour<12?"오전":"오후"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ku.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},numberMap={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},months=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];moment.defineLocale("ku",{months,monthsShort:months,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(input){return/ئێواره/.test(input)},meridiem:function(hour,minute,isLower){return hour<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(string){return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(match){return numberMap[match]})).replace(/،/g,",")},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ky.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var suffixes={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};moment.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(number){var a=number%10,b=number>=100?100:null;return number+(suffixes[number]||suffixes[a]||suffixes[b])},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/lb.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var format={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return withoutSuffix?format[key][0]:format[key][1]}function processFutureTime(string){return eifelerRegelAppliesToNumber(string.substr(0,string.indexOf(" ")))?"a "+string:"an "+string}function processPastTime(string){return eifelerRegelAppliesToNumber(string.substr(0,string.indexOf(" ")))?"viru "+string:"virun "+string}function eifelerRegelAppliesToNumber(number){if(number=parseInt(number,10),isNaN(number))return!1;if(number<0)return!0;if(number<10)return 4<=number&&number<=7;if(number<100){var lastDigit=number%10;return eifelerRegelAppliesToNumber(0===lastDigit?number/10:lastDigit)}if(number<1e4){for(;number>=10;)number/=10;return eifelerRegelAppliesToNumber(number)}return eifelerRegelAppliesToNumber(number/=1e3)}moment.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:processFutureTime,past:processPastTime,s:"e puer Sekonnen",ss:"%d Sekonnen",m:processRelativeTime,mm:"%d Minutten",h:processRelativeTime,hh:"%d Stonnen",d:processRelativeTime,dd:"%d Deeg",M:processRelativeTime,MM:"%d Méint",y:processRelativeTime,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/lo.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(input){return"ຕອນແລງ"===input},meridiem:function(hour,minute,isLower){return hour<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(number){return"ທີ່"+number}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/lt.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var units={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function translateSeconds(number,withoutSuffix,key,isFuture){return withoutSuffix?"kelios sekundės":isFuture?"kelių sekundžių":"kelias sekundes"}function translateSingular(number,withoutSuffix,key,isFuture){return withoutSuffix?forms(key)[0]:isFuture?forms(key)[1]:forms(key)[2]}function special(number){return number%10==0||number>10&&number<20}function forms(key){return units[key].split("_")}function translate(number,withoutSuffix,key,isFuture){var result=number+" ";return 1===number?result+translateSingular(number,withoutSuffix,key[0],isFuture):withoutSuffix?result+(special(number)?forms(key)[1]:forms(key)[0]):isFuture?result+forms(key)[1]:result+(special(number)?forms(key)[1]:forms(key)[2])}moment.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:translateSeconds,ss:translate,m:translateSingular,mm:translate,h:translateSingular,hh:translate,d:translateSingular,dd:translate,M:translateSingular,MM:translate,y:translateSingular,yy:translate},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(number){return number+"-oji"},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/lv.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var units={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function format(forms,number,withoutSuffix){return withoutSuffix?number%10==1&&number%100!=11?forms[2]:forms[3]:number%10==1&&number%100!=11?forms[0]:forms[1]}function relativeTimeWithPlural(number,withoutSuffix,key){return number+" "+format(units[key],number,withoutSuffix)}function relativeTimeWithSingular(number,withoutSuffix,key){return format(units[key],number,withoutSuffix)}function relativeSeconds(number,withoutSuffix){return withoutSuffix?"dažas sekundes":"dažām sekundēm"}moment.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:relativeSeconds,ss:relativeTimeWithPlural,m:relativeTimeWithSingular,mm:relativeTimeWithPlural,h:relativeTimeWithSingular,hh:relativeTimeWithPlural,d:relativeTimeWithSingular,dd:relativeTimeWithPlural,M:relativeTimeWithSingular,MM:relativeTimeWithPlural,y:relativeTimeWithSingular,yy:relativeTimeWithPlural},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/me.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var translator={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(number,wordKey){return 1===number?wordKey[0]:number>=2&&number<=4?wordKey[1]:wordKey[2]},translate:function(number,withoutSuffix,key){var wordKey=translator.words[key];return 1===key.length?withoutSuffix?wordKey[0]:wordKey[1]:number+" "+translator.correctGrammaticalCase(number,wordKey)}};moment.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:translator.translate,m:translator.translate,mm:translator.translate,h:translator.translate,hh:translator.translate,d:"dan",dd:translator.translate,M:"mjesec",MM:translator.translate,y:"godinu",yy:translator.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/mi.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/mk.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(number){var lastDigit=number%10,last2Digits=number%100;return 0===number?number+"-ев":0===last2Digits?number+"-ен":last2Digits>10&&last2Digits<20?number+"-ти":1===lastDigit?number+"-ви":2===lastDigit?number+"-ри":7===lastDigit||8===lastDigit?number+"-ми":number+"-ти"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ml.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"രാത്രി"===meridiem&&hour>=4||"ഉച്ച കഴിഞ്ഞ്"===meridiem||"വൈകുന്നേരം"===meridiem?hour+12:hour},meridiem:function(hour,minute,isLower){return hour<4?"രാത്രി":hour<12?"രാവിലെ":hour<17?"ഉച്ച കഴിഞ്ഞ്":hour<20?"വൈകുന്നേരം":"രാത്രി"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/mn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function translate(number,withoutSuffix,key,isFuture){switch(key){case"s":return withoutSuffix?"хэдхэн секунд":"хэдхэн секундын";case"ss":return number+(withoutSuffix?" секунд":" секундын");case"m":case"mm":return number+(withoutSuffix?" минут":" минутын");case"h":case"hh":return number+(withoutSuffix?" цаг":" цагийн");case"d":case"dd":return number+(withoutSuffix?" өдөр":" өдрийн");case"M":case"MM":return number+(withoutSuffix?" сар":" сарын");case"y":case"yy":return number+(withoutSuffix?" жил":" жилийн");default:return number}}moment.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(input){return"ҮХ"===input},meridiem:function(hour,minute,isLower){return hour<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:translate,ss:translate,m:translate,mm:translate,h:translate,hh:translate,d:translate,dd:translate,M:translate,MM:translate,y:translate,yy:translate},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(number,period){switch(period){case"d":case"D":case"DDD":return number+" өдөр";default:return number}}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/mr.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},numberMap={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function relativeTimeMr(number,withoutSuffix,string,isFuture){var output="";if(withoutSuffix)switch(string){case"s":output="काही सेकंद";break;case"ss":output="%d सेकंद";break;case"m":output="एक मिनिट";break;case"mm":output="%d मिनिटे";break;case"h":output="एक तास";break;case"hh":output="%d तास";break;case"d":output="एक दिवस";break;case"dd":output="%d दिवस";break;case"M":output="एक महिना";break;case"MM":output="%d महिने";break;case"y":output="एक वर्ष";break;case"yy":output="%d वर्षे"}else switch(string){case"s":output="काही सेकंदां";break;case"ss":output="%d सेकंदां";break;case"m":output="एका मिनिटा";break;case"mm":output="%d मिनिटां";break;case"h":output="एका तासा";break;case"hh":output="%d तासां";break;case"d":output="एका दिवसा";break;case"dd":output="%d दिवसां";break;case"M":output="एका महिन्या";break;case"MM":output="%d महिन्यां";break;case"y":output="एका वर्षा";break;case"yy":output="%d वर्षां"}return output.replace(/%d/i,number)}moment.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:relativeTimeMr,ss:relativeTimeMr,m:relativeTimeMr,mm:relativeTimeMr,h:relativeTimeMr,hh:relativeTimeMr,d:relativeTimeMr,dd:relativeTimeMr,M:relativeTimeMr,MM:relativeTimeMr,y:relativeTimeMr,yy:relativeTimeMr},preparse:function(string){return string.replace(/[१२३४५६७८९०]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"पहाटे"===meridiem||"सकाळी"===meridiem?hour:"दुपारी"===meridiem||"सायंकाळी"===meridiem||"रात्री"===meridiem?hour>=12?hour:hour+12:void 0},meridiem:function(hour,minute,isLower){return hour>=0&&hour<6?"पहाटे":hour<12?"सकाळी":hour<17?"दुपारी":hour<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ms-my.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"pagi"===meridiem?hour:"tengahari"===meridiem?hour>=11?hour:hour+12:"petang"===meridiem||"malam"===meridiem?hour+12:void 0},meridiem:function(hours,minutes,isLower){return hours<11?"pagi":hours<15?"tengahari":hours<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ms.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"pagi"===meridiem?hour:"tengahari"===meridiem?hour>=11?hour:hour+12:"petang"===meridiem||"malam"===meridiem?hour+12:void 0},meridiem:function(hours,minutes,isLower){return hours<11?"pagi":hours<15?"tengahari":hours<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/mt.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/my.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},numberMap={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};moment.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(string){return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/nb.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ne.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},numberMap={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};moment.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(string){return string.replace(/[१२३४५६७८९०]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"राति"===meridiem?hour<4?hour:hour+12:"बिहान"===meridiem?hour:"दिउँसो"===meridiem?hour>=10?hour:hour+12:"साँझ"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<3?"राति":hour<12?"बिहान":hour<16?"दिउँसो":hour<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/nl-be.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsShortWithDots="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsShortWithoutDots="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),monthsParse=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],monthsRegex=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;moment.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(m,format){return m?/-MMM-/.test(format)?monthsShortWithoutDots[m.month()]:monthsShortWithDots[m.month()]:monthsShortWithDots},monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(number){return number+(1===number||8===number||number>=20?"ste":"de")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/nl.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsShortWithDots="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsShortWithoutDots="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),monthsParse=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],monthsRegex=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;moment.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(m,format){return m?/-MMM-/.test(format)?monthsShortWithoutDots[m.month()]:monthsShortWithDots[m.month()]:monthsShortWithDots},monthsRegex,monthsShortRegex:monthsRegex,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(number){return number+(1===number||8===number||number>=20?"ste":"de")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/nn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/oc-lnc.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(number,period){var output=1===number?"r":2===number?"n":3===number?"r":4===number?"t":"è";return"w"!==period&&"W"!==period||(output="a"),number+output},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/pa-in.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},numberMap={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};moment.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(string){return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"ਰਾਤ"===meridiem?hour<4?hour:hour+12:"ਸਵੇਰ"===meridiem?hour:"ਦੁਪਹਿਰ"===meridiem?hour>=10?hour:hour+12:"ਸ਼ਾਮ"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"ਰਾਤ":hour<10?"ਸਵੇਰ":hour<17?"ਦੁਪਹਿਰ":hour<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/pl.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var monthsNominative="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),monthsSubjective="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),monthsParse=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function plural(n){return n%10<5&&n%10>1&&~~(n/10)%10!=1}function translate(number,withoutSuffix,key){var result=number+" ";switch(key){case"ss":return result+(plural(number)?"sekundy":"sekund");case"m":return withoutSuffix?"minuta":"minutę";case"mm":return result+(plural(number)?"minuty":"minut");case"h":return withoutSuffix?"godzina":"godzinę";case"hh":return result+(plural(number)?"godziny":"godzin");case"ww":return result+(plural(number)?"tygodnie":"tygodni");case"MM":return result+(plural(number)?"miesiące":"miesięcy");case"yy":return result+(plural(number)?"lata":"lat")}}moment.defineLocale("pl",{months:function(momentToFormat,format){return momentToFormat?/D MMMM/.test(format)?monthsSubjective[momentToFormat.month()]:monthsNominative[momentToFormat.month()]:monthsNominative},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:translate,m:translate,mm:translate,h:translate,hh:translate,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:translate,M:"miesiąc",MM:translate,y:"rok",yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/pt-br.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/pt.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ro.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function relativeTimeWithPlural(number,withoutSuffix,key){var separator=" ";return(number%100>=20||number>=100&&number%100==0)&&(separator=" de "),number+separator+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[key]}moment.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:relativeTimeWithPlural,m:"un minut",mm:relativeTimeWithPlural,h:"o oră",hh:relativeTimeWithPlural,d:"o zi",dd:relativeTimeWithPlural,w:"o săptămână",ww:relativeTimeWithPlural,M:"o lună",MM:relativeTimeWithPlural,y:"un an",yy:relativeTimeWithPlural},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ru.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function plural(word,num){var forms=word.split("_");return num%10==1&&num%100!=11?forms[0]:num%10>=2&&num%10<=4&&(num%100<10||num%100>=20)?forms[1]:forms[2]}function relativeTimeWithPlural(number,withoutSuffix,key){return"m"===key?withoutSuffix?"минута":"минуту":number+" "+plural({ss:withoutSuffix?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:withoutSuffix?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[key],+number)}var monthsParse=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];moment.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(now){if(now.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(now){if(now.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:relativeTimeWithPlural,m:relativeTimeWithPlural,mm:relativeTimeWithPlural,h:"час",hh:relativeTimeWithPlural,d:"день",dd:relativeTimeWithPlural,w:"неделя",ww:relativeTimeWithPlural,M:"месяц",MM:relativeTimeWithPlural,y:"год",yy:relativeTimeWithPlural},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(input){return/^(дня|вечера)$/.test(input)},meridiem:function(hour,minute,isLower){return hour<4?"ночи":hour<12?"утра":hour<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(number,period){switch(period){case"M":case"d":case"DDD":return number+"-й";case"D":return number+"-го";case"w":case"W":return number+"-я";default:return number}},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/sd.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var months=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],days=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];moment.defineLocale("sd",{months,monthsShort:months,weekdays:days,weekdaysShort:days,weekdaysMin:days,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(input){return"شام"===input},meridiem:function(hour,minute,isLower){return hour<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(string){return string.replace(/،/g,",")},postformat:function(string){return string.replace(/,/g,"،")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/se.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/si.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(number){return number+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(input){return"ප.ව."===input||"පස් වරු"===input},meridiem:function(hours,minutes,isLower){return hours>11?isLower?"ප.ව.":"පස් වරු":isLower?"පෙ.ව.":"පෙර වරු"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/sk.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var months="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function plural(n){return n>1&&n<5}function translate(number,withoutSuffix,key,isFuture){var result=number+" ";switch(key){case"s":return withoutSuffix||isFuture?"pár sekúnd":"pár sekundami";case"ss":return withoutSuffix||isFuture?result+(plural(number)?"sekundy":"sekúnd"):result+"sekundami";case"m":return withoutSuffix?"minúta":isFuture?"minútu":"minútou";case"mm":return withoutSuffix||isFuture?result+(plural(number)?"minúty":"minút"):result+"minútami";case"h":return withoutSuffix?"hodina":isFuture?"hodinu":"hodinou";case"hh":return withoutSuffix||isFuture?result+(plural(number)?"hodiny":"hodín"):result+"hodinami";case"d":return withoutSuffix||isFuture?"deň":"dňom";case"dd":return withoutSuffix||isFuture?result+(plural(number)?"dni":"dní"):result+"dňami";case"M":return withoutSuffix||isFuture?"mesiac":"mesiacom";case"MM":return withoutSuffix||isFuture?result+(plural(number)?"mesiace":"mesiacov"):result+"mesiacmi";case"y":return withoutSuffix||isFuture?"rok":"rokom";case"yy":return withoutSuffix||isFuture?result+(plural(number)?"roky":"rokov"):result+"rokmi"}}moment.defineLocale("sk",{months,monthsShort,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:translate,ss:translate,m:translate,mm:translate,h:translate,hh:translate,d:translate,dd:translate,M:translate,MM:translate,y:translate,yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/sl.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var result=number+" ";switch(key){case"s":return withoutSuffix||isFuture?"nekaj sekund":"nekaj sekundami";case"ss":return result+=1===number?withoutSuffix?"sekundo":"sekundi":2===number?withoutSuffix||isFuture?"sekundi":"sekundah":number<5?withoutSuffix||isFuture?"sekunde":"sekundah":"sekund";case"m":return withoutSuffix?"ena minuta":"eno minuto";case"mm":return result+=1===number?withoutSuffix?"minuta":"minuto":2===number?withoutSuffix||isFuture?"minuti":"minutama":number<5?withoutSuffix||isFuture?"minute":"minutami":withoutSuffix||isFuture?"minut":"minutami";case"h":return withoutSuffix?"ena ura":"eno uro";case"hh":return result+=1===number?withoutSuffix?"ura":"uro":2===number?withoutSuffix||isFuture?"uri":"urama":number<5?withoutSuffix||isFuture?"ure":"urami":withoutSuffix||isFuture?"ur":"urami";case"d":return withoutSuffix||isFuture?"en dan":"enim dnem";case"dd":return result+=1===number?withoutSuffix||isFuture?"dan":"dnem":2===number?withoutSuffix||isFuture?"dni":"dnevoma":withoutSuffix||isFuture?"dni":"dnevi";case"M":return withoutSuffix||isFuture?"en mesec":"enim mesecem";case"MM":return result+=1===number?withoutSuffix||isFuture?"mesec":"mesecem":2===number?withoutSuffix||isFuture?"meseca":"mesecema":number<5?withoutSuffix||isFuture?"mesece":"meseci":withoutSuffix||isFuture?"mesecev":"meseci";case"y":return withoutSuffix||isFuture?"eno leto":"enim letom";case"yy":return result+=1===number?withoutSuffix||isFuture?"leto":"letom":2===number?withoutSuffix||isFuture?"leti":"letoma":number<5?withoutSuffix||isFuture?"leta":"leti":withoutSuffix||isFuture?"let":"leti"}}moment.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:processRelativeTime,ss:processRelativeTime,m:processRelativeTime,mm:processRelativeTime,h:processRelativeTime,hh:processRelativeTime,d:processRelativeTime,dd:processRelativeTime,M:processRelativeTime,MM:processRelativeTime,y:processRelativeTime,yy:processRelativeTime},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/sq.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(input){return"M"===input.charAt(0)},meridiem:function(hours,minutes,isLower){return hours<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/sr-cyrl.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var translator={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(number,wordKey){return number%10>=1&&number%10<=4&&(number%100<10||number%100>=20)?number%10==1?wordKey[0]:wordKey[1]:wordKey[2]},translate:function(number,withoutSuffix,key,isFuture){var word,wordKey=translator.words[key];return 1===key.length?"y"===key&&withoutSuffix?"једна година":isFuture||withoutSuffix?wordKey[0]:wordKey[1]:(word=translator.correctGrammaticalCase(number,wordKey),"yy"===key&&withoutSuffix&&"годину"===word?number+" година":number+" "+word)}};moment.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:translator.translate,m:translator.translate,mm:translator.translate,h:translator.translate,hh:translator.translate,d:translator.translate,dd:translator.translate,M:translator.translate,MM:translator.translate,y:translator.translate,yy:translator.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/sr.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var translator={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(number,wordKey){return number%10>=1&&number%10<=4&&(number%100<10||number%100>=20)?number%10==1?wordKey[0]:wordKey[1]:wordKey[2]},translate:function(number,withoutSuffix,key,isFuture){var word,wordKey=translator.words[key];return 1===key.length?"y"===key&&withoutSuffix?"jedna godina":isFuture||withoutSuffix?wordKey[0]:wordKey[1]:(word=translator.correctGrammaticalCase(number,wordKey),"yy"===key&&withoutSuffix&&"godinu"===word?number+" godina":number+" "+word)}};moment.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:translator.translate,m:translator.translate,mm:translator.translate,h:translator.translate,hh:translator.translate,d:translator.translate,dd:translator.translate,M:translator.translate,MM:translator.translate,y:translator.translate,yy:translator.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ss.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(hours,minutes,isLower){return hours<11?"ekuseni":hours<15?"emini":hours<19?"entsambama":"ebusuku"},meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"ekuseni"===meridiem?hour:"emini"===meridiem?hour>=11?hour:hour+12:"entsambama"===meridiem||"ebusuku"===meridiem?0===hour?0:hour+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/sv.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?":e":1===b||2===b?":a":":e")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/sw.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ta.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var symbolMap={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},numberMap={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};moment.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(number){return number+"வது"},preparse:function(string){return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(match){return numberMap[match]}))},postformat:function(string){return string.replace(/\d/g,(function(match){return symbolMap[match]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(hour,minute,isLower){return hour<2?" யாமம்":hour<6?" வைகறை":hour<10?" காலை":hour<14?" நண்பகல்":hour<18?" எற்பாடு":hour<22?" மாலை":" யாமம்"},meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"யாமம்"===meridiem?hour<2?hour:hour+12:"வைகறை"===meridiem||"காலை"===meridiem||"நண்பகல்"===meridiem&&hour>=10?hour:hour+12},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/te.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"రాత్రి"===meridiem?hour<4?hour:hour+12:"ఉదయం"===meridiem?hour:"మధ్యాహ్నం"===meridiem?hour>=10?hour:hour+12:"సాయంత్రం"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"రాత్రి":hour<10?"ఉదయం":hour<17?"మధ్యాహ్నం":hour<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tet.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tg.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var suffixes={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};moment.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"шаб"===meridiem?hour<4?hour:hour+12:"субҳ"===meridiem?hour:"рӯз"===meridiem?hour>=11?hour:hour+12:"бегоҳ"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){return hour<4?"шаб":hour<11?"субҳ":hour<16?"рӯз":hour<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(number){var a=number%10,b=number>=100?100:null;return number+(suffixes[number]||suffixes[a]||suffixes[b])},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/th.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(input){return"หลังเที่ยง"===input},meridiem:function(hour,minute,isLower){return hour<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tk.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var suffixes={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};moment.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(number,period){switch(period){case"d":case"D":case"Do":case"DD":return number;default:if(0===number)return number+"'unjy";var a=number%10,b=number%100-a,c=number>=100?100:null;return number+(suffixes[a]||suffixes[b]||suffixes[c])}},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tl-ph.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(number){return number},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tlh.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var numbersNouns="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function translateFuture(output){var time=output;return time=-1!==output.indexOf("jaj")?time.slice(0,-3)+"leS":-1!==output.indexOf("jar")?time.slice(0,-3)+"waQ":-1!==output.indexOf("DIS")?time.slice(0,-3)+"nem":time+" pIq"}function translatePast(output){var time=output;return time=-1!==output.indexOf("jaj")?time.slice(0,-3)+"Hu’":-1!==output.indexOf("jar")?time.slice(0,-3)+"wen":-1!==output.indexOf("DIS")?time.slice(0,-3)+"ben":time+" ret"}function translate(number,withoutSuffix,string,isFuture){var numberNoun=numberAsNoun(number);switch(string){case"ss":return numberNoun+" lup";case"mm":return numberNoun+" tup";case"hh":return numberNoun+" rep";case"dd":return numberNoun+" jaj";case"MM":return numberNoun+" jar";case"yy":return numberNoun+" DIS"}}function numberAsNoun(number){var hundred=Math.floor(number%1e3/100),ten=Math.floor(number%100/10),one=number%10,word="";return hundred>0&&(word+=numbersNouns[hundred]+"vatlh"),ten>0&&(word+=(""!==word?" ":"")+numbersNouns[ten]+"maH"),one>0&&(word+=(""!==word?" ":"")+numbersNouns[one]),""===word?"pagh":word}moment.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:translateFuture,past:translatePast,s:"puS lup",ss:translate,m:"wa’ tup",mm:translate,h:"wa’ rep",hh:translate,d:"wa’ jaj",dd:translate,M:"wa’ jar",MM:translate,y:"wa’ DIS",yy:translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tr.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var suffixes={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};moment.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(hours,minutes,isLower){return hours<12?isLower?"öö":"ÖÖ":isLower?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(input){return"ös"===input||"ÖS"===input},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(number,period){switch(period){case"d":case"D":case"Do":case"DD":return number;default:if(0===number)return number+"'ıncı";var a=number%10,b=number%100-a,c=number>=100?100:null;return number+(suffixes[a]||suffixes[b]||suffixes[c])}},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tzl.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function processRelativeTime(number,withoutSuffix,key,isFuture){var format={s:["viensas secunds","'iensas secunds"],ss:[number+" secunds",number+" secunds"],m:["'n míut","'iens míut"],mm:[number+" míuts",number+" míuts"],h:["'n þora","'iensa þora"],hh:[number+" þoras",number+" þoras"],d:["'n ziua","'iensa ziua"],dd:[number+" ziuas",number+" ziuas"],M:["'n mes","'iens mes"],MM:[number+" mesen",number+" mesen"],y:["'n ar","'iens ar"],yy:[number+" ars",number+" ars"]};return isFuture||withoutSuffix?format[key][0]:format[key][1]}moment.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(input){return"d'o"===input.toLowerCase()},meridiem:function(hours,minutes,isLower){return hours>11?isLower?"d'o":"D'O":isLower?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:processRelativeTime,ss:processRelativeTime,m:processRelativeTime,mm:processRelativeTime,h:processRelativeTime,hh:processRelativeTime,d:processRelativeTime,dd:processRelativeTime,M:processRelativeTime,MM:processRelativeTime,y:processRelativeTime,yy:processRelativeTime},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tzm-latn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/tzm.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ug-cn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"يېرىم كېچە"===meridiem||"سەھەر"===meridiem||"چۈشتىن بۇرۇن"===meridiem?hour:"چۈشتىن كېيىن"===meridiem||"كەچ"===meridiem?hour+12:hour>=11?hour:hour+12},meridiem:function(hour,minute,isLower){var hm=100*hour+minute;return hm<600?"يېرىم كېچە":hm<900?"سەھەر":hm<1130?"چۈشتىن بۇرۇن":hm<1230?"چۈش":hm<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(number,period){switch(period){case"d":case"D":case"DDD":return number+"-كۈنى";case"w":case"W":return number+"-ھەپتە";default:return number}},preparse:function(string){return string.replace(/،/g,",")},postformat:function(string){return string.replace(/,/g,"،")},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/uk.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";function plural(word,num){var forms=word.split("_");return num%10==1&&num%100!=11?forms[0]:num%10>=2&&num%10<=4&&(num%100<10||num%100>=20)?forms[1]:forms[2]}function relativeTimeWithPlural(number,withoutSuffix,key){return"m"===key?withoutSuffix?"хвилина":"хвилину":"h"===key?withoutSuffix?"година":"годину":number+" "+plural({ss:withoutSuffix?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:withoutSuffix?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:withoutSuffix?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[key],+number)}function weekdaysCaseReplace(m,format){var weekdays={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===m?weekdays.nominative.slice(1,7).concat(weekdays.nominative.slice(0,1)):m?weekdays[/(\[[ВвУу]\]) ?dddd/.test(format)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(format)?"genitive":"nominative"][m.day()]:weekdays.nominative}function processHoursFunction(str){return function(){return str+"о"+(11===this.hours()?"б":"")+"] LT"}}moment.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:weekdaysCaseReplace,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:processHoursFunction("[Сьогодні "),nextDay:processHoursFunction("[Завтра "),lastDay:processHoursFunction("[Вчора "),nextWeek:processHoursFunction("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return processHoursFunction("[Минулої] dddd [").call(this);case 1:case 2:case 4:return processHoursFunction("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:relativeTimeWithPlural,m:relativeTimeWithPlural,mm:relativeTimeWithPlural,h:"годину",hh:relativeTimeWithPlural,d:"день",dd:relativeTimeWithPlural,M:"місяць",MM:relativeTimeWithPlural,y:"рік",yy:relativeTimeWithPlural},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(input){return/^(дня|вечора)$/.test(input)},meridiem:function(hour,minute,isLower){return hour<4?"ночі":hour<12?"ранку":hour<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(number,period){switch(period){case"M":case"d":case"DDD":case"w":case"W":return number+"-й";case"D":return number+"-го";default:return number}},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ur.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";var months=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],days=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];moment.defineLocale("ur",{months,monthsShort:months,weekdays:days,weekdaysShort:days,weekdaysMin:days,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(input){return"شام"===input},meridiem:function(hour,minute,isLower){return hour<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(string){return string.replace(/،/g,",")},postformat:function(string){return string.replace(/,/g,"،")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/uz-latn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/uz.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/vi.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(input){return/^ch$/i.test(input)},meridiem:function(hours,minutes,isLower){return hours<12?isLower?"sa":"SA":isLower?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(number){return number},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/x-pseudo.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(number){var b=number%10;return number+(1==~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/yo.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/zh-cn.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"凌晨"===meridiem||"早上"===meridiem||"上午"===meridiem?hour:"下午"===meridiem||"晚上"===meridiem?hour+12:hour>=11?hour:hour+12},meridiem:function(hour,minute,isLower){var hm=100*hour+minute;return hm<600?"凌晨":hm<900?"早上":hm<1130?"上午":hm<1230?"中午":hm<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(now){return now.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(now){return this.week()!==now.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(number,period){switch(period){case"d":case"D":case"DDD":return number+"日";case"M":return number+"月";case"w":case"W":return number+"周";default:return number}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/zh-hk.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"凌晨"===meridiem||"早上"===meridiem||"上午"===meridiem?hour:"中午"===meridiem?hour>=11?hour:hour+12:"下午"===meridiem||"晚上"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){var hm=100*hour+minute;return hm<600?"凌晨":hm<900?"早上":hm<1200?"上午":1200===hm?"中午":hm<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(number,period){switch(period){case"d":case"D":case"DDD":return number+"日";case"M":return number+"月";case"w":case"W":return number+"週";default:return number}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/zh-mo.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"凌晨"===meridiem||"早上"===meridiem||"上午"===meridiem?hour:"中午"===meridiem?hour>=11?hour:hour+12:"下午"===meridiem||"晚上"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){var hm=100*hour+minute;return hm<600?"凌晨":hm<900?"早上":hm<1130?"上午":hm<1230?"中午":hm<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(number,period){switch(period){case"d":case"D":case"DDD":return number+"日";case"M":return number+"月";case"w":case"W":return number+"週";default:return number}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/zh-tw.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){!function(moment){"use strict";moment.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(hour,meridiem){return 12===hour&&(hour=0),"凌晨"===meridiem||"早上"===meridiem||"上午"===meridiem?hour:"中午"===meridiem?hour>=11?hour:hour+12:"下午"===meridiem||"晚上"===meridiem?hour+12:void 0},meridiem:function(hour,minute,isLower){var hm=100*hour+minute;return hm<600?"凌晨":hm<900?"早上":hm<1130?"上午":hm<1230?"中午":hm<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(number,period){switch(period){case"d":case"D":case"DDD":return number+"日";case"M":return number+"月";case"w":case"W":return number+"週";default:return number}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(__webpack_require__("./node_modules/moment/moment.js"))},"./node_modules/moment/moment.js":function(module,__unused_webpack_exports,__webpack_require__){(module=__webpack_require__.nmd(module)).exports=function(){"use strict";var hookCallback,some;function hooks(){return hookCallback.apply(null,arguments)}function setHookCallback(callback){hookCallback=callback}function isArray(input){return input instanceof Array||"[object Array]"===Object.prototype.toString.call(input)}function isObject(input){return null!=input&&"[object Object]"===Object.prototype.toString.call(input)}function hasOwnProp(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function isObjectEmpty(obj){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(obj).length;var k;for(k in obj)if(hasOwnProp(obj,k))return!1;return!0}function isUndefined(input){return void 0===input}function isNumber(input){return"number"==typeof input||"[object Number]"===Object.prototype.toString.call(input)}function isDate(input){return input instanceof Date||"[object Date]"===Object.prototype.toString.call(input)}function map(arr,fn){var i,res=[],arrLen=arr.length;for(i=0;i<arrLen;++i)res.push(fn(arr[i],i));return res}function extend(a,b){for(var i in b)hasOwnProp(b,i)&&(a[i]=b[i]);return hasOwnProp(b,"toString")&&(a.toString=b.toString),hasOwnProp(b,"valueOf")&&(a.valueOf=b.valueOf),a}function createUTC(input,format,locale,strict){return createLocalOrUTC(input,format,locale,strict,!0).utc()}function defaultParsingFlags(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function getParsingFlags(m){return null==m._pf&&(m._pf=defaultParsingFlags()),m._pf}function isValid(m){if(null==m._isValid){var flags=getParsingFlags(m),parsedParts=some.call(flags.parsedDateParts,(function(i){return null!=i})),isNowValid=!isNaN(m._d.getTime())&&flags.overflow<0&&!flags.empty&&!flags.invalidEra&&!flags.invalidMonth&&!flags.invalidWeekday&&!flags.weekdayMismatch&&!flags.nullInput&&!flags.invalidFormat&&!flags.userInvalidated&&(!flags.meridiem||flags.meridiem&&parsedParts);if(m._strict&&(isNowValid=isNowValid&&0===flags.charsLeftOver&&0===flags.unusedTokens.length&&void 0===flags.bigHour),null!=Object.isFrozen&&Object.isFrozen(m))return isNowValid;m._isValid=isNowValid}return m._isValid}function createInvalid(flags){var m=createUTC(NaN);return null!=flags?extend(getParsingFlags(m),flags):getParsingFlags(m).userInvalidated=!0,m}some=Array.prototype.some?Array.prototype.some:function(fun){var i,t=Object(this),len=t.length>>>0;for(i=0;i<len;i++)if(i in t&&fun.call(this,t[i],i,t))return!0;return!1};var momentProperties=hooks.momentProperties=[],updateInProgress=!1;function copyConfig(to,from){var i,prop,val,momentPropertiesLen=momentProperties.length;if(isUndefined(from._isAMomentObject)||(to._isAMomentObject=from._isAMomentObject),isUndefined(from._i)||(to._i=from._i),isUndefined(from._f)||(to._f=from._f),isUndefined(from._l)||(to._l=from._l),isUndefined(from._strict)||(to._strict=from._strict),isUndefined(from._tzm)||(to._tzm=from._tzm),isUndefined(from._isUTC)||(to._isUTC=from._isUTC),isUndefined(from._offset)||(to._offset=from._offset),isUndefined(from._pf)||(to._pf=getParsingFlags(from)),isUndefined(from._locale)||(to._locale=from._locale),momentPropertiesLen>0)for(i=0;i<momentPropertiesLen;i++)isUndefined(val=from[prop=momentProperties[i]])||(to[prop]=val);return to}function Moment(config){copyConfig(this,config),this._d=new Date(null!=config._d?config._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===updateInProgress&&(updateInProgress=!0,hooks.updateOffset(this),updateInProgress=!1)}function isMoment(obj){return obj instanceof Moment||null!=obj&&null!=obj._isAMomentObject}function warn(msg){!1===hooks.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+msg)}function deprecate(msg,fn){var firstTime=!0;return extend((function(){if(null!=hooks.deprecationHandler&&hooks.deprecationHandler(null,msg),firstTime){var arg,i,key,args=[],argLen=arguments.length;for(i=0;i<argLen;i++){if(arg="","object"==typeof arguments[i]){for(key in arg+="\n["+i+"] ",arguments[0])hasOwnProp(arguments[0],key)&&(arg+=key+": "+arguments[0][key]+", ");arg=arg.slice(0,-2)}else arg=arguments[i];args.push(arg)}warn(msg+"\nArguments: "+Array.prototype.slice.call(args).join("")+"\n"+(new Error).stack),firstTime=!1}return fn.apply(this,arguments)}),fn)}var keys,deprecations={};function deprecateSimple(name,msg){null!=hooks.deprecationHandler&&hooks.deprecationHandler(name,msg),deprecations[name]||(warn(msg),deprecations[name]=!0)}function isFunction(input){return"undefined"!=typeof Function&&input instanceof Function||"[object Function]"===Object.prototype.toString.call(input)}function set(config){var prop,i;for(i in config)hasOwnProp(config,i)&&(isFunction(prop=config[i])?this[i]=prop:this["_"+i]=prop);this._config=config,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mergeConfigs(parentConfig,childConfig){var prop,res=extend({},parentConfig);for(prop in childConfig)hasOwnProp(childConfig,prop)&&(isObject(parentConfig[prop])&&isObject(childConfig[prop])?(res[prop]={},extend(res[prop],parentConfig[prop]),extend(res[prop],childConfig[prop])):null!=childConfig[prop]?res[prop]=childConfig[prop]:delete res[prop]);for(prop in parentConfig)hasOwnProp(parentConfig,prop)&&!hasOwnProp(childConfig,prop)&&isObject(parentConfig[prop])&&(res[prop]=extend({},res[prop]));return res}function Locale(config){null!=config&&this.set(config)}hooks.suppressDeprecationWarnings=!1,hooks.deprecationHandler=null,keys=Object.keys?Object.keys:function(obj){var i,res=[];for(i in obj)hasOwnProp(obj,i)&&res.push(i);return res};var defaultCalendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function calendar(key,mom,now){var output=this._calendar[key]||this._calendar.sameElse;return isFunction(output)?output.call(mom,now):output}function zeroFill(number,targetLength,forceSign){var absNumber=""+Math.abs(number),zerosToFill=targetLength-absNumber.length;return(number>=0?forceSign?"+":"":"-")+Math.pow(10,Math.max(0,zerosToFill)).toString().substr(1)+absNumber}var formattingTokens=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,localFormattingTokens=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,formatFunctions={},formatTokenFunctions={};function addFormatToken(token,padded,ordinal,callback){var func=callback;"string"==typeof callback&&(func=function(){return this[callback]()}),token&&(formatTokenFunctions[token]=func),padded&&(formatTokenFunctions[padded[0]]=function(){return zeroFill(func.apply(this,arguments),padded[1],padded[2])}),ordinal&&(formatTokenFunctions[ordinal]=function(){return this.localeData().ordinal(func.apply(this,arguments),token)})}function removeFormattingTokens(input){return input.match(/\[[\s\S]/)?input.replace(/^\[|\]$/g,""):input.replace(/\\/g,"")}function makeFormatFunction(format){var i,length,array=format.match(formattingTokens);for(i=0,length=array.length;i<length;i++)formatTokenFunctions[array[i]]?array[i]=formatTokenFunctions[array[i]]:array[i]=removeFormattingTokens(array[i]);return function(mom){var i,output="";for(i=0;i<length;i++)output+=isFunction(array[i])?array[i].call(mom,format):array[i];return output}}function formatMoment(m,format){return m.isValid()?(format=expandFormat(format,m.localeData()),formatFunctions[format]=formatFunctions[format]||makeFormatFunction(format),formatFunctions[format](m)):m.localeData().invalidDate()}function expandFormat(format,locale){var i=5;function replaceLongDateFormatTokens(input){return locale.longDateFormat(input)||input}for(localFormattingTokens.lastIndex=0;i>=0&&localFormattingTokens.test(format);)format=format.replace(localFormattingTokens,replaceLongDateFormatTokens),localFormattingTokens.lastIndex=0,i-=1;return format}var defaultLongDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function longDateFormat(key){var format=this._longDateFormat[key],formatUpper=this._longDateFormat[key.toUpperCase()];return format||!formatUpper?format:(this._longDateFormat[key]=formatUpper.match(formattingTokens).map((function(tok){return"MMMM"===tok||"MM"===tok||"DD"===tok||"dddd"===tok?tok.slice(1):tok})).join(""),this._longDateFormat[key])}var defaultInvalidDate="Invalid date";function invalidDate(){return this._invalidDate}var defaultOrdinal="%d",defaultDayOfMonthOrdinalParse=/\d{1,2}/;function ordinal(number){return this._ordinal.replace("%d",number)}var defaultRelativeTime={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function relativeTime(number,withoutSuffix,string,isFuture){var output=this._relativeTime[string];return isFunction(output)?output(number,withoutSuffix,string,isFuture):output.replace(/%d/i,number)}function pastFuture(diff,output){var format=this._relativeTime[diff>0?"future":"past"];return isFunction(format)?format(output):format.replace(/%s/i,output)}var aliases={};function addUnitAlias(unit,shorthand){var lowerCase=unit.toLowerCase();aliases[lowerCase]=aliases[lowerCase+"s"]=aliases[shorthand]=unit}function normalizeUnits(units){return"string"==typeof units?aliases[units]||aliases[units.toLowerCase()]:void 0}function normalizeObjectUnits(inputObject){var normalizedProp,prop,normalizedInput={};for(prop in inputObject)hasOwnProp(inputObject,prop)&&(normalizedProp=normalizeUnits(prop))&&(normalizedInput[normalizedProp]=inputObject[prop]);return normalizedInput}var priorities={};function addUnitPriority(unit,priority){priorities[unit]=priority}function getPrioritizedUnits(unitsObj){var u,units=[];for(u in unitsObj)hasOwnProp(unitsObj,u)&&units.push({unit:u,priority:priorities[u]});return units.sort((function(a,b){return a.priority-b.priority})),units}function isLeapYear(year){return year%4==0&&year%100!=0||year%400==0}function absFloor(number){return number<0?Math.ceil(number)||0:Math.floor(number)}function toInt(argumentForCoercion){var coercedNumber=+argumentForCoercion,value=0;return 0!==coercedNumber&&isFinite(coercedNumber)&&(value=absFloor(coercedNumber)),value}function makeGetSet(unit,keepTime){return function(value){return null!=value?(set$1(this,unit,value),hooks.updateOffset(this,keepTime),this):get(this,unit)}}function get(mom,unit){return mom.isValid()?mom._d["get"+(mom._isUTC?"UTC":"")+unit]():NaN}function set$1(mom,unit,value){mom.isValid()&&!isNaN(value)&&("FullYear"===unit&&isLeapYear(mom.year())&&1===mom.month()&&29===mom.date()?(value=toInt(value),mom._d["set"+(mom._isUTC?"UTC":"")+unit](value,mom.month(),daysInMonth(value,mom.month()))):mom._d["set"+(mom._isUTC?"UTC":"")+unit](value))}function stringGet(units){return isFunction(this[units=normalizeUnits(units)])?this[units]():this}function stringSet(units,value){if("object"==typeof units){var i,prioritized=getPrioritizedUnits(units=normalizeObjectUnits(units)),prioritizedLen=prioritized.length;for(i=0;i<prioritizedLen;i++)this[prioritized[i].unit](units[prioritized[i].unit])}else if(isFunction(this[units=normalizeUnits(units)]))return this[units](value);return this}var regexes,match1=/\d/,match2=/\d\d/,match3=/\d{3}/,match4=/\d{4}/,match6=/[+-]?\d{6}/,match1to2=/\d\d?/,match3to4=/\d\d\d\d?/,match5to6=/\d\d\d\d\d\d?/,match1to3=/\d{1,3}/,match1to4=/\d{1,4}/,match1to6=/[+-]?\d{1,6}/,matchUnsigned=/\d+/,matchSigned=/[+-]?\d+/,matchOffset=/Z|[+-]\d\d:?\d\d/gi,matchShortOffset=/Z|[+-]\d\d(?::?\d\d)?/gi,matchTimestamp=/[+-]?\d+(\.\d{1,3})?/,matchWord=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function addRegexToken(token,regex,strictRegex){regexes[token]=isFunction(regex)?regex:function(isStrict,localeData){return isStrict&&strictRegex?strictRegex:regex}}function getParseRegexForToken(token,config){return hasOwnProp(regexes,token)?regexes[token](config._strict,config._locale):new RegExp(unescapeFormat(token))}function unescapeFormat(s){return regexEscape(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(matched,p1,p2,p3,p4){return p1||p2||p3||p4})))}function regexEscape(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}regexes={};var tokens={};function addParseToken(token,callback){var i,tokenLen,func=callback;for("string"==typeof token&&(token=[token]),isNumber(callback)&&(func=function(input,array){array[callback]=toInt(input)}),tokenLen=token.length,i=0;i<tokenLen;i++)tokens[token[i]]=func}function addWeekParseToken(token,callback){addParseToken(token,(function(input,array,config,token){config._w=config._w||{},callback(input,config._w,config,token)}))}function addTimeToArrayFromToken(token,input,config){null!=input&&hasOwnProp(tokens,token)&&tokens[token](input,config._a,config,token)}var indexOf,YEAR=0,MONTH=1,DATE=2,HOUR=3,MINUTE=4,SECOND=5,MILLISECOND=6,WEEK=7,WEEKDAY=8;function mod(n,x){return(n%x+x)%x}function daysInMonth(year,month){if(isNaN(year)||isNaN(month))return NaN;var modMonth=mod(month,12);return year+=(month-modMonth)/12,1===modMonth?isLeapYear(year)?29:28:31-modMonth%7%2}indexOf=Array.prototype.indexOf?Array.prototype.indexOf:function(o){var i;for(i=0;i<this.length;++i)if(this[i]===o)return i;return-1},addFormatToken("M",["MM",2],"Mo",(function(){return this.month()+1})),addFormatToken("MMM",0,0,(function(format){return this.localeData().monthsShort(this,format)})),addFormatToken("MMMM",0,0,(function(format){return this.localeData().months(this,format)})),addUnitAlias("month","M"),addUnitPriority("month",8),addRegexToken("M",match1to2),addRegexToken("MM",match1to2,match2),addRegexToken("MMM",(function(isStrict,locale){return locale.monthsShortRegex(isStrict)})),addRegexToken("MMMM",(function(isStrict,locale){return locale.monthsRegex(isStrict)})),addParseToken(["M","MM"],(function(input,array){array[MONTH]=toInt(input)-1})),addParseToken(["MMM","MMMM"],(function(input,array,config,token){var month=config._locale.monthsParse(input,token,config._strict);null!=month?array[MONTH]=month:getParsingFlags(config).invalidMonth=input}));var defaultLocaleMonths="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),defaultLocaleMonthsShort="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),MONTHS_IN_FORMAT=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,defaultMonthsShortRegex=matchWord,defaultMonthsRegex=matchWord;function localeMonths(m,format){return m?isArray(this._months)?this._months[m.month()]:this._months[(this._months.isFormat||MONTHS_IN_FORMAT).test(format)?"format":"standalone"][m.month()]:isArray(this._months)?this._months:this._months.standalone}function localeMonthsShort(m,format){return m?isArray(this._monthsShort)?this._monthsShort[m.month()]:this._monthsShort[MONTHS_IN_FORMAT.test(format)?"format":"standalone"][m.month()]:isArray(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function handleStrictParse(monthName,format,strict){var i,ii,mom,llc=monthName.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)mom=createUTC([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(mom,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(mom,"").toLocaleLowerCase();return strict?"MMM"===format?-1!==(ii=indexOf.call(this._shortMonthsParse,llc))?ii:null:-1!==(ii=indexOf.call(this._longMonthsParse,llc))?ii:null:"MMM"===format?-1!==(ii=indexOf.call(this._shortMonthsParse,llc))||-1!==(ii=indexOf.call(this._longMonthsParse,llc))?ii:null:-1!==(ii=indexOf.call(this._longMonthsParse,llc))||-1!==(ii=indexOf.call(this._shortMonthsParse,llc))?ii:null}function localeMonthsParse(monthName,format,strict){var i,mom,regex;if(this._monthsParseExact)return handleStrictParse.call(this,monthName,format,strict);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(mom=createUTC([2e3,i]),strict&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(mom,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(mom,"").replace(".","")+"$","i")),strict||this._monthsParse[i]||(regex="^"+this.months(mom,"")+"|^"+this.monthsShort(mom,""),this._monthsParse[i]=new RegExp(regex.replace(".",""),"i")),strict&&"MMMM"===format&&this._longMonthsParse[i].test(monthName))return i;if(strict&&"MMM"===format&&this._shortMonthsParse[i].test(monthName))return i;if(!strict&&this._monthsParse[i].test(monthName))return i}}function setMonth(mom,value){var dayOfMonth;if(!mom.isValid())return mom;if("string"==typeof value)if(/^\d+$/.test(value))value=toInt(value);else if(!isNumber(value=mom.localeData().monthsParse(value)))return mom;return dayOfMonth=Math.min(mom.date(),daysInMonth(mom.year(),value)),mom._d["set"+(mom._isUTC?"UTC":"")+"Month"](value,dayOfMonth),mom}function getSetMonth(value){return null!=value?(setMonth(this,value),hooks.updateOffset(this,!0),this):get(this,"Month")}function getDaysInMonth(){return daysInMonth(this.year(),this.month())}function monthsShortRegex(isStrict){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),isStrict?this._monthsShortStrictRegex:this._monthsShortRegex):(hasOwnProp(this,"_monthsShortRegex")||(this._monthsShortRegex=defaultMonthsShortRegex),this._monthsShortStrictRegex&&isStrict?this._monthsShortStrictRegex:this._monthsShortRegex)}function monthsRegex(isStrict){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),isStrict?this._monthsStrictRegex:this._monthsRegex):(hasOwnProp(this,"_monthsRegex")||(this._monthsRegex=defaultMonthsRegex),this._monthsStrictRegex&&isStrict?this._monthsStrictRegex:this._monthsRegex)}function computeMonthsParse(){function cmpLenRev(a,b){return b.length-a.length}var i,mom,shortPieces=[],longPieces=[],mixedPieces=[];for(i=0;i<12;i++)mom=createUTC([2e3,i]),shortPieces.push(this.monthsShort(mom,"")),longPieces.push(this.months(mom,"")),mixedPieces.push(this.months(mom,"")),mixedPieces.push(this.monthsShort(mom,""));for(shortPieces.sort(cmpLenRev),longPieces.sort(cmpLenRev),mixedPieces.sort(cmpLenRev),i=0;i<12;i++)shortPieces[i]=regexEscape(shortPieces[i]),longPieces[i]=regexEscape(longPieces[i]);for(i=0;i<24;i++)mixedPieces[i]=regexEscape(mixedPieces[i]);this._monthsRegex=new RegExp("^("+mixedPieces.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+longPieces.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+shortPieces.join("|")+")","i")}function daysInYear(year){return isLeapYear(year)?366:365}addFormatToken("Y",0,0,(function(){var y=this.year();return y<=9999?zeroFill(y,4):"+"+y})),addFormatToken(0,["YY",2],0,(function(){return this.year()%100})),addFormatToken(0,["YYYY",4],0,"year"),addFormatToken(0,["YYYYY",5],0,"year"),addFormatToken(0,["YYYYYY",6,!0],0,"year"),addUnitAlias("year","y"),addUnitPriority("year",1),addRegexToken("Y",matchSigned),addRegexToken("YY",match1to2,match2),addRegexToken("YYYY",match1to4,match4),addRegexToken("YYYYY",match1to6,match6),addRegexToken("YYYYYY",match1to6,match6),addParseToken(["YYYYY","YYYYYY"],YEAR),addParseToken("YYYY",(function(input,array){array[YEAR]=2===input.length?hooks.parseTwoDigitYear(input):toInt(input)})),addParseToken("YY",(function(input,array){array[YEAR]=hooks.parseTwoDigitYear(input)})),addParseToken("Y",(function(input,array){array[YEAR]=parseInt(input,10)})),hooks.parseTwoDigitYear=function(input){return toInt(input)+(toInt(input)>68?1900:2e3)};var getSetYear=makeGetSet("FullYear",!0);function getIsLeapYear(){return isLeapYear(this.year())}function createDate(y,m,d,h,M,s,ms){var date;return y<100&&y>=0?(date=new Date(y+400,m,d,h,M,s,ms),isFinite(date.getFullYear())&&date.setFullYear(y)):date=new Date(y,m,d,h,M,s,ms),date}function createUTCDate(y){var date,args;return y<100&&y>=0?((args=Array.prototype.slice.call(arguments))[0]=y+400,date=new Date(Date.UTC.apply(null,args)),isFinite(date.getUTCFullYear())&&date.setUTCFullYear(y)):date=new Date(Date.UTC.apply(null,arguments)),date}function firstWeekOffset(year,dow,doy){var fwd=7+dow-doy;return-(7+createUTCDate(year,0,fwd).getUTCDay()-dow)%7+fwd-1}function dayOfYearFromWeeks(year,week,weekday,dow,doy){var resYear,resDayOfYear,dayOfYear=1+7*(week-1)+(7+weekday-dow)%7+firstWeekOffset(year,dow,doy);return dayOfYear<=0?resDayOfYear=daysInYear(resYear=year-1)+dayOfYear:dayOfYear>daysInYear(year)?(resYear=year+1,resDayOfYear=dayOfYear-daysInYear(year)):(resYear=year,resDayOfYear=dayOfYear),{year:resYear,dayOfYear:resDayOfYear}}function weekOfYear(mom,dow,doy){var resWeek,resYear,weekOffset=firstWeekOffset(mom.year(),dow,doy),week=Math.floor((mom.dayOfYear()-weekOffset-1)/7)+1;return week<1?resWeek=week+weeksInYear(resYear=mom.year()-1,dow,doy):week>weeksInYear(mom.year(),dow,doy)?(resWeek=week-weeksInYear(mom.year(),dow,doy),resYear=mom.year()+1):(resYear=mom.year(),resWeek=week),{week:resWeek,year:resYear}}function weeksInYear(year,dow,doy){var weekOffset=firstWeekOffset(year,dow,doy),weekOffsetNext=firstWeekOffset(year+1,dow,doy);return(daysInYear(year)-weekOffset+weekOffsetNext)/7}function localeWeek(mom){return weekOfYear(mom,this._week.dow,this._week.doy).week}addFormatToken("w",["ww",2],"wo","week"),addFormatToken("W",["WW",2],"Wo","isoWeek"),addUnitAlias("week","w"),addUnitAlias("isoWeek","W"),addUnitPriority("week",5),addUnitPriority("isoWeek",5),addRegexToken("w",match1to2),addRegexToken("ww",match1to2,match2),addRegexToken("W",match1to2),addRegexToken("WW",match1to2,match2),addWeekParseToken(["w","ww","W","WW"],(function(input,week,config,token){week[token.substr(0,1)]=toInt(input)}));var defaultLocaleWeek={dow:0,doy:6};function localeFirstDayOfWeek(){return this._week.dow}function localeFirstDayOfYear(){return this._week.doy}function getSetWeek(input){var week=this.localeData().week(this);return null==input?week:this.add(7*(input-week),"d")}function getSetISOWeek(input){var week=weekOfYear(this,1,4).week;return null==input?week:this.add(7*(input-week),"d")}function parseWeekday(input,locale){return"string"!=typeof input?input:isNaN(input)?"number"==typeof(input=locale.weekdaysParse(input))?input:null:parseInt(input,10)}function parseIsoWeekday(input,locale){return"string"==typeof input?locale.weekdaysParse(input)%7||7:isNaN(input)?null:input}function shiftWeekdays(ws,n){return ws.slice(n,7).concat(ws.slice(0,n))}addFormatToken("d",0,"do","day"),addFormatToken("dd",0,0,(function(format){return this.localeData().weekdaysMin(this,format)})),addFormatToken("ddd",0,0,(function(format){return this.localeData().weekdaysShort(this,format)})),addFormatToken("dddd",0,0,(function(format){return this.localeData().weekdays(this,format)})),addFormatToken("e",0,0,"weekday"),addFormatToken("E",0,0,"isoWeekday"),addUnitAlias("day","d"),addUnitAlias("weekday","e"),addUnitAlias("isoWeekday","E"),addUnitPriority("day",11),addUnitPriority("weekday",11),addUnitPriority("isoWeekday",11),addRegexToken("d",match1to2),addRegexToken("e",match1to2),addRegexToken("E",match1to2),addRegexToken("dd",(function(isStrict,locale){return locale.weekdaysMinRegex(isStrict)})),addRegexToken("ddd",(function(isStrict,locale){return locale.weekdaysShortRegex(isStrict)})),addRegexToken("dddd",(function(isStrict,locale){return locale.weekdaysRegex(isStrict)})),addWeekParseToken(["dd","ddd","dddd"],(function(input,week,config,token){var weekday=config._locale.weekdaysParse(input,token,config._strict);null!=weekday?week.d=weekday:getParsingFlags(config).invalidWeekday=input})),addWeekParseToken(["d","e","E"],(function(input,week,config,token){week[token]=toInt(input)}));var defaultLocaleWeekdays="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),defaultLocaleWeekdaysShort="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),defaultLocaleWeekdaysMin="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),defaultWeekdaysRegex=matchWord,defaultWeekdaysShortRegex=matchWord,defaultWeekdaysMinRegex=matchWord;function localeWeekdays(m,format){var weekdays=isArray(this._weekdays)?this._weekdays:this._weekdays[m&&!0!==m&&this._weekdays.isFormat.test(format)?"format":"standalone"];return!0===m?shiftWeekdays(weekdays,this._week.dow):m?weekdays[m.day()]:weekdays}function localeWeekdaysShort(m){return!0===m?shiftWeekdays(this._weekdaysShort,this._week.dow):m?this._weekdaysShort[m.day()]:this._weekdaysShort}function localeWeekdaysMin(m){return!0===m?shiftWeekdays(this._weekdaysMin,this._week.dow):m?this._weekdaysMin[m.day()]:this._weekdaysMin}function handleStrictParse$1(weekdayName,format,strict){var i,ii,mom,llc=weekdayName.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)mom=createUTC([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(mom,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(mom,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(mom,"").toLocaleLowerCase();return strict?"dddd"===format?-1!==(ii=indexOf.call(this._weekdaysParse,llc))?ii:null:"ddd"===format?-1!==(ii=indexOf.call(this._shortWeekdaysParse,llc))?ii:null:-1!==(ii=indexOf.call(this._minWeekdaysParse,llc))?ii:null:"dddd"===format?-1!==(ii=indexOf.call(this._weekdaysParse,llc))||-1!==(ii=indexOf.call(this._shortWeekdaysParse,llc))||-1!==(ii=indexOf.call(this._minWeekdaysParse,llc))?ii:null:"ddd"===format?-1!==(ii=indexOf.call(this._shortWeekdaysParse,llc))||-1!==(ii=indexOf.call(this._weekdaysParse,llc))||-1!==(ii=indexOf.call(this._minWeekdaysParse,llc))?ii:null:-1!==(ii=indexOf.call(this._minWeekdaysParse,llc))||-1!==(ii=indexOf.call(this._weekdaysParse,llc))||-1!==(ii=indexOf.call(this._shortWeekdaysParse,llc))?ii:null}function localeWeekdaysParse(weekdayName,format,strict){var i,mom,regex;if(this._weekdaysParseExact)return handleStrictParse$1.call(this,weekdayName,format,strict);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(mom=createUTC([2e3,1]).day(i),strict&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(mom,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(mom,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(mom,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(regex="^"+this.weekdays(mom,"")+"|^"+this.weekdaysShort(mom,"")+"|^"+this.weekdaysMin(mom,""),this._weekdaysParse[i]=new RegExp(regex.replace(".",""),"i")),strict&&"dddd"===format&&this._fullWeekdaysParse[i].test(weekdayName))return i;if(strict&&"ddd"===format&&this._shortWeekdaysParse[i].test(weekdayName))return i;if(strict&&"dd"===format&&this._minWeekdaysParse[i].test(weekdayName))return i;if(!strict&&this._weekdaysParse[i].test(weekdayName))return i}}function getSetDayOfWeek(input){if(!this.isValid())return null!=input?this:NaN;var day=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=input?(input=parseWeekday(input,this.localeData()),this.add(input-day,"d")):day}function getSetLocaleDayOfWeek(input){if(!this.isValid())return null!=input?this:NaN;var weekday=(this.day()+7-this.localeData()._week.dow)%7;return null==input?weekday:this.add(input-weekday,"d")}function getSetISODayOfWeek(input){if(!this.isValid())return null!=input?this:NaN;if(null!=input){var weekday=parseIsoWeekday(input,this.localeData());return this.day(this.day()%7?weekday:weekday-7)}return this.day()||7}function weekdaysRegex(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysStrictRegex:this._weekdaysRegex):(hasOwnProp(this,"_weekdaysRegex")||(this._weekdaysRegex=defaultWeekdaysRegex),this._weekdaysStrictRegex&&isStrict?this._weekdaysStrictRegex:this._weekdaysRegex)}function weekdaysShortRegex(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(hasOwnProp(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=defaultWeekdaysShortRegex),this._weekdaysShortStrictRegex&&isStrict?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function weekdaysMinRegex(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(hasOwnProp(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=defaultWeekdaysMinRegex),this._weekdaysMinStrictRegex&&isStrict?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function computeWeekdaysParse(){function cmpLenRev(a,b){return b.length-a.length}var i,mom,minp,shortp,longp,minPieces=[],shortPieces=[],longPieces=[],mixedPieces=[];for(i=0;i<7;i++)mom=createUTC([2e3,1]).day(i),minp=regexEscape(this.weekdaysMin(mom,"")),shortp=regexEscape(this.weekdaysShort(mom,"")),longp=regexEscape(this.weekdays(mom,"")),minPieces.push(minp),shortPieces.push(shortp),longPieces.push(longp),mixedPieces.push(minp),mixedPieces.push(shortp),mixedPieces.push(longp);minPieces.sort(cmpLenRev),shortPieces.sort(cmpLenRev),longPieces.sort(cmpLenRev),mixedPieces.sort(cmpLenRev),this._weekdaysRegex=new RegExp("^("+mixedPieces.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+longPieces.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+shortPieces.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+minPieces.join("|")+")","i")}function hFormat(){return this.hours()%12||12}function kFormat(){return this.hours()||24}function meridiem(token,lowercase){addFormatToken(token,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),lowercase)}))}function matchMeridiem(isStrict,locale){return locale._meridiemParse}function localeIsPM(input){return"p"===(input+"").toLowerCase().charAt(0)}addFormatToken("H",["HH",2],0,"hour"),addFormatToken("h",["hh",2],0,hFormat),addFormatToken("k",["kk",2],0,kFormat),addFormatToken("hmm",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)})),addFormatToken("hmmss",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)})),addFormatToken("Hmm",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)})),addFormatToken("Hmmss",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)})),meridiem("a",!0),meridiem("A",!1),addUnitAlias("hour","h"),addUnitPriority("hour",13),addRegexToken("a",matchMeridiem),addRegexToken("A",matchMeridiem),addRegexToken("H",match1to2),addRegexToken("h",match1to2),addRegexToken("k",match1to2),addRegexToken("HH",match1to2,match2),addRegexToken("hh",match1to2,match2),addRegexToken("kk",match1to2,match2),addRegexToken("hmm",match3to4),addRegexToken("hmmss",match5to6),addRegexToken("Hmm",match3to4),addRegexToken("Hmmss",match5to6),addParseToken(["H","HH"],HOUR),addParseToken(["k","kk"],(function(input,array,config){var kInput=toInt(input);array[HOUR]=24===kInput?0:kInput})),addParseToken(["a","A"],(function(input,array,config){config._isPm=config._locale.isPM(input),config._meridiem=input})),addParseToken(["h","hh"],(function(input,array,config){array[HOUR]=toInt(input),getParsingFlags(config).bigHour=!0})),addParseToken("hmm",(function(input,array,config){var pos=input.length-2;array[HOUR]=toInt(input.substr(0,pos)),array[MINUTE]=toInt(input.substr(pos)),getParsingFlags(config).bigHour=!0})),addParseToken("hmmss",(function(input,array,config){var pos1=input.length-4,pos2=input.length-2;array[HOUR]=toInt(input.substr(0,pos1)),array[MINUTE]=toInt(input.substr(pos1,2)),array[SECOND]=toInt(input.substr(pos2)),getParsingFlags(config).bigHour=!0})),addParseToken("Hmm",(function(input,array,config){var pos=input.length-2;array[HOUR]=toInt(input.substr(0,pos)),array[MINUTE]=toInt(input.substr(pos))})),addParseToken("Hmmss",(function(input,array,config){var pos1=input.length-4,pos2=input.length-2;array[HOUR]=toInt(input.substr(0,pos1)),array[MINUTE]=toInt(input.substr(pos1,2)),array[SECOND]=toInt(input.substr(pos2))}));var defaultLocaleMeridiemParse=/[ap]\.?m?\.?/i,getSetHour=makeGetSet("Hours",!0);function localeMeridiem(hours,minutes,isLower){return hours>11?isLower?"pm":"PM":isLower?"am":"AM"}var globalLocale,baseConfig={calendar:defaultCalendar,longDateFormat:defaultLongDateFormat,invalidDate:defaultInvalidDate,ordinal:defaultOrdinal,dayOfMonthOrdinalParse:defaultDayOfMonthOrdinalParse,relativeTime:defaultRelativeTime,months:defaultLocaleMonths,monthsShort:defaultLocaleMonthsShort,week:defaultLocaleWeek,weekdays:defaultLocaleWeekdays,weekdaysMin:defaultLocaleWeekdaysMin,weekdaysShort:defaultLocaleWeekdaysShort,meridiemParse:defaultLocaleMeridiemParse},locales={},localeFamilies={};function commonPrefix(arr1,arr2){var i,minl=Math.min(arr1.length,arr2.length);for(i=0;i<minl;i+=1)if(arr1[i]!==arr2[i])return i;return minl}function normalizeLocale(key){return key?key.toLowerCase().replace("_","-"):key}function chooseLocale(names){for(var j,next,locale,split,i=0;i<names.length;){for(j=(split=normalizeLocale(names[i]).split("-")).length,next=(next=normalizeLocale(names[i+1]))?next.split("-"):null;j>0;){if(locale=loadLocale(split.slice(0,j).join("-")))return locale;if(next&&next.length>=j&&commonPrefix(split,next)>=j-1)break;j--}i++}return globalLocale}function isLocaleNameSane(name){return null!=name.match("^[^/\\\\]*$")}function loadLocale(name){var oldLocale=null;if(void 0===locales[name]&&module&&module.exports&&isLocaleNameSane(name))try{oldLocale=globalLocale._abbr,__webpack_require__("./node_modules/moment/locale sync recursive ^\\.\\/.*$")("./"+name),getSetGlobalLocale(oldLocale)}catch(e){locales[name]=null}return locales[name]}function getSetGlobalLocale(key,values){var data;return key&&((data=isUndefined(values)?getLocale(key):defineLocale(key,values))?globalLocale=data:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+key+" not found. Did you forget to load it?")),globalLocale._abbr}function defineLocale(name,config){if(null!==config){var locale,parentConfig=baseConfig;if(config.abbr=name,null!=locales[name])deprecateSimple("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),parentConfig=locales[name]._config;else if(null!=config.parentLocale)if(null!=locales[config.parentLocale])parentConfig=locales[config.parentLocale]._config;else{if(null==(locale=loadLocale(config.parentLocale)))return localeFamilies[config.parentLocale]||(localeFamilies[config.parentLocale]=[]),localeFamilies[config.parentLocale].push({name,config}),null;parentConfig=locale._config}return locales[name]=new Locale(mergeConfigs(parentConfig,config)),localeFamilies[name]&&localeFamilies[name].forEach((function(x){defineLocale(x.name,x.config)})),getSetGlobalLocale(name),locales[name]}return delete locales[name],null}function updateLocale(name,config){if(null!=config){var locale,tmpLocale,parentConfig=baseConfig;null!=locales[name]&&null!=locales[name].parentLocale?locales[name].set(mergeConfigs(locales[name]._config,config)):(null!=(tmpLocale=loadLocale(name))&&(parentConfig=tmpLocale._config),config=mergeConfigs(parentConfig,config),null==tmpLocale&&(config.abbr=name),(locale=new Locale(config)).parentLocale=locales[name],locales[name]=locale),getSetGlobalLocale(name)}else null!=locales[name]&&(null!=locales[name].parentLocale?(locales[name]=locales[name].parentLocale,name===getSetGlobalLocale()&&getSetGlobalLocale(name)):null!=locales[name]&&delete locales[name]);return locales[name]}function getLocale(key){var locale;if(key&&key._locale&&key._locale._abbr&&(key=key._locale._abbr),!key)return globalLocale;if(!isArray(key)){if(locale=loadLocale(key))return locale;key=[key]}return chooseLocale(key)}function listLocales(){return keys(locales)}function checkOverflow(m){var overflow,a=m._a;return a&&-2===getParsingFlags(m).overflow&&(overflow=a[MONTH]<0||a[MONTH]>11?MONTH:a[DATE]<1||a[DATE]>daysInMonth(a[YEAR],a[MONTH])?DATE:a[HOUR]<0||a[HOUR]>24||24===a[HOUR]&&(0!==a[MINUTE]||0!==a[SECOND]||0!==a[MILLISECOND])?HOUR:a[MINUTE]<0||a[MINUTE]>59?MINUTE:a[SECOND]<0||a[SECOND]>59?SECOND:a[MILLISECOND]<0||a[MILLISECOND]>999?MILLISECOND:-1,getParsingFlags(m)._overflowDayOfYear&&(overflow<YEAR||overflow>DATE)&&(overflow=DATE),getParsingFlags(m)._overflowWeeks&&-1===overflow&&(overflow=WEEK),getParsingFlags(m)._overflowWeekday&&-1===overflow&&(overflow=WEEKDAY),getParsingFlags(m).overflow=overflow),m}var extendedIsoRegex=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,basicIsoRegex=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tzRegex=/Z|[+-]\d\d(?::?\d\d)?/,isoDates=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],isoTimes=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],aspNetJsonRegex=/^\/?Date\((-?\d+)/i,rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,obsOffsets={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function configFromISO(config){var i,l,allowTime,dateFormat,timeFormat,tzFormat,string=config._i,match=extendedIsoRegex.exec(string)||basicIsoRegex.exec(string),isoDatesLen=isoDates.length,isoTimesLen=isoTimes.length;if(match){for(getParsingFlags(config).iso=!0,i=0,l=isoDatesLen;i<l;i++)if(isoDates[i][1].exec(match[1])){dateFormat=isoDates[i][0],allowTime=!1!==isoDates[i][2];break}if(null==dateFormat)return void(config._isValid=!1);if(match[3]){for(i=0,l=isoTimesLen;i<l;i++)if(isoTimes[i][1].exec(match[3])){timeFormat=(match[2]||" ")+isoTimes[i][0];break}if(null==timeFormat)return void(config._isValid=!1)}if(!allowTime&&null!=timeFormat)return void(config._isValid=!1);if(match[4]){if(!tzRegex.exec(match[4]))return void(config._isValid=!1);tzFormat="Z"}config._f=dateFormat+(timeFormat||"")+(tzFormat||""),configFromStringAndFormat(config)}else config._isValid=!1}function extractFromRFC2822Strings(yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr){var result=[untruncateYear(yearStr),defaultLocaleMonthsShort.indexOf(monthStr),parseInt(dayStr,10),parseInt(hourStr,10),parseInt(minuteStr,10)];return secondStr&&result.push(parseInt(secondStr,10)),result}function untruncateYear(yearStr){var year=parseInt(yearStr,10);return year<=49?2e3+year:year<=999?1900+year:year}function preprocessRFC2822(s){return s.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function checkWeekday(weekdayStr,parsedInput,config){return!weekdayStr||defaultLocaleWeekdaysShort.indexOf(weekdayStr)===new Date(parsedInput[0],parsedInput[1],parsedInput[2]).getDay()||(getParsingFlags(config).weekdayMismatch=!0,config._isValid=!1,!1)}function calculateOffset(obsOffset,militaryOffset,numOffset){if(obsOffset)return obsOffsets[obsOffset];if(militaryOffset)return 0;var hm=parseInt(numOffset,10),m=hm%100;return(hm-m)/100*60+m}function configFromRFC2822(config){var parsedArray,match=rfc2822.exec(preprocessRFC2822(config._i));if(match){if(parsedArray=extractFromRFC2822Strings(match[4],match[3],match[2],match[5],match[6],match[7]),!checkWeekday(match[1],parsedArray,config))return;config._a=parsedArray,config._tzm=calculateOffset(match[8],match[9],match[10]),config._d=createUTCDate.apply(null,config._a),config._d.setUTCMinutes(config._d.getUTCMinutes()-config._tzm),getParsingFlags(config).rfc2822=!0}else config._isValid=!1}function configFromString(config){var matched=aspNetJsonRegex.exec(config._i);null===matched?(configFromISO(config),!1===config._isValid&&(delete config._isValid,configFromRFC2822(config),!1===config._isValid&&(delete config._isValid,config._strict?config._isValid=!1:hooks.createFromInputFallback(config)))):config._d=new Date(+matched[1])}function defaults(a,b,c){return null!=a?a:null!=b?b:c}function currentDateArray(config){var nowValue=new Date(hooks.now());return config._useUTC?[nowValue.getUTCFullYear(),nowValue.getUTCMonth(),nowValue.getUTCDate()]:[nowValue.getFullYear(),nowValue.getMonth(),nowValue.getDate()]}function configFromArray(config){var i,date,currentDate,expectedWeekday,yearToUse,input=[];if(!config._d){for(currentDate=currentDateArray(config),config._w&&null==config._a[DATE]&&null==config._a[MONTH]&&dayOfYearFromWeekInfo(config),null!=config._dayOfYear&&(yearToUse=defaults(config._a[YEAR],currentDate[YEAR]),(config._dayOfYear>daysInYear(yearToUse)||0===config._dayOfYear)&&(getParsingFlags(config)._overflowDayOfYear=!0),date=createUTCDate(yearToUse,0,config._dayOfYear),config._a[MONTH]=date.getUTCMonth(),config._a[DATE]=date.getUTCDate()),i=0;i<3&&null==config._a[i];++i)config._a[i]=input[i]=currentDate[i];for(;i<7;i++)config._a[i]=input[i]=null==config._a[i]?2===i?1:0:config._a[i];24===config._a[HOUR]&&0===config._a[MINUTE]&&0===config._a[SECOND]&&0===config._a[MILLISECOND]&&(config._nextDay=!0,config._a[HOUR]=0),config._d=(config._useUTC?createUTCDate:createDate).apply(null,input),expectedWeekday=config._useUTC?config._d.getUTCDay():config._d.getDay(),null!=config._tzm&&config._d.setUTCMinutes(config._d.getUTCMinutes()-config._tzm),config._nextDay&&(config._a[HOUR]=24),config._w&&void 0!==config._w.d&&config._w.d!==expectedWeekday&&(getParsingFlags(config).weekdayMismatch=!0)}}function dayOfYearFromWeekInfo(config){var w,weekYear,week,weekday,dow,doy,temp,weekdayOverflow,curWeek;null!=(w=config._w).GG||null!=w.W||null!=w.E?(dow=1,doy=4,weekYear=defaults(w.GG,config._a[YEAR],weekOfYear(createLocal(),1,4).year),week=defaults(w.W,1),((weekday=defaults(w.E,1))<1||weekday>7)&&(weekdayOverflow=!0)):(dow=config._locale._week.dow,doy=config._locale._week.doy,curWeek=weekOfYear(createLocal(),dow,doy),weekYear=defaults(w.gg,config._a[YEAR],curWeek.year),week=defaults(w.w,curWeek.week),null!=w.d?((weekday=w.d)<0||weekday>6)&&(weekdayOverflow=!0):null!=w.e?(weekday=w.e+dow,(w.e<0||w.e>6)&&(weekdayOverflow=!0)):weekday=dow),week<1||week>weeksInYear(weekYear,dow,doy)?getParsingFlags(config)._overflowWeeks=!0:null!=weekdayOverflow?getParsingFlags(config)._overflowWeekday=!0:(temp=dayOfYearFromWeeks(weekYear,week,weekday,dow,doy),config._a[YEAR]=temp.year,config._dayOfYear=temp.dayOfYear)}function configFromStringAndFormat(config){if(config._f!==hooks.ISO_8601)if(config._f!==hooks.RFC_2822){config._a=[],getParsingFlags(config).empty=!0;var i,parsedInput,tokens,token,skipped,era,tokenLen,string=""+config._i,stringLength=string.length,totalParsedInputLength=0;for(tokenLen=(tokens=expandFormat(config._f,config._locale).match(formattingTokens)||[]).length,i=0;i<tokenLen;i++)token=tokens[i],(parsedInput=(string.match(getParseRegexForToken(token,config))||[])[0])&&((skipped=string.substr(0,string.indexOf(parsedInput))).length>0&&getParsingFlags(config).unusedInput.push(skipped),string=string.slice(string.indexOf(parsedInput)+parsedInput.length),totalParsedInputLength+=parsedInput.length),formatTokenFunctions[token]?(parsedInput?getParsingFlags(config).empty=!1:getParsingFlags(config).unusedTokens.push(token),addTimeToArrayFromToken(token,parsedInput,config)):config._strict&&!parsedInput&&getParsingFlags(config).unusedTokens.push(token);getParsingFlags(config).charsLeftOver=stringLength-totalParsedInputLength,string.length>0&&getParsingFlags(config).unusedInput.push(string),config._a[HOUR]<=12&&!0===getParsingFlags(config).bigHour&&config._a[HOUR]>0&&(getParsingFlags(config).bigHour=void 0),getParsingFlags(config).parsedDateParts=config._a.slice(0),getParsingFlags(config).meridiem=config._meridiem,config._a[HOUR]=meridiemFixWrap(config._locale,config._a[HOUR],config._meridiem),null!==(era=getParsingFlags(config).era)&&(config._a[YEAR]=config._locale.erasConvertYear(era,config._a[YEAR])),configFromArray(config),checkOverflow(config)}else configFromRFC2822(config);else configFromISO(config)}function meridiemFixWrap(locale,hour,meridiem){var isPm;return null==meridiem?hour:null!=locale.meridiemHour?locale.meridiemHour(hour,meridiem):null!=locale.isPM?((isPm=locale.isPM(meridiem))&&hour<12&&(hour+=12),isPm||12!==hour||(hour=0),hour):hour}function configFromStringAndArray(config){var tempConfig,bestMoment,scoreToBeat,i,currentScore,validFormatFound,bestFormatIsValid=!1,configfLen=config._f.length;if(0===configfLen)return getParsingFlags(config).invalidFormat=!0,void(config._d=new Date(NaN));for(i=0;i<configfLen;i++)currentScore=0,validFormatFound=!1,tempConfig=copyConfig({},config),null!=config._useUTC&&(tempConfig._useUTC=config._useUTC),tempConfig._f=config._f[i],configFromStringAndFormat(tempConfig),isValid(tempConfig)&&(validFormatFound=!0),currentScore+=getParsingFlags(tempConfig).charsLeftOver,currentScore+=10*getParsingFlags(tempConfig).unusedTokens.length,getParsingFlags(tempConfig).score=currentScore,bestFormatIsValid?currentScore<scoreToBeat&&(scoreToBeat=currentScore,bestMoment=tempConfig):(null==scoreToBeat||currentScore<scoreToBeat||validFormatFound)&&(scoreToBeat=currentScore,bestMoment=tempConfig,validFormatFound&&(bestFormatIsValid=!0));extend(config,bestMoment||tempConfig)}function configFromObject(config){if(!config._d){var i=normalizeObjectUnits(config._i),dayOrDate=void 0===i.day?i.date:i.day;config._a=map([i.year,i.month,dayOrDate,i.hour,i.minute,i.second,i.millisecond],(function(obj){return obj&&parseInt(obj,10)})),configFromArray(config)}}function createFromConfig(config){var res=new Moment(checkOverflow(prepareConfig(config)));return res._nextDay&&(res.add(1,"d"),res._nextDay=void 0),res}function prepareConfig(config){var input=config._i,format=config._f;return config._locale=config._locale||getLocale(config._l),null===input||void 0===format&&""===input?createInvalid({nullInput:!0}):("string"==typeof input&&(config._i=input=config._locale.preparse(input)),isMoment(input)?new Moment(checkOverflow(input)):(isDate(input)?config._d=input:isArray(format)?configFromStringAndArray(config):format?configFromStringAndFormat(config):configFromInput(config),isValid(config)||(config._d=null),config))}function configFromInput(config){var input=config._i;isUndefined(input)?config._d=new Date(hooks.now()):isDate(input)?config._d=new Date(input.valueOf()):"string"==typeof input?configFromString(config):isArray(input)?(config._a=map(input.slice(0),(function(obj){return parseInt(obj,10)})),configFromArray(config)):isObject(input)?configFromObject(config):isNumber(input)?config._d=new Date(input):hooks.createFromInputFallback(config)}function createLocalOrUTC(input,format,locale,strict,isUTC){var c={};return!0!==format&&!1!==format||(strict=format,format=void 0),!0!==locale&&!1!==locale||(strict=locale,locale=void 0),(isObject(input)&&isObjectEmpty(input)||isArray(input)&&0===input.length)&&(input=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=isUTC,c._l=locale,c._i=input,c._f=format,c._strict=strict,createFromConfig(c)}function createLocal(input,format,locale,strict){return createLocalOrUTC(input,format,locale,strict,!1)}hooks.createFromInputFallback=deprecate("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(config){config._d=new Date(config._i+(config._useUTC?" UTC":""))})),hooks.ISO_8601=function(){},hooks.RFC_2822=function(){};var prototypeMin=deprecate("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var other=createLocal.apply(null,arguments);return this.isValid()&&other.isValid()?other<this?this:other:createInvalid()})),prototypeMax=deprecate("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var other=createLocal.apply(null,arguments);return this.isValid()&&other.isValid()?other>this?this:other:createInvalid()}));function pickBy(fn,moments){var res,i;if(1===moments.length&&isArray(moments[0])&&(moments=moments[0]),!moments.length)return createLocal();for(res=moments[0],i=1;i<moments.length;++i)moments[i].isValid()&&!moments[i][fn](res)||(res=moments[i]);return res}function min(){return pickBy("isBefore",[].slice.call(arguments,0))}function max(){return pickBy("isAfter",[].slice.call(arguments,0))}var now=function(){return Date.now?Date.now():+new Date},ordering=["year","quarter","month","week","day","hour","minute","second","millisecond"];function isDurationValid(m){var key,i,unitHasDecimal=!1,orderLen=ordering.length;for(key in m)if(hasOwnProp(m,key)&&(-1===indexOf.call(ordering,key)||null!=m[key]&&isNaN(m[key])))return!1;for(i=0;i<orderLen;++i)if(m[ordering[i]]){if(unitHasDecimal)return!1;parseFloat(m[ordering[i]])!==toInt(m[ordering[i]])&&(unitHasDecimal=!0)}return!0}function isValid$1(){return this._isValid}function createInvalid$1(){return createDuration(NaN)}function Duration(duration){var normalizedInput=normalizeObjectUnits(duration),years=normalizedInput.year||0,quarters=normalizedInput.quarter||0,months=normalizedInput.month||0,weeks=normalizedInput.week||normalizedInput.isoWeek||0,days=normalizedInput.day||0,hours=normalizedInput.hour||0,minutes=normalizedInput.minute||0,seconds=normalizedInput.second||0,milliseconds=normalizedInput.millisecond||0;this._isValid=isDurationValid(normalizedInput),this._milliseconds=+milliseconds+1e3*seconds+6e4*minutes+1e3*hours*60*60,this._days=+days+7*weeks,this._months=+months+3*quarters+12*years,this._data={},this._locale=getLocale(),this._bubble()}function isDuration(obj){return obj instanceof Duration}function absRound(number){return number<0?-1*Math.round(-1*number):Math.round(number)}function compareArrays(array1,array2,dontConvert){var i,len=Math.min(array1.length,array2.length),lengthDiff=Math.abs(array1.length-array2.length),diffs=0;for(i=0;i<len;i++)(dontConvert&&array1[i]!==array2[i]||!dontConvert&&toInt(array1[i])!==toInt(array2[i]))&&diffs++;return diffs+lengthDiff}function offset(token,separator){addFormatToken(token,0,0,(function(){var offset=this.utcOffset(),sign="+";return offset<0&&(offset=-offset,sign="-"),sign+zeroFill(~~(offset/60),2)+separator+zeroFill(~~offset%60,2)}))}offset("Z",":"),offset("ZZ",""),addRegexToken("Z",matchShortOffset),addRegexToken("ZZ",matchShortOffset),addParseToken(["Z","ZZ"],(function(input,array,config){config._useUTC=!0,config._tzm=offsetFromString(matchShortOffset,input)}));var chunkOffset=/([\+\-]|\d\d)/gi;function offsetFromString(matcher,string){var parts,minutes,matches=(string||"").match(matcher);return null===matches?null:0===(minutes=60*(parts=((matches[matches.length-1]||[])+"").match(chunkOffset)||["-",0,0])[1]+toInt(parts[2]))?0:"+"===parts[0]?minutes:-minutes}function cloneWithOffset(input,model){var res,diff;return model._isUTC?(res=model.clone(),diff=(isMoment(input)||isDate(input)?input.valueOf():createLocal(input).valueOf())-res.valueOf(),res._d.setTime(res._d.valueOf()+diff),hooks.updateOffset(res,!1),res):createLocal(input).local()}function getDateOffset(m){return-Math.round(m._d.getTimezoneOffset())}function getSetOffset(input,keepLocalTime,keepMinutes){var localAdjust,offset=this._offset||0;if(!this.isValid())return null!=input?this:NaN;if(null!=input){if("string"==typeof input){if(null===(input=offsetFromString(matchShortOffset,input)))return this}else Math.abs(input)<16&&!keepMinutes&&(input*=60);return!this._isUTC&&keepLocalTime&&(localAdjust=getDateOffset(this)),this._offset=input,this._isUTC=!0,null!=localAdjust&&this.add(localAdjust,"m"),offset!==input&&(!keepLocalTime||this._changeInProgress?addSubtract(this,createDuration(input-offset,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,hooks.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?offset:getDateOffset(this)}function getSetZone(input,keepLocalTime){return null!=input?("string"!=typeof input&&(input=-input),this.utcOffset(input,keepLocalTime),this):-this.utcOffset()}function setOffsetToUTC(keepLocalTime){return this.utcOffset(0,keepLocalTime)}function setOffsetToLocal(keepLocalTime){return this._isUTC&&(this.utcOffset(0,keepLocalTime),this._isUTC=!1,keepLocalTime&&this.subtract(getDateOffset(this),"m")),this}function setOffsetToParsedOffset(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var tZone=offsetFromString(matchOffset,this._i);null!=tZone?this.utcOffset(tZone):this.utcOffset(0,!0)}return this}function hasAlignedHourOffset(input){return!!this.isValid()&&(input=input?createLocal(input).utcOffset():0,(this.utcOffset()-input)%60==0)}function isDaylightSavingTime(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function isDaylightSavingTimeShifted(){if(!isUndefined(this._isDSTShifted))return this._isDSTShifted;var other,c={};return copyConfig(c,this),(c=prepareConfig(c))._a?(other=c._isUTC?createUTC(c._a):createLocal(c._a),this._isDSTShifted=this.isValid()&&compareArrays(c._a,other.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function isLocal(){return!!this.isValid()&&!this._isUTC}function isUtcOffset(){return!!this.isValid()&&this._isUTC}function isUtc(){return!!this.isValid()&&this._isUTC&&0===this._offset}hooks.updateOffset=function(){};var aspNetRegex=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,isoRegex=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(input,key){var sign,ret,diffRes,duration=input,match=null;return isDuration(input)?duration={ms:input._milliseconds,d:input._days,M:input._months}:isNumber(input)||!isNaN(+input)?(duration={},key?duration[key]=+input:duration.milliseconds=+input):(match=aspNetRegex.exec(input))?(sign="-"===match[1]?-1:1,duration={y:0,d:toInt(match[DATE])*sign,h:toInt(match[HOUR])*sign,m:toInt(match[MINUTE])*sign,s:toInt(match[SECOND])*sign,ms:toInt(absRound(1e3*match[MILLISECOND]))*sign}):(match=isoRegex.exec(input))?(sign="-"===match[1]?-1:1,duration={y:parseIso(match[2],sign),M:parseIso(match[3],sign),w:parseIso(match[4],sign),d:parseIso(match[5],sign),h:parseIso(match[6],sign),m:parseIso(match[7],sign),s:parseIso(match[8],sign)}):null==duration?duration={}:"object"==typeof duration&&("from"in duration||"to"in duration)&&(diffRes=momentsDifference(createLocal(duration.from),createLocal(duration.to)),(duration={}).ms=diffRes.milliseconds,duration.M=diffRes.months),ret=new Duration(duration),isDuration(input)&&hasOwnProp(input,"_locale")&&(ret._locale=input._locale),isDuration(input)&&hasOwnProp(input,"_isValid")&&(ret._isValid=input._isValid),ret}function parseIso(inp,sign){var res=inp&&parseFloat(inp.replace(",","."));return(isNaN(res)?0:res)*sign}function positiveMomentsDifference(base,other){var res={};return res.months=other.month()-base.month()+12*(other.year()-base.year()),base.clone().add(res.months,"M").isAfter(other)&&--res.months,res.milliseconds=+other-+base.clone().add(res.months,"M"),res}function momentsDifference(base,other){var res;return base.isValid()&&other.isValid()?(other=cloneWithOffset(other,base),base.isBefore(other)?res=positiveMomentsDifference(base,other):((res=positiveMomentsDifference(other,base)).milliseconds=-res.milliseconds,res.months=-res.months),res):{milliseconds:0,months:0}}function createAdder(direction,name){return function(val,period){var tmp;return null===period||isNaN(+period)||(deprecateSimple(name,"moment()."+name+"(period, number) is deprecated. Please use moment()."+name+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),tmp=val,val=period,period=tmp),addSubtract(this,createDuration(val,period),direction),this}}function addSubtract(mom,duration,isAdding,updateOffset){var milliseconds=duration._milliseconds,days=absRound(duration._days),months=absRound(duration._months);mom.isValid()&&(updateOffset=null==updateOffset||updateOffset,months&&setMonth(mom,get(mom,"Month")+months*isAdding),days&&set$1(mom,"Date",get(mom,"Date")+days*isAdding),milliseconds&&mom._d.setTime(mom._d.valueOf()+milliseconds*isAdding),updateOffset&&hooks.updateOffset(mom,days||months))}createDuration.fn=Duration.prototype,createDuration.invalid=createInvalid$1;var add=createAdder(1,"add"),subtract=createAdder(-1,"subtract");function isString(input){return"string"==typeof input||input instanceof String}function isMomentInput(input){return isMoment(input)||isDate(input)||isString(input)||isNumber(input)||isNumberOrStringArray(input)||isMomentInputObject(input)||null==input}function isMomentInputObject(input){var i,property,objectTest=isObject(input)&&!isObjectEmpty(input),propertyTest=!1,properties=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],propertyLen=properties.length;for(i=0;i<propertyLen;i+=1)property=properties[i],propertyTest=propertyTest||hasOwnProp(input,property);return objectTest&&propertyTest}function isNumberOrStringArray(input){var arrayTest=isArray(input),dataTypeTest=!1;return arrayTest&&(dataTypeTest=0===input.filter((function(item){return!isNumber(item)&&isString(input)})).length),arrayTest&&dataTypeTest}function isCalendarSpec(input){var i,property,objectTest=isObject(input)&&!isObjectEmpty(input),propertyTest=!1,properties=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(i=0;i<properties.length;i+=1)property=properties[i],propertyTest=propertyTest||hasOwnProp(input,property);return objectTest&&propertyTest}function getCalendarFormat(myMoment,now){var diff=myMoment.diff(now,"days",!0);return diff<-6?"sameElse":diff<-1?"lastWeek":diff<0?"lastDay":diff<1?"sameDay":diff<2?"nextDay":diff<7?"nextWeek":"sameElse"}function calendar$1(time,formats){1===arguments.length&&(arguments[0]?isMomentInput(arguments[0])?(time=arguments[0],formats=void 0):isCalendarSpec(arguments[0])&&(formats=arguments[0],time=void 0):(time=void 0,formats=void 0));var now=time||createLocal(),sod=cloneWithOffset(now,this).startOf("day"),format=hooks.calendarFormat(this,sod)||"sameElse",output=formats&&(isFunction(formats[format])?formats[format].call(this,now):formats[format]);return this.format(output||this.localeData().calendar(format,this,createLocal(now)))}function clone(){return new Moment(this)}function isAfter(input,units){var localInput=isMoment(input)?input:createLocal(input);return!(!this.isValid()||!localInput.isValid())&&("millisecond"===(units=normalizeUnits(units)||"millisecond")?this.valueOf()>localInput.valueOf():localInput.valueOf()<this.clone().startOf(units).valueOf())}function isBefore(input,units){var localInput=isMoment(input)?input:createLocal(input);return!(!this.isValid()||!localInput.isValid())&&("millisecond"===(units=normalizeUnits(units)||"millisecond")?this.valueOf()<localInput.valueOf():this.clone().endOf(units).valueOf()<localInput.valueOf())}function isBetween(from,to,units,inclusivity){var localFrom=isMoment(from)?from:createLocal(from),localTo=isMoment(to)?to:createLocal(to);return!!(this.isValid()&&localFrom.isValid()&&localTo.isValid())&&("("===(inclusivity=inclusivity||"()")[0]?this.isAfter(localFrom,units):!this.isBefore(localFrom,units))&&(")"===inclusivity[1]?this.isBefore(localTo,units):!this.isAfter(localTo,units))}function isSame(input,units){var inputMs,localInput=isMoment(input)?input:createLocal(input);return!(!this.isValid()||!localInput.isValid())&&("millisecond"===(units=normalizeUnits(units)||"millisecond")?this.valueOf()===localInput.valueOf():(inputMs=localInput.valueOf(),this.clone().startOf(units).valueOf()<=inputMs&&inputMs<=this.clone().endOf(units).valueOf()))}function isSameOrAfter(input,units){return this.isSame(input,units)||this.isAfter(input,units)}function isSameOrBefore(input,units){return this.isSame(input,units)||this.isBefore(input,units)}function diff(input,units,asFloat){var that,zoneDelta,output;if(!this.isValid())return NaN;if(!(that=cloneWithOffset(input,this)).isValid())return NaN;switch(zoneDelta=6e4*(that.utcOffset()-this.utcOffset()),units=normalizeUnits(units)){case"year":output=monthDiff(this,that)/12;break;case"month":output=monthDiff(this,that);break;case"quarter":output=monthDiff(this,that)/3;break;case"second":output=(this-that)/1e3;break;case"minute":output=(this-that)/6e4;break;case"hour":output=(this-that)/36e5;break;case"day":output=(this-that-zoneDelta)/864e5;break;case"week":output=(this-that-zoneDelta)/6048e5;break;default:output=this-that}return asFloat?output:absFloor(output)}function monthDiff(a,b){if(a.date()<b.date())return-monthDiff(b,a);var wholeMonthDiff=12*(b.year()-a.year())+(b.month()-a.month()),anchor=a.clone().add(wholeMonthDiff,"months");return-(wholeMonthDiff+(b-anchor<0?(b-anchor)/(anchor-a.clone().add(wholeMonthDiff-1,"months")):(b-anchor)/(a.clone().add(wholeMonthDiff+1,"months")-anchor)))||0}function toString(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function toISOString(keepOffset){if(!this.isValid())return null;var utc=!0!==keepOffset,m=utc?this.clone().utc():this;return m.year()<0||m.year()>9999?formatMoment(m,utc?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):isFunction(Date.prototype.toISOString)?utc?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",formatMoment(m,"Z")):formatMoment(m,utc?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function inspect(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var prefix,year,datetime,suffix,func="moment",zone="";return this.isLocal()||(func=0===this.utcOffset()?"moment.utc":"moment.parseZone",zone="Z"),prefix="["+func+'("]',year=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",datetime="-MM-DD[T]HH:mm:ss.SSS",suffix=zone+'[")]',this.format(prefix+year+datetime+suffix)}function format(inputString){inputString||(inputString=this.isUtc()?hooks.defaultFormatUtc:hooks.defaultFormat);var output=formatMoment(this,inputString);return this.localeData().postformat(output)}function from(time,withoutSuffix){return this.isValid()&&(isMoment(time)&&time.isValid()||createLocal(time).isValid())?createDuration({to:this,from:time}).locale(this.locale()).humanize(!withoutSuffix):this.localeData().invalidDate()}function fromNow(withoutSuffix){return this.from(createLocal(),withoutSuffix)}function to(time,withoutSuffix){return this.isValid()&&(isMoment(time)&&time.isValid()||createLocal(time).isValid())?createDuration({from:this,to:time}).locale(this.locale()).humanize(!withoutSuffix):this.localeData().invalidDate()}function toNow(withoutSuffix){return this.to(createLocal(),withoutSuffix)}function locale(key){var newLocaleData;return void 0===key?this._locale._abbr:(null!=(newLocaleData=getLocale(key))&&(this._locale=newLocaleData),this)}hooks.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",hooks.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lang=deprecate("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(key){return void 0===key?this.localeData():this.locale(key)}));function localeData(){return this._locale}var MS_PER_SECOND=1e3,MS_PER_MINUTE=60*MS_PER_SECOND,MS_PER_HOUR=60*MS_PER_MINUTE,MS_PER_400_YEARS=3506328*MS_PER_HOUR;function mod$1(dividend,divisor){return(dividend%divisor+divisor)%divisor}function localStartOfDate(y,m,d){return y<100&&y>=0?new Date(y+400,m,d)-MS_PER_400_YEARS:new Date(y,m,d).valueOf()}function utcStartOfDate(y,m,d){return y<100&&y>=0?Date.UTC(y+400,m,d)-MS_PER_400_YEARS:Date.UTC(y,m,d)}function startOf(units){var time,startOfDate;if(void 0===(units=normalizeUnits(units))||"millisecond"===units||!this.isValid())return this;switch(startOfDate=this._isUTC?utcStartOfDate:localStartOfDate,units){case"year":time=startOfDate(this.year(),0,1);break;case"quarter":time=startOfDate(this.year(),this.month()-this.month()%3,1);break;case"month":time=startOfDate(this.year(),this.month(),1);break;case"week":time=startOfDate(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":time=startOfDate(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":time=startOfDate(this.year(),this.month(),this.date());break;case"hour":time=this._d.valueOf(),time-=mod$1(time+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR);break;case"minute":time=this._d.valueOf(),time-=mod$1(time,MS_PER_MINUTE);break;case"second":time=this._d.valueOf(),time-=mod$1(time,MS_PER_SECOND)}return this._d.setTime(time),hooks.updateOffset(this,!0),this}function endOf(units){var time,startOfDate;if(void 0===(units=normalizeUnits(units))||"millisecond"===units||!this.isValid())return this;switch(startOfDate=this._isUTC?utcStartOfDate:localStartOfDate,units){case"year":time=startOfDate(this.year()+1,0,1)-1;break;case"quarter":time=startOfDate(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":time=startOfDate(this.year(),this.month()+1,1)-1;break;case"week":time=startOfDate(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":time=startOfDate(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":time=startOfDate(this.year(),this.month(),this.date()+1)-1;break;case"hour":time=this._d.valueOf(),time+=MS_PER_HOUR-mod$1(time+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR)-1;break;case"minute":time=this._d.valueOf(),time+=MS_PER_MINUTE-mod$1(time,MS_PER_MINUTE)-1;break;case"second":time=this._d.valueOf(),time+=MS_PER_SECOND-mod$1(time,MS_PER_SECOND)-1}return this._d.setTime(time),hooks.updateOffset(this,!0),this}function valueOf(){return this._d.valueOf()-6e4*(this._offset||0)}function unix(){return Math.floor(this.valueOf()/1e3)}function toDate(){return new Date(this.valueOf())}function toArray(){var m=this;return[m.year(),m.month(),m.date(),m.hour(),m.minute(),m.second(),m.millisecond()]}function toObject(){var m=this;return{years:m.year(),months:m.month(),date:m.date(),hours:m.hours(),minutes:m.minutes(),seconds:m.seconds(),milliseconds:m.milliseconds()}}function toJSON(){return this.isValid()?this.toISOString():null}function isValid$2(){return isValid(this)}function parsingFlags(){return extend({},getParsingFlags(this))}function invalidAt(){return getParsingFlags(this).overflow}function creationData(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function localeEras(m,format){var i,l,date,eras=this._eras||getLocale("en")._eras;for(i=0,l=eras.length;i<l;++i)switch("string"==typeof eras[i].since&&(date=hooks(eras[i].since).startOf("day"),eras[i].since=date.valueOf()),typeof eras[i].until){case"undefined":eras[i].until=1/0;break;case"string":date=hooks(eras[i].until).startOf("day").valueOf(),eras[i].until=date.valueOf()}return eras}function localeErasParse(eraName,format,strict){var i,l,name,abbr,narrow,eras=this.eras();for(eraName=eraName.toUpperCase(),i=0,l=eras.length;i<l;++i)if(name=eras[i].name.toUpperCase(),abbr=eras[i].abbr.toUpperCase(),narrow=eras[i].narrow.toUpperCase(),strict)switch(format){case"N":case"NN":case"NNN":if(abbr===eraName)return eras[i];break;case"NNNN":if(name===eraName)return eras[i];break;case"NNNNN":if(narrow===eraName)return eras[i]}else if([name,abbr,narrow].indexOf(eraName)>=0)return eras[i]}function localeErasConvertYear(era,year){var dir=era.since<=era.until?1:-1;return void 0===year?hooks(era.since).year():hooks(era.since).year()+(year-era.offset)*dir}function getEraName(){var i,l,val,eras=this.localeData().eras();for(i=0,l=eras.length;i<l;++i){if(val=this.clone().startOf("day").valueOf(),eras[i].since<=val&&val<=eras[i].until)return eras[i].name;if(eras[i].until<=val&&val<=eras[i].since)return eras[i].name}return""}function getEraNarrow(){var i,l,val,eras=this.localeData().eras();for(i=0,l=eras.length;i<l;++i){if(val=this.clone().startOf("day").valueOf(),eras[i].since<=val&&val<=eras[i].until)return eras[i].narrow;if(eras[i].until<=val&&val<=eras[i].since)return eras[i].narrow}return""}function getEraAbbr(){var i,l,val,eras=this.localeData().eras();for(i=0,l=eras.length;i<l;++i){if(val=this.clone().startOf("day").valueOf(),eras[i].since<=val&&val<=eras[i].until)return eras[i].abbr;if(eras[i].until<=val&&val<=eras[i].since)return eras[i].abbr}return""}function getEraYear(){var i,l,dir,val,eras=this.localeData().eras();for(i=0,l=eras.length;i<l;++i)if(dir=eras[i].since<=eras[i].until?1:-1,val=this.clone().startOf("day").valueOf(),eras[i].since<=val&&val<=eras[i].until||eras[i].until<=val&&val<=eras[i].since)return(this.year()-hooks(eras[i].since).year())*dir+eras[i].offset;return this.year()}function erasNameRegex(isStrict){return hasOwnProp(this,"_erasNameRegex")||computeErasParse.call(this),isStrict?this._erasNameRegex:this._erasRegex}function erasAbbrRegex(isStrict){return hasOwnProp(this,"_erasAbbrRegex")||computeErasParse.call(this),isStrict?this._erasAbbrRegex:this._erasRegex}function erasNarrowRegex(isStrict){return hasOwnProp(this,"_erasNarrowRegex")||computeErasParse.call(this),isStrict?this._erasNarrowRegex:this._erasRegex}function matchEraAbbr(isStrict,locale){return locale.erasAbbrRegex(isStrict)}function matchEraName(isStrict,locale){return locale.erasNameRegex(isStrict)}function matchEraNarrow(isStrict,locale){return locale.erasNarrowRegex(isStrict)}function matchEraYearOrdinal(isStrict,locale){return locale._eraYearOrdinalRegex||matchUnsigned}function computeErasParse(){var i,l,abbrPieces=[],namePieces=[],narrowPieces=[],mixedPieces=[],eras=this.eras();for(i=0,l=eras.length;i<l;++i)namePieces.push(regexEscape(eras[i].name)),abbrPieces.push(regexEscape(eras[i].abbr)),narrowPieces.push(regexEscape(eras[i].narrow)),mixedPieces.push(regexEscape(eras[i].name)),mixedPieces.push(regexEscape(eras[i].abbr)),mixedPieces.push(regexEscape(eras[i].narrow));this._erasRegex=new RegExp("^("+mixedPieces.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+namePieces.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+abbrPieces.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+narrowPieces.join("|")+")","i")}function addWeekYearFormatToken(token,getter){addFormatToken(0,[token,token.length],0,getter)}function getSetWeekYear(input){return getSetWeekYearHelper.call(this,input,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function getSetISOWeekYear(input){return getSetWeekYearHelper.call(this,input,this.isoWeek(),this.isoWeekday(),1,4)}function getISOWeeksInYear(){return weeksInYear(this.year(),1,4)}function getISOWeeksInISOWeekYear(){return weeksInYear(this.isoWeekYear(),1,4)}function getWeeksInYear(){var weekInfo=this.localeData()._week;return weeksInYear(this.year(),weekInfo.dow,weekInfo.doy)}function getWeeksInWeekYear(){var weekInfo=this.localeData()._week;return weeksInYear(this.weekYear(),weekInfo.dow,weekInfo.doy)}function getSetWeekYearHelper(input,week,weekday,dow,doy){var weeksTarget;return null==input?weekOfYear(this,dow,doy).year:(week>(weeksTarget=weeksInYear(input,dow,doy))&&(week=weeksTarget),setWeekAll.call(this,input,week,weekday,dow,doy))}function setWeekAll(weekYear,week,weekday,dow,doy){var dayOfYearData=dayOfYearFromWeeks(weekYear,week,weekday,dow,doy),date=createUTCDate(dayOfYearData.year,0,dayOfYearData.dayOfYear);return this.year(date.getUTCFullYear()),this.month(date.getUTCMonth()),this.date(date.getUTCDate()),this}function getSetQuarter(input){return null==input?Math.ceil((this.month()+1)/3):this.month(3*(input-1)+this.month()%3)}addFormatToken("N",0,0,"eraAbbr"),addFormatToken("NN",0,0,"eraAbbr"),addFormatToken("NNN",0,0,"eraAbbr"),addFormatToken("NNNN",0,0,"eraName"),addFormatToken("NNNNN",0,0,"eraNarrow"),addFormatToken("y",["y",1],"yo","eraYear"),addFormatToken("y",["yy",2],0,"eraYear"),addFormatToken("y",["yyy",3],0,"eraYear"),addFormatToken("y",["yyyy",4],0,"eraYear"),addRegexToken("N",matchEraAbbr),addRegexToken("NN",matchEraAbbr),addRegexToken("NNN",matchEraAbbr),addRegexToken("NNNN",matchEraName),addRegexToken("NNNNN",matchEraNarrow),addParseToken(["N","NN","NNN","NNNN","NNNNN"],(function(input,array,config,token){var era=config._locale.erasParse(input,token,config._strict);era?getParsingFlags(config).era=era:getParsingFlags(config).invalidEra=input})),addRegexToken("y",matchUnsigned),addRegexToken("yy",matchUnsigned),addRegexToken("yyy",matchUnsigned),addRegexToken("yyyy",matchUnsigned),addRegexToken("yo",matchEraYearOrdinal),addParseToken(["y","yy","yyy","yyyy"],YEAR),addParseToken(["yo"],(function(input,array,config,token){var match;config._locale._eraYearOrdinalRegex&&(match=input.match(config._locale._eraYearOrdinalRegex)),config._locale.eraYearOrdinalParse?array[YEAR]=config._locale.eraYearOrdinalParse(input,match):array[YEAR]=parseInt(input,10)})),addFormatToken(0,["gg",2],0,(function(){return this.weekYear()%100})),addFormatToken(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),addWeekYearFormatToken("gggg","weekYear"),addWeekYearFormatToken("ggggg","weekYear"),addWeekYearFormatToken("GGGG","isoWeekYear"),addWeekYearFormatToken("GGGGG","isoWeekYear"),addUnitAlias("weekYear","gg"),addUnitAlias("isoWeekYear","GG"),addUnitPriority("weekYear",1),addUnitPriority("isoWeekYear",1),addRegexToken("G",matchSigned),addRegexToken("g",matchSigned),addRegexToken("GG",match1to2,match2),addRegexToken("gg",match1to2,match2),addRegexToken("GGGG",match1to4,match4),addRegexToken("gggg",match1to4,match4),addRegexToken("GGGGG",match1to6,match6),addRegexToken("ggggg",match1to6,match6),addWeekParseToken(["gggg","ggggg","GGGG","GGGGG"],(function(input,week,config,token){week[token.substr(0,2)]=toInt(input)})),addWeekParseToken(["gg","GG"],(function(input,week,config,token){week[token]=hooks.parseTwoDigitYear(input)})),addFormatToken("Q",0,"Qo","quarter"),addUnitAlias("quarter","Q"),addUnitPriority("quarter",7),addRegexToken("Q",match1),addParseToken("Q",(function(input,array){array[MONTH]=3*(toInt(input)-1)})),addFormatToken("D",["DD",2],"Do","date"),addUnitAlias("date","D"),addUnitPriority("date",9),addRegexToken("D",match1to2),addRegexToken("DD",match1to2,match2),addRegexToken("Do",(function(isStrict,locale){return isStrict?locale._dayOfMonthOrdinalParse||locale._ordinalParse:locale._dayOfMonthOrdinalParseLenient})),addParseToken(["D","DD"],DATE),addParseToken("Do",(function(input,array){array[DATE]=toInt(input.match(match1to2)[0])}));var getSetDayOfMonth=makeGetSet("Date",!0);function getSetDayOfYear(input){var dayOfYear=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==input?dayOfYear:this.add(input-dayOfYear,"d")}addFormatToken("DDD",["DDDD",3],"DDDo","dayOfYear"),addUnitAlias("dayOfYear","DDD"),addUnitPriority("dayOfYear",4),addRegexToken("DDD",match1to3),addRegexToken("DDDD",match3),addParseToken(["DDD","DDDD"],(function(input,array,config){config._dayOfYear=toInt(input)})),addFormatToken("m",["mm",2],0,"minute"),addUnitAlias("minute","m"),addUnitPriority("minute",14),addRegexToken("m",match1to2),addRegexToken("mm",match1to2,match2),addParseToken(["m","mm"],MINUTE);var getSetMinute=makeGetSet("Minutes",!1);addFormatToken("s",["ss",2],0,"second"),addUnitAlias("second","s"),addUnitPriority("second",15),addRegexToken("s",match1to2),addRegexToken("ss",match1to2,match2),addParseToken(["s","ss"],SECOND);var token,getSetMillisecond,getSetSecond=makeGetSet("Seconds",!1);for(addFormatToken("S",0,0,(function(){return~~(this.millisecond()/100)})),addFormatToken(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),addFormatToken(0,["SSS",3],0,"millisecond"),addFormatToken(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),addFormatToken(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),addFormatToken(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),addFormatToken(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),addFormatToken(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),addFormatToken(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),addUnitAlias("millisecond","ms"),addUnitPriority("millisecond",16),addRegexToken("S",match1to3,match1),addRegexToken("SS",match1to3,match2),addRegexToken("SSS",match1to3,match3),token="SSSS";token.length<=9;token+="S")addRegexToken(token,matchUnsigned);function parseMs(input,array){array[MILLISECOND]=toInt(1e3*("0."+input))}for(token="S";token.length<=9;token+="S")addParseToken(token,parseMs);function getZoneAbbr(){return this._isUTC?"UTC":""}function getZoneName(){return this._isUTC?"Coordinated Universal Time":""}getSetMillisecond=makeGetSet("Milliseconds",!1),addFormatToken("z",0,0,"zoneAbbr"),addFormatToken("zz",0,0,"zoneName");var proto=Moment.prototype;function createUnix(input){return createLocal(1e3*input)}function createInZone(){return createLocal.apply(null,arguments).parseZone()}function preParsePostFormat(string){return string}proto.add=add,proto.calendar=calendar$1,proto.clone=clone,proto.diff=diff,proto.endOf=endOf,proto.format=format,proto.from=from,proto.fromNow=fromNow,proto.to=to,proto.toNow=toNow,proto.get=stringGet,proto.invalidAt=invalidAt,proto.isAfter=isAfter,proto.isBefore=isBefore,proto.isBetween=isBetween,proto.isSame=isSame,proto.isSameOrAfter=isSameOrAfter,proto.isSameOrBefore=isSameOrBefore,proto.isValid=isValid$2,proto.lang=lang,proto.locale=locale,proto.localeData=localeData,proto.max=prototypeMax,proto.min=prototypeMin,proto.parsingFlags=parsingFlags,proto.set=stringSet,proto.startOf=startOf,proto.subtract=subtract,proto.toArray=toArray,proto.toObject=toObject,proto.toDate=toDate,proto.toISOString=toISOString,proto.inspect=inspect,"undefined"!=typeof Symbol&&null!=Symbol.for&&(proto[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),proto.toJSON=toJSON,proto.toString=toString,proto.unix=unix,proto.valueOf=valueOf,proto.creationData=creationData,proto.eraName=getEraName,proto.eraNarrow=getEraNarrow,proto.eraAbbr=getEraAbbr,proto.eraYear=getEraYear,proto.year=getSetYear,proto.isLeapYear=getIsLeapYear,proto.weekYear=getSetWeekYear,proto.isoWeekYear=getSetISOWeekYear,proto.quarter=proto.quarters=getSetQuarter,proto.month=getSetMonth,proto.daysInMonth=getDaysInMonth,proto.week=proto.weeks=getSetWeek,proto.isoWeek=proto.isoWeeks=getSetISOWeek,proto.weeksInYear=getWeeksInYear,proto.weeksInWeekYear=getWeeksInWeekYear,proto.isoWeeksInYear=getISOWeeksInYear,proto.isoWeeksInISOWeekYear=getISOWeeksInISOWeekYear,proto.date=getSetDayOfMonth,proto.day=proto.days=getSetDayOfWeek,proto.weekday=getSetLocaleDayOfWeek,proto.isoWeekday=getSetISODayOfWeek,proto.dayOfYear=getSetDayOfYear,proto.hour=proto.hours=getSetHour,proto.minute=proto.minutes=getSetMinute,proto.second=proto.seconds=getSetSecond,proto.millisecond=proto.milliseconds=getSetMillisecond,proto.utcOffset=getSetOffset,proto.utc=setOffsetToUTC,proto.local=setOffsetToLocal,proto.parseZone=setOffsetToParsedOffset,proto.hasAlignedHourOffset=hasAlignedHourOffset,proto.isDST=isDaylightSavingTime,proto.isLocal=isLocal,proto.isUtcOffset=isUtcOffset,proto.isUtc=isUtc,proto.isUTC=isUtc,proto.zoneAbbr=getZoneAbbr,proto.zoneName=getZoneName,proto.dates=deprecate("dates accessor is deprecated. Use date instead.",getSetDayOfMonth),proto.months=deprecate("months accessor is deprecated. Use month instead",getSetMonth),proto.years=deprecate("years accessor is deprecated. Use year instead",getSetYear),proto.zone=deprecate("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",getSetZone),proto.isDSTShifted=deprecate("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",isDaylightSavingTimeShifted);var proto$1=Locale.prototype;function get$1(format,index,field,setter){var locale=getLocale(),utc=createUTC().set(setter,index);return locale[field](utc,format)}function listMonthsImpl(format,index,field){if(isNumber(format)&&(index=format,format=void 0),format=format||"",null!=index)return get$1(format,index,field,"month");var i,out=[];for(i=0;i<12;i++)out[i]=get$1(format,i,field,"month");return out}function listWeekdaysImpl(localeSorted,format,index,field){"boolean"==typeof localeSorted?(isNumber(format)&&(index=format,format=void 0),format=format||""):(index=format=localeSorted,localeSorted=!1,isNumber(format)&&(index=format,format=void 0),format=format||"");var i,locale=getLocale(),shift=localeSorted?locale._week.dow:0,out=[];if(null!=index)return get$1(format,(index+shift)%7,field,"day");for(i=0;i<7;i++)out[i]=get$1(format,(i+shift)%7,field,"day");return out}function listMonths(format,index){return listMonthsImpl(format,index,"months")}function listMonthsShort(format,index){return listMonthsImpl(format,index,"monthsShort")}function listWeekdays(localeSorted,format,index){return listWeekdaysImpl(localeSorted,format,index,"weekdays")}function listWeekdaysShort(localeSorted,format,index){return listWeekdaysImpl(localeSorted,format,index,"weekdaysShort")}function listWeekdaysMin(localeSorted,format,index){return listWeekdaysImpl(localeSorted,format,index,"weekdaysMin")}proto$1.calendar=calendar,proto$1.longDateFormat=longDateFormat,proto$1.invalidDate=invalidDate,proto$1.ordinal=ordinal,proto$1.preparse=preParsePostFormat,proto$1.postformat=preParsePostFormat,proto$1.relativeTime=relativeTime,proto$1.pastFuture=pastFuture,proto$1.set=set,proto$1.eras=localeEras,proto$1.erasParse=localeErasParse,proto$1.erasConvertYear=localeErasConvertYear,proto$1.erasAbbrRegex=erasAbbrRegex,proto$1.erasNameRegex=erasNameRegex,proto$1.erasNarrowRegex=erasNarrowRegex,proto$1.months=localeMonths,proto$1.monthsShort=localeMonthsShort,proto$1.monthsParse=localeMonthsParse,proto$1.monthsRegex=monthsRegex,proto$1.monthsShortRegex=monthsShortRegex,proto$1.week=localeWeek,proto$1.firstDayOfYear=localeFirstDayOfYear,proto$1.firstDayOfWeek=localeFirstDayOfWeek,proto$1.weekdays=localeWeekdays,proto$1.weekdaysMin=localeWeekdaysMin,proto$1.weekdaysShort=localeWeekdaysShort,proto$1.weekdaysParse=localeWeekdaysParse,proto$1.weekdaysRegex=weekdaysRegex,proto$1.weekdaysShortRegex=weekdaysShortRegex,proto$1.weekdaysMinRegex=weekdaysMinRegex,proto$1.isPM=localeIsPM,proto$1.meridiem=localeMeridiem,getSetGlobalLocale("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(number){var b=number%10;return number+(1===toInt(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}}),hooks.lang=deprecate("moment.lang is deprecated. Use moment.locale instead.",getSetGlobalLocale),hooks.langData=deprecate("moment.langData is deprecated. Use moment.localeData instead.",getLocale);var mathAbs=Math.abs;function abs(){var data=this._data;return this._milliseconds=mathAbs(this._milliseconds),this._days=mathAbs(this._days),this._months=mathAbs(this._months),data.milliseconds=mathAbs(data.milliseconds),data.seconds=mathAbs(data.seconds),data.minutes=mathAbs(data.minutes),data.hours=mathAbs(data.hours),data.months=mathAbs(data.months),data.years=mathAbs(data.years),this}function addSubtract$1(duration,input,value,direction){var other=createDuration(input,value);return duration._milliseconds+=direction*other._milliseconds,duration._days+=direction*other._days,duration._months+=direction*other._months,duration._bubble()}function add$1(input,value){return addSubtract$1(this,input,value,1)}function subtract$1(input,value){return addSubtract$1(this,input,value,-1)}function absCeil(number){return number<0?Math.floor(number):Math.ceil(number)}function bubble(){var seconds,minutes,hours,years,monthsFromDays,milliseconds=this._milliseconds,days=this._days,months=this._months,data=this._data;return milliseconds>=0&&days>=0&&months>=0||milliseconds<=0&&days<=0&&months<=0||(milliseconds+=864e5*absCeil(monthsToDays(months)+days),days=0,months=0),data.milliseconds=milliseconds%1e3,seconds=absFloor(milliseconds/1e3),data.seconds=seconds%60,minutes=absFloor(seconds/60),data.minutes=minutes%60,hours=absFloor(minutes/60),data.hours=hours%24,days+=absFloor(hours/24),months+=monthsFromDays=absFloor(daysToMonths(days)),days-=absCeil(monthsToDays(monthsFromDays)),years=absFloor(months/12),months%=12,data.days=days,data.months=months,data.years=years,this}function daysToMonths(days){return 4800*days/146097}function monthsToDays(months){return 146097*months/4800}function as(units){if(!this.isValid())return NaN;var days,months,milliseconds=this._milliseconds;if("month"===(units=normalizeUnits(units))||"quarter"===units||"year"===units)switch(days=this._days+milliseconds/864e5,months=this._months+daysToMonths(days),units){case"month":return months;case"quarter":return months/3;case"year":return months/12}else switch(days=this._days+Math.round(monthsToDays(this._months)),units){case"week":return days/7+milliseconds/6048e5;case"day":return days+milliseconds/864e5;case"hour":return 24*days+milliseconds/36e5;case"minute":return 1440*days+milliseconds/6e4;case"second":return 86400*days+milliseconds/1e3;case"millisecond":return Math.floor(864e5*days)+milliseconds;default:throw new Error("Unknown unit "+units)}}function valueOf$1(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*toInt(this._months/12):NaN}function makeAs(alias){return function(){return this.as(alias)}}var asMilliseconds=makeAs("ms"),asSeconds=makeAs("s"),asMinutes=makeAs("m"),asHours=makeAs("h"),asDays=makeAs("d"),asWeeks=makeAs("w"),asMonths=makeAs("M"),asQuarters=makeAs("Q"),asYears=makeAs("y");function clone$1(){return createDuration(this)}function get$2(units){return units=normalizeUnits(units),this.isValid()?this[units+"s"]():NaN}function makeGetter(name){return function(){return this.isValid()?this._data[name]:NaN}}var milliseconds=makeGetter("milliseconds"),seconds=makeGetter("seconds"),minutes=makeGetter("minutes"),hours=makeGetter("hours"),days=makeGetter("days"),months=makeGetter("months"),years=makeGetter("years");function weeks(){return absFloor(this.days()/7)}var round=Math.round,thresholds={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function substituteTimeAgo(string,number,withoutSuffix,isFuture,locale){return locale.relativeTime(number||1,!!withoutSuffix,string,isFuture)}function relativeTime$1(posNegDuration,withoutSuffix,thresholds,locale){var duration=createDuration(posNegDuration).abs(),seconds=round(duration.as("s")),minutes=round(duration.as("m")),hours=round(duration.as("h")),days=round(duration.as("d")),months=round(duration.as("M")),weeks=round(duration.as("w")),years=round(duration.as("y")),a=seconds<=thresholds.ss&&["s",seconds]||seconds<thresholds.s&&["ss",seconds]||minutes<=1&&["m"]||minutes<thresholds.m&&["mm",minutes]||hours<=1&&["h"]||hours<thresholds.h&&["hh",hours]||days<=1&&["d"]||days<thresholds.d&&["dd",days];return null!=thresholds.w&&(a=a||weeks<=1&&["w"]||weeks<thresholds.w&&["ww",weeks]),(a=a||months<=1&&["M"]||months<thresholds.M&&["MM",months]||years<=1&&["y"]||["yy",years])[2]=withoutSuffix,a[3]=+posNegDuration>0,a[4]=locale,substituteTimeAgo.apply(null,a)}function getSetRelativeTimeRounding(roundingFunction){return void 0===roundingFunction?round:"function"==typeof roundingFunction&&(round=roundingFunction,!0)}function getSetRelativeTimeThreshold(threshold,limit){return void 0!==thresholds[threshold]&&(void 0===limit?thresholds[threshold]:(thresholds[threshold]=limit,"s"===threshold&&(thresholds.ss=limit-1),!0))}function humanize(argWithSuffix,argThresholds){if(!this.isValid())return this.localeData().invalidDate();var locale,output,withSuffix=!1,th=thresholds;return"object"==typeof argWithSuffix&&(argThresholds=argWithSuffix,argWithSuffix=!1),"boolean"==typeof argWithSuffix&&(withSuffix=argWithSuffix),"object"==typeof argThresholds&&(th=Object.assign({},thresholds,argThresholds),null!=argThresholds.s&&null==argThresholds.ss&&(th.ss=argThresholds.s-1)),output=relativeTime$1(this,!withSuffix,th,locale=this.localeData()),withSuffix&&(output=locale.pastFuture(+this,output)),locale.postformat(output)}var abs$1=Math.abs;function sign(x){return(x>0)-(x<0)||+x}function toISOString$1(){if(!this.isValid())return this.localeData().invalidDate();var minutes,hours,years,s,totalSign,ymSign,daysSign,hmsSign,seconds=abs$1(this._milliseconds)/1e3,days=abs$1(this._days),months=abs$1(this._months),total=this.asSeconds();return total?(minutes=absFloor(seconds/60),hours=absFloor(minutes/60),seconds%=60,minutes%=60,years=absFloor(months/12),months%=12,s=seconds?seconds.toFixed(3).replace(/\.?0+$/,""):"",totalSign=total<0?"-":"",ymSign=sign(this._months)!==sign(total)?"-":"",daysSign=sign(this._days)!==sign(total)?"-":"",hmsSign=sign(this._milliseconds)!==sign(total)?"-":"",totalSign+"P"+(years?ymSign+years+"Y":"")+(months?ymSign+months+"M":"")+(days?daysSign+days+"D":"")+(hours||minutes||seconds?"T":"")+(hours?hmsSign+hours+"H":"")+(minutes?hmsSign+minutes+"M":"")+(seconds?hmsSign+s+"S":"")):"P0D"}var proto$2=Duration.prototype;return proto$2.isValid=isValid$1,proto$2.abs=abs,proto$2.add=add$1,proto$2.subtract=subtract$1,proto$2.as=as,proto$2.asMilliseconds=asMilliseconds,proto$2.asSeconds=asSeconds,proto$2.asMinutes=asMinutes,proto$2.asHours=asHours,proto$2.asDays=asDays,proto$2.asWeeks=asWeeks,proto$2.asMonths=asMonths,proto$2.asQuarters=asQuarters,proto$2.asYears=asYears,proto$2.valueOf=valueOf$1,proto$2._bubble=bubble,proto$2.clone=clone$1,proto$2.get=get$2,proto$2.milliseconds=milliseconds,proto$2.seconds=seconds,proto$2.minutes=minutes,proto$2.hours=hours,proto$2.days=days,proto$2.weeks=weeks,proto$2.months=months,proto$2.years=years,proto$2.humanize=humanize,proto$2.toISOString=toISOString$1,proto$2.toString=toISOString$1,proto$2.toJSON=toISOString$1,proto$2.locale=locale,proto$2.localeData=localeData,proto$2.toIsoString=deprecate("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",toISOString$1),proto$2.lang=lang,addFormatToken("X",0,0,"unix"),addFormatToken("x",0,0,"valueOf"),addRegexToken("x",matchSigned),addRegexToken("X",matchTimestamp),addParseToken("X",(function(input,array,config){config._d=new Date(1e3*parseFloat(input))})),addParseToken("x",(function(input,array,config){config._d=new Date(toInt(input))})),hooks.version="2.29.3",setHookCallback(createLocal),hooks.fn=proto,hooks.min=min,hooks.max=max,hooks.now=now,hooks.utc=createUTC,hooks.unix=createUnix,hooks.months=listMonths,hooks.isDate=isDate,hooks.locale=getSetGlobalLocale,hooks.invalid=createInvalid,hooks.duration=createDuration,hooks.isMoment=isMoment,hooks.weekdays=listWeekdays,hooks.parseZone=createInZone,hooks.localeData=getLocale,hooks.isDuration=isDuration,hooks.monthsShort=listMonthsShort,hooks.weekdaysMin=listWeekdaysMin,hooks.defineLocale=defineLocale,hooks.updateLocale=updateLocale,hooks.locales=listLocales,hooks.weekdaysShort=listWeekdaysShort,hooks.normalizeUnits=normalizeUnits,hooks.relativeTimeRounding=getSetRelativeTimeRounding,hooks.relativeTimeThreshold=getSetRelativeTimeThreshold,hooks.calendarFormat=getCalendarFormat,hooks.prototype=proto,hooks.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},hooks}()},"./node_modules/mux.js/lib/tools/parse-sidx.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getUint64=__webpack_require__("./node_modules/mux.js/lib/utils/numbers.js").getUint64;module.exports=function(data){var view=new DataView(data.buffer,data.byteOffset,data.byteLength),result={version:data[0],flags:new Uint8Array(data.subarray(1,4)),references:[],referenceId:view.getUint32(4),timescale:view.getUint32(8)},i=12;0===result.version?(result.earliestPresentationTime=view.getUint32(i),result.firstOffset=view.getUint32(i+4),i+=8):(result.earliestPresentationTime=getUint64(data.subarray(i)),result.firstOffset=getUint64(data.subarray(i+8)),i+=16),i+=2;var referenceCount=view.getUint16(i);for(i+=2;referenceCount>0;i+=12,referenceCount--)result.references.push({referenceType:(128&data[i])>>>7,referencedSize:2147483647&view.getUint32(i),subsegmentDuration:view.getUint32(i+4),startsWithSap:!!(128&data[i+8]),sapType:(112&data[i+8])>>>4,sapDeltaTime:268435455&view.getUint32(i+8)});return result}},"./node_modules/mux.js/lib/utils/clock.js":module=>{var secondsToVideoTs,secondsToAudioTs,videoTsToSeconds,audioTsToSeconds,audioTsToVideoTs,videoTsToAudioTs,metadataTsToSeconds;secondsToVideoTs=function(seconds){return 9e4*seconds},secondsToAudioTs=function(seconds,sampleRate){return seconds*sampleRate},videoTsToSeconds=function(timestamp){return timestamp/9e4},audioTsToSeconds=function(timestamp,sampleRate){return timestamp/sampleRate},audioTsToVideoTs=function(timestamp,sampleRate){return secondsToVideoTs(audioTsToSeconds(timestamp,sampleRate))},videoTsToAudioTs=function(timestamp,sampleRate){return secondsToAudioTs(videoTsToSeconds(timestamp),sampleRate)},metadataTsToSeconds=function(timestamp,timelineStartPts,keepOriginalTimestamps){return videoTsToSeconds(keepOriginalTimestamps?timestamp:timestamp-timelineStartPts)},module.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs,secondsToAudioTs,videoTsToSeconds,audioTsToSeconds,audioTsToVideoTs,videoTsToAudioTs,metadataTsToSeconds}},"./node_modules/mux.js/lib/utils/numbers.js":module=>{var MAX_UINT32=Math.pow(2,32);module.exports={getUint64:function(uint8){var value,dv=new DataView(uint8.buffer,uint8.byteOffset,uint8.byteLength);return dv.getBigUint64?(value=dv.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(value):value:dv.getUint32(0)*MAX_UINT32+dv.getUint32(4)},MAX_UINT32}},"./node_modules/object-assign/index.js":module=>{"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(null==val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}module.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map((function(n){return test2[n]})).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}()?Object.assign:function(target,source){for(var from,symbols,to=toObject(target),s=1;s<arguments.length;s++){for(var key in from=Object(arguments[s]))hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},"./node_modules/object-inspect/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hasMap="function"==typeof Map&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&"function"==typeof mapSizeDescriptor.get?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet="function"==typeof Set&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&"function"==typeof setSizeDescriptor.get?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,weakMapHas="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,weakSetHas="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,weakRefDeref="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf="function"==typeof BigInt?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,hasShammedSymbols="function"==typeof Symbol&&"object"==typeof Symbol.iterator,toStringTag="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!=num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof num){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var inspectCustom=__webpack_require__("?4f7e").custom,inspectSymbol=inspectCustom&&isSymbol(inspectCustom)?inspectCustom:null;function wrapQuotes(s,defaultStyle,opts){var quoteChar="double"===(opts.quoteStyle||defaultStyle)?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,""")}function isArray(obj){return!("[object Array]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isSymbol(obj){if(hasShammedSymbols)return obj&&"object"==typeof obj&&obj instanceof Symbol;if("symbol"==typeof obj)return!0;if(!obj||"object"!=typeof obj||!symToString)return!1;try{return symToString.call(obj),!0}catch(e){}return!1}module.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&"single"!==opts.quoteStyle&&"double"!==opts.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(opts,"maxStringLength")&&("number"==typeof opts.maxStringLength?opts.maxStringLength<0&&opts.maxStringLength!==1/0:null!==opts.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var customInspect=!has(opts,"customInspect")||opts.customInspect;if("boolean"!=typeof customInspect&&"symbol"!==customInspect)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(opts,"indent")&&null!==opts.indent&&"\t"!==opts.indent&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(opts,"numericSeparator")&&"boolean"!=typeof opts.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(void 0===obj)return"undefined";if(null===obj)return"null";if("boolean"==typeof obj)return obj?"true":"false";if("string"==typeof obj)return inspectString(obj,opts);if("number"==typeof obj){if(0===obj)return 1/0/obj>0?"0":"-0";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if("bigint"==typeof obj){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=void 0===opts.depth?5:opts.depth;if(void 0===depth&&(depth=0),depth>=maxDepth&&maxDepth>0&&"object"==typeof obj)return isArray(obj)?"[Array]":"[Object]";var indent=function getIndent(opts,depth){var baseIndent;if("\t"===opts.indent)baseIndent="\t";else{if(!("number"==typeof opts.indent&&opts.indent>0))return null;baseIndent=$join.call(Array(opts.indent+1)," ")}return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}(opts,depth);if(void 0===seen)seen=[];else if(indexOf(seen,obj)>=0)return"[Circular]";function inspect(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen)).push(from),noIndent){var newOpts={depth:opts.depth};return has(opts,"quoteStyle")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if("function"==typeof obj){var name=function nameOf(f){if(f.name)return f.name;var m=$match.call(functionToString.call(f),/^function\s*([\w$]+)/);if(m)return m[1];return null}(obj),keys=arrObjKeys(obj,inspect);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys.length>0?" { "+$join.call(keys,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return"object"!=typeof obj||hasShammedSymbols?symString:markBoxed(symString)}if(function isElement(x){if(!x||"object"!=typeof x)return!1;if("undefined"!=typeof HTMLElement&&x instanceof HTMLElement)return!0;return"string"==typeof x.nodeName&&"function"==typeof x.getAttribute}(obj)){for(var s="<"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i<attrs.length;i++)s+=" "+attrs[i].name+"="+wrapQuotes(quote(attrs[i].value),"double",opts);return s+=">",obj.childNodes&&obj.childNodes.length&&(s+="..."),s+="</"+$toLowerCase.call(String(obj.nodeName))+">"}if(isArray(obj)){if(0===obj.length)return"[]";var xs=arrObjKeys(obj,inspect);return indent&&!function singleLineValues(xs){for(var i=0;i<xs.length;i++)if(indexOf(xs[i],"\n")>=0)return!1;return!0}(xs)?"["+indentedJoin(xs,indent)+"]":"[ "+$join.call(xs,", ")+" ]"}if(function isError(obj){return!("[object Error]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)){var parts=arrObjKeys(obj,inspect);return"cause"in obj&&!isEnumerable.call(obj,"cause")?"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect(obj.cause),parts),", ")+" }":0===parts.length?"["+String(obj)+"]":"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }"}if("object"==typeof obj&&customInspect){if(inspectSymbol&&"function"==typeof obj[inspectSymbol])return obj[inspectSymbol]();if("symbol"!==customInspect&&"function"==typeof obj.inspect)return obj.inspect()}if(function isMap(x){if(!mapSize||!x||"object"!=typeof x)return!1;try{mapSize.call(x);try{setSize.call(x)}catch(s){return!0}return x instanceof Map}catch(e){}return!1}(obj)){var mapParts=[];return mapForEach.call(obj,(function(value,key){mapParts.push(inspect(key,obj,!0)+" => "+inspect(value,obj))})),collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(function isSet(x){if(!setSize||!x||"object"!=typeof x)return!1;try{setSize.call(x);try{mapSize.call(x)}catch(m){return!0}return x instanceof Set}catch(e){}return!1}(obj)){var setParts=[];return setForEach.call(obj,(function(value){setParts.push(inspect(value,obj))})),collectionOf("Set",setSize.call(obj),setParts,indent)}if(function isWeakMap(x){if(!weakMapHas||!x||"object"!=typeof x)return!1;try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch(s){return!0}return x instanceof WeakMap}catch(e){}return!1}(obj))return weakCollectionOf("WeakMap");if(function isWeakSet(x){if(!weakSetHas||!x||"object"!=typeof x)return!1;try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch(s){return!0}return x instanceof WeakSet}catch(e){}return!1}(obj))return weakCollectionOf("WeakSet");if(function isWeakRef(x){if(!weakRefDeref||!x||"object"!=typeof x)return!1;try{return weakRefDeref.call(x),!0}catch(e){}return!1}(obj))return weakCollectionOf("WeakRef");if(function isNumber(obj){return!("[object Number]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect(Number(obj)));if(function isBigInt(obj){if(!obj||"object"!=typeof obj||!bigIntValueOf)return!1;try{return bigIntValueOf.call(obj),!0}catch(e){}return!1}(obj))return markBoxed(inspect(bigIntValueOf.call(obj)));if(function isBoolean(obj){return!("[object Boolean]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(booleanValueOf.call(obj));if(function isString(obj){return!("[object String]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect(String(obj)));if(!function isDate(obj){return!("[object Date]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)&&!function isRegExp(obj){return!("[object RegExp]"!==toStr(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)){var ys=arrObjKeys(obj,inspect),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?"":"null prototype",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr(obj),8,-1):protoTag?"Object":"",tag=(isPlainObject||"function"!=typeof obj.constructor?"":obj.constructor.name?obj.constructor.name+" ":"")+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");return 0===ys.length?tag+"{}":indent?tag+"{"+indentedJoin(ys,indent)+"}":tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr(obj){return objectToString.call(obj)}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}function inspectString(str,opts){if(str.length>opts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}return wrapQuotes($replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return x?"\\"+x:"\\x"+(n<16?"0":"")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type){return type+" { ? }"}function collectionOf(type,size,entries,indent){return type+" ("+size+") {"+(indent?indentedJoin(entries,indent):$join.call(entries,", "))+"}"}function indentedJoin(xs,indent){if(0===xs.length)return"";var lineJoiner="\n"+indent.prev+indent.base;return lineJoiner+$join.call(xs,","+lineJoiner)+"\n"+indent.prev}function arrObjKeys(obj,inspect){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i<obj.length;i++)xs[i]=has(obj,i)?inspect(obj[i],obj):""}var symMap,syms="function"==typeof gOPS?gOPS(obj):[];if(hasShammedSymbols){symMap={};for(var k=0;k<syms.length;k++)symMap["$"+syms[k]]=syms[k]}for(var key in obj)has(obj,key)&&(isArr&&String(Number(key))===key&&key<obj.length||hasShammedSymbols&&symMap["$"+key]instanceof Symbol||($test.call(/[^\w$]/,key)?xs.push(inspect(key,obj)+": "+inspect(obj[key],obj)):xs.push(key+": "+inspect(obj[key],obj))));if("function"==typeof gOPS)for(var j=0;j<syms.length;j++)isEnumerable.call(obj,syms[j])&&xs.push("["+inspect(syms[j])+"]: "+inspect(obj[syms[j]],obj));return xs}},"./node_modules/object-keys/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=__webpack_require__("./node_modules/object-keys/isArguments.js"),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch(e){return!0}}catch(e){return!0}return!1}();keysShim=function keys(object){var isObject=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr.call(object),isArguments=isArgs(object),isString=isObject&&"[object String]"===toStr.call(object),theKeys=[];if(!isObject&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i<object.length;++i)theKeys.push(String(i));if(isArguments&&object.length>0)for(var j=0;j<object.length;++j)theKeys.push(String(j));else for(var name in object)skipProto&&"prototype"===name||!has.call(object,name)||theKeys.push(String(name));if(hasDontEnumBug)for(var skipConstructor=function(o){if("undefined"==typeof window||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch(e){return!1}}(object),k=0;k<dontEnums.length;++k)skipConstructor&&"constructor"===dontEnums[k]||!has.call(object,dontEnums[k])||theKeys.push(dontEnums[k]);return theKeys}}module.exports=keysShim},"./node_modules/object-keys/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var slice=Array.prototype.slice,isArgs=__webpack_require__("./node_modules/object-keys/isArguments.js"),origKeys=Object.keys,keysShim=origKeys?function keys(o){return origKeys(o)}:__webpack_require__("./node_modules/object-keys/implementation.js"),originalKeys=Object.keys;keysShim.shim=function shimObjectKeys(){if(Object.keys){var keysWorksWithArguments=function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2);keysWorksWithArguments||(Object.keys=function keys(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)})}else Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},"./node_modules/object-keys/isArguments.js":module=>{"use strict";var toStr=Object.prototype.toString;module.exports=function isArguments(value){var str=toStr.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr.call(value.callee)),isArgs}},"./node_modules/object.entries/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),$isEnumerable=callBound("Object.prototype.propertyIsEnumerable"),$push=callBound("Array.prototype.push");module.exports=function entries(O){var obj=RequireObjectCoercible(O),entrys=[];for(var key in obj)$isEnumerable(obj,key)&&$push(entrys,[key,obj[key]]);return entrys}},"./node_modules/object.entries/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/object.entries/implementation.js");module.exports=function getPolyfill(){return"function"==typeof Object.entries?Object.entries:implementation}},"./node_modules/object.entries/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/object.entries/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimEntries(){var polyfill=getPolyfill();return define(Object,{entries:polyfill},{entries:function testEntries(){return Object.entries!==polyfill}}),polyfill}},"./node_modules/object.fromentries/auto.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/object.fromentries/shim.js")()},"./node_modules/object.fromentries/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var AddEntriesFromIterable=__webpack_require__("./node_modules/es-abstract/2021/AddEntriesFromIterable.js"),CreateDataPropertyOrThrow=__webpack_require__("./node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js"),RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js"),ToPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/ToPropertyKey.js"),adder=function addDataProperty(key,value){var propertyKey=ToPropertyKey(key);CreateDataPropertyOrThrow(this,propertyKey,value)};module.exports=function fromEntries(iterable){return RequireObjectCoercible(iterable),AddEntriesFromIterable({},iterable,adder)}},"./node_modules/object.fromentries/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/object.fromentries/implementation.js");module.exports=function getPolyfill(){return"function"==typeof Object.fromEntries?Object.fromEntries:implementation}},"./node_modules/object.fromentries/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/object.fromentries/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimEntries(){var polyfill=getPolyfill();return define(Object,{fromEntries:polyfill},{fromEntries:function testEntries(){return Object.fromEntries!==polyfill}}),polyfill}},"./node_modules/object.getownpropertydescriptors/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var CreateDataProperty=__webpack_require__("./node_modules/es-abstract/2021/CreateDataProperty.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js"),ToObject=__webpack_require__("./node_modules/es-abstract/2021/ToObject.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),$gOPD=Object.getOwnPropertyDescriptor,$getOwnNames=Object.getOwnPropertyNames,$getSymbols=Object.getOwnPropertySymbols,$concat=callBound("Array.prototype.concat"),$reduce=callBound("Array.prototype.reduce"),getAll=$getSymbols?function(obj){return $concat($getOwnNames(obj),$getSymbols(obj))}:$getOwnNames,isES5=IsCallable($gOPD)&&IsCallable($getOwnNames);module.exports=function getOwnPropertyDescriptors(value){if(RequireObjectCoercible(value),!isES5)throw new TypeError("getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor");var O=ToObject(value);return $reduce(getAll(O),(function(acc,key){var descriptor=$gOPD(O,key);return void 0!==descriptor&&CreateDataProperty(acc,key,descriptor),acc}),{})}},"./node_modules/object.getownpropertydescriptors/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/object.getownpropertydescriptors/implementation.js");module.exports=function getPolyfill(){return"function"==typeof Object.getOwnPropertyDescriptors?Object.getOwnPropertyDescriptors:implementation}},"./node_modules/object.getownpropertydescriptors/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/object.getownpropertydescriptors/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimGetOwnPropertyDescriptors(){var polyfill=getPolyfill();return define(Object,{getOwnPropertyDescriptors:polyfill},{getOwnPropertyDescriptors:function(){return Object.getOwnPropertyDescriptors!==polyfill}}),polyfill}},"./node_modules/object.values/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),$isEnumerable=callBound("Object.prototype.propertyIsEnumerable"),$push=callBound("Array.prototype.push");module.exports=function values(O){var obj=RequireObjectCoercible(O),vals=[];for(var key in obj)$isEnumerable(obj,key)&&$push(vals,obj[key]);return vals}},"./node_modules/object.values/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/object.values/implementation.js");module.exports=function getPolyfill(){return"function"==typeof Object.values?Object.values:implementation}},"./node_modules/object.values/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/object.values/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimValues(){var polyfill=getPolyfill();return define(Object,{values:polyfill},{values:function testValues(){return Object.values!==polyfill}}),polyfill}},"./node_modules/polished/dist/polished.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{_j:()=>curriedDarken$1,$n:()=>curriedLighten$1,jb:()=>curriedOpacify$1,m4:()=>rgba,DZ:()=>curriedTransparentize$1});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),assertThisInitialized=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),inheritsLoose=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"),getPrototypeOf=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"),setPrototypeOf=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");var construct=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/construct.js");function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function _wrapNativeSuper(Class){if(null===Class||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class))return Class;if("function"!=typeof Class)throw new TypeError("Super expression must either be null or a function");if(void 0!==_cache){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return(0,construct.Z)(Class,arguments,(0,getPrototypeOf.Z)(this).constructor)}return Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),(0,setPrototypeOf.Z)(Wrapper,Class)},_wrapNativeSuper(Class)}var PolishedError=function(_Error){function PolishedError(code){var _this;return _this=_Error.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+code+" for more information.")||this,(0,assertThisInitialized.Z)(_this)}return(0,inheritsLoose.Z)(PolishedError,_Error),PolishedError}(_wrapNativeSuper(Error));function colorToInt(color){return Math.round(255*color)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(void 0===convert&&(convert=convertToInt),0===saturation)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green<blue?6:0);break;case green:hue=(blue-red)/delta+2;break;default:hue=(red-green)/delta+4}return hue*=60,void 0!==color.alpha?{hue,saturation,lightness,alpha:color.alpha}:{hue,saturation,lightness}}(parseToRgb(color))}var reduceHexValue$1=function reduceHexValue(value){return 7===value.length&&value[1]===value[2]&&value[3]===value[4]&&value[5]===value[6]?"#"+value[1]+value[3]+value[5]:value};function numberToHex(value){var hex=value.toString(16);return 1===hex.length?"0"+hex:hex}function colorToHex(color){return numberToHex(Math.round(255*color))}function convertToHex(red,green,blue){return reduceHexValue$1("#"+colorToHex(red)+colorToHex(green)+colorToHex(blue))}function hslToHex(hue,saturation,lightness){return hslToRgb(hue,saturation,lightness,convertToHex)}function hsl(value,saturation,lightness){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness)return hslToHex(value,saturation,lightness);if("object"==typeof value&&void 0===saturation&&void 0===lightness)return hslToHex(value.hue,value.saturation,value.lightness);throw new PolishedError(1)}function hsla(value,saturation,lightness,alpha){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness&&"number"==typeof alpha)return alpha>=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}function rgb(value,green,blue){if("number"==typeof value&&"number"==typeof green&&"number"==typeof blue)return reduceHexValue$1("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if("object"==typeof value&&void 0===green&&void 0===blue)return reduceHexValue$1("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if("string"==typeof firstValue&&"number"==typeof secondValue){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}if("number"==typeof firstValue&&"number"==typeof secondValue&&"number"==typeof thirdValue&&"number"==typeof fourthValue)return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}function toColorString(color){if("object"!=typeof color)throw new PolishedError(8);if(function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha}(color))return rgba(color);if(function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)}(color))return rgb(color);if(function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha}(color))return hsla(color);if(function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)}(color))return hsl(color);throw new PolishedError(8)}function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString((0,esm_extends.Z)({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken$1=curry(darken);function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString((0,esm_extends.Z)({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten$1=curry(lighten);function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba((0,esm_extends.Z)({},parsedColor,{alpha:guard(0,1,(100*alpha+100*parseFloat(amount))/100)}))}var curriedOpacify$1=curry(opacify);function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba((0,esm_extends.Z)({},parsedColor,{alpha:guard(0,1,+(100*alpha-100*parseFloat(amount)).toFixed(2)/100)}))}var curriedTransparentize$1=curry(transparentize)},"./node_modules/process/browser.js":module=>{var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}(timeout)}}function Item(fun,array){this.fun=fun,this.array=array}function noop(){}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(name){return[]},process.binding=function(name){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(dir){throw new Error("process.chdir is not supported")},process.umask=function(){return 0}},"./node_modules/promise.allsettled/auto.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/promise.allsettled/shim.js")()},"./node_modules/promise.allsettled/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/promise.allsettled/requirePromise.js")();var PromiseResolve=__webpack_require__("./node_modules/es-abstract/2021/PromiseResolve.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),iterate=__webpack_require__("./node_modules/iterate-value/index.js"),map=__webpack_require__("./node_modules/array.prototype.map/index.js"),GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),all=callBind(GetIntrinsic("%Promise.all%")),reject=callBind(GetIntrinsic("%Promise.reject%"));module.exports=function allSettled(iterable){var C=this;if("Object"!==Type(C))throw new TypeError("`this` value must be an object");var values=iterate(iterable);return all(C,map(values,(function(item){var itemPromise=PromiseResolve(C,item);try{return itemPromise.then((function(value){return{status:"fulfilled",value}}),(function(reason){return{status:"rejected",reason}}))}catch(e){return reject(C,e)}})))}},"./node_modules/promise.allsettled/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var requirePromise=__webpack_require__("./node_modules/promise.allsettled/requirePromise.js"),implementation=__webpack_require__("./node_modules/promise.allsettled/implementation.js");module.exports=function getPolyfill(){return requirePromise(),"function"==typeof Promise.allSettled?Promise.allSettled:implementation}},"./node_modules/promise.allsettled/requirePromise.js":module=>{"use strict";module.exports=function requirePromise(){if("function"!=typeof Promise)throw new TypeError("`Promise.allSettled` requires a global `Promise` be available.")}},"./node_modules/promise.allsettled/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var requirePromise=__webpack_require__("./node_modules/promise.allsettled/requirePromise.js"),getPolyfill=__webpack_require__("./node_modules/promise.allsettled/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimAllSettled(){requirePromise();var polyfill=getPolyfill();return define(Promise,{allSettled:polyfill},{allSettled:function testAllSettled(){return Promise.allSettled!==polyfill}}),polyfill}},"./node_modules/promise.prototype.finally/auto.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/promise.prototype.finally/shim.js")()},"./node_modules/promise.prototype.finally/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js")();var IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),SpeciesConstructor=__webpack_require__("./node_modules/es-abstract/2021/SpeciesConstructor.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),promiseResolve=function PromiseResolve(C,value){return new C((function(resolve){resolve(value)}))},OriginalPromise=Promise,promiseFinally=function finally_(onFinally){if("Object"!==Type(this))throw new TypeError("receiver is not an Object");var C=SpeciesConstructor(this,OriginalPromise),thenFinally=onFinally,catchFinally=onFinally;return IsCallable(onFinally)&&(thenFinally=function CreateThenFinally(C,onFinally){return function(value){var result=onFinally();return promiseResolve(C,result).then((function(){return value}))}}(C,onFinally),catchFinally=function CreateCatchFinally(C,onFinally){return function(reason){var result=onFinally();return promiseResolve(C,result).then((function(){throw reason}))}}(C,onFinally)),this.then(thenFinally,catchFinally)};if(Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(promiseFinally,"name");descriptor&&descriptor.configurable&&Object.defineProperty(promiseFinally,"name",{configurable:!0,value:"finally"})}module.exports=promiseFinally},"./node_modules/promise.prototype.finally/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var requirePromise=__webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js"),implementation=__webpack_require__("./node_modules/promise.prototype.finally/implementation.js");module.exports=function getPolyfill(){return requirePromise(),"function"==typeof Promise.prototype.finally?Promise.prototype.finally:implementation}},"./node_modules/promise.prototype.finally/requirePromise.js":module=>{"use strict";module.exports=function requirePromise(){if("function"!=typeof Promise)throw new TypeError("`Promise.prototype.finally` requires a global `Promise` be available.")}},"./node_modules/promise.prototype.finally/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var requirePromise=__webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js"),getPolyfill=__webpack_require__("./node_modules/promise.prototype.finally/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimPromiseFinally(){requirePromise();var polyfill=getPolyfill();return define(Promise.prototype,{finally:polyfill},{finally:function testFinally(){return Promise.prototype.finally!==polyfill}}),polyfill}},"./node_modules/prop-types/factoryWithThrowingShims.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ReactPropTypesSecret=__webpack_require__("./node_modules/prop-types/lib/ReactPropTypesSecret.js");function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret!==ReactPropTypesSecret){var err=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw err.name="Invariant Violation",err}}function getShim(){return shim}shim.isRequired=shim;var ReactPropTypes={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return ReactPropTypes.PropTypes=ReactPropTypes,ReactPropTypes}},"./node_modules/prop-types/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":module=>{"use strict";module.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/qs/lib/formats.js":module=>{"use strict";var replace=String.prototype.replace,percentTwenties=/%20/g,Format_RFC1738="RFC1738",Format_RFC3986="RFC3986";module.exports={default:Format_RFC3986,formatters:{RFC1738:function(value){return replace.call(value,percentTwenties,"+")},RFC3986:function(value){return String(value)}},RFC1738:Format_RFC1738,RFC3986:Format_RFC3986}},"./node_modules/qs/lib/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var stringify=__webpack_require__("./node_modules/qs/lib/stringify.js"),parse=__webpack_require__("./node_modules/qs/lib/parse.js"),formats=__webpack_require__("./node_modules/qs/lib/formats.js");module.exports={formats,parse,stringify}},"./node_modules/qs/lib/parse.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var utils=__webpack_require__("./node_modules/qs/lib/utils.js"),has=Object.prototype.hasOwnProperty,isArray=Array.isArray,defaults={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(str){return str.replace(/&#(\d+);/g,(function($0,numberStr){return String.fromCharCode(parseInt(numberStr,10))}))},parseArrayValue=function(val,options){return val&&"string"==typeof val&&options.comma&&val.indexOf(",")>-1?val.split(","):val},parseKeys=function parseQueryStringKeys(givenKey,val,options,valuesParsed){if(givenKey){var key=options.allowDots?givenKey.replace(/\.([^.[]+)/g,"[$1]"):givenKey,child=/(\[[^[\]]*])/g,segment=options.depth>0&&/(\[[^[\]]*])/.exec(key),parent=segment?key.slice(0,segment.index):key,keys=[];if(parent){if(!options.plainObjects&&has.call(Object.prototype,parent)&&!options.allowPrototypes)return;keys.push(parent)}for(var i=0;options.depth>0&&null!==(segment=child.exec(key))&&i<options.depth;){if(i+=1,!options.plainObjects&&has.call(Object.prototype,segment[1].slice(1,-1))&&!options.allowPrototypes)return;keys.push(segment[1])}return segment&&keys.push("["+key.slice(segment.index)+"]"),function(chain,val,options,valuesParsed){for(var leaf=valuesParsed?val:parseArrayValue(val,options),i=chain.length-1;i>=0;--i){var obj,root=chain[i];if("[]"===root&&options.parseArrays)obj=[].concat(leaf);else{obj=options.plainObjects?Object.create(null):{};var cleanRoot="["===root.charAt(0)&&"]"===root.charAt(root.length-1)?root.slice(1,-1):root,index=parseInt(cleanRoot,10);options.parseArrays||""!==cleanRoot?!isNaN(index)&&root!==cleanRoot&&String(index)===cleanRoot&&index>=0&&options.parseArrays&&index<=options.arrayLimit?(obj=[])[index]=leaf:"__proto__"!==cleanRoot&&(obj[cleanRoot]=leaf):obj={0:leaf}}leaf=obj}return leaf}(keys,val,options,valuesParsed)}};module.exports=function(str,opts){var options=function normalizeParseOptions(opts){if(!opts)return defaults;if(null!==opts.decoder&&void 0!==opts.decoder&&"function"!=typeof opts.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==opts.charset&&"utf-8"!==opts.charset&&"iso-8859-1"!==opts.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var charset=void 0===opts.charset?defaults.charset:opts.charset;return{allowDots:void 0===opts.allowDots?defaults.allowDots:!!opts.allowDots,allowPrototypes:"boolean"==typeof opts.allowPrototypes?opts.allowPrototypes:defaults.allowPrototypes,allowSparse:"boolean"==typeof opts.allowSparse?opts.allowSparse:defaults.allowSparse,arrayLimit:"number"==typeof opts.arrayLimit?opts.arrayLimit:defaults.arrayLimit,charset,charsetSentinel:"boolean"==typeof opts.charsetSentinel?opts.charsetSentinel:defaults.charsetSentinel,comma:"boolean"==typeof opts.comma?opts.comma:defaults.comma,decoder:"function"==typeof opts.decoder?opts.decoder:defaults.decoder,delimiter:"string"==typeof opts.delimiter||utils.isRegExp(opts.delimiter)?opts.delimiter:defaults.delimiter,depth:"number"==typeof opts.depth||!1===opts.depth?+opts.depth:defaults.depth,ignoreQueryPrefix:!0===opts.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof opts.interpretNumericEntities?opts.interpretNumericEntities:defaults.interpretNumericEntities,parameterLimit:"number"==typeof opts.parameterLimit?opts.parameterLimit:defaults.parameterLimit,parseArrays:!1!==opts.parseArrays,plainObjects:"boolean"==typeof opts.plainObjects?opts.plainObjects:defaults.plainObjects,strictNullHandling:"boolean"==typeof opts.strictNullHandling?opts.strictNullHandling:defaults.strictNullHandling}}(opts);if(""===str||null==str)return options.plainObjects?Object.create(null):{};for(var tempObj="string"==typeof str?function parseQueryStringValues(str,options){var i,obj={},cleanStr=options.ignoreQueryPrefix?str.replace(/^\?/,""):str,limit=options.parameterLimit===1/0?void 0:options.parameterLimit,parts=cleanStr.split(options.delimiter,limit),skipIndex=-1,charset=options.charset;if(options.charsetSentinel)for(i=0;i<parts.length;++i)0===parts[i].indexOf("utf8=")&&("utf8=%E2%9C%93"===parts[i]?charset="utf-8":"utf8=%26%2310003%3B"===parts[i]&&(charset="iso-8859-1"),skipIndex=i,i=parts.length);for(i=0;i<parts.length;++i)if(i!==skipIndex){var key,val,part=parts[i],bracketEqualsPos=part.indexOf("]="),pos=-1===bracketEqualsPos?part.indexOf("="):bracketEqualsPos+1;-1===pos?(key=options.decoder(part,defaults.decoder,charset,"key"),val=options.strictNullHandling?null:""):(key=options.decoder(part.slice(0,pos),defaults.decoder,charset,"key"),val=utils.maybeMap(parseArrayValue(part.slice(pos+1),options),(function(encodedVal){return options.decoder(encodedVal,defaults.decoder,charset,"value")}))),val&&options.interpretNumericEntities&&"iso-8859-1"===charset&&(val=interpretNumericEntities(val)),part.indexOf("[]=")>-1&&(val=isArray(val)?[val]:val),has.call(obj,key)?obj[key]=utils.combine(obj[key],val):obj[key]=val}return obj}(str,options):str,obj=options.plainObjects?Object.create(null):{},keys=Object.keys(tempObj),i=0;i<keys.length;++i){var key=keys[i],newObj=parseKeys(key,tempObj[key],options,"string"==typeof str);obj=utils.merge(obj,newObj,options)}return!0===options.allowSparse?obj:utils.compact(obj)}},"./node_modules/qs/lib/stringify.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getSideChannel=__webpack_require__("./node_modules/side-channel/index.js"),utils=__webpack_require__("./node_modules/qs/lib/utils.js"),formats=__webpack_require__("./node_modules/qs/lib/formats.js"),has=Object.prototype.hasOwnProperty,arrayPrefixGenerators={brackets:function brackets(prefix){return prefix+"[]"},comma:"comma",indices:function indices(prefix,key){return prefix+"["+key+"]"},repeat:function repeat(prefix){return prefix}},isArray=Array.isArray,split=String.prototype.split,push=Array.prototype.push,pushToArray=function(arr,valueOrArray){push.apply(arr,isArray(valueOrArray)?valueOrArray:[valueOrArray])},toISO=Date.prototype.toISOString,defaultFormat=formats.default,defaults={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:utils.encode,encodeValuesOnly:!1,format:defaultFormat,formatter:formats.formatters[defaultFormat],indices:!1,serializeDate:function serializeDate(date){return toISO.call(date)},skipNulls:!1,strictNullHandling:!1},sentinel={},stringify=function stringify(object,prefix,generateArrayPrefix,strictNullHandling,skipNulls,encoder,filter,sort,allowDots,serializeDate,format,formatter,encodeValuesOnly,charset,sideChannel){for(var obj=object,tmpSc=sideChannel,step=0,findFlag=!1;void 0!==(tmpSc=tmpSc.get(sentinel))&&!findFlag;){var pos=tmpSc.get(object);if(step+=1,void 0!==pos){if(pos===step)throw new RangeError("Cyclic object value");findFlag=!0}void 0===tmpSc.get(sentinel)&&(step=0)}if("function"==typeof filter?obj=filter(prefix,obj):obj instanceof Date?obj=serializeDate(obj):"comma"===generateArrayPrefix&&isArray(obj)&&(obj=utils.maybeMap(obj,(function(value){return value instanceof Date?serializeDate(value):value}))),null===obj){if(strictNullHandling)return encoder&&!encodeValuesOnly?encoder(prefix,defaults.encoder,charset,"key",format):prefix;obj=""}if(function isNonNullishPrimitive(v){return"string"==typeof v||"number"==typeof v||"boolean"==typeof v||"symbol"==typeof v||"bigint"==typeof v}(obj)||utils.isBuffer(obj)){if(encoder){var keyValue=encodeValuesOnly?prefix:encoder(prefix,defaults.encoder,charset,"key",format);if("comma"===generateArrayPrefix&&encodeValuesOnly){for(var valuesArray=split.call(String(obj),","),valuesJoined="",i=0;i<valuesArray.length;++i)valuesJoined+=(0===i?"":",")+formatter(encoder(valuesArray[i],defaults.encoder,charset,"value",format));return[formatter(keyValue)+"="+valuesJoined]}return[formatter(keyValue)+"="+formatter(encoder(obj,defaults.encoder,charset,"value",format))]}return[formatter(prefix)+"="+formatter(String(obj))]}var objKeys,values=[];if(void 0===obj)return values;if("comma"===generateArrayPrefix&&isArray(obj))objKeys=[{value:obj.length>0?obj.join(",")||null:void 0}];else if(isArray(filter))objKeys=filter;else{var keys=Object.keys(obj);objKeys=sort?keys.sort(sort):keys}for(var j=0;j<objKeys.length;++j){var key=objKeys[j],value="object"==typeof key&&void 0!==key.value?key.value:obj[key];if(!skipNulls||null!==value){var keyPrefix=isArray(obj)?"function"==typeof generateArrayPrefix?generateArrayPrefix(prefix,key):prefix:prefix+(allowDots?"."+key:"["+key+"]");sideChannel.set(object,step);var valueSideChannel=getSideChannel();valueSideChannel.set(sentinel,sideChannel),pushToArray(values,stringify(value,keyPrefix,generateArrayPrefix,strictNullHandling,skipNulls,encoder,filter,sort,allowDots,serializeDate,format,formatter,encodeValuesOnly,charset,valueSideChannel))}}return values};module.exports=function(object,opts){var objKeys,obj=object,options=function normalizeStringifyOptions(opts){if(!opts)return defaults;if(null!==opts.encoder&&void 0!==opts.encoder&&"function"!=typeof opts.encoder)throw new TypeError("Encoder has to be a function.");var charset=opts.charset||defaults.charset;if(void 0!==opts.charset&&"utf-8"!==opts.charset&&"iso-8859-1"!==opts.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var format=formats.default;if(void 0!==opts.format){if(!has.call(formats.formatters,opts.format))throw new TypeError("Unknown format option provided.");format=opts.format}var formatter=formats.formatters[format],filter=defaults.filter;return("function"==typeof opts.filter||isArray(opts.filter))&&(filter=opts.filter),{addQueryPrefix:"boolean"==typeof opts.addQueryPrefix?opts.addQueryPrefix:defaults.addQueryPrefix,allowDots:void 0===opts.allowDots?defaults.allowDots:!!opts.allowDots,charset,charsetSentinel:"boolean"==typeof opts.charsetSentinel?opts.charsetSentinel:defaults.charsetSentinel,delimiter:void 0===opts.delimiter?defaults.delimiter:opts.delimiter,encode:"boolean"==typeof opts.encode?opts.encode:defaults.encode,encoder:"function"==typeof opts.encoder?opts.encoder:defaults.encoder,encodeValuesOnly:"boolean"==typeof opts.encodeValuesOnly?opts.encodeValuesOnly:defaults.encodeValuesOnly,filter,format,formatter,serializeDate:"function"==typeof opts.serializeDate?opts.serializeDate:defaults.serializeDate,skipNulls:"boolean"==typeof opts.skipNulls?opts.skipNulls:defaults.skipNulls,sort:"function"==typeof opts.sort?opts.sort:null,strictNullHandling:"boolean"==typeof opts.strictNullHandling?opts.strictNullHandling:defaults.strictNullHandling}}(opts);"function"==typeof options.filter?obj=(0,options.filter)("",obj):isArray(options.filter)&&(objKeys=options.filter);var arrayFormat,keys=[];if("object"!=typeof obj||null===obj)return"";arrayFormat=opts&&opts.arrayFormat in arrayPrefixGenerators?opts.arrayFormat:opts&&"indices"in opts?opts.indices?"indices":"repeat":"indices";var generateArrayPrefix=arrayPrefixGenerators[arrayFormat];objKeys||(objKeys=Object.keys(obj)),options.sort&&objKeys.sort(options.sort);for(var sideChannel=getSideChannel(),i=0;i<objKeys.length;++i){var key=objKeys[i];options.skipNulls&&null===obj[key]||pushToArray(keys,stringify(obj[key],key,generateArrayPrefix,options.strictNullHandling,options.skipNulls,options.encode?options.encoder:null,options.filter,options.sort,options.allowDots,options.serializeDate,options.format,options.formatter,options.encodeValuesOnly,options.charset,sideChannel))}var joined=keys.join(options.delimiter),prefix=!0===options.addQueryPrefix?"?":"";return options.charsetSentinel&&("iso-8859-1"===options.charset?prefix+="utf8=%26%2310003%3B&":prefix+="utf8=%E2%9C%93&"),joined.length>0?prefix+joined:""}},"./node_modules/qs/lib/utils.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var formats=__webpack_require__("./node_modules/qs/lib/formats.js"),has=Object.prototype.hasOwnProperty,isArray=Array.isArray,hexTable=function(){for(var array=[],i=0;i<256;++i)array.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return array}(),arrayToObject=function arrayToObject(source,options){for(var obj=options&&options.plainObjects?Object.create(null):{},i=0;i<source.length;++i)void 0!==source[i]&&(obj[i]=source[i]);return obj};module.exports={arrayToObject,assign:function assignSingleSource(target,source){return Object.keys(source).reduce((function(acc,key){return acc[key]=source[key],acc}),target)},combine:function combine(a,b){return[].concat(a,b)},compact:function compact(value){for(var queue=[{obj:{o:value},prop:"o"}],refs=[],i=0;i<queue.length;++i)for(var item=queue[i],obj=item.obj[item.prop],keys=Object.keys(obj),j=0;j<keys.length;++j){var key=keys[j],val=obj[key];"object"==typeof val&&null!==val&&-1===refs.indexOf(val)&&(queue.push({obj,prop:key}),refs.push(val))}return function compactQueue(queue){for(;queue.length>1;){var item=queue.pop(),obj=item.obj[item.prop];if(isArray(obj)){for(var compacted=[],j=0;j<obj.length;++j)void 0!==obj[j]&&compacted.push(obj[j]);item.obj[item.prop]=compacted}}}(queue),value},decode:function(str,decoder,charset){var strWithoutPlus=str.replace(/\+/g," ");if("iso-8859-1"===charset)return strWithoutPlus.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(strWithoutPlus)}catch(e){return strWithoutPlus}},encode:function encode(str,defaultEncoder,charset,kind,format){if(0===str.length)return str;var string=str;if("symbol"==typeof str?string=Symbol.prototype.toString.call(str):"string"!=typeof str&&(string=String(str)),"iso-8859-1"===charset)return escape(string).replace(/%u[0-9a-f]{4}/gi,(function($0){return"%26%23"+parseInt($0.slice(2),16)+"%3B"}));for(var out="",i=0;i<string.length;++i){var c=string.charCodeAt(i);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||format===formats.RFC1738&&(40===c||41===c)?out+=string.charAt(i):c<128?out+=hexTable[c]:c<2048?out+=hexTable[192|c>>6]+hexTable[128|63&c]:c<55296||c>=57344?out+=hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&string.charCodeAt(i)),out+=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|63&c])}return out},isBuffer:function isBuffer(obj){return!(!obj||"object"!=typeof obj)&&!!(obj.constructor&&obj.constructor.isBuffer&&obj.constructor.isBuffer(obj))},isRegExp:function isRegExp(obj){return"[object RegExp]"===Object.prototype.toString.call(obj)},maybeMap:function maybeMap(val,fn){if(isArray(val)){for(var mapped=[],i=0;i<val.length;i+=1)mapped.push(fn(val[i]));return mapped}return fn(val)},merge:function merge(target,source,options){if(!source)return target;if("object"!=typeof source){if(isArray(target))target.push(source);else{if(!target||"object"!=typeof target)return[target,source];(options&&(options.plainObjects||options.allowPrototypes)||!has.call(Object.prototype,source))&&(target[source]=!0)}return target}if(!target||"object"!=typeof target)return[target].concat(source);var mergeTarget=target;return isArray(target)&&!isArray(source)&&(mergeTarget=arrayToObject(target,options)),isArray(target)&&isArray(source)?(source.forEach((function(item,i){if(has.call(target,i)){var targetItem=target[i];targetItem&&"object"==typeof targetItem&&item&&"object"==typeof item?target[i]=merge(targetItem,item,options):target.push(item)}else target[i]=item})),target):Object.keys(source).reduce((function(acc,key){var value=source[key];return has.call(acc,key)?acc[key]=merge(acc[key],value,options):acc[key]=value,acc}),mergeTarget)}}},"./node_modules/rc-field-form/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{gN:()=>es_Field,zb:()=>FieldContext,RV:()=>FormProvider,aV:()=>es_List,ZM:()=>es_ListContext,ZP:()=>es,cI:()=>es_useForm,qo:()=>es_useWatch});var react=__webpack_require__("./node_modules/react/index.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),assertThisInitialized=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),toArray=__webpack_require__("./node_modules/rc-util/es/Children/toArray.js"),warning=__webpack_require__("./node_modules/rc-util/es/warning.js"),HOOK_MARK="RC_FORM_INTERNAL_HOOKS",warningFunc=function warningFunc(){(0,warning.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const FieldContext=react.createContext({getFieldValue:warningFunc,getFieldsValue:warningFunc,getFieldError:warningFunc,getFieldWarning:warningFunc,getFieldsError:warningFunc,isFieldsTouched:warningFunc,isFieldTouched:warningFunc,isFieldValidating:warningFunc,isFieldsValidating:warningFunc,resetFields:warningFunc,setFields:warningFunc,setFieldsValue:warningFunc,validateFields:warningFunc,submit:warningFunc,getInternalHooks:function getInternalHooks(){return warningFunc(),{dispatch:warningFunc,initEntityValue:warningFunc,registerField:warningFunc,useSubscribe:warningFunc,setInitialValues:warningFunc,destroyForm:warningFunc,setCallbacks:warningFunc,registerWatch:warningFunc,getFields:warningFunc,setValidateMessages:warningFunc,setPreserve:warningFunc,getInitialValue:warningFunc}}});function typeUtil_toArray(value){return null==value?[]:Array.isArray(value)?value:[value]}var regenerator=__webpack_require__("./node_modules/@babel/runtime/regenerator/index.js"),regenerator_default=__webpack_require__.n(regenerator),asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),process=__webpack_require__("./node_modules/process/browser.js");function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _construct(Parent,args,Class){return _construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance},_construct.apply(null,arguments)}function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function _wrapNativeSuper(Class){if(null===Class||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class))return Class;if("function"!=typeof Class)throw new TypeError("Super expression must either be null or a function");if(void 0!==_cache){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return _construct(Class,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,Class)},_wrapNativeSuper(Class)}var formatRegExp=/%[sdj%]/g;function convertFieldsError(errors){if(!errors||!errors.length)return null;var fields={};return errors.forEach((function(error){var field=error.field;fields[field]=fields[field]||[],fields[field].push(error)})),fields}function format(template){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var i=0,len=args.length;if("function"==typeof template)return template.apply(null,args);if("string"==typeof template){var str=template.replace(formatRegExp,(function(x){if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}break;default:return x}}));return str}return template}function isEmptyValue(value,type){return null==value||(!("array"!==type||!Array.isArray(value)||value.length)||!(!function isNativeStringType(type){return"string"===type||"url"===type||"hex"===type||"email"===type||"date"===type||"pattern"===type}(type)||"string"!=typeof value||value))}function asyncSerialArray(arr,func,callback){var index=0,arrLength=arr.length;!function next(errors){if(errors&&errors.length)callback(errors);else{var original=index;index+=1,original<arrLength?func(arr[original],next):callback([])}}([])}void 0!==process&&process.env;var AsyncValidationError=function(_Error){function AsyncValidationError(errors,fields){var _this;return(_this=_Error.call(this,"Async Validation Error")||this).errors=errors,_this.fields=fields,_this}return function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}(AsyncValidationError,_Error),AsyncValidationError}(_wrapNativeSuper(Error));function asyncMap(objArr,option,func,callback,source){if(option.first){var _pending=new Promise((function(resolve,reject){var flattenArr=function flattenObjArr(objArr){var ret=[];return Object.keys(objArr).forEach((function(k){ret.push.apply(ret,objArr[k]||[])})),ret}(objArr);asyncSerialArray(flattenArr,func,(function next(errors){return callback(errors),errors.length?reject(new AsyncValidationError(errors,convertFieldsError(errors))):resolve(source)}))}));return _pending.catch((function(e){return e})),_pending}var firstFields=!0===option.firstFields?Object.keys(objArr):option.firstFields||[],objArrKeys=Object.keys(objArr),objArrLength=objArrKeys.length,total=0,results=[],pending=new Promise((function(resolve,reject){var next=function next(errors){if(results.push.apply(results,errors),++total===objArrLength)return callback(results),results.length?reject(new AsyncValidationError(results,convertFieldsError(results))):resolve(source)};objArrKeys.length||(callback(results),resolve(source)),objArrKeys.forEach((function(key){var arr=objArr[key];-1!==firstFields.indexOf(key)?asyncSerialArray(arr,func,next):function asyncParallelArray(arr,func,callback){var results=[],total=0,arrLength=arr.length;function count(errors){results.push.apply(results,errors||[]),++total===arrLength&&callback(results)}arr.forEach((function(a){func(a,count)}))}(arr,func,next)}))}));return pending.catch((function(e){return e})),pending}function complementError(rule,source){return function(oe){var fieldValue;return fieldValue=rule.fullFields?function getValue(value,path){for(var v=value,i=0;i<path.length;i++){if(null==v)return v;v=v[path[i]]}return v}(source,rule.fullFields):source[oe.field||rule.fullField],function isErrorObj(obj){return!(!obj||void 0===obj.message)}(oe)?(oe.field=oe.field||rule.fullField,oe.fieldValue=fieldValue,oe):{message:"function"==typeof oe?oe():oe,fieldValue,field:oe.field||rule.fullField}}}function deepMerge(target,source){if(source)for(var s in source)if(source.hasOwnProperty(s)){var value=source[s];"object"==typeof value&&"object"==typeof target[s]?target[s]=_extends({},target[s],value):target[s]=value}return target}var required$1=function required(rule,value,source,errors,options,type){!rule.required||source.hasOwnProperty(rule.field)&&!isEmptyValue(value,type||rule.type)||errors.push(format(options.messages.required,rule.fullField))},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types={integer:function integer(value){return types.number(value)&&parseInt(value,10)===value},float:function float(value){return types.number(value)&&!types.integer(value)},array:function array(value){return Array.isArray(value)},regexp:function regexp(value){if(value instanceof RegExp)return!0;try{return!!new RegExp(value)}catch(e){return!1}},date:function date(value){return"function"==typeof value.getTime&&"function"==typeof value.getMonth&&"function"==typeof value.getYear&&!isNaN(value.getTime())},number:function number(value){return!isNaN(value)&&"number"==typeof value},object:function object(value){return"object"==typeof value&&!types.array(value)},method:function method(value){return"function"==typeof value},email:function email(value){return"string"==typeof value&&value.length<=320&&!!value.match(pattern$2.email)},url:function url(value){return"string"==typeof value&&value.length<=2048&&!!value.match(pattern$2.url)},hex:function hex(value){return"string"==typeof value&&!!value.match(pattern$2.hex)}},rules={required:required$1,whitespace:function whitespace(rule,value,source,errors,options){(/^\s+$/.test(value)||""===value)&&errors.push(format(options.messages.whitespace,rule.fullField))},type:function type(rule,value,source,errors,options){if(rule.required&&void 0===value)required$1(rule,value,source,errors,options);else{var ruleType=rule.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(ruleType)>-1?types[ruleType](value)||errors.push(format(options.messages.types[ruleType],rule.fullField,rule.type)):ruleType&&typeof value!==rule.type&&errors.push(format(options.messages.types[ruleType],rule.fullField,rule.type))}},range:function range(rule,value,source,errors,options){var len="number"==typeof rule.len,min="number"==typeof rule.min,max="number"==typeof rule.max,val=value,key=null,num="number"==typeof value,str="string"==typeof value,arr=Array.isArray(value);if(num?key="number":str?key="string":arr&&(key="array"),!key)return!1;arr&&(val=value.length),str&&(val=value.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),len?val!==rule.len&&errors.push(format(options.messages[key].len,rule.fullField,rule.len)):min&&!max&&val<rule.min?errors.push(format(options.messages[key].min,rule.fullField,rule.min)):max&&!min&&val>rule.max?errors.push(format(options.messages[key].max,rule.fullField,rule.max)):min&&max&&(val<rule.min||val>rule.max)&&errors.push(format(options.messages[key].range,rule.fullField,rule.min,rule.max))},enum:function enumerable(rule,value,source,errors,options){rule.enum=Array.isArray(rule.enum)?rule.enum:[],-1===rule.enum.indexOf(value)&&errors.push(format(options.messages.enum,rule.fullField,rule.enum.join(", ")))},pattern:function pattern(rule,value,source,errors,options){if(rule.pattern)if(rule.pattern instanceof RegExp)rule.pattern.lastIndex=0,rule.pattern.test(value)||errors.push(format(options.messages.pattern.mismatch,rule.fullField,value,rule.pattern));else if("string"==typeof rule.pattern){new RegExp(rule.pattern).test(value)||errors.push(format(options.messages.pattern.mismatch,rule.fullField,value,rule.pattern))}}},type=function type(rule,value,callback,source,options){var ruleType=rule.type,errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value,ruleType)&&!rule.required)return callback();rules.required(rule,value,source,errors,options,ruleType),isEmptyValue(value,ruleType)||rules.type(rule,value,source,errors,options)}callback(errors)},validators={string:function string(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value,"string")&&!rule.required)return callback();rules.required(rule,value,source,errors,options,"string"),isEmptyValue(value,"string")||(rules.type(rule,value,source,errors,options),rules.range(rule,value,source,errors,options),rules.pattern(rule,value,source,errors,options),!0===rule.whitespace&&rules.whitespace(rule,value,source,errors,options))}callback(errors)},method:function method(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options),void 0!==value&&rules.type(rule,value,source,errors,options)}callback(errors)},number:function number(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(""===value&&(value=void 0),isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options),void 0!==value&&(rules.type(rule,value,source,errors,options),rules.range(rule,value,source,errors,options))}callback(errors)},boolean:function _boolean(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options),void 0!==value&&rules.type(rule,value,source,errors,options)}callback(errors)},regexp:function regexp(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options),isEmptyValue(value)||rules.type(rule,value,source,errors,options)}callback(errors)},integer:function integer(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options),void 0!==value&&(rules.type(rule,value,source,errors,options),rules.range(rule,value,source,errors,options))}callback(errors)},float:function floatFn(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options),void 0!==value&&(rules.type(rule,value,source,errors,options),rules.range(rule,value,source,errors,options))}callback(errors)},array:function array(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(null==value&&!rule.required)return callback();rules.required(rule,value,source,errors,options,"array"),null!=value&&(rules.type(rule,value,source,errors,options),rules.range(rule,value,source,errors,options))}callback(errors)},object:function object(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options),void 0!==value&&rules.type(rule,value,source,errors,options)}callback(errors)},enum:function enumerable(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options),void 0!==value&&rules.enum(rule,value,source,errors,options)}callback(errors)},pattern:function pattern(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value,"string")&&!rule.required)return callback();rules.required(rule,value,source,errors,options),isEmptyValue(value,"string")||rules.pattern(rule,value,source,errors,options)}callback(errors)},date:function date(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value,"date")&&!rule.required)return callback();var dateObject;if(rules.required(rule,value,source,errors,options),!isEmptyValue(value,"date"))dateObject=value instanceof Date?value:new Date(value),rules.type(rule,dateObject,source,errors,options),dateObject&&rules.range(rule,dateObject.getTime(),source,errors,options)}callback(errors)},url:type,hex:type,email:type,required:function required(rule,value,callback,source,options){var errors=[],type=Array.isArray(value)?"array":typeof value;rules.required(rule,value,source,errors,options,type),callback(errors)},any:function any(rule,value,callback,source,options){var errors=[];if(rule.required||!rule.required&&source.hasOwnProperty(rule.field)){if(isEmptyValue(value)&&!rule.required)return callback();rules.required(rule,value,source,errors,options)}callback(errors)}};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function clone(){var cloned=JSON.parse(JSON.stringify(this));return cloned.clone=this.clone,cloned}}}var messages=newMessages(),Schema=function(){function Schema(descriptor){this.rules=null,this._messages=messages,this.define(descriptor)}var _proto=Schema.prototype;return _proto.define=function define(rules){var _this=this;if(!rules)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof rules||Array.isArray(rules))throw new Error("Rules must be an object");this.rules={},Object.keys(rules).forEach((function(name){var item=rules[name];_this.rules[name]=Array.isArray(item)?item:[item]}))},_proto.messages=function messages(_messages){return _messages&&(this._messages=deepMerge(newMessages(),_messages)),this._messages},_proto.validate=function validate(source_,o,oc){var _this2=this;void 0===o&&(o={}),void 0===oc&&(oc=function oc(){});var source=source_,options=o,callback=oc;if("function"==typeof options&&(callback=options,options={}),!this.rules||0===Object.keys(this.rules).length)return callback&&callback(null,source),Promise.resolve(source);if(options.messages){var messages$1=this.messages();messages$1===messages&&(messages$1=newMessages()),deepMerge(messages$1,options.messages),options.messages=messages$1}else options.messages=this.messages();var series={};(options.keys||Object.keys(this.rules)).forEach((function(z){var arr=_this2.rules[z],value=source[z];arr.forEach((function(r){var rule=r;"function"==typeof rule.transform&&(source===source_&&(source=_extends({},source)),value=source[z]=rule.transform(value)),(rule="function"==typeof rule?{validator:rule}:_extends({},rule)).validator=_this2.getValidationMethod(rule),rule.validator&&(rule.field=z,rule.fullField=rule.fullField||z,rule.type=_this2.getType(rule),series[z]=series[z]||[],series[z].push({rule,value,source,field:z}))}))}));var errorFields={};return asyncMap(series,options,(function(data,doIt){var res,rule=data.rule,deep=!("object"!==rule.type&&"array"!==rule.type||"object"!=typeof rule.fields&&"object"!=typeof rule.defaultField);function addFullField(key,schema){return _extends({},schema,{fullField:rule.fullField+"."+key,fullFields:rule.fullFields?[].concat(rule.fullFields,[key]):[key]})}function cb(e){void 0===e&&(e=[]);var errorList=Array.isArray(e)?e:[e];!options.suppressWarning&&errorList.length&&Schema.warning("async-validator:",errorList),errorList.length&&void 0!==rule.message&&(errorList=[].concat(rule.message));var filledErrors=errorList.map(complementError(rule,source));if(options.first&&filledErrors.length)return errorFields[rule.field]=1,doIt(filledErrors);if(deep){if(rule.required&&!data.value)return void 0!==rule.message?filledErrors=[].concat(rule.message).map(complementError(rule,source)):options.error&&(filledErrors=[options.error(rule,format(options.messages.required,rule.field))]),doIt(filledErrors);var fieldsSchema={};rule.defaultField&&Object.keys(data.value).map((function(key){fieldsSchema[key]=rule.defaultField})),fieldsSchema=_extends({},fieldsSchema,data.rule.fields);var paredFieldsSchema={};Object.keys(fieldsSchema).forEach((function(field){var fieldSchema=fieldsSchema[field],fieldSchemaList=Array.isArray(fieldSchema)?fieldSchema:[fieldSchema];paredFieldsSchema[field]=fieldSchemaList.map(addFullField.bind(null,field))}));var schema=new Schema(paredFieldsSchema);schema.messages(options.messages),data.rule.options&&(data.rule.options.messages=options.messages,data.rule.options.error=options.error),schema.validate(data.value,data.rule.options||options,(function(errs){var finalErrors=[];filledErrors&&filledErrors.length&&finalErrors.push.apply(finalErrors,filledErrors),errs&&errs.length&&finalErrors.push.apply(finalErrors,errs),doIt(finalErrors.length?finalErrors:null)}))}else doIt(filledErrors)}if(deep=deep&&(rule.required||!rule.required&&data.value),rule.field=data.field,rule.asyncValidator)res=rule.asyncValidator(rule,data.value,cb,data.source,options);else if(rule.validator){try{res=rule.validator(rule,data.value,cb,data.source,options)}catch(error){null==console.error||console.error(error),setTimeout((function(){throw error}),0),cb(error.message)}!0===res?cb():!1===res?cb("function"==typeof rule.message?rule.message(rule.fullField||rule.field):rule.message||(rule.fullField||rule.field)+" fails"):res instanceof Array?cb(res):res instanceof Error&&cb(res.message)}res&&res.then&&res.then((function(){return cb()}),(function(e){return cb(e)}))}),(function(results){!function complete(results){for(var e,_errors,errors=[],fields={},i=0;i<results.length;i++)e=results[i],_errors=void 0,Array.isArray(e)?errors=(_errors=errors).concat.apply(_errors,e):errors.push(e);errors.length?(fields=convertFieldsError(errors),callback(errors,fields)):callback(null,source)}(results)}),source)},_proto.getType=function getType(rule){if(void 0===rule.type&&rule.pattern instanceof RegExp&&(rule.type="pattern"),"function"!=typeof rule.validator&&rule.type&&!validators.hasOwnProperty(rule.type))throw new Error(format("Unknown rule type %s",rule.type));return rule.type||"string"},_proto.getValidationMethod=function getValidationMethod(rule){if("function"==typeof rule.validator)return rule.validator;var keys=Object.keys(rule),messageIndex=keys.indexOf("message");return-1!==messageIndex&&keys.splice(messageIndex,1),1===keys.length&&"required"===keys[0]?validators.required:validators[this.getType(rule)]||void 0},Schema}();Schema.register=function register(type,validator){if("function"!=typeof validator)throw new Error("Cannot register a validator by type, validator is not a function");validators[type]=validator},Schema.warning=function warning(){},Schema.messages=messages,Schema.validators=validators;var typeTemplate="'${name}' is not a valid ${type}",defaultValidateMessages={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:typeTemplate,method:typeTemplate,array:typeTemplate,object:typeTemplate,number:typeTemplate,date:typeTemplate,boolean:typeTemplate,integer:typeTemplate,float:typeTemplate,regexp:typeTemplate,email:typeTemplate,url:typeTemplate,hex:typeTemplate},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js");function get(entity,path){for(var current=entity,i=0;i<path.length;i+=1){if(null==current)return;current=current[path[i]]}return current}var esm_toArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toArray.js");function internalSet(entity,paths,value,removeIfUndefined){if(!paths.length)return value;var clone,_paths=(0,esm_toArray.Z)(paths),path=_paths[0],restPath=_paths.slice(1);return clone=entity||"number"!=typeof path?Array.isArray(entity)?(0,toConsumableArray.Z)(entity):(0,objectSpread2.Z)({},entity):[],removeIfUndefined&&void 0===value&&1===restPath.length?delete clone[path][restPath[0]]:clone[path]=internalSet(clone[path],restPath,value,removeIfUndefined),clone}function set(entity,paths,value){var removeIfUndefined=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return paths.length&&removeIfUndefined&&void 0===value&&!get(entity,paths.slice(0,-1))?entity:internalSet(entity,paths,value,removeIfUndefined)}function cloneDeep(val){return Array.isArray(val)?function cloneArrayDeep(val){return val.map((function(item){return cloneDeep(item)}))}(val):"object"===(0,esm_typeof.Z)(val)&&null!==val?function cloneObjectDeep(val){if(Object.getPrototypeOf(val)===Object.prototype){var res={};for(var key in val)res[key]=cloneDeep(val[key]);return res}return val}(val):val}const utils_cloneDeep=cloneDeep;function getNamePath(path){return typeUtil_toArray(path)}function valueUtil_getValue(store,namePath){return get(store,namePath)}function setValue(store,namePath,value){var removeIfUndefined=arguments.length>3&&void 0!==arguments[3]&&arguments[3],newStore=set(store,namePath,value,removeIfUndefined);return newStore}function cloneByNamePathList(store,namePathList){var newStore={};return namePathList.forEach((function(namePath){var value=valueUtil_getValue(store,namePath);newStore=setValue(newStore,namePath,value)})),newStore}function containsNamePath(namePathList,namePath){return namePathList&&namePathList.some((function(path){return matchNamePath(path,namePath)}))}function isObject(obj){return"object"===(0,esm_typeof.Z)(obj)&&null!==obj&&Object.getPrototypeOf(obj)===Object.prototype}function internalSetValues(store,values){var newStore=Array.isArray(store)?(0,toConsumableArray.Z)(store):(0,objectSpread2.Z)({},store);return values?(Object.keys(values).forEach((function(key){var prevValue=newStore[key],value=values[key],recursive=isObject(prevValue)&&isObject(value);newStore[key]=recursive?internalSetValues(prevValue,value||{}):utils_cloneDeep(value)})),newStore):newStore}function setValues(store){for(var _len=arguments.length,restValues=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)restValues[_key-1]=arguments[_key];return restValues.reduce((function(current,newStore){return internalSetValues(current,newStore)}),store)}function matchNamePath(namePath,changedNamePath){return!(!namePath||!changedNamePath||namePath.length!==changedNamePath.length)&&namePath.every((function(nameUnit,i){return changedNamePath[i]===nameUnit}))}function defaultGetValueFromEvent(valuePropName){var event=arguments.length<=1?void 0:arguments[1];return event&&event.target&&"object"===(0,esm_typeof.Z)(event.target)&&valuePropName in event.target?event.target[valuePropName]:event}function valueUtil_move(array,moveIndex,toIndex){var length=array.length;if(moveIndex<0||moveIndex>=length||toIndex<0||toIndex>=length)return array;var item=array[moveIndex],diff=moveIndex-toIndex;return diff>0?[].concat((0,toConsumableArray.Z)(array.slice(0,toIndex)),[item],(0,toConsumableArray.Z)(array.slice(toIndex,moveIndex)),(0,toConsumableArray.Z)(array.slice(moveIndex+1,length))):diff<0?[].concat((0,toConsumableArray.Z)(array.slice(0,moveIndex)),(0,toConsumableArray.Z)(array.slice(moveIndex+1,toIndex+1)),[item],(0,toConsumableArray.Z)(array.slice(toIndex+1,length))):array}var AsyncValidator=Schema;function replaceMessage(template,kv){return template.replace(/\$\{\w+\}/g,(function(str){var key=str.slice(2,-1);return kv[key]}))}function validateRule(_x,_x2,_x3,_x4,_x5){return _validateRule.apply(this,arguments)}function _validateRule(){return _validateRule=(0,asyncToGenerator.Z)(regenerator_default().mark((function _callee2(name,value,rule,options,messageVariables){var cloneRule,originValidator,subRuleField,validator,messages,result,subResults,kv,fillVariableResult;return regenerator_default().wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return delete(cloneRule=(0,objectSpread2.Z)({},rule)).ruleIndex,cloneRule.validator&&(originValidator=cloneRule.validator,cloneRule.validator=function(){try{return originValidator.apply(void 0,arguments)}catch(error){return console.error(error),Promise.reject("CODE_LOGIC_ERROR")}}),subRuleField=null,cloneRule&&"array"===cloneRule.type&&cloneRule.defaultField&&(subRuleField=cloneRule.defaultField,delete cloneRule.defaultField),validator=new AsyncValidator((0,defineProperty.Z)({},name,[cloneRule])),messages=setValues({},defaultValidateMessages,options.validateMessages),validator.messages(messages),result=[],_context2.prev=9,_context2.next=12,Promise.resolve(validator.validate((0,defineProperty.Z)({},name,value),(0,objectSpread2.Z)({},options)));case 12:_context2.next=17;break;case 14:_context2.prev=14,_context2.t0=_context2.catch(9),_context2.t0.errors&&(result=_context2.t0.errors.map((function(_ref4,index){var message=_ref4.message,mergedMessage="CODE_LOGIC_ERROR"===message?messages.default:message;return react.isValidElement(mergedMessage)?react.cloneElement(mergedMessage,{key:"error_".concat(index)}):mergedMessage})));case 17:if(result.length||!subRuleField){_context2.next=22;break}return _context2.next=20,Promise.all(value.map((function(subValue,i){return validateRule("".concat(name,".").concat(i),subValue,subRuleField,options,messageVariables)})));case 20:return subResults=_context2.sent,_context2.abrupt("return",subResults.reduce((function(prev,errors){return[].concat((0,toConsumableArray.Z)(prev),(0,toConsumableArray.Z)(errors))}),[]));case 22:return kv=(0,objectSpread2.Z)((0,objectSpread2.Z)({},rule),{},{name,enum:(rule.enum||[]).join(", ")},messageVariables),fillVariableResult=result.map((function(error){return"string"==typeof error?replaceMessage(error,kv):error})),_context2.abrupt("return",fillVariableResult);case 25:case"end":return _context2.stop()}}),_callee2,null,[[9,14]])}))),_validateRule.apply(this,arguments)}function validateRules(namePath,value,rules,options,validateFirst,messageVariables){var summaryPromise,name=namePath.join("."),filledRules=rules.map((function(currentRule,ruleIndex){var originValidatorFunc=currentRule.validator,cloneRule=(0,objectSpread2.Z)((0,objectSpread2.Z)({},currentRule),{},{ruleIndex});return originValidatorFunc&&(cloneRule.validator=function(rule,val,callback){var hasPromise=!1,promise=originValidatorFunc(rule,val,(function wrappedCallback(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];Promise.resolve().then((function(){(0,warning.ZP)(!hasPromise,"Your validator function has already return a promise. `callback` will be ignored."),hasPromise||callback.apply(void 0,args)}))}));hasPromise=promise&&"function"==typeof promise.then&&"function"==typeof promise.catch,(0,warning.ZP)(hasPromise,"`callback` is deprecated. Please return a promise instead."),hasPromise&&promise.then((function(){callback()})).catch((function(err){callback(err||" ")}))}),cloneRule})).sort((function(_ref,_ref2){var w1=_ref.warningOnly,i1=_ref.ruleIndex,w2=_ref2.warningOnly,i2=_ref2.ruleIndex;return!!w1==!!w2?i1-i2:w1?1:-1}));if(!0===validateFirst)summaryPromise=new Promise(function(){var _ref3=(0,asyncToGenerator.Z)(regenerator_default().mark((function _callee(resolve,reject){var i,rule,errors;return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:i=0;case 1:if(!(i<filledRules.length)){_context.next=12;break}return rule=filledRules[i],_context.next=5,validateRule(name,value,rule,options,messageVariables);case 5:if(!(errors=_context.sent).length){_context.next=9;break}return reject([{errors,rule}]),_context.abrupt("return");case 9:i+=1,_context.next=1;break;case 12:resolve([]);case 13:case"end":return _context.stop()}}),_callee)})));return function(_x6,_x7){return _ref3.apply(this,arguments)}}());else{var rulePromises=filledRules.map((function(rule){return validateRule(name,value,rule,options,messageVariables).then((function(errors){return{errors,rule}}))}));summaryPromise=(validateFirst?function finishOnFirstFailed(_x9){return _finishOnFirstFailed.apply(this,arguments)}(rulePromises):function finishOnAllFailed(_x8){return _finishOnAllFailed.apply(this,arguments)}(rulePromises)).then((function(errors){return Promise.reject(errors)}))}return summaryPromise.catch((function(e){return e})),summaryPromise}function _finishOnAllFailed(){return(_finishOnAllFailed=(0,asyncToGenerator.Z)(regenerator_default().mark((function _callee3(rulePromises){return regenerator_default().wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:return _context3.abrupt("return",Promise.all(rulePromises).then((function(errorsList){var _ref5;return(_ref5=[]).concat.apply(_ref5,(0,toConsumableArray.Z)(errorsList))})));case 1:case"end":return _context3.stop()}}),_callee3)})))).apply(this,arguments)}function _finishOnFirstFailed(){return(_finishOnFirstFailed=(0,asyncToGenerator.Z)(regenerator_default().mark((function _callee4(rulePromises){var count;return regenerator_default().wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:return count=0,_context4.abrupt("return",new Promise((function(resolve){rulePromises.forEach((function(promise){promise.then((function(ruleError){ruleError.errors.length&&resolve([ruleError]),(count+=1)===rulePromises.length&&resolve([])}))}))})));case 2:case"end":return _context4.stop()}}),_callee4)})))).apply(this,arguments)}var _excluded=["name"],EMPTY_ERRORS=[];function requireUpdate(shouldUpdate,prev,next,prevValue,nextValue,info){return"function"==typeof shouldUpdate?shouldUpdate(prev,next,"source"in info?{source:info.source}:{}):prevValue!==nextValue}var Field=function(_React$Component){(0,inherits.Z)(Field,_React$Component);var _super=(0,createSuper.Z)(Field);function Field(props){var _this;((0,classCallCheck.Z)(this,Field),(_this=_super.call(this,props)).state={resetCount:0},_this.cancelRegisterFunc=null,_this.mounted=!1,_this.touched=!1,_this.dirty=!1,_this.validatePromise=null,_this.prevValidating=void 0,_this.errors=EMPTY_ERRORS,_this.warnings=EMPTY_ERRORS,_this.cancelRegister=function(){var _this$props=_this.props,preserve=_this$props.preserve,isListField=_this$props.isListField,name=_this$props.name;_this.cancelRegisterFunc&&_this.cancelRegisterFunc(isListField,preserve,getNamePath(name)),_this.cancelRegisterFunc=null},_this.getNamePath=function(){var _this$props2=_this.props,name=_this$props2.name,_fieldContext$prefixN=_this$props2.fieldContext.prefixName,prefixName=void 0===_fieldContext$prefixN?[]:_fieldContext$prefixN;return void 0!==name?[].concat((0,toConsumableArray.Z)(prefixName),(0,toConsumableArray.Z)(name)):[]},_this.getRules=function(){var _this$props3=_this.props,_this$props3$rules=_this$props3.rules,rules=void 0===_this$props3$rules?[]:_this$props3$rules,fieldContext=_this$props3.fieldContext;return rules.map((function(rule){return"function"==typeof rule?rule(fieldContext):rule}))},_this.refresh=function(){_this.mounted&&_this.setState((function(_ref){return{resetCount:_ref.resetCount+1}}))},_this.triggerMetaEvent=function(destroy){var onMetaChange=_this.props.onMetaChange;null==onMetaChange||onMetaChange((0,objectSpread2.Z)((0,objectSpread2.Z)({},_this.getMeta()),{},{destroy}))},_this.onStoreChange=function(prevStore,namePathList,info){var _this$props4=_this.props,shouldUpdate=_this$props4.shouldUpdate,_this$props4$dependen=_this$props4.dependencies,dependencies=void 0===_this$props4$dependen?[]:_this$props4$dependen,onReset=_this$props4.onReset,store=info.store,namePath=_this.getNamePath(),prevValue=_this.getValue(prevStore),curValue=_this.getValue(store),namePathMatch=namePathList&&containsNamePath(namePathList,namePath);switch("valueUpdate"===info.type&&"external"===info.source&&prevValue!==curValue&&(_this.touched=!0,_this.dirty=!0,_this.validatePromise=null,_this.errors=EMPTY_ERRORS,_this.warnings=EMPTY_ERRORS,_this.triggerMetaEvent()),info.type){case"reset":if(!namePathList||namePathMatch)return _this.touched=!1,_this.dirty=!1,_this.validatePromise=null,_this.errors=EMPTY_ERRORS,_this.warnings=EMPTY_ERRORS,_this.triggerMetaEvent(),null==onReset||onReset(),void _this.refresh();break;case"remove":if(shouldUpdate)return void _this.reRender();break;case"setField":if(namePathMatch){var data=info.data;return"touched"in data&&(_this.touched=data.touched),"validating"in data&&!("originRCField"in data)&&(_this.validatePromise=data.validating?Promise.resolve([]):null),"errors"in data&&(_this.errors=data.errors||EMPTY_ERRORS),"warnings"in data&&(_this.warnings=data.warnings||EMPTY_ERRORS),_this.dirty=!0,_this.triggerMetaEvent(),void _this.reRender()}if(shouldUpdate&&!namePath.length&&requireUpdate(shouldUpdate,prevStore,store,prevValue,curValue,info))return void _this.reRender();break;case"dependenciesUpdate":if(dependencies.map(getNamePath).some((function(dependency){return containsNamePath(info.relatedFields,dependency)})))return void _this.reRender();break;default:if(namePathMatch||(!dependencies.length||namePath.length||shouldUpdate)&&requireUpdate(shouldUpdate,prevStore,store,prevValue,curValue,info))return void _this.reRender()}!0===shouldUpdate&&_this.reRender()},_this.validateRules=function(options){var namePath=_this.getNamePath(),currentValue=_this.getValue(),rootPromise=Promise.resolve().then((function(){if(!_this.mounted)return[];var _this$props5=_this.props,_this$props5$validate=_this$props5.validateFirst,validateFirst=void 0!==_this$props5$validate&&_this$props5$validate,messageVariables=_this$props5.messageVariables,triggerName=(options||{}).triggerName,filteredRules=_this.getRules();triggerName&&(filteredRules=filteredRules.filter((function(rule){var validateTrigger=rule.validateTrigger;return!validateTrigger||typeUtil_toArray(validateTrigger).includes(triggerName)})));var promise=validateRules(namePath,currentValue,filteredRules,options,validateFirst,messageVariables);return promise.catch((function(e){return e})).then((function(){var ruleErrors=arguments.length>0&&void 0!==arguments[0]?arguments[0]:EMPTY_ERRORS;if(_this.validatePromise===rootPromise){_this.validatePromise=null;var nextErrors=[],nextWarnings=[];ruleErrors.forEach((function(_ref3){var warningOnly=_ref3.rule.warningOnly,_ref3$errors=_ref3.errors,errors=void 0===_ref3$errors?EMPTY_ERRORS:_ref3$errors;warningOnly?nextWarnings.push.apply(nextWarnings,(0,toConsumableArray.Z)(errors)):nextErrors.push.apply(nextErrors,(0,toConsumableArray.Z)(errors))})),_this.errors=nextErrors,_this.warnings=nextWarnings,_this.triggerMetaEvent(),_this.reRender()}})),promise}));return _this.validatePromise=rootPromise,_this.dirty=!0,_this.errors=EMPTY_ERRORS,_this.warnings=EMPTY_ERRORS,_this.triggerMetaEvent(),_this.reRender(),rootPromise},_this.isFieldValidating=function(){return!!_this.validatePromise},_this.isFieldTouched=function(){return _this.touched},_this.isFieldDirty=function(){return!(!_this.dirty&&void 0===_this.props.initialValue)||void 0!==(0,_this.props.fieldContext.getInternalHooks(HOOK_MARK).getInitialValue)(_this.getNamePath())},_this.getErrors=function(){return _this.errors},_this.getWarnings=function(){return _this.warnings},_this.isListField=function(){return _this.props.isListField},_this.isList=function(){return _this.props.isList},_this.isPreserve=function(){return _this.props.preserve},_this.getMeta=function(){return _this.prevValidating=_this.isFieldValidating(),{touched:_this.isFieldTouched(),validating:_this.prevValidating,errors:_this.errors,warnings:_this.warnings,name:_this.getNamePath()}},_this.getOnlyChild=function(children){if("function"==typeof children){var meta=_this.getMeta();return(0,objectSpread2.Z)((0,objectSpread2.Z)({},_this.getOnlyChild(children(_this.getControlled(),meta,_this.props.fieldContext))),{},{isFunction:!0})}var childList=(0,toArray.Z)(children);return 1===childList.length&&react.isValidElement(childList[0])?{child:childList[0],isFunction:!1}:{child:childList,isFunction:!1}},_this.getValue=function(store){var getFieldsValue=_this.props.fieldContext.getFieldsValue,namePath=_this.getNamePath();return valueUtil_getValue(store||getFieldsValue(!0),namePath)},_this.getControlled=function(){var childProps=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_this$props6=_this.props,trigger=_this$props6.trigger,validateTrigger=_this$props6.validateTrigger,getValueFromEvent=_this$props6.getValueFromEvent,normalize=_this$props6.normalize,valuePropName=_this$props6.valuePropName,getValueProps=_this$props6.getValueProps,fieldContext=_this$props6.fieldContext,mergedValidateTrigger=void 0!==validateTrigger?validateTrigger:fieldContext.validateTrigger,namePath=_this.getNamePath(),getInternalHooks=fieldContext.getInternalHooks,getFieldsValue=fieldContext.getFieldsValue,_getInternalHooks=getInternalHooks(HOOK_MARK),dispatch=_getInternalHooks.dispatch,value=_this.getValue(),mergedGetValueProps=getValueProps||function(val){return(0,defineProperty.Z)({},valuePropName,val)},originTriggerFunc=childProps[trigger],control=(0,objectSpread2.Z)((0,objectSpread2.Z)({},childProps),mergedGetValueProps(value));control[trigger]=function(){var newValue;_this.touched=!0,_this.dirty=!0,_this.triggerMetaEvent();for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];newValue=getValueFromEvent?getValueFromEvent.apply(void 0,args):defaultGetValueFromEvent.apply(void 0,[valuePropName].concat(args)),normalize&&(newValue=normalize(newValue,value,getFieldsValue(!0))),dispatch({type:"updateValue",namePath,value:newValue}),originTriggerFunc&&originTriggerFunc.apply(void 0,args)};var validateTriggerList=typeUtil_toArray(mergedValidateTrigger||[]);return validateTriggerList.forEach((function(triggerName){var originTrigger=control[triggerName];control[triggerName]=function(){originTrigger&&originTrigger.apply(void 0,arguments);var rules=_this.props.rules;rules&&rules.length&&dispatch({type:"validateField",namePath,triggerName})}})),control},props.fieldContext)&&(0,(0,props.fieldContext.getInternalHooks)(HOOK_MARK).initEntityValue)((0,assertThisInitialized.Z)(_this));return _this}return(0,createClass.Z)(Field,[{key:"componentDidMount",value:function componentDidMount(){var _this$props7=this.props,shouldUpdate=_this$props7.shouldUpdate,fieldContext=_this$props7.fieldContext;if(this.mounted=!0,fieldContext){var registerField=(0,fieldContext.getInternalHooks)(HOOK_MARK).registerField;this.cancelRegisterFunc=registerField(this)}!0===shouldUpdate&&this.reRender()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function reRender(){this.mounted&&this.forceUpdate()}},{key:"render",value:function render(){var returnChildNode,resetCount=this.state.resetCount,children=this.props.children,_this$getOnlyChild=this.getOnlyChild(children),child=_this$getOnlyChild.child;return _this$getOnlyChild.isFunction?returnChildNode=child:react.isValidElement(child)?returnChildNode=react.cloneElement(child,this.getControlled(child.props)):((0,warning.ZP)(!child,"`children` of Field is not validate ReactElement."),returnChildNode=child),react.createElement(react.Fragment,{key:resetCount},returnChildNode)}}]),Field}(react.Component);Field.contextType=FieldContext,Field.defaultProps={trigger:"onChange",valuePropName:"value"};const es_Field=function WrapperField(_ref5){var name=_ref5.name,restProps=(0,objectWithoutProperties.Z)(_ref5,_excluded),fieldContext=react.useContext(FieldContext),namePath=void 0!==name?getNamePath(name):void 0,key="keep";return restProps.isListField||(key="_".concat((namePath||[]).join("_"))),react.createElement(Field,(0,esm_extends.Z)({key,name:namePath},restProps,{fieldContext}))};const es_ListContext=react.createContext(null);const es_List=function List(_ref){var name=_ref.name,initialValue=_ref.initialValue,children=_ref.children,rules=_ref.rules,validateTrigger=_ref.validateTrigger,context=react.useContext(FieldContext),keyManager=react.useRef({keys:[],id:0}).current,prefixName=react.useMemo((function(){var parentPrefixName=getNamePath(context.prefixName)||[];return[].concat((0,toConsumableArray.Z)(parentPrefixName),(0,toConsumableArray.Z)(getNamePath(name)))}),[context.prefixName,name]),fieldContext=react.useMemo((function(){return(0,objectSpread2.Z)((0,objectSpread2.Z)({},context),{},{prefixName})}),[context,prefixName]),listContext=react.useMemo((function(){return{getKey:function getKey(namePath){var len=prefixName.length,pathName=namePath[len];return[keyManager.keys[pathName],namePath.slice(len+1)]}}}),[prefixName]);if("function"!=typeof children)return(0,warning.ZP)(!1,"Form.List only accepts function as children."),null;return react.createElement(es_ListContext.Provider,{value:listContext},react.createElement(FieldContext.Provider,{value:fieldContext},react.createElement(es_Field,{name:[],shouldUpdate:function shouldUpdate(prevValue,nextValue,_ref2){return"internal"!==_ref2.source&&prevValue!==nextValue},rules,validateTrigger,initialValue,isList:!0},(function(_ref3,meta){var _ref3$value=_ref3.value,value=void 0===_ref3$value?[]:_ref3$value,onChange=_ref3.onChange,getFieldValue=context.getFieldValue,getNewValue=function getNewValue(){return getFieldValue(prefixName||[])||[]},operations={add:function add(defaultValue,index){var newValue=getNewValue();index>=0&&index<=newValue.length?(keyManager.keys=[].concat((0,toConsumableArray.Z)(keyManager.keys.slice(0,index)),[keyManager.id],(0,toConsumableArray.Z)(keyManager.keys.slice(index))),onChange([].concat((0,toConsumableArray.Z)(newValue.slice(0,index)),[defaultValue],(0,toConsumableArray.Z)(newValue.slice(index))))):(keyManager.keys=[].concat((0,toConsumableArray.Z)(keyManager.keys),[keyManager.id]),onChange([].concat((0,toConsumableArray.Z)(newValue),[defaultValue]))),keyManager.id+=1},remove:function remove(index){var newValue=getNewValue(),indexSet=new Set(Array.isArray(index)?index:[index]);indexSet.size<=0||(keyManager.keys=keyManager.keys.filter((function(_,keysIndex){return!indexSet.has(keysIndex)})),onChange(newValue.filter((function(_,valueIndex){return!indexSet.has(valueIndex)}))))},move:function move(from,to){if(from!==to){var newValue=getNewValue();from<0||from>=newValue.length||to<0||to>=newValue.length||(keyManager.keys=valueUtil_move(keyManager.keys,from,to),onChange(valueUtil_move(newValue,from,to)))}}},listValue=value||[];return Array.isArray(listValue)||(listValue=[]),children(listValue.map((function(__,index){var key=keyManager.keys[index];return void 0===key&&(keyManager.keys[index]=keyManager.id,key=keyManager.keys[index],keyManager.id+=1),{name:index,key,isListField:!0}})),operations,meta)}))))};var slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var SPLIT="__@field_split__";function normalize(namePath){return namePath.map((function(cell){return"".concat((0,esm_typeof.Z)(cell),":").concat(cell)})).join(SPLIT)}var NameMap=function(){function NameMap(){(0,classCallCheck.Z)(this,NameMap),this.kvs=new Map}return(0,createClass.Z)(NameMap,[{key:"set",value:function set(key,value){this.kvs.set(normalize(key),value)}},{key:"get",value:function get(key){return this.kvs.get(normalize(key))}},{key:"update",value:function update(key,updater){var next=updater(this.get(key));next?this.set(key,next):this.delete(key)}},{key:"delete",value:function _delete(key){this.kvs.delete(normalize(key))}},{key:"map",value:function map(callback){return(0,toConsumableArray.Z)(this.kvs.entries()).map((function(_ref){var _ref2=(0,slicedToArray.Z)(_ref,2),key=_ref2[0],value=_ref2[1],cells=key.split(SPLIT);return callback({key:cells.map((function(cell){var _cell$match=cell.match(/^([^:]*):(.*)$/),_cell$match2=(0,slicedToArray.Z)(_cell$match,3),type=_cell$match2[1],unit=_cell$match2[2];return"number"===type?Number(unit):unit})),value})}))}},{key:"toJSON",value:function toJSON(){var json={};return this.map((function(_ref3){var key=_ref3.key,value=_ref3.value;return json[key.join(".")]=value,null})),json}}]),NameMap}();const utils_NameMap=NameMap;var useForm_excluded=["name","errors"],FormStore=(0,createClass.Z)((function FormStore(forceRootUpdate){var _this=this;(0,classCallCheck.Z)(this,FormStore),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:_this.getFieldValue,getFieldsValue:_this.getFieldsValue,getFieldError:_this.getFieldError,getFieldWarning:_this.getFieldWarning,getFieldsError:_this.getFieldsError,isFieldsTouched:_this.isFieldsTouched,isFieldTouched:_this.isFieldTouched,isFieldValidating:_this.isFieldValidating,isFieldsValidating:_this.isFieldsValidating,resetFields:_this.resetFields,setFields:_this.setFields,setFieldsValue:_this.setFieldsValue,validateFields:_this.validateFields,submit:_this.submit,_init:!0,getInternalHooks:_this.getInternalHooks}},this.getInternalHooks=function(key){return key===HOOK_MARK?(_this.formHooked=!0,{dispatch:_this.dispatch,initEntityValue:_this.initEntityValue,registerField:_this.registerField,useSubscribe:_this.useSubscribe,setInitialValues:_this.setInitialValues,destroyForm:_this.destroyForm,setCallbacks:_this.setCallbacks,setValidateMessages:_this.setValidateMessages,getFields:_this.getFields,setPreserve:_this.setPreserve,getInitialValue:_this.getInitialValue,registerWatch:_this.registerWatch}):((0,warning.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(subscribable){_this.subscribable=subscribable},this.prevWithoutPreserves=null,this.setInitialValues=function(initialValues,init){if(_this.initialValues=initialValues||{},init){var _this$prevWithoutPres,nextStore=setValues({},initialValues,_this.store);null===(_this$prevWithoutPres=_this.prevWithoutPreserves)||void 0===_this$prevWithoutPres||_this$prevWithoutPres.map((function(_ref){var namePath=_ref.key;nextStore=setValue(nextStore,namePath,valueUtil_getValue(initialValues,namePath))})),_this.prevWithoutPreserves=null,_this.updateStore(nextStore)}},this.destroyForm=function(){var prevWithoutPreserves=new utils_NameMap;_this.getFieldEntities(!0).forEach((function(entity){entity.isPreserve()||prevWithoutPreserves.set(entity.getNamePath(),!0)})),_this.prevWithoutPreserves=prevWithoutPreserves},this.getInitialValue=function(namePath){var initValue=valueUtil_getValue(_this.initialValues,namePath);return namePath.length?utils_cloneDeep(initValue):initValue},this.setCallbacks=function(callbacks){_this.callbacks=callbacks},this.setValidateMessages=function(validateMessages){_this.validateMessages=validateMessages},this.setPreserve=function(preserve){_this.preserve=preserve},this.watchList=[],this.registerWatch=function(callback){return _this.watchList.push(callback),function(){_this.watchList=_this.watchList.filter((function(fn){return fn!==callback}))}},this.notifyWatch=function(){var namePath=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(_this.watchList.length){var values=_this.getFieldsValue();_this.watchList.forEach((function(callback){callback(values,namePath)}))}},this.timeoutId=null,this.warningUnhooked=function(){0},this.updateStore=function(nextStore){_this.store=nextStore},this.getFieldEntities=function(){var pure=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return pure?_this.fieldEntities.filter((function(field){return field.getNamePath().length})):_this.fieldEntities},this.getFieldsMap=function(){var pure=arguments.length>0&&void 0!==arguments[0]&&arguments[0],cache=new utils_NameMap;return _this.getFieldEntities(pure).forEach((function(field){var namePath=field.getNamePath();cache.set(namePath,field)})),cache},this.getFieldEntitiesForNamePathList=function(nameList){if(!nameList)return _this.getFieldEntities(!0);var cache=_this.getFieldsMap(!0);return nameList.map((function(name){var namePath=getNamePath(name);return cache.get(namePath)||{INVALIDATE_NAME_PATH:getNamePath(name)}}))},this.getFieldsValue=function(nameList,filterFunc){if(_this.warningUnhooked(),!0===nameList&&!filterFunc)return _this.store;var fieldEntities=_this.getFieldEntitiesForNamePathList(Array.isArray(nameList)?nameList:null),filteredNameList=[];return fieldEntities.forEach((function(entity){var _entity$isListField,namePath="INVALIDATE_NAME_PATH"in entity?entity.INVALIDATE_NAME_PATH:entity.getNamePath();if(nameList||!(null===(_entity$isListField=entity.isListField)||void 0===_entity$isListField?void 0:_entity$isListField.call(entity)))if(filterFunc){var meta="getMeta"in entity?entity.getMeta():null;filterFunc(meta)&&filteredNameList.push(namePath)}else filteredNameList.push(namePath)})),cloneByNamePathList(_this.store,filteredNameList.map(getNamePath))},this.getFieldValue=function(name){_this.warningUnhooked();var namePath=getNamePath(name);return valueUtil_getValue(_this.store,namePath)},this.getFieldsError=function(nameList){return _this.warningUnhooked(),_this.getFieldEntitiesForNamePathList(nameList).map((function(entity,index){return entity&&!("INVALIDATE_NAME_PATH"in entity)?{name:entity.getNamePath(),errors:entity.getErrors(),warnings:entity.getWarnings()}:{name:getNamePath(nameList[index]),errors:[],warnings:[]}}))},this.getFieldError=function(name){_this.warningUnhooked();var namePath=getNamePath(name);return _this.getFieldsError([namePath])[0].errors},this.getFieldWarning=function(name){_this.warningUnhooked();var namePath=getNamePath(name);return _this.getFieldsError([namePath])[0].warnings},this.isFieldsTouched=function(){_this.warningUnhooked();for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var namePathList,arg0=args[0],arg1=args[1],isAllFieldsTouched=!1;0===args.length?namePathList=null:1===args.length?Array.isArray(arg0)?(namePathList=arg0.map(getNamePath),isAllFieldsTouched=!1):(namePathList=null,isAllFieldsTouched=arg0):(namePathList=arg0.map(getNamePath),isAllFieldsTouched=arg1);var fieldEntities=_this.getFieldEntities(!0),isFieldTouched=function isFieldTouched(field){return field.isFieldTouched()};if(!namePathList)return isAllFieldsTouched?fieldEntities.every(isFieldTouched):fieldEntities.some(isFieldTouched);var map=new utils_NameMap;namePathList.forEach((function(shortNamePath){map.set(shortNamePath,[])})),fieldEntities.forEach((function(field){var fieldNamePath=field.getNamePath();namePathList.forEach((function(shortNamePath){shortNamePath.every((function(nameUnit,i){return fieldNamePath[i]===nameUnit}))&&map.update(shortNamePath,(function(list){return[].concat((0,toConsumableArray.Z)(list),[field])}))}))}));var isNamePathListTouched=function isNamePathListTouched(entities){return entities.some(isFieldTouched)},namePathListEntities=map.map((function(_ref2){return _ref2.value}));return isAllFieldsTouched?namePathListEntities.every(isNamePathListTouched):namePathListEntities.some(isNamePathListTouched)},this.isFieldTouched=function(name){return _this.warningUnhooked(),_this.isFieldsTouched([name])},this.isFieldsValidating=function(nameList){_this.warningUnhooked();var fieldEntities=_this.getFieldEntities();if(!nameList)return fieldEntities.some((function(testField){return testField.isFieldValidating()}));var namePathList=nameList.map(getNamePath);return fieldEntities.some((function(testField){var fieldNamePath=testField.getNamePath();return containsNamePath(namePathList,fieldNamePath)&&testField.isFieldValidating()}))},this.isFieldValidating=function(name){return _this.warningUnhooked(),_this.isFieldsValidating([name])},this.resetWithFieldInitialValue=function(){var info=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},cache=new utils_NameMap,fieldEntities=_this.getFieldEntities(!0);fieldEntities.forEach((function(field){var initialValue=field.props.initialValue,namePath=field.getNamePath();if(void 0!==initialValue){var records=cache.get(namePath)||new Set;records.add({entity:field,value:initialValue}),cache.set(namePath,records)}}));var requiredFieldEntities,resetWithFields=function resetWithFields(entities){entities.forEach((function(field){if(void 0!==field.props.initialValue){var namePath=field.getNamePath();if(void 0!==_this.getInitialValue(namePath))(0,warning.ZP)(!1,"Form already set 'initialValues' with path '".concat(namePath.join("."),"'. Field can not overwrite it."));else{var records=cache.get(namePath);if(records&&records.size>1)(0,warning.ZP)(!1,"Multiple Field with path '".concat(namePath.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(records){var originValue=_this.getFieldValue(namePath);info.skipExist&&void 0!==originValue||_this.updateStore(setValue(_this.store,namePath,(0,toConsumableArray.Z)(records)[0].value))}}}}))};info.entities?requiredFieldEntities=info.entities:info.namePathList?(requiredFieldEntities=[],info.namePathList.forEach((function(namePath){var _requiredFieldEntitie,records=cache.get(namePath);records&&(_requiredFieldEntitie=requiredFieldEntities).push.apply(_requiredFieldEntitie,(0,toConsumableArray.Z)((0,toConsumableArray.Z)(records).map((function(r){return r.entity}))))}))):requiredFieldEntities=fieldEntities,resetWithFields(requiredFieldEntities)},this.resetFields=function(nameList){_this.warningUnhooked();var prevStore=_this.store;if(!nameList)return _this.updateStore(setValues({},_this.initialValues)),_this.resetWithFieldInitialValue(),_this.notifyObservers(prevStore,null,{type:"reset"}),void _this.notifyWatch();var namePathList=nameList.map(getNamePath);namePathList.forEach((function(namePath){var initialValue=_this.getInitialValue(namePath);_this.updateStore(setValue(_this.store,namePath,initialValue))})),_this.resetWithFieldInitialValue({namePathList}),_this.notifyObservers(prevStore,namePathList,{type:"reset"}),_this.notifyWatch(namePathList)},this.setFields=function(fields){_this.warningUnhooked();var prevStore=_this.store,namePathList=[];fields.forEach((function(fieldData){var name=fieldData.name,data=(fieldData.errors,(0,objectWithoutProperties.Z)(fieldData,useForm_excluded)),namePath=getNamePath(name);namePathList.push(namePath),"value"in data&&_this.updateStore(setValue(_this.store,namePath,data.value)),_this.notifyObservers(prevStore,[namePath],{type:"setField",data:fieldData})})),_this.notifyWatch(namePathList)},this.getFields=function(){return _this.getFieldEntities(!0).map((function(field){var namePath=field.getNamePath(),meta=field.getMeta(),fieldData=(0,objectSpread2.Z)((0,objectSpread2.Z)({},meta),{},{name:namePath,value:_this.getFieldValue(namePath)});return Object.defineProperty(fieldData,"originRCField",{value:!0}),fieldData}))},this.initEntityValue=function(entity){var initialValue=entity.props.initialValue;if(void 0!==initialValue){var namePath=entity.getNamePath();void 0===valueUtil_getValue(_this.store,namePath)&&_this.updateStore(setValue(_this.store,namePath,initialValue))}},this.registerField=function(entity){_this.fieldEntities.push(entity);var namePath=entity.getNamePath();if(_this.notifyWatch([namePath]),void 0!==entity.props.initialValue){var prevStore=_this.store;_this.resetWithFieldInitialValue({entities:[entity],skipExist:!0}),_this.notifyObservers(prevStore,[entity.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(isListField,preserve){var subNamePath=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];_this.fieldEntities=_this.fieldEntities.filter((function(item){return item!==entity}));var mergedPreserve=void 0!==preserve?preserve:_this.preserve;if(!1===mergedPreserve&&(!isListField||subNamePath.length>1)){var defaultValue=isListField?void 0:_this.getInitialValue(namePath);if(namePath.length&&_this.getFieldValue(namePath)!==defaultValue&&_this.fieldEntities.every((function(field){return!matchNamePath(field.getNamePath(),namePath)}))){var _prevStore=_this.store;_this.updateStore(setValue(_prevStore,namePath,defaultValue,!0)),_this.notifyObservers(_prevStore,[namePath],{type:"remove"}),_this.triggerDependenciesUpdate(_prevStore,namePath)}}_this.notifyWatch([namePath])}},this.dispatch=function(action){switch(action.type){case"updateValue":var namePath=action.namePath,value=action.value;_this.updateValue(namePath,value);break;case"validateField":var _namePath=action.namePath,triggerName=action.triggerName;_this.validateFields([_namePath],{triggerName})}},this.notifyObservers=function(prevStore,namePathList,info){if(_this.subscribable){var mergedInfo=(0,objectSpread2.Z)((0,objectSpread2.Z)({},info),{},{store:_this.getFieldsValue(!0)});_this.getFieldEntities().forEach((function(_ref3){(0,_ref3.onStoreChange)(prevStore,namePathList,mergedInfo)}))}else _this.forceRootUpdate()},this.triggerDependenciesUpdate=function(prevStore,namePath){var childrenFields=_this.getDependencyChildrenFields(namePath);return childrenFields.length&&_this.validateFields(childrenFields),_this.notifyObservers(prevStore,childrenFields,{type:"dependenciesUpdate",relatedFields:[namePath].concat((0,toConsumableArray.Z)(childrenFields))}),childrenFields},this.updateValue=function(name,value){var namePath=getNamePath(name),prevStore=_this.store;_this.updateStore(setValue(_this.store,namePath,value)),_this.notifyObservers(prevStore,[namePath],{type:"valueUpdate",source:"internal"}),_this.notifyWatch([namePath]);var childrenFields=_this.triggerDependenciesUpdate(prevStore,namePath),onValuesChange=_this.callbacks.onValuesChange;onValuesChange&&onValuesChange(cloneByNamePathList(_this.store,[namePath]),_this.getFieldsValue());_this.triggerOnFieldsChange([namePath].concat((0,toConsumableArray.Z)(childrenFields)))},this.setFieldsValue=function(store){_this.warningUnhooked();var prevStore=_this.store;if(store){var nextStore=setValues(_this.store,store);_this.updateStore(nextStore)}_this.notifyObservers(prevStore,null,{type:"valueUpdate",source:"external"}),_this.notifyWatch()},this.getDependencyChildrenFields=function(rootNamePath){var children=new Set,childrenFields=[],dependencies2fields=new utils_NameMap;_this.getFieldEntities().forEach((function(field){(field.props.dependencies||[]).forEach((function(dependency){var dependencyNamePath=getNamePath(dependency);dependencies2fields.update(dependencyNamePath,(function(){var fields=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return fields.add(field),fields}))}))}));return function fillChildren(namePath){(dependencies2fields.get(namePath)||new Set).forEach((function(field){if(!children.has(field)){children.add(field);var fieldNamePath=field.getNamePath();field.isFieldDirty()&&fieldNamePath.length&&(childrenFields.push(fieldNamePath),fillChildren(fieldNamePath))}}))}(rootNamePath),childrenFields},this.triggerOnFieldsChange=function(namePathList,filedErrors){var onFieldsChange=_this.callbacks.onFieldsChange;if(onFieldsChange){var fields=_this.getFields();if(filedErrors){var cache=new utils_NameMap;filedErrors.forEach((function(_ref4){var name=_ref4.name,errors=_ref4.errors;cache.set(name,errors)})),fields.forEach((function(field){field.errors=cache.get(field.name)||field.errors}))}onFieldsChange(fields.filter((function(_ref5){var fieldName=_ref5.name;return containsNamePath(namePathList,fieldName)})),fields)}},this.validateFields=function(nameList,options){_this.warningUnhooked();var provideNameList=!!nameList,namePathList=provideNameList?nameList.map(getNamePath):[],promiseList=[];_this.getFieldEntities(!0).forEach((function(field){if(provideNameList||namePathList.push(field.getNamePath()),(null==options?void 0:options.recursive)&&provideNameList){var namePath=field.getNamePath();namePath.every((function(nameUnit,i){return nameList[i]===nameUnit||void 0===nameList[i]}))&&namePathList.push(namePath)}if(field.props.rules&&field.props.rules.length){var fieldNamePath=field.getNamePath();if(!provideNameList||containsNamePath(namePathList,fieldNamePath)){var promise=field.validateRules((0,objectSpread2.Z)({validateMessages:(0,objectSpread2.Z)((0,objectSpread2.Z)({},defaultValidateMessages),_this.validateMessages)},options));promiseList.push(promise.then((function(){return{name:fieldNamePath,errors:[],warnings:[]}})).catch((function(ruleErrors){var mergedErrors=[],mergedWarnings=[];return ruleErrors.forEach((function(_ref6){var warningOnly=_ref6.rule.warningOnly,errors=_ref6.errors;warningOnly?mergedWarnings.push.apply(mergedWarnings,(0,toConsumableArray.Z)(errors)):mergedErrors.push.apply(mergedErrors,(0,toConsumableArray.Z)(errors))})),mergedErrors.length?Promise.reject({name:fieldNamePath,errors:mergedErrors,warnings:mergedWarnings}):{name:fieldNamePath,errors:mergedErrors,warnings:mergedWarnings}})))}}}));var summaryPromise=function allPromiseFinish(promiseList){var hasError=!1,count=promiseList.length,results=[];return promiseList.length?new Promise((function(resolve,reject){promiseList.forEach((function(promise,index){promise.catch((function(e){return hasError=!0,e})).then((function(result){count-=1,results[index]=result,count>0||(hasError&&reject(results),resolve(results))}))}))})):Promise.resolve([])}(promiseList);_this.lastValidatePromise=summaryPromise,summaryPromise.catch((function(results){return results})).then((function(results){var resultNamePathList=results.map((function(_ref7){return _ref7.name}));_this.notifyObservers(_this.store,resultNamePathList,{type:"validateFinish"}),_this.triggerOnFieldsChange(resultNamePathList,results)}));var returnPromise=summaryPromise.then((function(){return _this.lastValidatePromise===summaryPromise?Promise.resolve(_this.getFieldsValue(namePathList)):Promise.reject([])})).catch((function(results){var errorList=results.filter((function(result){return result&&result.errors.length}));return Promise.reject({values:_this.getFieldsValue(namePathList),errorFields:errorList,outOfDate:_this.lastValidatePromise!==summaryPromise})}));return returnPromise.catch((function(e){return e})),returnPromise},this.submit=function(){_this.warningUnhooked(),_this.validateFields().then((function(values){var onFinish=_this.callbacks.onFinish;if(onFinish)try{onFinish(values)}catch(err){console.error(err)}})).catch((function(e){var onFinishFailed=_this.callbacks.onFinishFailed;onFinishFailed&&onFinishFailed(e)}))},this.forceRootUpdate=forceRootUpdate}));const es_useForm=function useForm(form){var formRef=react.useRef(),_React$useState=react.useState({}),forceUpdate=(0,slicedToArray.Z)(_React$useState,2)[1];if(!formRef.current)if(form)formRef.current=form;else{var formStore=new FormStore((function forceReRender(){forceUpdate({})}));formRef.current=formStore.getForm()}return[formRef.current]};var FormContext=react.createContext({triggerFormChange:function triggerFormChange(){},triggerFormFinish:function triggerFormFinish(){},registerForm:function registerForm(){},unregisterForm:function unregisterForm(){}}),FormProvider=function FormProvider(_ref){var validateMessages=_ref.validateMessages,onFormChange=_ref.onFormChange,onFormFinish=_ref.onFormFinish,children=_ref.children,formContext=react.useContext(FormContext),formsRef=react.useRef({});return react.createElement(FormContext.Provider,{value:(0,objectSpread2.Z)((0,objectSpread2.Z)({},formContext),{},{validateMessages:(0,objectSpread2.Z)((0,objectSpread2.Z)({},formContext.validateMessages),validateMessages),triggerFormChange:function triggerFormChange(name,changedFields){onFormChange&&onFormChange(name,{changedFields,forms:formsRef.current}),formContext.triggerFormChange(name,changedFields)},triggerFormFinish:function triggerFormFinish(name,values){onFormFinish&&onFormFinish(name,{values,forms:formsRef.current}),formContext.triggerFormFinish(name,values)},registerForm:function registerForm(name,form){name&&(formsRef.current=(0,objectSpread2.Z)((0,objectSpread2.Z)({},formsRef.current),{},(0,defineProperty.Z)({},name,form))),formContext.registerForm(name,form)},unregisterForm:function unregisterForm(name){var newForms=(0,objectSpread2.Z)({},formsRef.current);delete newForms[name],formsRef.current=newForms,formContext.unregisterForm(name)}})},children)};const es_FormContext=FormContext;var Form_excluded=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];const es_Form=function Form(_ref,ref){var name=_ref.name,initialValues=_ref.initialValues,fields=_ref.fields,form=_ref.form,preserve=_ref.preserve,children=_ref.children,_ref$component=_ref.component,Component=void 0===_ref$component?"form":_ref$component,validateMessages=_ref.validateMessages,_ref$validateTrigger=_ref.validateTrigger,validateTrigger=void 0===_ref$validateTrigger?"onChange":_ref$validateTrigger,onValuesChange=_ref.onValuesChange,_onFieldsChange=_ref.onFieldsChange,_onFinish=_ref.onFinish,onFinishFailed=_ref.onFinishFailed,restProps=(0,objectWithoutProperties.Z)(_ref,Form_excluded),formContext=react.useContext(es_FormContext),_useForm=es_useForm(form),formInstance=(0,slicedToArray.Z)(_useForm,1)[0],_formInstance$getInte=formInstance.getInternalHooks(HOOK_MARK),useSubscribe=_formInstance$getInte.useSubscribe,setInitialValues=_formInstance$getInte.setInitialValues,setCallbacks=_formInstance$getInte.setCallbacks,setValidateMessages=_formInstance$getInte.setValidateMessages,setPreserve=_formInstance$getInte.setPreserve,destroyForm=_formInstance$getInte.destroyForm;react.useImperativeHandle(ref,(function(){return formInstance})),react.useEffect((function(){return formContext.registerForm(name,formInstance),function(){formContext.unregisterForm(name)}}),[formContext,formInstance,name]),setValidateMessages((0,objectSpread2.Z)((0,objectSpread2.Z)({},formContext.validateMessages),validateMessages)),setCallbacks({onValuesChange,onFieldsChange:function onFieldsChange(changedFields){if(formContext.triggerFormChange(name,changedFields),_onFieldsChange){for(var _len=arguments.length,rest=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)rest[_key-1]=arguments[_key];_onFieldsChange.apply(void 0,[changedFields].concat(rest))}},onFinish:function onFinish(values){formContext.triggerFormFinish(name,values),_onFinish&&_onFinish(values)},onFinishFailed}),setPreserve(preserve);var childrenNode,mountRef=react.useRef(null);setInitialValues(initialValues,!mountRef.current),mountRef.current||(mountRef.current=!0),react.useEffect((function(){return destroyForm}),[]);var childrenRenderProps="function"==typeof children;childrenRenderProps?childrenNode=children(formInstance.getFieldsValue(!0),formInstance):childrenNode=children;useSubscribe(!childrenRenderProps);var prevFieldsRef=react.useRef();react.useEffect((function(){(function isSimilar(source,target){if(source===target)return!0;if(!source&&target||source&&!target)return!1;if(!source||!target||"object"!==(0,esm_typeof.Z)(source)||"object"!==(0,esm_typeof.Z)(target))return!1;var sourceKeys=Object.keys(source),targetKeys=Object.keys(target),keys=new Set([].concat((0,toConsumableArray.Z)(sourceKeys),(0,toConsumableArray.Z)(targetKeys)));return(0,toConsumableArray.Z)(keys).every((function(key){var sourceValue=source[key],targetValue=target[key];return"function"==typeof sourceValue&&"function"==typeof targetValue||sourceValue===targetValue}))})(prevFieldsRef.current||[],fields||[])||formInstance.setFields(fields||[]),prevFieldsRef.current=fields}),[fields,formInstance]);var formContextValue=react.useMemo((function(){return(0,objectSpread2.Z)((0,objectSpread2.Z)({},formInstance),{},{validateTrigger})}),[formInstance,validateTrigger]),wrapperNode=react.createElement(FieldContext.Provider,{value:formContextValue},childrenNode);return!1===Component?wrapperNode:react.createElement(Component,(0,esm_extends.Z)({},restProps,{onSubmit:function onSubmit(event){event.preventDefault(),event.stopPropagation(),formInstance.submit()},onReset:function onReset(event){var _restProps$onReset;event.preventDefault(),formInstance.resetFields(),null===(_restProps$onReset=restProps.onReset)||void 0===_restProps$onReset||_restProps$onReset.call(restProps,event)}}),wrapperNode)};function stringify(value){try{return JSON.stringify(value)}catch(err){return Math.random()}}const es_useWatch=function useWatch(){var dependencies=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],form=arguments.length>1?arguments[1]:void 0,_useState=(0,react.useState)(),_useState2=(0,slicedToArray.Z)(_useState,2),value=_useState2[0],setValue=_useState2[1],valueStr=(0,react.useMemo)((function(){return stringify(value)}),[value]),valueStrRef=(0,react.useRef)(valueStr);valueStrRef.current=valueStr;var fieldContext=(0,react.useContext)(FieldContext),formInstance=form||fieldContext,isValidForm=formInstance&&formInstance._init,namePath=getNamePath(dependencies),namePathRef=(0,react.useRef)(namePath);return namePathRef.current=namePath,(0,react.useEffect)((function(){if(isValidForm){var getFieldsValue=formInstance.getFieldsValue,cancelRegister=(0,(0,formInstance.getInternalHooks)(HOOK_MARK).registerWatch)((function(store){var newValue=valueUtil_getValue(store,namePathRef.current),nextValueStr=stringify(newValue);valueStrRef.current!==nextValueStr&&setValue(newValue)})),initialValue=valueUtil_getValue(getFieldsValue(),namePathRef.current);return setValue(initialValue),cancelRegister}}),[]),value};var RefForm=react.forwardRef(es_Form);RefForm.FormProvider=FormProvider,RefForm.Field=es_Field,RefForm.List=es_List,RefForm.useForm=es_useForm,RefForm.useWatch=es_useWatch;const es=RefForm},"./node_modules/rc-motion/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>CSSMotionList,Z:()=>es});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),react=__webpack_require__("./node_modules/react/index.js"),react_dom=__webpack_require__("./node_modules/react-dom/index.js");var react_is=__webpack_require__("./node_modules/react-is/index.js");function fillRef(ref,node){"function"==typeof ref?ref(node):"object"===(0,esm_typeof.Z)(ref)&&ref&&"current"in ref&&(ref.current=node)}var classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames);function canUseDom(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function makePrefixMap(styleProp,eventName){var prefixes={};return prefixes[styleProp.toLowerCase()]=eventName.toLowerCase(),prefixes["Webkit".concat(styleProp)]="webkit".concat(eventName),prefixes["Moz".concat(styleProp)]="moz".concat(eventName),prefixes["ms".concat(styleProp)]="MS".concat(eventName),prefixes["O".concat(styleProp)]="o".concat(eventName.toLowerCase()),prefixes}var vendorPrefixes=function getVendorPrefixes(domSupport,win){var prefixes={animationend:makePrefixMap("Animation","AnimationEnd"),transitionend:makePrefixMap("Transition","TransitionEnd")};return domSupport&&("AnimationEvent"in win||delete prefixes.animationend.animation,"TransitionEvent"in win||delete prefixes.transitionend.transition),prefixes}(canUseDom(),"undefined"!=typeof window?window:{}),style={};if(canUseDom()){var _document$createEleme=document.createElement("div");style=_document$createEleme.style}var prefixedEventNames={};function getVendorPrefixedEventName(eventName){if(prefixedEventNames[eventName])return prefixedEventNames[eventName];var prefixMap=vendorPrefixes[eventName];if(prefixMap)for(var stylePropList=Object.keys(prefixMap),len=stylePropList.length,i=0;i<len;i+=1){var styleProp=stylePropList[i];if(Object.prototype.hasOwnProperty.call(prefixMap,styleProp)&&styleProp in style)return prefixedEventNames[eventName]=prefixMap[styleProp],prefixedEventNames[eventName]}return""}var internalAnimationEndName=getVendorPrefixedEventName("animationend"),internalTransitionEndName=getVendorPrefixedEventName("transitionend"),supportTransition=!(!internalAnimationEndName||!internalTransitionEndName),animationEndName=internalAnimationEndName||"animationend",transitionEndName=internalTransitionEndName||"transitionend";function getTransitionName(transitionName,transitionType){return transitionName?"object"===(0,esm_typeof.Z)(transitionName)?transitionName[transitionType.replace(/-\w/g,(function(match){return match[1].toUpperCase()}))]:"".concat(transitionName,"-").concat(transitionType):null}function useSafeState(defaultValue){var destroyRef=react.useRef(!1),_React$useState=react.useState(defaultValue),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),value=_React$useState2[0],setValue=_React$useState2[1];return react.useEffect((function(){return destroyRef.current=!1,function(){destroyRef.current=!0}}),[]),[value,function safeSetState(updater,ignoreDestroy){ignoreDestroy&&destroyRef.current||setValue(updater)}]}var raf=function raf(callback){return+setTimeout(callback,16)},caf=function caf(num){return clearTimeout(num)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(raf=function raf(callback){return window.requestAnimationFrame(callback)},caf=function caf(handle){return window.cancelAnimationFrame(handle)});var rafUUID=0,rafIds=new Map;function cleanup(id){rafIds.delete(id)}function wrapperRaf(callback){var times=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,id=rafUUID+=1;function callRef(leftTimes){if(0===leftTimes)cleanup(id),callback();else{var realId=raf((function(){callRef(leftTimes-1)}));rafIds.set(id,realId)}}return callRef(times),id}wrapperRaf.cancel=function(id){var realId=rafIds.get(id);return cleanup(realId),caf(realId)};const hooks_useIsomorphicLayoutEffect=canUseDom()?react.useLayoutEffect:react.useEffect;var STEP_QUEUE=["prepare","start","active","end"];function isActive(step){return"active"===step||"end"===step}const useStepQueue=function(status,callback){var _useState=useSafeState("none"),_useState2=(0,slicedToArray.Z)(_useState,2),step=_useState2[0],setStep=_useState2[1],_useNextFrame=function(){var nextFrameRef=react.useRef(null);function cancelNextFrame(){wrapperRaf.cancel(nextFrameRef.current)}return react.useEffect((function(){return function(){cancelNextFrame()}}),[]),[function nextFrame(callback){var delay=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;cancelNextFrame();var nextFrameId=wrapperRaf((function(){delay<=1?callback({isCanceled:function isCanceled(){return nextFrameId!==nextFrameRef.current}}):nextFrame(callback,delay-1)}));nextFrameRef.current=nextFrameId},cancelNextFrame]}(),_useNextFrame2=(0,slicedToArray.Z)(_useNextFrame,2),nextFrame=_useNextFrame2[0],cancelNextFrame=_useNextFrame2[1];return hooks_useIsomorphicLayoutEffect((function(){if("none"!==step&&"end"!==step){var index=STEP_QUEUE.indexOf(step),nextStep=STEP_QUEUE[index+1],result=callback(step);false===result?setStep(nextStep,!0):nextFrame((function(info){function doNext(){info.isCanceled()||setStep(nextStep,!0)}!0===result?doNext():Promise.resolve(result).then(doNext)}))}}),[status,step]),react.useEffect((function(){return function(){cancelNextFrame()}}),[]),[function startQueue(){setStep("prepare",!0)},step]};function useStatus(supportMotion,visible,getElement,_ref){var _ref$motionEnter=_ref.motionEnter,motionEnter=void 0===_ref$motionEnter||_ref$motionEnter,_ref$motionAppear=_ref.motionAppear,motionAppear=void 0===_ref$motionAppear||_ref$motionAppear,_ref$motionLeave=_ref.motionLeave,motionLeave=void 0===_ref$motionLeave||_ref$motionLeave,motionDeadline=_ref.motionDeadline,motionLeaveImmediately=_ref.motionLeaveImmediately,onAppearPrepare=_ref.onAppearPrepare,onEnterPrepare=_ref.onEnterPrepare,onLeavePrepare=_ref.onLeavePrepare,onAppearStart=_ref.onAppearStart,onEnterStart=_ref.onEnterStart,onLeaveStart=_ref.onLeaveStart,onAppearActive=_ref.onAppearActive,onEnterActive=_ref.onEnterActive,onLeaveActive=_ref.onLeaveActive,onAppearEnd=_ref.onAppearEnd,onEnterEnd=_ref.onEnterEnd,onLeaveEnd=_ref.onLeaveEnd,onVisibleChanged=_ref.onVisibleChanged,_useState=useSafeState(),_useState2=(0,slicedToArray.Z)(_useState,2),asyncVisible=_useState2[0],setAsyncVisible=_useState2[1],_useState3=useSafeState("none"),_useState4=(0,slicedToArray.Z)(_useState3,2),status=_useState4[0],setStatus=_useState4[1],_useState5=useSafeState(null),_useState6=(0,slicedToArray.Z)(_useState5,2),style=_useState6[0],setStyle=_useState6[1],mountedRef=(0,react.useRef)(!1),deadlineRef=(0,react.useRef)(null);function getDomElement(){return getElement()}var activeRef=(0,react.useRef)(!1);function onInternalMotionEnd(event){var element=getDomElement();if(!event||event.deadline||event.target===element){var canEnd,currentActive=activeRef.current;"appear"===status&¤tActive?canEnd=null==onAppearEnd?void 0:onAppearEnd(element,event):"enter"===status&¤tActive?canEnd=null==onEnterEnd?void 0:onEnterEnd(element,event):"leave"===status&¤tActive&&(canEnd=null==onLeaveEnd?void 0:onLeaveEnd(element,event)),"none"!==status&¤tActive&&!1!==canEnd&&(setStatus("none",!0),setStyle(null,!0))}}var _useDomMotionEvents=function(callback){var cacheElementRef=(0,react.useRef)(),callbackRef=(0,react.useRef)(callback);callbackRef.current=callback;var onInternalMotionEnd=react.useCallback((function(event){callbackRef.current(event)}),[]);function removeMotionEvents(element){element&&(element.removeEventListener(transitionEndName,onInternalMotionEnd),element.removeEventListener(animationEndName,onInternalMotionEnd))}return react.useEffect((function(){return function(){removeMotionEvents(cacheElementRef.current)}}),[]),[function patchMotionEvents(element){cacheElementRef.current&&cacheElementRef.current!==element&&removeMotionEvents(cacheElementRef.current),element&&element!==cacheElementRef.current&&(element.addEventListener(transitionEndName,onInternalMotionEnd),element.addEventListener(animationEndName,onInternalMotionEnd),cacheElementRef.current=element)},removeMotionEvents]}(onInternalMotionEnd),patchMotionEvents=(0,slicedToArray.Z)(_useDomMotionEvents,1)[0],eventHandlers=react.useMemo((function(){var _ref2,_ref3,_ref4;switch(status){case"appear":return _ref2={},(0,defineProperty.Z)(_ref2,"prepare",onAppearPrepare),(0,defineProperty.Z)(_ref2,"start",onAppearStart),(0,defineProperty.Z)(_ref2,"active",onAppearActive),_ref2;case"enter":return _ref3={},(0,defineProperty.Z)(_ref3,"prepare",onEnterPrepare),(0,defineProperty.Z)(_ref3,"start",onEnterStart),(0,defineProperty.Z)(_ref3,"active",onEnterActive),_ref3;case"leave":return _ref4={},(0,defineProperty.Z)(_ref4,"prepare",onLeavePrepare),(0,defineProperty.Z)(_ref4,"start",onLeaveStart),(0,defineProperty.Z)(_ref4,"active",onLeaveActive),_ref4;default:return{}}}),[status]),_useStepQueue=useStepQueue(status,(function(newStep){if("prepare"===newStep){var onPrepare=eventHandlers.prepare;return!!onPrepare&&onPrepare(getDomElement())}var _eventHandlers$step;step in eventHandlers&&setStyle((null===(_eventHandlers$step=eventHandlers[step])||void 0===_eventHandlers$step?void 0:_eventHandlers$step.call(eventHandlers,getDomElement(),null))||null);return"active"===step&&(patchMotionEvents(getDomElement()),motionDeadline>0&&(clearTimeout(deadlineRef.current),deadlineRef.current=setTimeout((function(){onInternalMotionEnd({deadline:!0})}),motionDeadline))),true})),_useStepQueue2=(0,slicedToArray.Z)(_useStepQueue,2),startStep=_useStepQueue2[0],step=_useStepQueue2[1],active=isActive(step);activeRef.current=active,hooks_useIsomorphicLayoutEffect((function(){setAsyncVisible(visible);var nextStatus,isMounted=mountedRef.current;(mountedRef.current=!0,supportMotion)&&(!isMounted&&visible&&motionAppear&&(nextStatus="appear"),isMounted&&visible&&motionEnter&&(nextStatus="enter"),(isMounted&&!visible&&motionLeave||!isMounted&&motionLeaveImmediately&&!visible&&motionLeave)&&(nextStatus="leave"),nextStatus&&(setStatus(nextStatus),startStep()))}),[visible]),(0,react.useEffect)((function(){("appear"===status&&!motionAppear||"enter"===status&&!motionEnter||"leave"===status&&!motionLeave)&&setStatus("none")}),[motionAppear,motionEnter,motionLeave]),(0,react.useEffect)((function(){return function(){mountedRef.current=!1,clearTimeout(deadlineRef.current)}}),[]),(0,react.useEffect)((function(){void 0!==asyncVisible&&"none"===status&&(null==onVisibleChanged||onVisibleChanged(asyncVisible))}),[asyncVisible,status]);var mergedStyle=style;return eventHandlers.prepare&&"start"===step&&(mergedStyle=(0,objectSpread2.Z)({transition:"none"},mergedStyle)),[status,step,mergedStyle,null!=asyncVisible?asyncVisible:visible]}var classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js");const es_DomWrapper=function(_React$Component){(0,inherits.Z)(DomWrapper,_React$Component);var _super=(0,createSuper.Z)(DomWrapper);function DomWrapper(){return(0,classCallCheck.Z)(this,DomWrapper),_super.apply(this,arguments)}return(0,createClass.Z)(DomWrapper,[{key:"render",value:function render(){return this.props.children}}]),DomWrapper}(react.Component);const es_CSSMotion=function genCSSMotion(config){var transitionSupport=config;function isSupportTransition(props){return!(!props.motionName||!transitionSupport)}"object"===(0,esm_typeof.Z)(config)&&(transitionSupport=config.transitionSupport);var CSSMotion=react.forwardRef((function(props,ref){var _props$visible=props.visible,visible=void 0===_props$visible||_props$visible,_props$removeOnLeave=props.removeOnLeave,removeOnLeave=void 0===_props$removeOnLeave||_props$removeOnLeave,forceRender=props.forceRender,children=props.children,motionName=props.motionName,leavedClassName=props.leavedClassName,eventProps=props.eventProps,supportMotion=isSupportTransition(props),nodeRef=(0,react.useRef)(),wrapperNodeRef=(0,react.useRef)();var _useStatus=useStatus(supportMotion,visible,(function getDomElement(){try{return nodeRef.current instanceof HTMLElement?nodeRef.current:function findDOMNode(node){return node instanceof HTMLElement?node:react_dom.findDOMNode(node)}(wrapperNodeRef.current)}catch(e){return null}}),props),_useStatus2=(0,slicedToArray.Z)(_useStatus,4),status=_useStatus2[0],statusStep=_useStatus2[1],statusStyle=_useStatus2[2],mergedVisible=_useStatus2[3],renderedRef=react.useRef(mergedVisible);mergedVisible&&(renderedRef.current=!0);var motionChildren,setNodeRef=react.useCallback((function(node){nodeRef.current=node,fillRef(ref,node)}),[ref]),mergedProps=(0,objectSpread2.Z)((0,objectSpread2.Z)({},eventProps),{},{visible});if(children)if("none"!==status&&isSupportTransition(props)){var _classNames,statusSuffix;"prepare"===statusStep?statusSuffix="prepare":isActive(statusStep)?statusSuffix="active":"start"===statusStep&&(statusSuffix="start"),motionChildren=children((0,objectSpread2.Z)((0,objectSpread2.Z)({},mergedProps),{},{className:classnames_default()(getTransitionName(motionName,status),(_classNames={},(0,defineProperty.Z)(_classNames,getTransitionName(motionName,"".concat(status,"-").concat(statusSuffix)),statusSuffix),(0,defineProperty.Z)(_classNames,motionName,"string"==typeof motionName),_classNames)),style:statusStyle}),setNodeRef)}else motionChildren=mergedVisible?children((0,objectSpread2.Z)({},mergedProps),setNodeRef):!removeOnLeave&&renderedRef.current?children((0,objectSpread2.Z)((0,objectSpread2.Z)({},mergedProps),{},{className:leavedClassName}),setNodeRef):forceRender?children((0,objectSpread2.Z)((0,objectSpread2.Z)({},mergedProps),{},{style:{display:"none"}}),setNodeRef):null;else motionChildren=null;react.isValidElement(motionChildren)&&function supportRef(nodeOrComponent){var _type$prototype,_nodeOrComponent$prot,type=(0,react_is.isMemo)(nodeOrComponent)?nodeOrComponent.type.type:nodeOrComponent.type;return!("function"==typeof type&&!(null===(_type$prototype=type.prototype)||void 0===_type$prototype?void 0:_type$prototype.render)||"function"==typeof nodeOrComponent&&!(null===(_nodeOrComponent$prot=nodeOrComponent.prototype)||void 0===_nodeOrComponent$prot?void 0:_nodeOrComponent$prot.render))}(motionChildren)&&(motionChildren.ref||(motionChildren=react.cloneElement(motionChildren,{ref:setNodeRef})));return react.createElement(es_DomWrapper,{ref:wrapperNodeRef},motionChildren)}));return CSSMotion.displayName="CSSMotion",CSSMotion}(supportTransition);var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");function wrapKeyToObject(key){var keyObj;return keyObj=key&&"object"===(0,esm_typeof.Z)(key)&&"key"in key?key:{key},(0,objectSpread2.Z)((0,objectSpread2.Z)({},keyObj),{},{key:String(keyObj.key)})}function parseKeys(){var keys=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return keys.map(wrapKeyToObject)}function diffKeys(){var prevKeys=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],currentKeys=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],list=[],currentIndex=0,currentLen=currentKeys.length,prevKeyObjects=parseKeys(prevKeys),currentKeyObjects=parseKeys(currentKeys);prevKeyObjects.forEach((function(keyObj){for(var hit=!1,i=currentIndex;i<currentLen;i+=1){var currentKeyObj=currentKeyObjects[i];if(currentKeyObj.key===keyObj.key){currentIndex<i&&(list=list.concat(currentKeyObjects.slice(currentIndex,i).map((function(obj){return(0,objectSpread2.Z)((0,objectSpread2.Z)({},obj),{},{status:"add"})}))),currentIndex=i),list.push((0,objectSpread2.Z)((0,objectSpread2.Z)({},currentKeyObj),{},{status:"keep"})),currentIndex+=1,hit=!0;break}}hit||list.push((0,objectSpread2.Z)((0,objectSpread2.Z)({},keyObj),{},{status:"remove"}))})),currentIndex<currentLen&&(list=list.concat(currentKeyObjects.slice(currentIndex).map((function(obj){return(0,objectSpread2.Z)((0,objectSpread2.Z)({},obj),{},{status:"add"})}))));var keys={};list.forEach((function(_ref){var key=_ref.key;keys[key]=(keys[key]||0)+1}));var duplicatedKeys=Object.keys(keys).filter((function(key){return keys[key]>1}));return duplicatedKeys.forEach((function(matchKey){(list=list.filter((function(_ref2){var key=_ref2.key,status=_ref2.status;return key!==matchKey||"remove"!==status}))).forEach((function(node){node.key===matchKey&&(node.status="keep")}))})),list}var _excluded=["component","children","onVisibleChanged","onAllRemoved"],_excluded2=["status"],MOTION_PROP_NAMES=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const CSSMotionList=function genCSSMotionList(transitionSupport){var CSSMotion=arguments.length>1&&void 0!==arguments[1]?arguments[1]:es_CSSMotion,CSSMotionList=function(_React$Component){(0,inherits.Z)(CSSMotionList,_React$Component);var _super=(0,createSuper.Z)(CSSMotionList);function CSSMotionList(){var _this;(0,classCallCheck.Z)(this,CSSMotionList);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).state={keyEntities:[]},_this.removeKey=function(removeKey){var nextKeyEntities=_this.state.keyEntities.map((function(entity){return entity.key!==removeKey?entity:(0,objectSpread2.Z)((0,objectSpread2.Z)({},entity),{},{status:"removed"})}));return _this.setState({keyEntities:nextKeyEntities}),nextKeyEntities.filter((function(_ref){return"removed"!==_ref.status})).length},_this}return(0,createClass.Z)(CSSMotionList,[{key:"render",value:function render(){var _this2=this,keyEntities=this.state.keyEntities,_this$props=this.props,component=_this$props.component,children=_this$props.children,_onVisibleChanged=_this$props.onVisibleChanged,onAllRemoved=_this$props.onAllRemoved,restProps=(0,objectWithoutProperties.Z)(_this$props,_excluded),Component=component||react.Fragment,motionProps={};return MOTION_PROP_NAMES.forEach((function(prop){motionProps[prop]=restProps[prop],delete restProps[prop]})),delete restProps.keys,react.createElement(Component,restProps,keyEntities.map((function(_ref2){var status=_ref2.status,eventProps=(0,objectWithoutProperties.Z)(_ref2,_excluded2),visible="add"===status||"keep"===status;return react.createElement(CSSMotion,(0,esm_extends.Z)({},motionProps,{key:eventProps.key,visible,eventProps,onVisibleChanged:function onVisibleChanged(changedVisible){(null==_onVisibleChanged||_onVisibleChanged(changedVisible,{key:eventProps.key}),changedVisible)||0===_this2.removeKey(eventProps.key)&&onAllRemoved&&onAllRemoved()}}),children)})))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(_ref3,_ref4){var keys=_ref3.keys,keyEntities=_ref4.keyEntities,parsedKeyObjects=parseKeys(keys);return{keyEntities:diffKeys(keyEntities,parsedKeyObjects).filter((function(entity){var prevEntity=keyEntities.find((function(_ref5){var key=_ref5.key;return entity.key===key}));return!prevEntity||"removed"!==prevEntity.status||"remove"!==entity.status}))}}}]),CSSMotionList}(react.Component);return CSSMotionList.defaultProps={component:"div"},CSSMotionList}(supportTransition),es=es_CSSMotion},"./node_modules/rc-overflow/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>rc_overflow_es});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),es=__webpack_require__("./node_modules/rc-resize-observer/es/index.js");const hooks_useLayoutEffect=function canUseDom(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}()?react.useLayoutEffect:react.useEffect;var _excluded=["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","className","style","children","display","order","component"];function InternalItem(props,ref){var prefixCls=props.prefixCls,invalidate=props.invalidate,item=props.item,renderItem=props.renderItem,responsive=props.responsive,registerSize=props.registerSize,itemKey=props.itemKey,className=props.className,style=props.style,children=props.children,display=props.display,order=props.order,_props$component=props.component,Component=void 0===_props$component?"div":_props$component,restProps=(0,objectWithoutProperties.Z)(props,_excluded),mergedHidden=responsive&&!display;function internalRegisterSize(width){registerSize(itemKey,width)}react.useEffect((function(){return function(){internalRegisterSize(null)}}),[]);var overflowStyle,childNode=renderItem&&undefined!==item?renderItem(item):children;invalidate||(overflowStyle={opacity:mergedHidden?0:1,height:mergedHidden?0:undefined,overflowY:mergedHidden?"hidden":undefined,order:responsive?order:undefined,pointerEvents:mergedHidden?"none":undefined,position:mergedHidden?"absolute":undefined});var overflowProps={};mergedHidden&&(overflowProps["aria-hidden"]=!0);var itemNode=react.createElement(Component,(0,esm_extends.Z)({className:classnames_default()(!invalidate&&prefixCls,className),style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},overflowStyle),style)},overflowProps,restProps,{ref}),childNode);return responsive&&(itemNode=react.createElement(es.Z,{onResize:function onResize(_ref){internalRegisterSize(_ref.offsetWidth)}},itemNode)),itemNode}var Item=react.forwardRef(InternalItem);Item.displayName="Item";const es_Item=Item;var raf=function raf(callback){return+setTimeout(callback,16)},caf=function caf(num){return clearTimeout(num)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(raf=function raf(callback){return window.requestAnimationFrame(callback)},caf=function caf(handle){return window.cancelAnimationFrame(handle)});var rafUUID=0,rafIds=new Map;function cleanup(id){rafIds.delete(id)}function wrapperRaf(callback){var times=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,id=rafUUID+=1;function callRef(leftTimes){if(0===leftTimes)cleanup(id),callback();else{var realId=raf((function(){callRef(leftTimes-1)}));rafIds.set(id,realId)}}return callRef(times),id}function useBatchFrameState(){var _useState=function useSafeState(defaultValue){var destroyRef=react.useRef(!1),_React$useState=react.useState(defaultValue),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),value=_React$useState2[0],setValue=_React$useState2[1];return react.useEffect((function(){return destroyRef.current=!1,function(){destroyRef.current=!0}}),[]),[value,function safeSetState(updater,ignoreDestroy){ignoreDestroy&&destroyRef.current||setValue(updater)}]}({}),forceUpdate=(0,slicedToArray.Z)(_useState,2)[1],statesRef=(0,react.useRef)([]),walkingIndex=0,beforeFrameId=0;return function createState(defaultValue){var myIndex=walkingIndex;return walkingIndex+=1,statesRef.current.length<myIndex+1&&(statesRef.current[myIndex]=defaultValue),[statesRef.current[myIndex],function setValue(val){statesRef.current[myIndex]="function"==typeof val?val(statesRef.current[myIndex]):val,wrapperRaf.cancel(beforeFrameId),beforeFrameId=wrapperRaf((function(){forceUpdate({},!0)}))}]}}wrapperRaf.cancel=function(id){var realId=rafIds.get(id);return cleanup(realId),caf(realId)};var RawItem_excluded=["component"],_excluded2=["className"],_excluded3=["className"],InternalRawItem=function InternalRawItem(props,ref){var context=react.useContext(OverflowContext);if(!context){var _props$component=props.component,Component=void 0===_props$component?"div":_props$component,_restProps=(0,objectWithoutProperties.Z)(props,RawItem_excluded);return react.createElement(Component,(0,esm_extends.Z)({},_restProps,{ref}))}var contextClassName=context.className,restContext=(0,objectWithoutProperties.Z)(context,_excluded2),className=props.className,restProps=(0,objectWithoutProperties.Z)(props,_excluded3);return react.createElement(OverflowContext.Provider,{value:null},react.createElement(es_Item,(0,esm_extends.Z)({ref,className:classnames_default()(contextClassName,className)},restContext,restProps)))},RawItem=react.forwardRef(InternalRawItem);RawItem.displayName="RawItem";const es_RawItem=RawItem;var Overflow_excluded=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],OverflowContext=react.createContext(null);function defaultRenderRest(omittedItems){return"+ ".concat(omittedItems.length," ...")}function Overflow(props,ref){var _props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-overflow":_props$prefixCls,_props$data=props.data,data=void 0===_props$data?[]:_props$data,renderItem=props.renderItem,renderRawItem=props.renderRawItem,itemKey=props.itemKey,_props$itemWidth=props.itemWidth,itemWidth=void 0===_props$itemWidth?10:_props$itemWidth,ssr=props.ssr,style=props.style,className=props.className,maxCount=props.maxCount,renderRest=props.renderRest,renderRawRest=props.renderRawRest,suffix=props.suffix,_props$component=props.component,Component=void 0===_props$component?"div":_props$component,itemComponent=props.itemComponent,onVisibleChange=props.onVisibleChange,restProps=(0,objectWithoutProperties.Z)(props,Overflow_excluded),createUseState=useBatchFrameState(),fullySSR="full"===ssr,_createUseState=createUseState(null),_createUseState2=(0,slicedToArray.Z)(_createUseState,2),containerWidth=_createUseState2[0],setContainerWidth=_createUseState2[1],mergedContainerWidth=containerWidth||0,_createUseState3=createUseState(new Map),_createUseState4=(0,slicedToArray.Z)(_createUseState3,2),itemWidths=_createUseState4[0],setItemWidths=_createUseState4[1],_createUseState5=createUseState(0),_createUseState6=(0,slicedToArray.Z)(_createUseState5,2),prevRestWidth=_createUseState6[0],setPrevRestWidth=_createUseState6[1],_createUseState7=createUseState(0),_createUseState8=(0,slicedToArray.Z)(_createUseState7,2),restWidth=_createUseState8[0],setRestWidth=_createUseState8[1],_createUseState9=createUseState(0),_createUseState10=(0,slicedToArray.Z)(_createUseState9,2),suffixWidth=_createUseState10[0],setSuffixWidth=_createUseState10[1],_useState=(0,react.useState)(null),_useState2=(0,slicedToArray.Z)(_useState,2),suffixFixedStart=_useState2[0],setSuffixFixedStart=_useState2[1],_useState3=(0,react.useState)(null),_useState4=(0,slicedToArray.Z)(_useState3,2),displayCount=_useState4[0],setDisplayCount=_useState4[1],mergedDisplayCount=react.useMemo((function(){return null===displayCount&&fullySSR?Number.MAX_SAFE_INTEGER:displayCount||0}),[displayCount,containerWidth]),_useState5=(0,react.useState)(!1),_useState6=(0,slicedToArray.Z)(_useState5,2),restReady=_useState6[0],setRestReady=_useState6[1],itemPrefixCls="".concat(prefixCls,"-item"),mergedRestWidth=Math.max(prevRestWidth,restWidth),isResponsive=data.length&&"responsive"===maxCount,invalidate="invalidate"===maxCount,showRest=isResponsive||"number"==typeof maxCount&&data.length>maxCount,mergedData=(0,react.useMemo)((function(){var items=data;return isResponsive?items=null===containerWidth&&fullySSR?data:data.slice(0,Math.min(data.length,mergedContainerWidth/itemWidth)):"number"==typeof maxCount&&(items=data.slice(0,maxCount)),items}),[data,itemWidth,containerWidth,maxCount,isResponsive]),omittedItems=(0,react.useMemo)((function(){return isResponsive?data.slice(mergedDisplayCount+1):data.slice(mergedData.length)}),[data,mergedData,isResponsive,mergedDisplayCount]),getKey=(0,react.useCallback)((function(item,index){var _ref;return"function"==typeof itemKey?itemKey(item):null!==(_ref=itemKey&&(null==item?void 0:item[itemKey]))&&void 0!==_ref?_ref:index}),[itemKey]),mergedRenderItem=(0,react.useCallback)(renderItem||function(item){return item},[renderItem]);function updateDisplayCount(count,notReady){setDisplayCount(count),notReady||(setRestReady(count<data.length-1),null==onVisibleChange||onVisibleChange(count))}function registerSize(key,width){setItemWidths((function(origin){var clone=new Map(origin);return null===width?clone.delete(key):clone.set(key,width),clone}))}function getItemWidth(index){return itemWidths.get(getKey(mergedData[index],index))}hooks_useLayoutEffect((function(){if(mergedContainerWidth&&mergedRestWidth&&mergedData){var totalWidth=suffixWidth,len=mergedData.length,lastIndex=len-1;if(!len)return updateDisplayCount(0),void setSuffixFixedStart(null);for(var i=0;i<len;i+=1){var currentItemWidth=getItemWidth(i);if(void 0===currentItemWidth){updateDisplayCount(i-1,!0);break}if(totalWidth+=currentItemWidth,0===lastIndex&&totalWidth<=mergedContainerWidth||i===lastIndex-1&&totalWidth+getItemWidth(lastIndex)<=mergedContainerWidth){updateDisplayCount(lastIndex),setSuffixFixedStart(null);break}if(totalWidth+mergedRestWidth>mergedContainerWidth){updateDisplayCount(i-1),setSuffixFixedStart(totalWidth-currentItemWidth-suffixWidth+restWidth);break}}suffix&&getItemWidth(0)+suffixWidth>mergedContainerWidth&&setSuffixFixedStart(null)}}),[mergedContainerWidth,itemWidths,restWidth,suffixWidth,getKey,mergedData]);var displayRest=restReady&&!!omittedItems.length,suffixStyle={};null!==suffixFixedStart&&isResponsive&&(suffixStyle={position:"absolute",left:suffixFixedStart,top:0});var restNode,itemSharedProps={prefixCls:itemPrefixCls,responsive:isResponsive,component:itemComponent,invalidate},internalRenderItemNode=renderRawItem?function(item,index){var key=getKey(item,index);return react.createElement(OverflowContext.Provider,{key,value:(0,objectSpread2.Z)((0,objectSpread2.Z)({},itemSharedProps),{},{order:index,item,itemKey:key,registerSize,display:index<=mergedDisplayCount})},renderRawItem(item,index))}:function(item,index){var key=getKey(item,index);return react.createElement(es_Item,(0,esm_extends.Z)({},itemSharedProps,{order:index,key,item,renderItem:mergedRenderItem,itemKey:key,registerSize,display:index<=mergedDisplayCount}))},restContextProps={order:displayRest?mergedDisplayCount:Number.MAX_SAFE_INTEGER,className:"".concat(itemPrefixCls,"-rest"),registerSize:function registerOverflowSize(_,width){setRestWidth(width),setPrevRestWidth(restWidth)},display:displayRest};if(renderRawRest)renderRawRest&&(restNode=react.createElement(OverflowContext.Provider,{value:(0,objectSpread2.Z)((0,objectSpread2.Z)({},itemSharedProps),restContextProps)},renderRawRest(omittedItems)));else{var mergedRenderRest=renderRest||defaultRenderRest;restNode=react.createElement(es_Item,(0,esm_extends.Z)({},itemSharedProps,restContextProps),"function"==typeof mergedRenderRest?mergedRenderRest(omittedItems):mergedRenderRest)}var overflowNode=react.createElement(Component,(0,esm_extends.Z)({className:classnames_default()(!invalidate&&prefixCls,className),style,ref},restProps),mergedData.map(internalRenderItemNode),showRest?restNode:null,suffix&&react.createElement(es_Item,(0,esm_extends.Z)({},itemSharedProps,{order:mergedDisplayCount,className:"".concat(itemPrefixCls,"-suffix"),registerSize:function registerSuffixSize(_,width){setSuffixWidth(width)},display:!0,style:suffixStyle}),suffix));return isResponsive&&(overflowNode=react.createElement(es.Z,{onResize:function onOverflowResize(_,element){setContainerWidth(element.clientWidth)}},overflowNode)),overflowNode}var ForwardOverflow=react.forwardRef(Overflow);ForwardOverflow.displayName="Overflow",ForwardOverflow.Item=es_RawItem,ForwardOverflow.RESPONSIVE="responsive",ForwardOverflow.INVALIDATE="invalidate";const rc_overflow_es=ForwardOverflow},"./node_modules/rc-pagination/es/locale/en_US.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},"./node_modules/rc-resize-observer/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>es});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),toArray=__webpack_require__("./node_modules/rc-util/es/Children/toArray.js"),objectSpread2=(__webpack_require__("./node_modules/rc-util/es/warning.js"),__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js")),ref=__webpack_require__("./node_modules/rc-util/es/ref.js"),findDOMNode=__webpack_require__("./node_modules/rc-util/es/Dom/findDOMNode.js"),ResizeObserver_es=__webpack_require__("./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js"),elementListeners=new Map;var resizeObserver=new ResizeObserver_es.Z((function onResize(entities){entities.forEach((function(entity){var _elementListeners$get,target=entity.target;null===(_elementListeners$get=elementListeners.get(target))||void 0===_elementListeners$get||_elementListeners$get.forEach((function(listener){return listener(target)}))}))}));var classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),DomWrapper=function(_React$Component){(0,inherits.Z)(DomWrapper,_React$Component);var _super=(0,createSuper.Z)(DomWrapper);function DomWrapper(){return(0,classCallCheck.Z)(this,DomWrapper),_super.apply(this,arguments)}return(0,createClass.Z)(DomWrapper,[{key:"render",value:function render(){return this.props.children}}]),DomWrapper}(react.Component),CollectionContext=react.createContext(null);function SingleObserver(props){var children=props.children,disabled=props.disabled,elementRef=react.useRef(null),wrapperRef=react.useRef(null),onCollectionResize=react.useContext(CollectionContext),isRenderProps="function"==typeof children,mergedChildren=isRenderProps?children(elementRef):children,sizeRef=react.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),canRef=!isRenderProps&&react.isValidElement(mergedChildren)&&(0,ref.Yr)(mergedChildren),originRef=canRef?mergedChildren.ref:null,mergedRef=react.useMemo((function(){return(0,ref.sQ)(originRef,elementRef)}),[originRef,elementRef]),propsRef=react.useRef(props);propsRef.current=props;var onInternalResize=react.useCallback((function(target){var _propsRef$current=propsRef.current,onResize=_propsRef$current.onResize,data=_propsRef$current.data,_target$getBoundingCl=target.getBoundingClientRect(),width=_target$getBoundingCl.width,height=_target$getBoundingCl.height,offsetWidth=target.offsetWidth,offsetHeight=target.offsetHeight,fixedWidth=Math.floor(width),fixedHeight=Math.floor(height);if(sizeRef.current.width!==fixedWidth||sizeRef.current.height!==fixedHeight||sizeRef.current.offsetWidth!==offsetWidth||sizeRef.current.offsetHeight!==offsetHeight){var size={width:fixedWidth,height:fixedHeight,offsetWidth,offsetHeight};sizeRef.current=size;var mergedOffsetWidth=offsetWidth===Math.round(width)?width:offsetWidth,mergedOffsetHeight=offsetHeight===Math.round(height)?height:offsetHeight,sizeInfo=(0,objectSpread2.Z)((0,objectSpread2.Z)({},size),{},{offsetWidth:mergedOffsetWidth,offsetHeight:mergedOffsetHeight});null==onCollectionResize||onCollectionResize(sizeInfo,target,data),onResize&&Promise.resolve().then((function(){onResize(sizeInfo,target)}))}}),[]);return react.useEffect((function(){var currentElement=(0,findDOMNode.Z)(elementRef.current)||(0,findDOMNode.Z)(wrapperRef.current);return currentElement&&!disabled&&function observe(element,callback){elementListeners.has(element)||(elementListeners.set(element,new Set),resizeObserver.observe(element)),elementListeners.get(element).add(callback)}(currentElement,onInternalResize),function(){return function unobserve(element,callback){elementListeners.has(element)&&(elementListeners.get(element).delete(callback),elementListeners.get(element).size||(resizeObserver.unobserve(element),elementListeners.delete(element)))}(currentElement,onInternalResize)}}),[elementRef.current,disabled]),react.createElement(DomWrapper,{ref:wrapperRef},canRef?react.cloneElement(mergedChildren,{ref:mergedRef}):mergedChildren)}function ResizeObserver(props){var children=props.children;return("function"==typeof children?[children]:(0,toArray.Z)(children)).map((function(child,index){var key=(null==child?void 0:child.key)||"".concat("rc-observer-key","-").concat(index);return react.createElement(SingleObserver,(0,esm_extends.Z)({},props,{key}),child)}))}ResizeObserver.Collection=function Collection(_ref){var children=_ref.children,onBatchResize=_ref.onBatchResize,resizeIdRef=react.useRef(0),resizeInfosRef=react.useRef([]),onCollectionResize=react.useContext(CollectionContext),onResize=react.useCallback((function(size,element,data){resizeIdRef.current+=1;var currentId=resizeIdRef.current;resizeInfosRef.current.push({size,element,data}),Promise.resolve().then((function(){currentId===resizeIdRef.current&&(null==onBatchResize||onBatchResize(resizeInfosRef.current),resizeInfosRef.current=[])})),null==onCollectionResize||onCollectionResize(size,element,data)}),[onBatchResize,onCollectionResize]);return react.createElement(CollectionContext.Provider,{value:onResize},children)};const es=ResizeObserver},"./node_modules/rc-select/es/hooks/useId.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ZP:()=>useId});var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),rc_util_es_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rc-util/es/Dom/canUseDom.js"),uuid=0,isBrowserClient=(0,rc_util_es_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_1__.Z)();function useId(id){var _React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState(),_React$useState2=(0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__.Z)(_React$useState,2),innerId=_React$useState2[0],setInnerId=_React$useState2[1];return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){setInnerId("rc_select_".concat(function getUUID(){var retId;return isBrowserClient?(retId=uuid,uuid+=1):retId="TEST_OR_SSR",retId}()))}),[]),id||innerId}},"./node_modules/rc-select/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ac:()=>es_BaseSelect,Xo:()=>es_OptGroup,Wx:()=>es_Option,ZP:()=>rc_select_es,lk:()=>useBaseProps});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),react=__webpack_require__("./node_modules/react/index.js"),es_warning=__webpack_require__("./node_modules/rc-util/es/warning.js"),useMergedState=__webpack_require__("./node_modules/rc-util/es/hooks/useMergedState.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),KeyCode=__webpack_require__("./node_modules/rc-util/es/KeyCode.js"),isMobile=__webpack_require__("./node_modules/rc-util/es/isMobile.js"),es_ref=__webpack_require__("./node_modules/rc-util/es/ref.js"),useLayoutEffect=__webpack_require__("./node_modules/rc-util/es/hooks/useLayoutEffect.js"),esm_toArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toArray.js");function getKey(data,index){var value,key=data.key;return"value"in data&&(value=data.value),null!=key?key:void 0!==value?value:"rc-index-key-".concat(index)}function fillFieldNames(fieldNames,childrenAsData){var _ref=fieldNames||{};return{label:_ref.label||(childrenAsData?"children":"label"),value:_ref.value||"value",options:_ref.options||"options"}}function injectPropsWithOption(option){var newOption=(0,objectSpread2.Z)({},option);return"props"in newOption||Object.defineProperty(newOption,"props",{get:function get(){return(0,es_warning.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),newOption}}),newOption}var es=__webpack_require__("./node_modules/rc-trigger/es/index.js"),_excluded=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],SelectTrigger=function SelectTrigger(props,ref){var prefixCls=props.prefixCls,visible=(props.disabled,props.visible),children=props.children,popupElement=props.popupElement,containerWidth=props.containerWidth,animation=props.animation,transitionName=props.transitionName,dropdownStyle=props.dropdownStyle,dropdownClassName=props.dropdownClassName,_props$direction=props.direction,direction=void 0===_props$direction?"ltr":_props$direction,placement=props.placement,dropdownMatchSelectWidth=props.dropdownMatchSelectWidth,dropdownRender=props.dropdownRender,dropdownAlign=props.dropdownAlign,getPopupContainer=props.getPopupContainer,empty=props.empty,getTriggerDOMNode=props.getTriggerDOMNode,onPopupVisibleChange=props.onPopupVisibleChange,onPopupMouseEnter=props.onPopupMouseEnter,restProps=(0,objectWithoutProperties.Z)(props,_excluded),dropdownPrefixCls="".concat(prefixCls,"-dropdown"),popupNode=popupElement;dropdownRender&&(popupNode=dropdownRender(popupElement));var builtInPlacements=react.useMemo((function(){return function getBuiltInPlacements(dropdownMatchSelectWidth){var adjustX=!0===dropdownMatchSelectWidth?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX,adjustY:1}}}}(dropdownMatchSelectWidth)}),[dropdownMatchSelectWidth]),mergedTransitionName=animation?"".concat(dropdownPrefixCls,"-").concat(animation):transitionName,popupRef=react.useRef(null);react.useImperativeHandle(ref,(function(){return{getPopupElement:function getPopupElement(){return popupRef.current}}}));var popupStyle=(0,objectSpread2.Z)({minWidth:containerWidth},dropdownStyle);return"number"==typeof dropdownMatchSelectWidth?popupStyle.width=dropdownMatchSelectWidth:dropdownMatchSelectWidth&&(popupStyle.width=containerWidth),react.createElement(es.Z,(0,esm_extends.Z)({},restProps,{showAction:onPopupVisibleChange?["click"]:[],hideAction:onPopupVisibleChange?["click"]:[],popupPlacement:placement||("rtl"===direction?"bottomRight":"bottomLeft"),builtinPlacements:builtInPlacements,prefixCls:dropdownPrefixCls,popupTransitionName:mergedTransitionName,popup:react.createElement("div",{ref:popupRef,onMouseEnter:onPopupMouseEnter},popupNode),popupAlign:dropdownAlign,popupVisible:visible,getPopupContainer,popupClassName:classnames_default()(dropdownClassName,(0,defineProperty.Z)({},"".concat(dropdownPrefixCls,"-empty"),empty)),popupStyle,getTriggerDOMNode,onPopupVisibleChange}),children)},RefSelectTrigger=react.forwardRef(SelectTrigger);RefSelectTrigger.displayName="SelectTrigger";const es_SelectTrigger=RefSelectTrigger;var pickAttrs=__webpack_require__("./node_modules/rc-util/es/pickAttrs.js"),rc_overflow_es=__webpack_require__("./node_modules/rc-overflow/es/index.js");const es_TransBtn=function TransBtn(_ref){var icon,className=_ref.className,customizeIcon=_ref.customizeIcon,customizeIconProps=_ref.customizeIconProps,_onMouseDown=_ref.onMouseDown,onClick=_ref.onClick,children=_ref.children;return icon="function"==typeof customizeIcon?customizeIcon(customizeIconProps):customizeIcon,react.createElement("span",{className,onMouseDown:function onMouseDown(event){event.preventDefault(),_onMouseDown&&_onMouseDown(event)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick,"aria-hidden":!0},void 0!==icon?icon:react.createElement("span",{className:classnames_default()(className.split(/\s+/).map((function(cls){return"".concat(cls,"-icon")})))},children))};var Input=function Input(_ref,ref){var _inputNode2,_inputNode2$props,prefixCls=_ref.prefixCls,id=_ref.id,inputElement=_ref.inputElement,disabled=_ref.disabled,tabIndex=_ref.tabIndex,autoFocus=_ref.autoFocus,autoComplete=_ref.autoComplete,editable=_ref.editable,activeDescendantId=_ref.activeDescendantId,value=_ref.value,maxLength=_ref.maxLength,_onKeyDown=_ref.onKeyDown,_onMouseDown=_ref.onMouseDown,_onChange=_ref.onChange,onPaste=_ref.onPaste,_onCompositionStart=_ref.onCompositionStart,_onCompositionEnd=_ref.onCompositionEnd,open=_ref.open,attrs=_ref.attrs,inputNode=inputElement||react.createElement("input",null),_inputNode=inputNode,originRef=_inputNode.ref,originProps=_inputNode.props,onOriginKeyDown=originProps.onKeyDown,onOriginChange=originProps.onChange,onOriginMouseDown=originProps.onMouseDown,onOriginCompositionStart=originProps.onCompositionStart,onOriginCompositionEnd=originProps.onCompositionEnd,style=originProps.style;return inputNode=react.cloneElement(inputNode,(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({type:"search"},originProps),{},{id,ref:(0,es_ref.sQ)(ref,originRef),disabled,tabIndex,autoComplete:autoComplete||"off",autoFocus,className:classnames_default()("".concat(prefixCls,"-selection-search-input"),null===(_inputNode2=inputNode)||void 0===_inputNode2||null===(_inputNode2$props=_inputNode2.props)||void 0===_inputNode2$props?void 0:_inputNode2$props.className),role:"combobox","aria-expanded":open,"aria-haspopup":"listbox","aria-owns":"".concat(id,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(id,"_list"),"aria-activedescendant":activeDescendantId},attrs),{},{value:editable?value:"",maxLength,readOnly:!editable,unselectable:editable?null:"on",style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},style),{},{opacity:editable?null:0}),onKeyDown:function onKeyDown(event){_onKeyDown(event),onOriginKeyDown&&onOriginKeyDown(event)},onMouseDown:function onMouseDown(event){_onMouseDown(event),onOriginMouseDown&&onOriginMouseDown(event)},onChange:function onChange(event){_onChange(event),onOriginChange&&onOriginChange(event)},onCompositionStart:function onCompositionStart(event){_onCompositionStart(event),onOriginCompositionStart&&onOriginCompositionStart(event)},onCompositionEnd:function onCompositionEnd(event){_onCompositionEnd(event),onOriginCompositionEnd&&onOriginCompositionEnd(event)},onPaste}))},RefInput=react.forwardRef(Input);RefInput.displayName="Input";const Selector_Input=RefInput;function commonUtil_toArray(value){return Array.isArray(value)?value:void 0!==value?[value]:[]}var isBrowserClient="undefined"!=typeof window&&window.document&&window.document.documentElement;var onPreventMouseDown=function onPreventMouseDown(event){event.preventDefault(),event.stopPropagation()};const MultipleSelector=function SelectSelector(props){var id=props.id,prefixCls=props.prefixCls,values=props.values,open=props.open,searchValue=props.searchValue,inputRef=props.inputRef,placeholder=props.placeholder,disabled=props.disabled,mode=props.mode,showSearch=props.showSearch,autoFocus=props.autoFocus,autoComplete=props.autoComplete,activeDescendantId=props.activeDescendantId,tabIndex=props.tabIndex,removeIcon=props.removeIcon,maxTagCount=props.maxTagCount,maxTagTextLength=props.maxTagTextLength,_props$maxTagPlacehol=props.maxTagPlaceholder,maxTagPlaceholder=void 0===_props$maxTagPlacehol?function(omittedValues){return"+ ".concat(omittedValues.length," ...")}:_props$maxTagPlacehol,tagRender=props.tagRender,onToggleOpen=props.onToggleOpen,onRemove=props.onRemove,onInputChange=props.onInputChange,onInputPaste=props.onInputPaste,onInputKeyDown=props.onInputKeyDown,onInputMouseDown=props.onInputMouseDown,onInputCompositionStart=props.onInputCompositionStart,onInputCompositionEnd=props.onInputCompositionEnd,measureRef=react.useRef(null),_useState=(0,react.useState)(0),_useState2=(0,slicedToArray.Z)(_useState,2),inputWidth=_useState2[0],setInputWidth=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),focused=_useState4[0],setFocused=_useState4[1],selectionPrefixCls="".concat(prefixCls,"-selection"),inputValue=open||"tags"===mode?searchValue:"",inputEditable="tags"===mode||showSearch&&(open||focused);function defaultRenderSelector(title,content,itemDisabled,closable,onClose){return react.createElement("span",{className:classnames_default()("".concat(selectionPrefixCls,"-item"),(0,defineProperty.Z)({},"".concat(selectionPrefixCls,"-item-disabled"),itemDisabled)),title:"string"==typeof title||"number"==typeof title?title.toString():void 0},react.createElement("span",{className:"".concat(selectionPrefixCls,"-item-content")},content),closable&&react.createElement(es_TransBtn,{className:"".concat(selectionPrefixCls,"-item-remove"),onMouseDown:onPreventMouseDown,onClick:onClose,customizeIcon:removeIcon},"×"))}!function useLayoutEffect_useLayoutEffect(effect,deps){isBrowserClient?react.useLayoutEffect(effect,deps):react.useEffect(effect,deps)}((function(){setInputWidth(measureRef.current.scrollWidth)}),[inputValue]);var inputNode=react.createElement("div",{className:"".concat(selectionPrefixCls,"-search"),style:{width:inputWidth},onFocus:function onFocus(){setFocused(!0)},onBlur:function onBlur(){setFocused(!1)}},react.createElement(Selector_Input,{ref:inputRef,open,prefixCls,id,inputElement:null,disabled,autoFocus,autoComplete,editable:inputEditable,activeDescendantId,value:inputValue,onKeyDown:onInputKeyDown,onMouseDown:onInputMouseDown,onChange:onInputChange,onPaste:onInputPaste,onCompositionStart:onInputCompositionStart,onCompositionEnd:onInputCompositionEnd,tabIndex,attrs:(0,pickAttrs.Z)(props,!0)}),react.createElement("span",{ref:measureRef,className:"".concat(selectionPrefixCls,"-search-mirror"),"aria-hidden":!0},inputValue," ")),selectionNode=react.createElement(rc_overflow_es.Z,{prefixCls:"".concat(selectionPrefixCls,"-overflow"),data:values,renderItem:function renderItem(valueItem){var itemDisabled=valueItem.disabled,label=valueItem.label,value=valueItem.value,closable=!disabled&&!itemDisabled,displayLabel=label;if("number"==typeof maxTagTextLength&&("string"==typeof label||"number"==typeof label)){var strLabel=String(displayLabel);strLabel.length>maxTagTextLength&&(displayLabel="".concat(strLabel.slice(0,maxTagTextLength),"..."))}var onClose=function onClose(event){event&&event.stopPropagation(),onRemove(valueItem)};return"function"==typeof tagRender?function customizeRenderSelector(value,content,itemDisabled,closable,onClose){return react.createElement("span",{onMouseDown:function onMouseDown(e){onPreventMouseDown(e),onToggleOpen(!open)}},tagRender({label:content,value,disabled:itemDisabled,closable,onClose}))}(value,displayLabel,itemDisabled,closable,onClose):defaultRenderSelector(label,displayLabel,itemDisabled,closable,onClose)},renderRest:function renderRest(omittedValues){var content="function"==typeof maxTagPlaceholder?maxTagPlaceholder(omittedValues):maxTagPlaceholder;return defaultRenderSelector(content,content,!1)},suffix:inputNode,itemKey:"key",maxCount:maxTagCount});return react.createElement(react.Fragment,null,selectionNode,!values.length&&!inputValue&&react.createElement("span",{className:"".concat(selectionPrefixCls,"-placeholder")},placeholder))};const Selector_SingleSelector=function SingleSelector(props){var inputElement=props.inputElement,prefixCls=props.prefixCls,id=props.id,inputRef=props.inputRef,disabled=props.disabled,autoFocus=props.autoFocus,autoComplete=props.autoComplete,activeDescendantId=props.activeDescendantId,mode=props.mode,open=props.open,values=props.values,placeholder=props.placeholder,tabIndex=props.tabIndex,showSearch=props.showSearch,searchValue=props.searchValue,activeValue=props.activeValue,maxLength=props.maxLength,onInputKeyDown=props.onInputKeyDown,onInputMouseDown=props.onInputMouseDown,onInputChange=props.onInputChange,onInputPaste=props.onInputPaste,onInputCompositionStart=props.onInputCompositionStart,onInputCompositionEnd=props.onInputCompositionEnd,_React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),inputChanged=_React$useState2[0],setInputChanged=_React$useState2[1],combobox="combobox"===mode,inputEditable=combobox||showSearch,item=values[0],inputValue=searchValue||"";combobox&&activeValue&&!inputChanged&&(inputValue=activeValue),react.useEffect((function(){combobox&&setInputChanged(!1)}),[combobox,activeValue]);var hasTextInput=!("combobox"!==mode&&!open&&!showSearch)&&!!inputValue,title=!item||"string"!=typeof item.label&&"number"!=typeof item.label?void 0:item.label.toString();return react.createElement(react.Fragment,null,react.createElement("span",{className:"".concat(prefixCls,"-selection-search")},react.createElement(Selector_Input,{ref:inputRef,prefixCls,id,open,inputElement,disabled,autoFocus,autoComplete,editable:inputEditable,activeDescendantId,value:inputValue,onKeyDown:onInputKeyDown,onMouseDown:onInputMouseDown,onChange:function onChange(e){setInputChanged(!0),onInputChange(e)},onPaste:onInputPaste,onCompositionStart:onInputCompositionStart,onCompositionEnd:onInputCompositionEnd,tabIndex,attrs:(0,pickAttrs.Z)(props,!0),maxLength:combobox?maxLength:void 0})),!combobox&&item&&!hasTextInput&&react.createElement("span",{className:"".concat(prefixCls,"-selection-item"),title},item.label),function renderPlaceholder(){if(item)return null;var hiddenStyle=hasTextInput?{visibility:"hidden"}:void 0;return react.createElement("span",{className:"".concat(prefixCls,"-selection-placeholder"),style:hiddenStyle},placeholder)}())};function useLock(){var duration=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,lockRef=react.useRef(null),timeoutRef=react.useRef(null);function doLock(locked){(locked||null===lockRef.current)&&(lockRef.current=locked),window.clearTimeout(timeoutRef.current),timeoutRef.current=window.setTimeout((function(){lockRef.current=null}),duration)}return react.useEffect((function(){return function(){window.clearTimeout(timeoutRef.current)}}),[]),[function(){return lockRef.current},doLock]}var Selector=function Selector(props,ref){var inputRef=(0,react.useRef)(null),compositionStatusRef=(0,react.useRef)(!1),prefixCls=props.prefixCls,open=props.open,mode=props.mode,showSearch=props.showSearch,tokenWithEnter=props.tokenWithEnter,onSearch=props.onSearch,onSearchSubmit=props.onSearchSubmit,onToggleOpen=props.onToggleOpen,onInputKeyDown=props.onInputKeyDown,domRef=props.domRef;react.useImperativeHandle(ref,(function(){return{focus:function focus(){inputRef.current.focus()},blur:function blur(){inputRef.current.blur()}}}));var _useLock=useLock(0),_useLock2=(0,slicedToArray.Z)(_useLock,2),getInputMouseDown=_useLock2[0],setInputMouseDown=_useLock2[1],pastedTextRef=(0,react.useRef)(null),triggerOnSearch=function triggerOnSearch(value){!1!==onSearch(value,!0,compositionStatusRef.current)&&onToggleOpen(!0)},sharedProps={inputRef,onInputKeyDown:function onInternalInputKeyDown(event){var which=event.which;which!==KeyCode.Z.UP&&which!==KeyCode.Z.DOWN||event.preventDefault(),onInputKeyDown&&onInputKeyDown(event),which!==KeyCode.Z.ENTER||"tags"!==mode||compositionStatusRef.current||open||null==onSearchSubmit||onSearchSubmit(event.target.value),function isValidateOpenKey(currentKeyCode){return![KeyCode.Z.ESC,KeyCode.Z.SHIFT,KeyCode.Z.BACKSPACE,KeyCode.Z.TAB,KeyCode.Z.WIN_KEY,KeyCode.Z.ALT,KeyCode.Z.META,KeyCode.Z.WIN_KEY_RIGHT,KeyCode.Z.CTRL,KeyCode.Z.SEMICOLON,KeyCode.Z.EQUALS,KeyCode.Z.CAPS_LOCK,KeyCode.Z.CONTEXT_MENU,KeyCode.Z.F1,KeyCode.Z.F2,KeyCode.Z.F3,KeyCode.Z.F4,KeyCode.Z.F5,KeyCode.Z.F6,KeyCode.Z.F7,KeyCode.Z.F8,KeyCode.Z.F9,KeyCode.Z.F10,KeyCode.Z.F11,KeyCode.Z.F12].includes(currentKeyCode)}(which)&&onToggleOpen(!0)},onInputMouseDown:function onInternalInputMouseDown(){setInputMouseDown(!0)},onInputChange:function onInputChange(event){var value=event.target.value;if(tokenWithEnter&&pastedTextRef.current&&/[\r\n]/.test(pastedTextRef.current)){var replacedText=pastedTextRef.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");value=value.replace(replacedText,pastedTextRef.current)}pastedTextRef.current=null,triggerOnSearch(value)},onInputPaste:function onInputPaste(e){var value=e.clipboardData.getData("text");pastedTextRef.current=value},onInputCompositionStart:function onInputCompositionStart(){compositionStatusRef.current=!0},onInputCompositionEnd:function onInputCompositionEnd(e){compositionStatusRef.current=!1,"combobox"!==mode&&triggerOnSearch(e.target.value)}},selectNode="multiple"===mode||"tags"===mode?react.createElement(MultipleSelector,(0,esm_extends.Z)({},props,sharedProps)):react.createElement(Selector_SingleSelector,(0,esm_extends.Z)({},props,sharedProps));return react.createElement("div",{ref:domRef,className:"".concat(prefixCls,"-selector"),onClick:function onClick(_ref){_ref.target!==inputRef.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){inputRef.current.focus()})):inputRef.current.focus())},onMouseDown:function onMouseDown(event){var inputMouseDown=getInputMouseDown();event.target===inputRef.current||inputMouseDown||event.preventDefault(),("combobox"===mode||showSearch&&inputMouseDown)&&open||(open&&onSearch("",!0,!1),onToggleOpen())}},selectNode)},ForwardSelector=react.forwardRef(Selector);ForwardSelector.displayName="Selector";const es_Selector=ForwardSelector;var BaseSelectContext=react.createContext(null);function useBaseProps(){return react.useContext(BaseSelectContext)}var BaseSelect_excluded=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],DEFAULT_OMIT_PROPS=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function BaseSelect_isMultiple(mode){return"tags"===mode||"multiple"===mode}var BaseSelect=react.forwardRef((function(props,ref){var _customizeRawInputEle,_classNames2,id=props.id,prefixCls=props.prefixCls,className=props.className,showSearch=props.showSearch,tagRender=props.tagRender,direction=props.direction,omitDomProps=props.omitDomProps,displayValues=props.displayValues,onDisplayValuesChange=props.onDisplayValuesChange,emptyOptions=props.emptyOptions,_props$notFoundConten=props.notFoundContent,notFoundContent=void 0===_props$notFoundConten?"Not Found":_props$notFoundConten,onClear=props.onClear,mode=props.mode,disabled=props.disabled,loading=props.loading,getInputElement=props.getInputElement,getRawInputElement=props.getRawInputElement,open=props.open,defaultOpen=props.defaultOpen,onDropdownVisibleChange=props.onDropdownVisibleChange,activeValue=props.activeValue,onActiveValueChange=props.onActiveValueChange,activeDescendantId=props.activeDescendantId,searchValue=props.searchValue,onSearch=props.onSearch,onSearchSplit=props.onSearchSplit,tokenSeparators=props.tokenSeparators,allowClear=props.allowClear,showArrow=props.showArrow,inputIcon=props.inputIcon,clearIcon=props.clearIcon,OptionList=props.OptionList,animation=props.animation,transitionName=props.transitionName,dropdownStyle=props.dropdownStyle,dropdownClassName=props.dropdownClassName,dropdownMatchSelectWidth=props.dropdownMatchSelectWidth,dropdownRender=props.dropdownRender,dropdownAlign=props.dropdownAlign,placement=props.placement,getPopupContainer=props.getPopupContainer,_props$showAction=props.showAction,showAction=void 0===_props$showAction?[]:_props$showAction,onFocus=props.onFocus,onBlur=props.onBlur,onKeyUp=props.onKeyUp,onKeyDown=props.onKeyDown,onMouseDown=props.onMouseDown,restProps=(0,objectWithoutProperties.Z)(props,BaseSelect_excluded),multiple=BaseSelect_isMultiple(mode),mergedShowSearch=(void 0!==showSearch?showSearch:multiple)||"combobox"===mode,domProps=(0,objectSpread2.Z)({},restProps);DEFAULT_OMIT_PROPS.forEach((function(propName){delete domProps[propName]})),null==omitDomProps||omitDomProps.forEach((function(propName){delete domProps[propName]}));var _React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),mobile=_React$useState2[0],setMobile=_React$useState2[1];react.useEffect((function(){setMobile((0,isMobile.Z)())}),[]);var containerRef=react.useRef(null),selectorDomRef=react.useRef(null),triggerRef=react.useRef(null),selectorRef=react.useRef(null),listRef=react.useRef(null),_useDelayReset=function useDelayReset(){var timeout=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,_React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),bool=_React$useState2[0],setBool=_React$useState2[1],delayRef=react.useRef(null),cancelLatest=function cancelLatest(){window.clearTimeout(delayRef.current)};return react.useEffect((function(){return cancelLatest}),[]),[bool,function delaySetBool(value,callback){cancelLatest(),delayRef.current=window.setTimeout((function(){setBool(value),callback&&callback()}),timeout)},cancelLatest]}(),_useDelayReset2=(0,slicedToArray.Z)(_useDelayReset,3),mockFocused=_useDelayReset2[0],setMockFocused=_useDelayReset2[1],cancelSetMockFocused=_useDelayReset2[2];react.useImperativeHandle(ref,(function(){var _selectorRef$current,_selectorRef$current2;return{focus:null===(_selectorRef$current=selectorRef.current)||void 0===_selectorRef$current?void 0:_selectorRef$current.focus,blur:null===(_selectorRef$current2=selectorRef.current)||void 0===_selectorRef$current2?void 0:_selectorRef$current2.blur,scrollTo:function scrollTo(arg){var _listRef$current;return null===(_listRef$current=listRef.current)||void 0===_listRef$current?void 0:_listRef$current.scrollTo(arg)}}}));var mergedSearchValue=react.useMemo((function(){var _displayValues$;if("combobox"!==mode)return searchValue;var val=null===(_displayValues$=displayValues[0])||void 0===_displayValues$?void 0:_displayValues$.value;return"string"==typeof val||"number"==typeof val?String(val):""}),[searchValue,mode,displayValues]),customizeInputElement="combobox"===mode&&"function"==typeof getInputElement&&getInputElement()||null,customizeRawInputElement="function"==typeof getRawInputElement&&getRawInputElement(),customizeRawInputRef=(0,es_ref.x1)(selectorDomRef,null==customizeRawInputElement||null===(_customizeRawInputEle=customizeRawInputElement.props)||void 0===_customizeRawInputEle?void 0:_customizeRawInputEle.ref),_useMergedState=(0,useMergedState.Z)(void 0,{defaultValue:defaultOpen,value:open}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),innerOpen=_useMergedState2[0],setInnerOpen=_useMergedState2[1],mergedOpen=innerOpen,emptyListContent=!notFoundContent&&emptyOptions;(disabled||emptyListContent&&mergedOpen&&"combobox"===mode)&&(mergedOpen=!1);var triggerOpen=!emptyListContent&&mergedOpen,onToggleOpen=react.useCallback((function(newOpen){var nextOpen=void 0!==newOpen?newOpen:!mergedOpen;mergedOpen===nextOpen||disabled||(setInnerOpen(nextOpen),null==onDropdownVisibleChange||onDropdownVisibleChange(nextOpen))}),[disabled,mergedOpen,setInnerOpen,onDropdownVisibleChange]),tokenWithEnter=react.useMemo((function(){return(tokenSeparators||[]).some((function(tokenSeparator){return["\n","\r\n"].includes(tokenSeparator)}))}),[tokenSeparators]),onInternalSearch=function onInternalSearch(searchText,fromTyping,isCompositing){var ret=!0,newSearchText=searchText;null==onActiveValueChange||onActiveValueChange(null);var patchLabels=isCompositing?null:function getSeparatedContent(text,tokens){if(!tokens||!tokens.length)return null;var match=!1,list=function separate(str,_ref3){var _ref4=(0,esm_toArray.Z)(_ref3),token=_ref4[0],restTokens=_ref4.slice(1);if(!token)return[str];var list=str.split(token);return match=match||list.length>1,list.reduce((function(prevList,unitStr){return[].concat((0,toConsumableArray.Z)(prevList),(0,toConsumableArray.Z)(separate(unitStr,restTokens)))}),[]).filter((function(unit){return unit}))}(text,tokens);return match?list:null}(searchText,tokenSeparators);return"combobox"!==mode&&patchLabels&&(newSearchText="",null==onSearchSplit||onSearchSplit(patchLabels),onToggleOpen(!1),ret=!1),onSearch&&mergedSearchValue!==newSearchText&&onSearch(newSearchText,{source:fromTyping?"typing":"effect"}),ret};react.useEffect((function(){mergedOpen||multiple||"combobox"===mode||onInternalSearch("",!1,!1)}),[mergedOpen]),react.useEffect((function(){innerOpen&&disabled&&setInnerOpen(!1),disabled&&setMockFocused(!1)}),[disabled]);var _useLock=useLock(),_useLock2=(0,slicedToArray.Z)(_useLock,2),getClearLock=_useLock2[0],setClearLock=_useLock2[1],focusRef=react.useRef(!1),activeTimeoutIds=[];react.useEffect((function(){return function(){activeTimeoutIds.forEach((function(timeoutId){return clearTimeout(timeoutId)})),activeTimeoutIds.splice(0,activeTimeoutIds.length)}}),[]);var onTriggerVisibleChange,_React$useState3=react.useState(null),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),containerWidth=_React$useState4[0],setContainerWidth=_React$useState4[1],_React$useState5=react.useState({}),forceUpdate=(0,slicedToArray.Z)(_React$useState5,2)[1];(0,useLayoutEffect.Z)((function(){if(triggerOpen){var _containerRef$current,newWidth=Math.ceil(null===(_containerRef$current=containerRef.current)||void 0===_containerRef$current?void 0:_containerRef$current.offsetWidth);containerWidth===newWidth||Number.isNaN(newWidth)||setContainerWidth(newWidth)}}),[triggerOpen]),customizeRawInputElement&&(onTriggerVisibleChange=function onTriggerVisibleChange(newOpen){onToggleOpen(newOpen)}),function useSelectTriggerControl(elements,open,triggerOpen){var propsRef=react.useRef(null);propsRef.current={open,triggerOpen},react.useEffect((function(){function onGlobalMouseDown(event){var target=event.target;target.shadowRoot&&event.composed&&(target=event.composedPath()[0]||target),propsRef.current.open&&elements().filter((function(element){return element})).every((function(element){return!element.contains(target)&&element!==target}))&&propsRef.current.triggerOpen(!1)}return window.addEventListener("mousedown",onGlobalMouseDown),function(){return window.removeEventListener("mousedown",onGlobalMouseDown)}}),[])}((function(){var _triggerRef$current2;return[containerRef.current,null===(_triggerRef$current2=triggerRef.current)||void 0===_triggerRef$current2?void 0:_triggerRef$current2.getPopupElement()]}),triggerOpen,onToggleOpen);var arrowNode,clearNode,baseSelectContext=react.useMemo((function(){return(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{notFoundContent,open:mergedOpen,triggerOpen,id,showSearch:mergedShowSearch,multiple,toggleOpen:onToggleOpen})}),[props,notFoundContent,triggerOpen,mergedOpen,id,mergedShowSearch,multiple,onToggleOpen]),mergedShowArrow=void 0!==showArrow?showArrow:loading||!multiple&&"combobox"!==mode;mergedShowArrow&&(arrowNode=react.createElement(es_TransBtn,{className:classnames_default()("".concat(prefixCls,"-arrow"),(0,defineProperty.Z)({},"".concat(prefixCls,"-arrow-loading"),loading)),customizeIcon:inputIcon,customizeIconProps:{loading,searchValue:mergedSearchValue,open:mergedOpen,focused:mockFocused,showSearch:mergedShowSearch}}));!disabled&&allowClear&&(displayValues.length||mergedSearchValue)&&(clearNode=react.createElement(es_TransBtn,{className:"".concat(prefixCls,"-clear"),onMouseDown:function onClearMouseDown(){null==onClear||onClear(),onDisplayValuesChange([],{type:"clear",values:displayValues}),onInternalSearch("",!1,!1)},customizeIcon:clearIcon},"×"));var renderNode,optionList=react.createElement(OptionList,{ref:listRef}),mergedClassName=classnames_default()(prefixCls,className,(_classNames2={},(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-focused"),mockFocused),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-multiple"),multiple),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-single"),!multiple),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-allow-clear"),allowClear),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-show-arrow"),mergedShowArrow),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-disabled"),disabled),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-loading"),loading),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-open"),mergedOpen),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-customize-input"),customizeInputElement),(0,defineProperty.Z)(_classNames2,"".concat(prefixCls,"-show-search"),mergedShowSearch),_classNames2)),selectorNode=react.createElement(es_SelectTrigger,{ref:triggerRef,disabled,prefixCls,visible:triggerOpen,popupElement:optionList,containerWidth,animation,transitionName,dropdownStyle,dropdownClassName,direction,dropdownMatchSelectWidth,dropdownRender,dropdownAlign,placement,getPopupContainer,empty:emptyOptions,getTriggerDOMNode:function getTriggerDOMNode(){return selectorDomRef.current},onPopupVisibleChange:onTriggerVisibleChange,onPopupMouseEnter:function onPopupMouseEnter(){forceUpdate({})}},customizeRawInputElement?react.cloneElement(customizeRawInputElement,{ref:customizeRawInputRef}):react.createElement(es_Selector,(0,esm_extends.Z)({},props,{domRef:selectorDomRef,prefixCls,inputElement:customizeInputElement,ref:selectorRef,id,showSearch:mergedShowSearch,mode,activeDescendantId,tagRender,values:displayValues,open:mergedOpen,onToggleOpen,activeValue,searchValue:mergedSearchValue,onSearch:onInternalSearch,onSearchSubmit:function onInternalSearchSubmit(searchText){searchText&&searchText.trim()&&onSearch(searchText,{source:"submit"})},onRemove:function onSelectorRemove(val){var newValues=displayValues.filter((function(i){return i!==val}));onDisplayValuesChange(newValues,{type:"remove",values:[val]})},tokenWithEnter})));return renderNode=customizeRawInputElement?selectorNode:react.createElement("div",(0,esm_extends.Z)({className:mergedClassName},domProps,{ref:containerRef,onMouseDown:function onInternalMouseDown(event){var _triggerRef$current,target=event.target,popupElement=null===(_triggerRef$current=triggerRef.current)||void 0===_triggerRef$current?void 0:_triggerRef$current.getPopupElement();if(popupElement&&popupElement.contains(target)){var timeoutId=setTimeout((function(){var _selectorRef$current3,index=activeTimeoutIds.indexOf(timeoutId);-1!==index&&activeTimeoutIds.splice(index,1),cancelSetMockFocused(),mobile||popupElement.contains(document.activeElement)||null===(_selectorRef$current3=selectorRef.current)||void 0===_selectorRef$current3||_selectorRef$current3.focus()}));activeTimeoutIds.push(timeoutId)}for(var _len3=arguments.length,restArgs=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)restArgs[_key3-1]=arguments[_key3];null==onMouseDown||onMouseDown.apply(void 0,[event].concat(restArgs))},onKeyDown:function onInternalKeyDown(event){var _listRef$current2,clearLock=getClearLock(),which=event.which;if(which===KeyCode.Z.ENTER&&("combobox"!==mode&&event.preventDefault(),mergedOpen||onToggleOpen(!0)),setClearLock(!!mergedSearchValue),which===KeyCode.Z.BACKSPACE&&!clearLock&&multiple&&!mergedSearchValue&&displayValues.length){for(var cloneDisplayValues=(0,toConsumableArray.Z)(displayValues),removedDisplayValue=null,i=cloneDisplayValues.length-1;i>=0;i-=1){var current=cloneDisplayValues[i];if(!current.disabled){cloneDisplayValues.splice(i,1),removedDisplayValue=current;break}}removedDisplayValue&&onDisplayValuesChange(cloneDisplayValues,{type:"remove",values:[removedDisplayValue]})}for(var _len=arguments.length,rest=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)rest[_key-1]=arguments[_key];mergedOpen&&listRef.current&&(_listRef$current2=listRef.current).onKeyDown.apply(_listRef$current2,[event].concat(rest)),null==onKeyDown||onKeyDown.apply(void 0,[event].concat(rest))},onKeyUp:function onInternalKeyUp(event){for(var _len2=arguments.length,rest=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)rest[_key2-1]=arguments[_key2];var _listRef$current3;mergedOpen&&listRef.current&&(_listRef$current3=listRef.current).onKeyUp.apply(_listRef$current3,[event].concat(rest)),null==onKeyUp||onKeyUp.apply(void 0,[event].concat(rest))},onFocus:function onContainerFocus(){setMockFocused(!0),disabled||(onFocus&&!focusRef.current&&onFocus.apply(void 0,arguments),showAction.includes("focus")&&onToggleOpen(!0)),focusRef.current=!0},onBlur:function onContainerBlur(){setMockFocused(!1,(function(){focusRef.current=!1,onToggleOpen(!1)})),disabled||(mergedSearchValue&&("tags"===mode?onSearch(mergedSearchValue,{source:"submit"}):"multiple"===mode&&onSearch("",{source:"blur"})),onBlur&&onBlur.apply(void 0,arguments))}}),mockFocused&&!mergedOpen&&react.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(displayValues.map((function(_ref){var label=_ref.label,value=_ref.value;return["number","string"].includes((0,esm_typeof.Z)(label))?label:value})).join(", "))),selectorNode,arrowNode,clearNode),react.createElement(BaseSelectContext.Provider,{value:baseSelectContext},renderNode)}));const es_BaseSelect=BaseSelect;var omit=__webpack_require__("./node_modules/rc-util/es/omit.js"),useMemo=__webpack_require__("./node_modules/rc-util/es/hooks/useMemo.js"),rc_virtual_list_es=__webpack_require__("./node_modules/rc-virtual-list/es/index.js");const es_SelectContext=react.createContext(null);var OptionList_excluded=["disabled","title","children","style","className"];function isTitleType(content){return"string"==typeof content||"number"==typeof content}var OptionList=function OptionList(_,ref){var _useBaseProps=useBaseProps(),prefixCls=_useBaseProps.prefixCls,id=_useBaseProps.id,open=_useBaseProps.open,multiple=_useBaseProps.multiple,mode=_useBaseProps.mode,searchValue=_useBaseProps.searchValue,toggleOpen=_useBaseProps.toggleOpen,notFoundContent=_useBaseProps.notFoundContent,onPopupScroll=_useBaseProps.onPopupScroll,_React$useContext=react.useContext(es_SelectContext),flattenOptions=_React$useContext.flattenOptions,onActiveValue=_React$useContext.onActiveValue,defaultActiveFirstOption=_React$useContext.defaultActiveFirstOption,onSelect=_React$useContext.onSelect,menuItemSelectedIcon=_React$useContext.menuItemSelectedIcon,rawValues=_React$useContext.rawValues,fieldNames=_React$useContext.fieldNames,virtual=_React$useContext.virtual,listHeight=_React$useContext.listHeight,listItemHeight=_React$useContext.listItemHeight,itemPrefixCls="".concat(prefixCls,"-item"),memoFlattenOptions=(0,useMemo.Z)((function(){return flattenOptions}),[open,flattenOptions],(function(prev,next){return next[0]&&prev[1]!==next[1]})),listRef=react.useRef(null),onListMouseDown=function onListMouseDown(event){event.preventDefault()},scrollIntoView=function scrollIntoView(args){listRef.current&&listRef.current.scrollTo("number"==typeof args?{index:args}:args)},getEnabledActiveIndex=function getEnabledActiveIndex(index){for(var offset=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,len=memoFlattenOptions.length,i=0;i<len;i+=1){var current=(index+i*offset+len)%len,_memoFlattenOptions$c=memoFlattenOptions[current],group=_memoFlattenOptions$c.group,data=_memoFlattenOptions$c.data;if(!group&&!data.disabled)return current}return-1},_React$useState=react.useState((function(){return getEnabledActiveIndex(0)})),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),activeIndex=_React$useState2[0],setActiveIndex=_React$useState2[1],setActive=function setActive(index){var fromKeyboard=arguments.length>1&&void 0!==arguments[1]&&arguments[1];setActiveIndex(index);var info={source:fromKeyboard?"keyboard":"mouse"},flattenItem=memoFlattenOptions[index];flattenItem?onActiveValue(flattenItem.value,index,info):onActiveValue(null,-1,info)};(0,react.useEffect)((function(){setActive(!1!==defaultActiveFirstOption?getEnabledActiveIndex(0):-1)}),[memoFlattenOptions.length,searchValue]);var isSelected=react.useCallback((function(value){return rawValues.has(value)&&"combobox"!==mode}),[mode,(0,toConsumableArray.Z)(rawValues).toString()]);(0,react.useEffect)((function(){var _listRef$current,timeoutId=setTimeout((function(){if(!multiple&&open&&1===rawValues.size){var value=Array.from(rawValues)[0],index=memoFlattenOptions.findIndex((function(_ref){return _ref.data.value===value}));-1!==index&&(setActive(index),scrollIntoView(index))}}));open&&(null===(_listRef$current=listRef.current)||void 0===_listRef$current||_listRef$current.scrollTo(void 0));return function(){return clearTimeout(timeoutId)}}),[open,searchValue]);var onSelectValue=function onSelectValue(value){void 0!==value&&onSelect(value,{selected:!rawValues.has(value)}),multiple||toggleOpen(!1)};if(react.useImperativeHandle(ref,(function(){return{onKeyDown:function onKeyDown(event){var which=event.which,ctrlKey=event.ctrlKey;switch(which){case KeyCode.Z.N:case KeyCode.Z.P:case KeyCode.Z.UP:case KeyCode.Z.DOWN:var offset=0;if(which===KeyCode.Z.UP?offset=-1:which===KeyCode.Z.DOWN?offset=1:function isPlatformMac(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}()&&ctrlKey&&(which===KeyCode.Z.N?offset=1:which===KeyCode.Z.P&&(offset=-1)),0!==offset){var nextActiveIndex=getEnabledActiveIndex(activeIndex+offset,offset);scrollIntoView(nextActiveIndex),setActive(nextActiveIndex,!0)}break;case KeyCode.Z.ENTER:var item=memoFlattenOptions[activeIndex];item&&!item.data.disabled?onSelectValue(item.value):onSelectValue(void 0),open&&event.preventDefault();break;case KeyCode.Z.ESC:toggleOpen(!1),open&&event.stopPropagation()}},onKeyUp:function onKeyUp(){},scrollTo:function scrollTo(index){scrollIntoView(index)}}})),0===memoFlattenOptions.length)return react.createElement("div",{role:"listbox",id:"".concat(id,"_list"),className:"".concat(itemPrefixCls,"-empty"),onMouseDown:onListMouseDown},notFoundContent);var omitFieldNameList=Object.keys(fieldNames).map((function(key){return fieldNames[key]})),getLabel=function getLabel(item){return item.label},renderItem=function renderItem(index){var item=memoFlattenOptions[index];if(!item)return null;var itemData=item.data||{},value=itemData.value,group=item.group,attrs=(0,pickAttrs.Z)(itemData,!0),mergedLabel=getLabel(item);return item?react.createElement("div",(0,esm_extends.Z)({"aria-label":"string"!=typeof mergedLabel||group?null:mergedLabel},attrs,{key:index,role:group?"presentation":"option",id:"".concat(id,"_list_").concat(index),"aria-selected":isSelected(value)}),value):null};return react.createElement(react.Fragment,null,react.createElement("div",{role:"listbox",id:"".concat(id,"_list"),style:{height:0,width:0,overflow:"hidden"}},renderItem(activeIndex-1),renderItem(activeIndex),renderItem(activeIndex+1)),react.createElement(rc_virtual_list_es.Z,{itemKey:"key",ref:listRef,data:memoFlattenOptions,height:listHeight,itemHeight:listItemHeight,fullHeight:!1,onMouseDown:onListMouseDown,onScroll:onPopupScroll,virtual},(function(item,itemIndex){var _classNames,group=item.group,groupOption=item.groupOption,data=item.data,label=item.label,value=item.value,key=data.key;if(group){var _data$title,groupTitle=null!==(_data$title=data.title)&&void 0!==_data$title?_data$title:isTitleType(label)&&label;return react.createElement("div",{className:classnames_default()(itemPrefixCls,"".concat(itemPrefixCls,"-group")),title:groupTitle},void 0!==label?label:key)}var disabled=data.disabled,title=data.title,style=(data.children,data.style),className=data.className,otherProps=(0,objectWithoutProperties.Z)(data,OptionList_excluded),passedProps=(0,omit.Z)(otherProps,omitFieldNameList),selected=isSelected(value),optionPrefixCls="".concat(itemPrefixCls,"-option"),optionClassName=classnames_default()(itemPrefixCls,optionPrefixCls,className,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(optionPrefixCls,"-grouped"),groupOption),(0,defineProperty.Z)(_classNames,"".concat(optionPrefixCls,"-active"),activeIndex===itemIndex&&!disabled),(0,defineProperty.Z)(_classNames,"".concat(optionPrefixCls,"-disabled"),disabled),(0,defineProperty.Z)(_classNames,"".concat(optionPrefixCls,"-selected"),selected),_classNames)),mergedLabel=getLabel(item),iconVisible=!menuItemSelectedIcon||"function"==typeof menuItemSelectedIcon||selected,content="number"==typeof mergedLabel?mergedLabel:mergedLabel||value,optionTitle=isTitleType(content)?content.toString():void 0;return void 0!==title&&(optionTitle=title),react.createElement("div",(0,esm_extends.Z)({},passedProps,{"aria-selected":selected,className:optionClassName,title:optionTitle,onMouseMove:function onMouseMove(){activeIndex===itemIndex||disabled||setActive(itemIndex)},onClick:function onClick(){disabled||onSelectValue(value)},style}),react.createElement("div",{className:"".concat(optionPrefixCls,"-content")},content),react.isValidElement(menuItemSelectedIcon)||selected,iconVisible&&react.createElement(es_TransBtn,{className:"".concat(itemPrefixCls,"-option-state"),customizeIcon:menuItemSelectedIcon,customizeIconProps:{isSelected:selected}},selected?"✓":null))})))},RefOptionList=react.forwardRef(OptionList);RefOptionList.displayName="OptionList";const es_OptionList=RefOptionList;var Option=function Option(){return null};Option.isSelectOption=!0;const es_Option=Option;var OptGroup=function OptGroup(){return null};OptGroup.isSelectOptGroup=!0;const es_OptGroup=OptGroup;var Children_toArray=__webpack_require__("./node_modules/rc-util/es/Children/toArray.js"),legacyUtil_excluded=["children","value"],_excluded2=["children"];function convertNodeToOption(node){var key=node.key,_node$props=node.props,children=_node$props.children,value=_node$props.value,restProps=(0,objectWithoutProperties.Z)(_node$props,legacyUtil_excluded);return(0,objectSpread2.Z)({key,value:void 0!==value?value:key,children},restProps)}function legacyUtil_convertChildrenToData(nodes){var optionOnly=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Children_toArray.Z)(nodes).map((function(node,index){if(!react.isValidElement(node)||!node.type)return null;var isSelectOptGroup=node.type.isSelectOptGroup,key=node.key,_node$props2=node.props,children=_node$props2.children,restProps=(0,objectWithoutProperties.Z)(_node$props2,_excluded2);return optionOnly||!isSelectOptGroup?convertNodeToOption(node):(0,objectSpread2.Z)((0,objectSpread2.Z)({key:"__RC_SELECT_GRP__".concat(null===key?index:key,"__"),label:key},restProps),{},{options:legacyUtil_convertChildrenToData(children)})})).filter((function(data){return data}))}function useOptions(options,children,fieldNames,optionFilterProp,optionLabelProp){return react.useMemo((function(){var mergedOptions=options;!options&&(mergedOptions=legacyUtil_convertChildrenToData(children));var valueOptions=new Map,labelOptions=new Map,setLabelOptions=function setLabelOptions(labelOptionsMap,option,key){key&&"string"==typeof key&&labelOptionsMap.set(option[key],option)};return function dig(optionList){for(var isChildren=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i<optionList.length;i+=1){var option=optionList[i];!option[fieldNames.options]||isChildren?(valueOptions.set(option[fieldNames.value],option),setLabelOptions(labelOptions,option,fieldNames.label),setLabelOptions(labelOptions,option,optionFilterProp),setLabelOptions(labelOptions,option,optionLabelProp)):dig(option[fieldNames.options],!0)}}(mergedOptions),{options:mergedOptions,valueOptions,labelOptions}}),[options,children,fieldNames,optionFilterProp,optionLabelProp])}var useId=__webpack_require__("./node_modules/rc-select/es/hooks/useId.js");function useRefFunc(callback){var funcRef=react.useRef();funcRef.current=callback;var cacheFn=react.useCallback((function(){return funcRef.current.apply(funcRef,arguments)}),[]);return cacheFn}function includes(test,search){return commonUtil_toArray(test).join("").toUpperCase().includes(search)}var Select_excluded=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],OMIT_DOM_PROPS=["inputValue"];var TypedSelect=react.forwardRef((function(props,ref){var id=props.id,mode=props.mode,_props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-select":_props$prefixCls,backfill=props.backfill,fieldNames=props.fieldNames,inputValue=props.inputValue,searchValue=props.searchValue,onSearch=props.onSearch,_props$autoClearSearc=props.autoClearSearchValue,autoClearSearchValue=void 0===_props$autoClearSearc||_props$autoClearSearc,onSelect=props.onSelect,onDeselect=props.onDeselect,_props$dropdownMatchS=props.dropdownMatchSelectWidth,dropdownMatchSelectWidth=void 0===_props$dropdownMatchS||_props$dropdownMatchS,filterOption=props.filterOption,filterSort=props.filterSort,optionFilterProp=props.optionFilterProp,optionLabelProp=props.optionLabelProp,options=props.options,children=props.children,defaultActiveFirstOption=props.defaultActiveFirstOption,menuItemSelectedIcon=props.menuItemSelectedIcon,virtual=props.virtual,_props$listHeight=props.listHeight,listHeight=void 0===_props$listHeight?200:_props$listHeight,_props$listItemHeight=props.listItemHeight,listItemHeight=void 0===_props$listItemHeight?20:_props$listItemHeight,value=props.value,defaultValue=props.defaultValue,labelInValue=props.labelInValue,onChange=props.onChange,restProps=(0,objectWithoutProperties.Z)(props,Select_excluded),mergedId=(0,useId.ZP)(id),multiple=BaseSelect_isMultiple(mode),childrenAsData=!(options||!children),mergedFilterOption=react.useMemo((function(){return(void 0!==filterOption||"combobox"!==mode)&&filterOption}),[filterOption,mode]),mergedFieldNames=react.useMemo((function(){return fillFieldNames(fieldNames,childrenAsData)}),[JSON.stringify(fieldNames),childrenAsData]),_useMergedState=(0,useMergedState.Z)("",{value:void 0!==searchValue?searchValue:inputValue,postState:function postState(search){return search||""}}),_useMergedState2=(0,slicedToArray.Z)(_useMergedState,2),mergedSearchValue=_useMergedState2[0],setSearchValue=_useMergedState2[1],parsedOptions=useOptions(options,children,mergedFieldNames,optionFilterProp,optionLabelProp),valueOptions=parsedOptions.valueOptions,labelOptions=parsedOptions.labelOptions,mergedOptions=parsedOptions.options,convert2LabelValues=react.useCallback((function(draftValues){return commonUtil_toArray(draftValues).map((function(val){var rawValue,rawLabel,rawKey,rawDisabled,_val$value;(function isRawValue(value){return!value||"object"!==(0,esm_typeof.Z)(value)})(val)?rawValue=val:(rawKey=val.key,rawLabel=val.label,rawValue=null!==(_val$value=val.value)&&void 0!==_val$value?_val$value:rawKey);var _option$key,option=valueOptions.get(rawValue);option&&(void 0===rawLabel&&(rawLabel=null==option?void 0:option[optionLabelProp||mergedFieldNames.label]),void 0===rawKey&&(rawKey=null!==(_option$key=null==option?void 0:option.key)&&void 0!==_option$key?_option$key:rawValue),rawDisabled=null==option?void 0:option.disabled);return{label:rawLabel,value:rawValue,key:rawKey,disabled:rawDisabled}}))}),[mergedFieldNames,optionLabelProp,valueOptions]),_useMergedState3=(0,useMergedState.Z)(defaultValue,{value}),_useMergedState4=(0,slicedToArray.Z)(_useMergedState3,2),internalValue=_useMergedState4[0],setInternalValue=_useMergedState4[1],_useCache=function(labeledValues,valueOptions){var cacheRef=react.useRef({values:new Map,options:new Map});return[react.useMemo((function(){var _cacheRef$current=cacheRef.current,prevValueCache=_cacheRef$current.values,prevOptionCache=_cacheRef$current.options,patchedValues=labeledValues.map((function(item){var _prevValueCache$get;return void 0===item.label?(0,objectSpread2.Z)((0,objectSpread2.Z)({},item),{},{label:null===(_prevValueCache$get=prevValueCache.get(item.value))||void 0===_prevValueCache$get?void 0:_prevValueCache$get.label}):item})),valueCache=new Map,optionCache=new Map;return patchedValues.forEach((function(item){valueCache.set(item.value,item),optionCache.set(item.value,valueOptions.get(item.value)||prevOptionCache.get(item.value))})),cacheRef.current.values=valueCache,cacheRef.current.options=optionCache,patchedValues}),[labeledValues,valueOptions]),react.useCallback((function(val){return valueOptions.get(val)||cacheRef.current.options.get(val)}),[valueOptions])]}(react.useMemo((function(){var _values$,values=convert2LabelValues(internalValue);return"combobox"!==mode||(null===(_values$=values[0])||void 0===_values$?void 0:_values$.value)?values:[]}),[internalValue,convert2LabelValues,mode]),valueOptions),_useCache2=(0,slicedToArray.Z)(_useCache,2),mergedValues=_useCache2[0],getMixedOption=_useCache2[1],displayValues=react.useMemo((function(){if(!mode&&1===mergedValues.length){var firstValue=mergedValues[0];if(null===firstValue.value&&(null===firstValue.label||void 0===firstValue.label))return[]}return mergedValues.map((function(item){var _item$label;return(0,objectSpread2.Z)((0,objectSpread2.Z)({},item),{},{label:null!==(_item$label=item.label)&&void 0!==_item$label?_item$label:item.value})}))}),[mode,mergedValues]),rawValues=react.useMemo((function(){return new Set(mergedValues.map((function(val){return val.value})))}),[mergedValues]);react.useEffect((function(){if("combobox"===mode){var _mergedValues$,strValue=null===(_mergedValues$=mergedValues[0])||void 0===_mergedValues$?void 0:_mergedValues$.value;null!=strValue&&setSearchValue(String(strValue))}}),[mergedValues]);var createTagOption=useRefFunc((function(val,label){var _ref,mergedLabel=null!=label?label:val;return _ref={},(0,defineProperty.Z)(_ref,mergedFieldNames.value,val),(0,defineProperty.Z)(_ref,mergedFieldNames.label,mergedLabel),_ref})),filteredOptions=function(options,fieldNames,searchValue,filterOption,optionFilterProp){return react.useMemo((function(){if(!searchValue||!1===filterOption)return options;var fieldOptions=fieldNames.options,fieldLabel=fieldNames.label,fieldValue=fieldNames.value,filteredOptions=[],customizeFilter="function"==typeof filterOption,upperSearch=searchValue.toUpperCase(),filterFunc=customizeFilter?filterOption:function(_,option){return optionFilterProp?includes(option[optionFilterProp],upperSearch):option[fieldOptions]?includes(option["children"!==fieldLabel?fieldLabel:"label"],upperSearch):includes(option[fieldValue],upperSearch)},wrapOption=customizeFilter?function(opt){return injectPropsWithOption(opt)}:function(opt){return opt};return options.forEach((function(item){if(item[fieldOptions])if(filterFunc(searchValue,wrapOption(item)))filteredOptions.push(item);else{var subOptions=item[fieldOptions].filter((function(subItem){return filterFunc(searchValue,wrapOption(subItem))}));subOptions.length&&filteredOptions.push((0,objectSpread2.Z)((0,objectSpread2.Z)({},item),{},(0,defineProperty.Z)({},fieldOptions,subOptions)))}else filterFunc(searchValue,wrapOption(item))&&filteredOptions.push(item)})),filteredOptions}),[options,filterOption,optionFilterProp,searchValue,fieldNames])}(react.useMemo((function(){if("tags"!==mode)return mergedOptions;var cloneOptions=(0,toConsumableArray.Z)(mergedOptions);return(0,toConsumableArray.Z)(mergedValues).sort((function(a,b){return a.value<b.value?-1:1})).forEach((function(item){var val=item.value;(function existOptions(val){return valueOptions.has(val)})(val)||cloneOptions.push(createTagOption(val,item.label))})),cloneOptions}),[createTagOption,mergedOptions,valueOptions,mergedValues,mode]),mergedFieldNames,mergedSearchValue,mergedFilterOption,optionFilterProp),filledSearchOptions=react.useMemo((function(){return"tags"!==mode||!mergedSearchValue||filteredOptions.some((function(item){return item[optionFilterProp||"value"]===mergedSearchValue}))?filteredOptions:[createTagOption(mergedSearchValue)].concat((0,toConsumableArray.Z)(filteredOptions))}),[createTagOption,optionFilterProp,mode,filteredOptions,mergedSearchValue]),orderedFilteredOptions=react.useMemo((function(){return filterSort?(0,toConsumableArray.Z)(filledSearchOptions).sort((function(a,b){return filterSort(a,b)})):filledSearchOptions}),[filledSearchOptions,filterSort]),displayOptions=react.useMemo((function(){return function flattenOptions(options){var _ref2=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},fieldNames=_ref2.fieldNames,childrenAsData=_ref2.childrenAsData,flattenList=[],_fillFieldNames=fillFieldNames(fieldNames,!1),fieldLabel=_fillFieldNames.label,fieldValue=_fillFieldNames.value,fieldOptions=_fillFieldNames.options;function dig(list,isGroupOption){list.forEach((function(data){var label=data[fieldLabel];if(isGroupOption||!(fieldOptions in data)){var value=data[fieldValue];flattenList.push({key:getKey(data,flattenList.length),groupOption:isGroupOption,data,label,value})}else{var grpLabel=label;void 0===grpLabel&&childrenAsData&&(grpLabel=data.label),flattenList.push({key:getKey(data,flattenList.length),group:!0,data,label:grpLabel}),dig(data[fieldOptions],!0)}}))}return dig(options,!1),flattenList}(orderedFilteredOptions,{fieldNames:mergedFieldNames,childrenAsData})}),[orderedFilteredOptions,mergedFieldNames,childrenAsData]),triggerChange=function triggerChange(values){var labeledValues=convert2LabelValues(values);if(setInternalValue(labeledValues),onChange&&(labeledValues.length!==mergedValues.length||labeledValues.some((function(newVal,index){var _mergedValues$index;return(null===(_mergedValues$index=mergedValues[index])||void 0===_mergedValues$index?void 0:_mergedValues$index.value)!==(null==newVal?void 0:newVal.value)})))){var returnValues=labelInValue?labeledValues:labeledValues.map((function(v){return v.value})),returnOptions=labeledValues.map((function(v){return injectPropsWithOption(getMixedOption(v.value))}));onChange(multiple?returnValues:returnValues[0],multiple?returnOptions:returnOptions[0])}},_React$useState=react.useState(null),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),activeValue=_React$useState2[0],setActiveValue=_React$useState2[1],_React$useState3=react.useState(0),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),accessibilityIndex=_React$useState4[0],setAccessibilityIndex=_React$useState4[1],mergedDefaultActiveFirstOption=void 0!==defaultActiveFirstOption?defaultActiveFirstOption:"combobox"!==mode,onActiveValue=react.useCallback((function(active,index){var _ref2=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_ref2$source=_ref2.source,source=void 0===_ref2$source?"keyboard":_ref2$source;setAccessibilityIndex(index),backfill&&"combobox"===mode&&null!==active&&"keyboard"===source&&setActiveValue(String(active))}),[backfill,mode]),triggerSelect=function triggerSelect(val,selected){var getSelectEnt=function getSelectEnt(){var _option$key2,option=getMixedOption(val);return[labelInValue?{label:null==option?void 0:option[mergedFieldNames.label],value:val,key:null!==(_option$key2=null==option?void 0:option.key)&&void 0!==_option$key2?_option$key2:val}:val,injectPropsWithOption(option)]};if(selected&&onSelect){var _getSelectEnt=getSelectEnt(),_getSelectEnt2=(0,slicedToArray.Z)(_getSelectEnt,2),wrappedValue=_getSelectEnt2[0],option=_getSelectEnt2[1];onSelect(wrappedValue,option)}else if(!selected&&onDeselect){var _getSelectEnt3=getSelectEnt(),_getSelectEnt4=(0,slicedToArray.Z)(_getSelectEnt3,2),_wrappedValue=_getSelectEnt4[0],_option=_getSelectEnt4[1];onDeselect(_wrappedValue,_option)}},onInternalSelect=useRefFunc((function(val,info){var cloneValues,mergedSelect=!multiple||info.selected;cloneValues=mergedSelect?multiple?[].concat((0,toConsumableArray.Z)(mergedValues),[val]):[val]:mergedValues.filter((function(v){return v.value!==val})),triggerChange(cloneValues),triggerSelect(val,mergedSelect),"combobox"===mode?setActiveValue(""):BaseSelect_isMultiple&&!autoClearSearchValue||(setSearchValue(""),setActiveValue(""))})),selectContext=react.useMemo((function(){var realVirtual=!1!==virtual&&!1!==dropdownMatchSelectWidth;return(0,objectSpread2.Z)((0,objectSpread2.Z)({},parsedOptions),{},{flattenOptions:displayOptions,onActiveValue,defaultActiveFirstOption:mergedDefaultActiveFirstOption,onSelect:onInternalSelect,menuItemSelectedIcon,rawValues,fieldNames:mergedFieldNames,virtual:realVirtual,listHeight,listItemHeight,childrenAsData})}),[parsedOptions,displayOptions,onActiveValue,mergedDefaultActiveFirstOption,onInternalSelect,menuItemSelectedIcon,rawValues,mergedFieldNames,virtual,dropdownMatchSelectWidth,listHeight,listItemHeight,childrenAsData]);return react.createElement(es_SelectContext.Provider,{value:selectContext},react.createElement(es_BaseSelect,(0,esm_extends.Z)({},restProps,{id:mergedId,prefixCls,ref,omitDomProps:OMIT_DOM_PROPS,mode,displayValues,onDisplayValuesChange:function onDisplayValuesChange(nextValues,info){triggerChange(nextValues),"remove"!==info.type&&"clear"!==info.type||info.values.forEach((function(item){triggerSelect(item.value,!1)}))},searchValue:mergedSearchValue,onSearch:function onInternalSearch(searchText,info){if(setSearchValue(searchText),setActiveValue(null),"submit"!==info.source)"blur"!==info.source&&("combobox"===mode&&triggerChange(searchText),null==onSearch||onSearch(searchText));else{var formatted=(searchText||"").trim();if(formatted){var newRawValues=Array.from(new Set([].concat((0,toConsumableArray.Z)(rawValues),[formatted])));triggerChange(newRawValues),triggerSelect(formatted,!0),setSearchValue("")}}},onSearchSplit:function onInternalSearchSplit(words){var patchValues=words;"tags"!==mode&&(patchValues=words.map((function(word){var opt=labelOptions.get(word);return null==opt?void 0:opt.value})).filter((function(val){return void 0!==val})));var newRawValues=Array.from(new Set([].concat((0,toConsumableArray.Z)(rawValues),(0,toConsumableArray.Z)(patchValues))));triggerChange(newRawValues),newRawValues.forEach((function(newRawValue){triggerSelect(newRawValue,!0)}))},dropdownMatchSelectWidth,OptionList:es_OptionList,emptyOptions:!displayOptions.length,activeValue,activeDescendantId:"".concat(mergedId,"_list_").concat(accessibilityIndex)})))}));TypedSelect.Option=es_Option,TypedSelect.OptGroup=es_OptGroup;const rc_select_es=TypedSelect},"./node_modules/rc-tooltip/es/placements.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>placements});var autoAdjustOverflow={adjustX:1,adjustY:1},targetOffset=[0,0],placements={left:{points:["cr","cl"],overflow:autoAdjustOverflow,offset:[-4,0],targetOffset},right:{points:["cl","cr"],overflow:autoAdjustOverflow,offset:[4,0],targetOffset},top:{points:["bc","tc"],overflow:autoAdjustOverflow,offset:[0,-4],targetOffset},bottom:{points:["tc","bc"],overflow:autoAdjustOverflow,offset:[0,4],targetOffset},topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow,offset:[0,-4],targetOffset},leftTop:{points:["tr","tl"],overflow:autoAdjustOverflow,offset:[-4,0],targetOffset},topRight:{points:["br","tr"],overflow:autoAdjustOverflow,offset:[0,-4],targetOffset},rightTop:{points:["tl","tr"],overflow:autoAdjustOverflow,offset:[4,0],targetOffset},bottomRight:{points:["tr","br"],overflow:autoAdjustOverflow,offset:[0,4],targetOffset},rightBottom:{points:["bl","br"],overflow:autoAdjustOverflow,offset:[4,0],targetOffset},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow,offset:[0,4],targetOffset},leftBottom:{points:["br","bl"],overflow:autoAdjustOverflow,offset:[-4,0],targetOffset}}},"./node_modules/rc-tree/es/TreeNode.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>TreeNode});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),assertThisInitialized=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),pickAttrs=__webpack_require__("./node_modules/rc-util/es/pickAttrs.js"),contextTypes=__webpack_require__("./node_modules/rc-tree/es/contextTypes.js"),Indent=function Indent(_ref){for(var prefixCls=_ref.prefixCls,level=_ref.level,isStart=_ref.isStart,isEnd=_ref.isEnd,baseClassName="".concat(prefixCls,"-indent-unit"),list=[],i=0;i<level;i+=1){var _classNames;list.push(react.createElement("span",{key:i,className:classnames_default()(baseClassName,(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(baseClassName,"-start"),isStart[i]),(0,defineProperty.Z)(_classNames,"".concat(baseClassName,"-end"),isEnd[i]),_classNames))}))}return react.createElement("span",{"aria-hidden":"true",className:"".concat(prefixCls,"-indent")},list)};const es_Indent=react.memo(Indent);var treeUtil=__webpack_require__("./node_modules/rc-tree/es/utils/treeUtil.js"),_excluded=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],InternalTreeNode=function(_React$Component){(0,inherits.Z)(InternalTreeNode,_React$Component);var _super=(0,createSuper.Z)(InternalTreeNode);function InternalTreeNode(){var _this;(0,classCallCheck.Z)(this,InternalTreeNode);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).state={dragNodeHighlight:!1},_this.selectHandle=void 0,_this.onSelectorClick=function(e){(0,_this.props.context.onNodeClick)(e,(0,treeUtil.F)(_this.props)),_this.isSelectable()?_this.onSelect(e):_this.onCheck(e)},_this.onSelectorDoubleClick=function(e){(0,_this.props.context.onNodeDoubleClick)(e,(0,treeUtil.F)(_this.props))},_this.onSelect=function(e){if(!_this.isDisabled()){var onNodeSelect=_this.props.context.onNodeSelect;e.preventDefault(),onNodeSelect(e,(0,treeUtil.F)(_this.props))}},_this.onCheck=function(e){if(!_this.isDisabled()){var _this$props=_this.props,disableCheckbox=_this$props.disableCheckbox,checked=_this$props.checked,onNodeCheck=_this.props.context.onNodeCheck;if(_this.isCheckable()&&!disableCheckbox){e.preventDefault();var targetChecked=!checked;onNodeCheck(e,(0,treeUtil.F)(_this.props),targetChecked)}}},_this.onMouseEnter=function(e){(0,_this.props.context.onNodeMouseEnter)(e,(0,treeUtil.F)(_this.props))},_this.onMouseLeave=function(e){(0,_this.props.context.onNodeMouseLeave)(e,(0,treeUtil.F)(_this.props))},_this.onContextMenu=function(e){(0,_this.props.context.onNodeContextMenu)(e,(0,treeUtil.F)(_this.props))},_this.onDragStart=function(e){var onNodeDragStart=_this.props.context.onNodeDragStart;e.stopPropagation(),_this.setState({dragNodeHighlight:!0}),onNodeDragStart(e,(0,assertThisInitialized.Z)(_this));try{e.dataTransfer.setData("text/plain","")}catch(error){}},_this.onDragEnter=function(e){var onNodeDragEnter=_this.props.context.onNodeDragEnter;e.preventDefault(),e.stopPropagation(),onNodeDragEnter(e,(0,assertThisInitialized.Z)(_this))},_this.onDragOver=function(e){var onNodeDragOver=_this.props.context.onNodeDragOver;e.preventDefault(),e.stopPropagation(),onNodeDragOver(e,(0,assertThisInitialized.Z)(_this))},_this.onDragLeave=function(e){var onNodeDragLeave=_this.props.context.onNodeDragLeave;e.stopPropagation(),onNodeDragLeave(e,(0,assertThisInitialized.Z)(_this))},_this.onDragEnd=function(e){var onNodeDragEnd=_this.props.context.onNodeDragEnd;e.stopPropagation(),_this.setState({dragNodeHighlight:!1}),onNodeDragEnd(e,(0,assertThisInitialized.Z)(_this))},_this.onDrop=function(e){var onNodeDrop=_this.props.context.onNodeDrop;e.preventDefault(),e.stopPropagation(),_this.setState({dragNodeHighlight:!1}),onNodeDrop(e,(0,assertThisInitialized.Z)(_this))},_this.onExpand=function(e){var _this$props2=_this.props,loading=_this$props2.loading,onNodeExpand=_this$props2.context.onNodeExpand;loading||onNodeExpand(e,(0,treeUtil.F)(_this.props))},_this.setSelectHandle=function(node){_this.selectHandle=node},_this.getNodeState=function(){var expanded=_this.props.expanded;return _this.isLeaf()?null:expanded?"open":"close"},_this.hasChildren=function(){var eventKey=_this.props.eventKey;return!!((_this.props.context.keyEntities[eventKey]||{}).children||[]).length},_this.isLeaf=function(){var _this$props3=_this.props,isLeaf=_this$props3.isLeaf,loaded=_this$props3.loaded,loadData=_this.props.context.loadData,hasChildren=_this.hasChildren();return!1!==isLeaf&&(isLeaf||!loadData&&!hasChildren||loadData&&loaded&&!hasChildren)},_this.isDisabled=function(){var disabled=_this.props.disabled;return!(!_this.props.context.disabled&&!disabled)},_this.isCheckable=function(){var checkable=_this.props.checkable,treeCheckable=_this.props.context.checkable;return!(!treeCheckable||!1===checkable)&&treeCheckable},_this.syncLoadData=function(props){var expanded=props.expanded,loading=props.loading,loaded=props.loaded,_this$props$context=_this.props.context,loadData=_this$props$context.loadData,onNodeLoad=_this$props$context.onNodeLoad;loading||loadData&&expanded&&!_this.isLeaf()&&(_this.hasChildren()||loaded||onNodeLoad((0,treeUtil.F)(_this.props)))},_this.isDraggable=function(){var _this$props4=_this.props,data=_this$props4.data,draggable=_this$props4.context.draggable;return!(!draggable||draggable.nodeDraggable&&!draggable.nodeDraggable(data))},_this.renderDragHandler=function(){var _this$props$context2=_this.props.context,draggable=_this$props$context2.draggable,prefixCls=_this$props$context2.prefixCls;return(null==draggable?void 0:draggable.icon)?react.createElement("span",{className:"".concat(prefixCls,"-draggable-icon")},draggable.icon):null},_this.renderSwitcherIconDom=function(isLeaf){var switcherIconFromProps=_this.props.switcherIcon,switcherIconFromCtx=_this.props.context.switcherIcon,switcherIcon=switcherIconFromProps||switcherIconFromCtx;return"function"==typeof switcherIcon?switcherIcon((0,objectSpread2.Z)((0,objectSpread2.Z)({},_this.props),{},{isLeaf})):switcherIcon},_this.renderSwitcher=function(){var expanded=_this.props.expanded,prefixCls=_this.props.context.prefixCls;if(_this.isLeaf()){var _switcherIconDom=_this.renderSwitcherIconDom(!0);return!1!==_switcherIconDom?react.createElement("span",{className:classnames_default()("".concat(prefixCls,"-switcher"),"".concat(prefixCls,"-switcher-noop"))},_switcherIconDom):null}var switcherCls=classnames_default()("".concat(prefixCls,"-switcher"),"".concat(prefixCls,"-switcher_").concat(expanded?"open":"close")),switcherIconDom=_this.renderSwitcherIconDom(!1);return!1!==switcherIconDom?react.createElement("span",{onClick:_this.onExpand,className:switcherCls},switcherIconDom):null},_this.renderCheckbox=function(){var _this$props5=_this.props,checked=_this$props5.checked,halfChecked=_this$props5.halfChecked,disableCheckbox=_this$props5.disableCheckbox,prefixCls=_this.props.context.prefixCls,disabled=_this.isDisabled(),checkable=_this.isCheckable();if(!checkable)return null;var $custom="boolean"!=typeof checkable?checkable:null;return react.createElement("span",{className:classnames_default()("".concat(prefixCls,"-checkbox"),checked&&"".concat(prefixCls,"-checkbox-checked"),!checked&&halfChecked&&"".concat(prefixCls,"-checkbox-indeterminate"),(disabled||disableCheckbox)&&"".concat(prefixCls,"-checkbox-disabled")),onClick:_this.onCheck},$custom)},_this.renderIcon=function(){var loading=_this.props.loading,prefixCls=_this.props.context.prefixCls;return react.createElement("span",{className:classnames_default()("".concat(prefixCls,"-iconEle"),"".concat(prefixCls,"-icon__").concat(_this.getNodeState()||"docu"),loading&&"".concat(prefixCls,"-icon_loading"))})},_this.renderSelector=function(){var $icon,titleNode,dragNodeHighlight=_this.state.dragNodeHighlight,_this$props6=_this.props,title=_this$props6.title,selected=_this$props6.selected,icon=_this$props6.icon,loading=_this$props6.loading,data=_this$props6.data,_this$props$context3=_this.props.context,prefixCls=_this$props$context3.prefixCls,showIcon=_this$props$context3.showIcon,treeIcon=_this$props$context3.icon,loadData=_this$props$context3.loadData,titleRender=_this$props$context3.titleRender,disabled=_this.isDisabled(),wrapClass="".concat(prefixCls,"-node-content-wrapper");if(showIcon){var currentIcon=icon||treeIcon;$icon=currentIcon?react.createElement("span",{className:classnames_default()("".concat(prefixCls,"-iconEle"),"".concat(prefixCls,"-icon__customize"))},"function"==typeof currentIcon?currentIcon(_this.props):currentIcon):_this.renderIcon()}else loadData&&loading&&($icon=_this.renderIcon());titleNode="function"==typeof title?title(data):titleRender?titleRender(data):title;var $title=react.createElement("span",{className:"".concat(prefixCls,"-title")},titleNode);return react.createElement("span",{ref:_this.setSelectHandle,title:"string"==typeof title?title:"",className:classnames_default()("".concat(wrapClass),"".concat(wrapClass,"-").concat(_this.getNodeState()||"normal"),!disabled&&(selected||dragNodeHighlight)&&"".concat(prefixCls,"-node-selected")),onMouseEnter:_this.onMouseEnter,onMouseLeave:_this.onMouseLeave,onContextMenu:_this.onContextMenu,onClick:_this.onSelectorClick,onDoubleClick:_this.onSelectorDoubleClick},$icon,$title,_this.renderDropIndicator())},_this.renderDropIndicator=function(){var _this$props7=_this.props,disabled=_this$props7.disabled,eventKey=_this$props7.eventKey,_this$props$context4=_this.props.context,draggable=_this$props$context4.draggable,dropLevelOffset=_this$props$context4.dropLevelOffset,dropPosition=_this$props$context4.dropPosition,prefixCls=_this$props$context4.prefixCls,indent=_this$props$context4.indent,dropIndicatorRender=_this$props$context4.dropIndicatorRender,dragOverNodeKey=_this$props$context4.dragOverNodeKey,direction=_this$props$context4.direction;return!disabled&&!1!==draggable&&dragOverNodeKey===eventKey?dropIndicatorRender({dropPosition,dropLevelOffset,indent,prefixCls,direction}):null},_this}return(0,createClass.Z)(InternalTreeNode,[{key:"componentDidMount",value:function componentDidMount(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function isSelectable(){var selectable=this.props.selectable,treeSelectable=this.props.context.selectable;return"boolean"==typeof selectable?selectable:treeSelectable}},{key:"render",value:function render(){var _classNames,_this$props8=this.props,eventKey=_this$props8.eventKey,className=_this$props8.className,style=_this$props8.style,dragOver=_this$props8.dragOver,dragOverGapTop=_this$props8.dragOverGapTop,dragOverGapBottom=_this$props8.dragOverGapBottom,isLeaf=_this$props8.isLeaf,isStart=_this$props8.isStart,isEnd=_this$props8.isEnd,expanded=_this$props8.expanded,selected=_this$props8.selected,checked=_this$props8.checked,halfChecked=_this$props8.halfChecked,loading=_this$props8.loading,domRef=_this$props8.domRef,active=_this$props8.active,onMouseMove=(_this$props8.data,_this$props8.onMouseMove),selectable=_this$props8.selectable,otherProps=(0,objectWithoutProperties.Z)(_this$props8,_excluded),_this$props$context5=this.props.context,prefixCls=_this$props$context5.prefixCls,filterTreeNode=_this$props$context5.filterTreeNode,keyEntities=_this$props$context5.keyEntities,dropContainerKey=_this$props$context5.dropContainerKey,dropTargetKey=_this$props$context5.dropTargetKey,draggingNodeKey=_this$props$context5.draggingNodeKey,disabled=this.isDisabled(),dataOrAriaAttributeProps=(0,pickAttrs.Z)(otherProps,{aria:!0,data:!0}),level=(keyEntities[eventKey]||{}).level,isEndNode=isEnd[isEnd.length-1],mergedDraggable=this.isDraggable(),draggableWithoutDisabled=!disabled&&mergedDraggable,dragging=draggingNodeKey===eventKey,ariaSelected=void 0!==selectable?{"aria-selected":!!selectable}:void 0;return react.createElement("div",(0,esm_extends.Z)({ref:domRef,className:classnames_default()(className,"".concat(prefixCls,"-treenode"),(_classNames={},(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-disabled"),disabled),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-switcher-").concat(expanded?"open":"close"),!isLeaf),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-checkbox-checked"),checked),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-checkbox-indeterminate"),halfChecked),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-selected"),selected),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-loading"),loading),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-active"),active),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-leaf-last"),isEndNode),(0,defineProperty.Z)(_classNames,"".concat(prefixCls,"-treenode-draggable"),draggableWithoutDisabled),(0,defineProperty.Z)(_classNames,"dragging",dragging),(0,defineProperty.Z)(_classNames,"drop-target",dropTargetKey===eventKey),(0,defineProperty.Z)(_classNames,"drop-container",dropContainerKey===eventKey),(0,defineProperty.Z)(_classNames,"drag-over",!disabled&&dragOver),(0,defineProperty.Z)(_classNames,"drag-over-gap-top",!disabled&&dragOverGapTop),(0,defineProperty.Z)(_classNames,"drag-over-gap-bottom",!disabled&&dragOverGapBottom),(0,defineProperty.Z)(_classNames,"filter-node",filterTreeNode&&filterTreeNode((0,treeUtil.F)(this.props))),_classNames)),style,draggable:draggableWithoutDisabled,"aria-grabbed":dragging,onDragStart:draggableWithoutDisabled?this.onDragStart:void 0,onDragEnter:mergedDraggable?this.onDragEnter:void 0,onDragOver:mergedDraggable?this.onDragOver:void 0,onDragLeave:mergedDraggable?this.onDragLeave:void 0,onDrop:mergedDraggable?this.onDrop:void 0,onDragEnd:mergedDraggable?this.onDragEnd:void 0,onMouseMove},ariaSelected,dataOrAriaAttributeProps),react.createElement(es_Indent,{prefixCls,level,isStart,isEnd}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),InternalTreeNode}(react.Component),ContextTreeNode=function ContextTreeNode(props){return react.createElement(contextTypes.k.Consumer,null,(function(context){return react.createElement(InternalTreeNode,(0,esm_extends.Z)({},props,{context}))}))};ContextTreeNode.displayName="TreeNode",ContextTreeNode.defaultProps={title:"---"},ContextTreeNode.isTreeNode=1;const TreeNode=ContextTreeNode},"./node_modules/rc-tree/es/contextTypes.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{k:()=>TreeContext});var TreeContext=__webpack_require__("./node_modules/react/index.js").createContext(null)},"./node_modules/rc-tree/es/util.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{BT:()=>calcSelectedKeys,Ds:()=>isTreeNode,E6:()=>parseCheckedKeys,L0:()=>arrAdd,OM:()=>calcDropPosition,_5:()=>arrDel,bt:()=>getPosition,r7:()=>conductExpandParent,wA:()=>getDragChildrenKeys,yx:()=>posToArr});var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__=(__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/rc-util/es/warning.js"));__webpack_require__("./node_modules/rc-tree/es/TreeNode.js");function arrDel(list,value){if(!list)return[];var clone=list.slice(),index=clone.indexOf(value);return index>=0&&clone.splice(index,1),clone}function arrAdd(list,value){var clone=(list||[]).slice();return-1===clone.indexOf(value)&&clone.push(value),clone}function posToArr(pos){return pos.split("-")}function getPosition(level,index){return"".concat(level,"-").concat(index)}function isTreeNode(node){return node&&node.type&&node.type.isTreeNode}function getDragChildrenKeys(dragNodeKey,keyEntities){var dragChildrenKeys=[];return function dig(){var list=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];list.forEach((function(_ref){var key=_ref.key,children=_ref.children;dragChildrenKeys.push(key),dig(children)}))}(keyEntities[dragNodeKey].children),dragChildrenKeys}function isLastChild(treeNodeEntity){if(treeNodeEntity.parent){var posArr=posToArr(treeNodeEntity.pos);return Number(posArr[posArr.length-1])===treeNodeEntity.parent.children.length-1}return!1}function calcDropPosition(event,dragNode,targetNode,indent,startMousePosition,allowDrop,flattenedNodes,keyEntities,expandKeys,direction){var _abstractDropNodeEnti,clientX=event.clientX,clientY=event.clientY,_event$target$getBoun=event.target.getBoundingClientRect(),top=_event$target$getBoun.top,height=_event$target$getBoun.height,rawDropLevelOffset=(("rtl"===direction?-1:1)*(((null==startMousePosition?void 0:startMousePosition.x)||0)-clientX)-12)/indent,abstractDropNodeEntity=keyEntities[targetNode.props.eventKey];if(clientY<top+height/2){var nodeIndex=flattenedNodes.findIndex((function(flattenedNode){return flattenedNode.key===abstractDropNodeEntity.key})),prevNodeKey=flattenedNodes[nodeIndex<=0?0:nodeIndex-1].key;abstractDropNodeEntity=keyEntities[prevNodeKey]}var initialAbstractDropNodeKey=abstractDropNodeEntity.key,abstractDragOverEntity=abstractDropNodeEntity,dragOverNodeKey=abstractDropNodeEntity.key,dropPosition=0,dropLevelOffset=0;if(!expandKeys.includes(initialAbstractDropNodeKey))for(var i=0;i<rawDropLevelOffset&&isLastChild(abstractDropNodeEntity);i+=1)abstractDropNodeEntity=abstractDropNodeEntity.parent,dropLevelOffset+=1;var abstractDragDataNode=dragNode.props.data,abstractDropDataNode=abstractDropNodeEntity.node,dropAllowed=!0;return function isFirstChild(treeNodeEntity){var posArr=posToArr(treeNodeEntity.pos);return 0===Number(posArr[posArr.length-1])}(abstractDropNodeEntity)&&0===abstractDropNodeEntity.level&&clientY<top+height/2&&allowDrop({dragNode:abstractDragDataNode,dropNode:abstractDropDataNode,dropPosition:-1})&&abstractDropNodeEntity.key===targetNode.props.eventKey?dropPosition=-1:(abstractDragOverEntity.children||[]).length&&expandKeys.includes(dragOverNodeKey)?allowDrop({dragNode:abstractDragDataNode,dropNode:abstractDropDataNode,dropPosition:0})?dropPosition=0:dropAllowed=!1:0===dropLevelOffset?rawDropLevelOffset>-1.5?allowDrop({dragNode:abstractDragDataNode,dropNode:abstractDropDataNode,dropPosition:1})?dropPosition=1:dropAllowed=!1:allowDrop({dragNode:abstractDragDataNode,dropNode:abstractDropDataNode,dropPosition:0})?dropPosition=0:allowDrop({dragNode:abstractDragDataNode,dropNode:abstractDropDataNode,dropPosition:1})?dropPosition=1:dropAllowed=!1:allowDrop({dragNode:abstractDragDataNode,dropNode:abstractDropDataNode,dropPosition:1})?dropPosition=1:dropAllowed=!1,{dropPosition,dropLevelOffset,dropTargetKey:abstractDropNodeEntity.key,dropTargetPos:abstractDropNodeEntity.pos,dragOverNodeKey,dropContainerKey:0===dropPosition?null:(null===(_abstractDropNodeEnti=abstractDropNodeEntity.parent)||void 0===_abstractDropNodeEnti?void 0:_abstractDropNodeEnti.key)||null,dropAllowed}}function calcSelectedKeys(selectedKeys,props){if(selectedKeys)return props.multiple?selectedKeys.slice():selectedKeys.length?[selectedKeys[0]]:selectedKeys}function parseCheckedKeys(keys){if(!keys)return null;var keyProps;if(Array.isArray(keys))keyProps={checkedKeys:keys,halfCheckedKeys:void 0};else{if("object"!==(0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__.Z)(keys))return(0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__.ZP)(!1,"`checkedKeys` is not an array or an object"),null;keyProps={checkedKeys:keys.checked||void 0,halfCheckedKeys:keys.halfChecked||void 0}}return keyProps}function conductExpandParent(keyList,keyEntities){var expandedKeys=new Set;function conductUp(key){if(!expandedKeys.has(key)){var entity=keyEntities[key];if(entity){expandedKeys.add(key);var parent=entity.parent;entity.node.disabled||parent&&conductUp(parent.key)}}}return(keyList||[]).forEach((function(key){conductUp(key)})),(0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__.Z)(expandedKeys)}},"./node_modules/rc-tree/es/utils/conductUtil.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{S:()=>conductCheck});var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rc-util/es/warning.js");function removeFromCheckedKeys(halfCheckedKeys,checkedKeys){var filteredKeys=new Set;return halfCheckedKeys.forEach((function(key){checkedKeys.has(key)||filteredKeys.add(key)})),filteredKeys}function isCheckDisabled(node){var _ref=node||{},disabled=_ref.disabled,disableCheckbox=_ref.disableCheckbox,checkable=_ref.checkable;return!(!disabled&&!disableCheckbox)||!1===checkable}function conductCheck(keyList,checked,keyEntities,getCheckDisabled){var syntheticGetCheckDisabled,warningMissKeys=[];syntheticGetCheckDisabled=getCheckDisabled||isCheckDisabled;var result,keys=new Set(keyList.filter((function(key){var hasEntity=!!keyEntities[key];return hasEntity||warningMissKeys.push(key),hasEntity}))),levelEntities=new Map,maxLevel=0;return Object.keys(keyEntities).forEach((function(key){var entity=keyEntities[key],level=entity.level,levelSet=levelEntities.get(level);levelSet||(levelSet=new Set,levelEntities.set(level,levelSet)),levelSet.add(entity),maxLevel=Math.max(maxLevel,level)})),(0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__.ZP)(!warningMissKeys.length,"Tree missing follow keys: ".concat(warningMissKeys.slice(0,100).map((function(key){return"'".concat(key,"'")})).join(", "))),result=!0===checked?function fillConductCheck(keys,levelEntities,maxLevel,syntheticGetCheckDisabled){for(var checkedKeys=new Set(keys),halfCheckedKeys=new Set,level=0;level<=maxLevel;level+=1)(levelEntities.get(level)||new Set).forEach((function(entity){var key=entity.key,node=entity.node,_entity$children=entity.children,children=void 0===_entity$children?[]:_entity$children;checkedKeys.has(key)&&!syntheticGetCheckDisabled(node)&&children.filter((function(childEntity){return!syntheticGetCheckDisabled(childEntity.node)})).forEach((function(childEntity){checkedKeys.add(childEntity.key)}))}));for(var visitedKeys=new Set,_level=maxLevel;_level>=0;_level-=1)(levelEntities.get(_level)||new Set).forEach((function(entity){var parent=entity.parent,node=entity.node;if(!syntheticGetCheckDisabled(node)&&entity.parent&&!visitedKeys.has(entity.parent.key))if(syntheticGetCheckDisabled(entity.parent.node))visitedKeys.add(parent.key);else{var allChecked=!0,partialChecked=!1;(parent.children||[]).filter((function(childEntity){return!syntheticGetCheckDisabled(childEntity.node)})).forEach((function(_ref2){var key=_ref2.key,checked=checkedKeys.has(key);allChecked&&!checked&&(allChecked=!1),partialChecked||!checked&&!halfCheckedKeys.has(key)||(partialChecked=!0)})),allChecked&&checkedKeys.add(parent.key),partialChecked&&halfCheckedKeys.add(parent.key),visitedKeys.add(parent.key)}}));return{checkedKeys:Array.from(checkedKeys),halfCheckedKeys:Array.from(removeFromCheckedKeys(halfCheckedKeys,checkedKeys))}}(keys,levelEntities,maxLevel,syntheticGetCheckDisabled):function cleanConductCheck(keys,halfKeys,levelEntities,maxLevel,syntheticGetCheckDisabled){for(var checkedKeys=new Set(keys),halfCheckedKeys=new Set(halfKeys),level=0;level<=maxLevel;level+=1)(levelEntities.get(level)||new Set).forEach((function(entity){var key=entity.key,node=entity.node,_entity$children2=entity.children,children=void 0===_entity$children2?[]:_entity$children2;checkedKeys.has(key)||halfCheckedKeys.has(key)||syntheticGetCheckDisabled(node)||children.filter((function(childEntity){return!syntheticGetCheckDisabled(childEntity.node)})).forEach((function(childEntity){checkedKeys.delete(childEntity.key)}))}));halfCheckedKeys=new Set;for(var visitedKeys=new Set,_level2=maxLevel;_level2>=0;_level2-=1)(levelEntities.get(_level2)||new Set).forEach((function(entity){var parent=entity.parent,node=entity.node;if(!syntheticGetCheckDisabled(node)&&entity.parent&&!visitedKeys.has(entity.parent.key))if(syntheticGetCheckDisabled(entity.parent.node))visitedKeys.add(parent.key);else{var allChecked=!0,partialChecked=!1;(parent.children||[]).filter((function(childEntity){return!syntheticGetCheckDisabled(childEntity.node)})).forEach((function(_ref3){var key=_ref3.key,checked=checkedKeys.has(key);allChecked&&!checked&&(allChecked=!1),partialChecked||!checked&&!halfCheckedKeys.has(key)||(partialChecked=!0)})),allChecked||checkedKeys.delete(parent.key),partialChecked&&halfCheckedKeys.add(parent.key),visitedKeys.add(parent.key)}}));return{checkedKeys:Array.from(checkedKeys),halfCheckedKeys:Array.from(removeFromCheckedKeys(halfCheckedKeys,checkedKeys))}}(keys,checked.halfCheckedKeys,levelEntities,maxLevel,syntheticGetCheckDisabled),result}},"./node_modules/rc-tree/es/utils/treeUtil.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{F:()=>convertNodePropsToEventData,H8:()=>getTreeNodeProps,I8:()=>convertDataToEntities,km:()=>getKey,oH:()=>flattenTreeData,w$:()=>fillFieldNames,zn:()=>convertTreeToData});var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),rc_util_es_omit__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/rc-util/es/omit.js"),rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rc-util/es/Children/toArray.js"),rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rc-util/es/warning.js"),_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/rc-tree/es/util.js"),_excluded=["children"];function getKey(key,pos){return null!=key?key:pos}function fillFieldNames(fieldNames){var _ref=fieldNames||{},mergedTitle=_ref.title||"title";return{title:mergedTitle,_title:_ref._title||[mergedTitle],key:_ref.key||"key",children:_ref.children||"children"}}function convertTreeToData(rootNodes){return function dig(node){return(0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_0__.Z)(node).map((function(treeNode){if(!(0,_util__WEBPACK_IMPORTED_MODULE_2__.Ds)(treeNode))return(0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__.ZP)(!treeNode,"Tree/TreeNode can only accept TreeNode as children."),null;var key=treeNode.key,_treeNode$props=treeNode.props,children=_treeNode$props.children,rest=(0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__.Z)(_treeNode$props,_excluded),dataNode=(0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__.Z)({key},rest),parsedChildren=dig(children);return parsedChildren.length&&(dataNode.children=parsedChildren),dataNode})).filter((function(dataNode){return dataNode}))}(rootNodes)}function flattenTreeData(treeNodeList,expandedKeys,fieldNames){var _fillFieldNames=fillFieldNames(fieldNames),fieldTitles=_fillFieldNames._title,fieldKey=_fillFieldNames.key,fieldChildren=_fillFieldNames.children,expandedKeySet=new Set(!0===expandedKeys?[]:expandedKeys),flattenList=[];return function dig(list){var parent=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return list.map((function(treeNode,index){for(var mergedTitle,pos=(0,_util__WEBPACK_IMPORTED_MODULE_2__.bt)(parent?parent.pos:"0",index),mergedKey=getKey(treeNode[fieldKey],pos),i=0;i<fieldTitles.length;i+=1){var fieldTitle=fieldTitles[i];if(void 0!==treeNode[fieldTitle]){mergedTitle=treeNode[fieldTitle];break}}var flattenNode=(0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__.Z)({},(0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_5__.Z)(treeNode,[].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__.Z)(fieldTitles),[fieldKey,fieldChildren]))),{},{title:mergedTitle,key:mergedKey,parent,pos,children:null,data:treeNode,isStart:[].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__.Z)(parent?parent.isStart:[]),[0===index]),isEnd:[].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__.Z)(parent?parent.isEnd:[]),[index===list.length-1])});return flattenList.push(flattenNode),!0===expandedKeys||expandedKeySet.has(mergedKey)?flattenNode.children=dig(treeNode[fieldChildren]||[],flattenNode):flattenNode.children=[],flattenNode}))}(treeNodeList),flattenList}function traverseDataNodes(dataNodes,callback,config){var syntheticGetKey,_mergedConfig=("object"===(0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_7__.Z)(config)?config:{externalGetKey:config})||{},childrenPropName=_mergedConfig.childrenPropName,externalGetKey=_mergedConfig.externalGetKey,_fillFieldNames2=fillFieldNames(_mergedConfig.fieldNames),fieldKey=_fillFieldNames2.key,fieldChildren=_fillFieldNames2.children,mergeChildrenPropName=childrenPropName||fieldChildren;externalGetKey?"string"==typeof externalGetKey?syntheticGetKey=function syntheticGetKey(node){return node[externalGetKey]}:"function"==typeof externalGetKey&&(syntheticGetKey=function syntheticGetKey(node){return externalGetKey(node)}):syntheticGetKey=function syntheticGetKey(node,pos){return getKey(node[fieldKey],pos)},function processNode(node,index,parent,pathNodes){var children=node?node[mergeChildrenPropName]:dataNodes,pos=node?(0,_util__WEBPACK_IMPORTED_MODULE_2__.bt)(parent.pos,index):"0",connectNodes=node?[].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__.Z)(pathNodes),[node]):[];if(node){var key=syntheticGetKey(node,pos),data={node,index,pos,key,parentPos:parent.node?parent.pos:null,level:parent.level+1,nodes:connectNodes};callback(data)}children&&children.forEach((function(subNode,subIndex){processNode(subNode,subIndex,{node,pos,level:parent?parent.level+1:-1},connectNodes)}))}(null)}function convertDataToEntities(dataNodes){var _ref2=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},initWrapper=_ref2.initWrapper,processEntity=_ref2.processEntity,onProcessFinished=_ref2.onProcessFinished,externalGetKey=_ref2.externalGetKey,childrenPropName=_ref2.childrenPropName,fieldNames=_ref2.fieldNames,legacyExternalGetKey=arguments.length>2?arguments[2]:void 0,mergedExternalGetKey=externalGetKey||legacyExternalGetKey,posEntities={},keyEntities={},wrapper={posEntities,keyEntities};return initWrapper&&(wrapper=initWrapper(wrapper)||wrapper),traverseDataNodes(dataNodes,(function(item){var node=item.node,index=item.index,pos=item.pos,key=item.key,parentPos=item.parentPos,level=item.level,entity={node,nodes:item.nodes,index,key,pos,level},mergedKey=getKey(key,pos);posEntities[pos]=entity,keyEntities[mergedKey]=entity,entity.parent=posEntities[parentPos],entity.parent&&(entity.parent.children=entity.parent.children||[],entity.parent.children.push(entity)),processEntity&&processEntity(entity,wrapper)}),{externalGetKey:mergedExternalGetKey,childrenPropName,fieldNames}),onProcessFinished&&onProcessFinished(wrapper),wrapper}function getTreeNodeProps(key,_ref3){var expandedKeys=_ref3.expandedKeys,selectedKeys=_ref3.selectedKeys,loadedKeys=_ref3.loadedKeys,loadingKeys=_ref3.loadingKeys,checkedKeys=_ref3.checkedKeys,halfCheckedKeys=_ref3.halfCheckedKeys,dragOverNodeKey=_ref3.dragOverNodeKey,dropPosition=_ref3.dropPosition,entity=_ref3.keyEntities[key];return{eventKey:key,expanded:-1!==expandedKeys.indexOf(key),selected:-1!==selectedKeys.indexOf(key),loaded:-1!==loadedKeys.indexOf(key),loading:-1!==loadingKeys.indexOf(key),checked:-1!==checkedKeys.indexOf(key),halfChecked:-1!==halfCheckedKeys.indexOf(key),pos:String(entity?entity.pos:""),dragOver:dragOverNodeKey===key&&0===dropPosition,dragOverGapTop:dragOverNodeKey===key&&-1===dropPosition,dragOverGapBottom:dragOverNodeKey===key&&1===dropPosition}}function convertNodePropsToEventData(props){var data=props.data,expanded=props.expanded,selected=props.selected,checked=props.checked,loaded=props.loaded,loading=props.loading,halfChecked=props.halfChecked,dragOver=props.dragOver,dragOverGapTop=props.dragOverGapTop,dragOverGapBottom=props.dragOverGapBottom,pos=props.pos,active=props.active,eventKey=props.eventKey,eventData=(0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__.Z)({},data),{},{expanded,selected,checked,loaded,loading,halfChecked,dragOver,dragOverGapTop,dragOverGapBottom,pos,active,key:eventKey});return"props"in eventData||Object.defineProperty(eventData,"props",{get:function get(){return(0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),props}}),eventData}},"./node_modules/rc-trigger/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>rc_trigger_es});var objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),classCallCheck=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),createClass=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),assertThisInitialized=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),react=__webpack_require__("./node_modules/react/index.js"),react_dom=__webpack_require__("./node_modules/react-dom/index.js"),raf=function raf(callback){return+setTimeout(callback,16)},caf=function caf(num){return clearTimeout(num)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(raf=function raf(callback){return window.requestAnimationFrame(callback)},caf=function caf(handle){return window.cancelAnimationFrame(handle)});var rafUUID=0,rafIds=new Map;function cleanup(id){rafIds.delete(id)}function wrapperRaf(callback){var times=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,id=rafUUID+=1;function callRef(leftTimes){if(0===leftTimes)cleanup(id),callback();else{var realId=raf((function(){callRef(leftTimes-1)}));rafIds.set(id,realId)}}return callRef(times),id}function contains(root,n){return!!root&&root.contains(n)}wrapperRaf.cancel=function(id){var realId=rafIds.get(id);return cleanup(realId),caf(realId)};var esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),react_is=__webpack_require__("./node_modules/react-is/index.js");function fillRef(ref,node){"function"==typeof ref?ref(node):"object"===(0,esm_typeof.Z)(ref)&&ref&&"current"in ref&&(ref.current=node)}function composeRef(){for(var _len=arguments.length,refs=new Array(_len),_key=0;_key<_len;_key++)refs[_key]=arguments[_key];var refList=refs.filter((function(ref){return ref}));return refList.length<=1?refList[0]:function(node){refs.forEach((function(ref){fillRef(ref,node)}))}}function addEventListenerWrap(target,eventType,cb,option){var callback=react_dom.unstable_batchedUpdates?function run(e){react_dom.unstable_batchedUpdates(cb,e)}:cb;return target.addEventListener&&target.addEventListener(eventType,callback,option),{remove:function remove(){target.removeEventListener&&target.removeEventListener(eventType,callback,option)}}}function canUseDom(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}const es_Portal=(0,react.forwardRef)((function(props,ref){var didUpdate=props.didUpdate,getContainer=props.getContainer,children=props.children,parentRef=(0,react.useRef)(),containerRef=(0,react.useRef)();(0,react.useImperativeHandle)(ref,(function(){return{}}));var initRef=(0,react.useRef)(!1);return!initRef.current&&canUseDom()&&(containerRef.current=getContainer(),parentRef.current=containerRef.current.parentNode,initRef.current=!0),(0,react.useEffect)((function(){null==didUpdate||didUpdate(props)})),(0,react.useEffect)((function(){return null===containerRef.current.parentNode&&null!==parentRef.current&&parentRef.current.appendChild(containerRef.current),function(){var _containerRef$current,_containerRef$current2;null===(_containerRef$current=containerRef.current)||void 0===_containerRef$current||null===(_containerRef$current2=_containerRef$current.parentNode)||void 0===_containerRef$current2||_containerRef$current2.removeChild(containerRef.current)}}),[]),containerRef.current?react_dom.createPortal(children,containerRef.current):null}));var classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames);function isPointsEq(a1,a2,isAlignPoint){return isAlignPoint?a1[0]===a2[0]:a1[0]===a2[0]&&a1[1]===a2[1]}var slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");var es=__webpack_require__("./node_modules/rc-motion/es/index.js");function getMotion(_ref){var prefixCls=_ref.prefixCls,motion=_ref.motion,animation=_ref.animation,transitionName=_ref.transitionName;return motion||(animation?{motionName:"".concat(prefixCls,"-").concat(animation)}:transitionName?{motionName:transitionName}:null)}function Mask(props){var prefixCls=props.prefixCls,visible=props.visible,zIndex=props.zIndex,mask=props.mask,maskMotion=props.maskMotion,maskAnimation=props.maskAnimation,maskTransitionName=props.maskTransitionName;if(!mask)return null;var motion={};return(maskMotion||maskTransitionName||maskAnimation)&&(motion=(0,objectSpread2.Z)({motionAppear:!0},getMotion({motion:maskMotion,prefixCls,transitionName:maskTransitionName,animation:maskAnimation}))),react.createElement(es.Z,(0,esm_extends.Z)({},motion,{visible,removeOnLeave:!0}),(function(_ref){var className=_ref.className;return react.createElement("div",{style:{zIndex},className:classnames_default()("".concat(prefixCls,"-mask"),className)})}))}var vendorPrefix,es_ref=__webpack_require__("./node_modules/rc-util/es/ref.js"),isVisible=__webpack_require__("./node_modules/rc-util/es/Dom/isVisible.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var jsCssMap={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function getVendorPrefix(){if(void 0!==vendorPrefix)return vendorPrefix;vendorPrefix="";var style=document.createElement("p").style;for(var key in jsCssMap)key+"Transform"in style&&(vendorPrefix=key);return vendorPrefix}function getTransitionName(){return getVendorPrefix()?"".concat(getVendorPrefix(),"TransitionProperty"):"transitionProperty"}function getTransformName(){return getVendorPrefix()?"".concat(getVendorPrefix(),"Transform"):"transform"}function setTransitionProperty(node,value){var name=getTransitionName();name&&(node.style[name]=value,"transitionProperty"!==name&&(node.style.transitionProperty=value))}function setTransform(node,value){var name=getTransformName();name&&(node.style[name]=value,"transform"!==name&&(node.style.transform=value))}var getComputedStyleX,matrix2d=/matrix\((.*)\)/,matrix3d=/matrix3d\((.*)\)/;function forceRelayout(elem){var originalStyle=elem.style.display;elem.style.display="none",elem.offsetHeight,elem.style.display=originalStyle}function css(el,name,v){var value=v;if("object"!==_typeof(name))return void 0!==value?("number"==typeof value&&(value="".concat(value,"px")),void(el.style[name]=value)):getComputedStyleX(el,name);for(var i in name)name.hasOwnProperty(i)&&css(el,i,name[i])}function getScroll(w,top){var ret=w["page".concat(top?"Y":"X","Offset")],method="scroll".concat(top?"Top":"Left");if("number"!=typeof ret){var d=w.document;"number"!=typeof(ret=d.documentElement[method])&&(ret=d.body[method])}return ret}function getScrollLeft(w){return getScroll(w)}function getScrollTop(w){return getScroll(w,!0)}function getOffset(el){var pos=function getClientPosition(elem){var box,x,y,doc=elem.ownerDocument,body=doc.body,docElem=doc&&doc.documentElement;return box=elem.getBoundingClientRect(),x=Math.floor(box.left),y=Math.floor(box.top),{left:x-=docElem.clientLeft||body.clientLeft||0,top:y-=docElem.clientTop||body.clientTop||0}}(el),doc=el.ownerDocument,w=doc.defaultView||doc.parentWindow;return pos.left+=getScrollLeft(w),pos.top+=getScrollTop(w),pos}function isWindow(obj){return null!=obj&&obj==obj.window}function getDocument(node){return isWindow(node)?node.document:9===node.nodeType?node:node.ownerDocument}var _RE_NUM_NO_PX=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),RE_POS=/^(top|right|bottom|left)$/;function getOffsetDirection(dir,option){return"left"===dir?option.useCssRight?"right":dir:option.useCssBottom?"bottom":dir}function oppositeOffsetDirection(dir){return"left"===dir?"right":"right"===dir?"left":"top"===dir?"bottom":"bottom"===dir?"top":void 0}function setLeftTop(elem,offset,option){"static"===css(elem,"position")&&(elem.style.position="relative");var presetH=-999,presetV=-999,horizontalProperty=getOffsetDirection("left",option),verticalProperty=getOffsetDirection("top",option),oppositeHorizontalProperty=oppositeOffsetDirection(horizontalProperty),oppositeVerticalProperty=oppositeOffsetDirection(verticalProperty);"left"!==horizontalProperty&&(presetH=999),"top"!==verticalProperty&&(presetV=999);var originalTransition="",originalOffset=getOffset(elem);("left"in offset||"top"in offset)&&(originalTransition=function getTransitionProperty(node){return node.style.transitionProperty||node.style[getTransitionName()]}(elem)||"",setTransitionProperty(elem,"none")),"left"in offset&&(elem.style[oppositeHorizontalProperty]="",elem.style[horizontalProperty]="".concat(presetH,"px")),"top"in offset&&(elem.style[oppositeVerticalProperty]="",elem.style[verticalProperty]="".concat(presetV,"px")),forceRelayout(elem);var old=getOffset(elem),originalStyle={};for(var key in offset)if(offset.hasOwnProperty(key)){var dir=getOffsetDirection(key,option),preset="left"===key?presetH:presetV,off=originalOffset[key]-old[key];originalStyle[dir]=dir===key?preset+off:preset-off}css(elem,originalStyle),forceRelayout(elem),("left"in offset||"top"in offset)&&setTransitionProperty(elem,originalTransition);var ret={};for(var _key in offset)if(offset.hasOwnProperty(_key)){var _dir=getOffsetDirection(_key,option),_off=offset[_key]-originalOffset[_key];ret[_dir]=_key===_dir?originalStyle[_dir]+_off:originalStyle[_dir]-_off}css(elem,ret)}function setTransform$1(elem,offset){var originalOffset=getOffset(elem),originalXY=function getTransformXY(node){var style=window.getComputedStyle(node,null),transform=style.getPropertyValue("transform")||style.getPropertyValue(getTransformName());if(transform&&"none"!==transform){var matrix=transform.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(matrix[12]||matrix[4],0),y:parseFloat(matrix[13]||matrix[5],0)}}return{x:0,y:0}}(elem),resultXY={x:originalXY.x,y:originalXY.y};"left"in offset&&(resultXY.x=originalXY.x+offset.left-originalOffset.left),"top"in offset&&(resultXY.y=originalXY.y+offset.top-originalOffset.top),function setTransformXY(node,xy){var style=window.getComputedStyle(node,null),transform=style.getPropertyValue("transform")||style.getPropertyValue(getTransformName());if(transform&&"none"!==transform){var arr,match2d=transform.match(matrix2d);match2d?((arr=(match2d=match2d[1]).split(",").map((function(item){return parseFloat(item,10)})))[4]=xy.x,arr[5]=xy.y,setTransform(node,"matrix(".concat(arr.join(","),")"))):((arr=transform.match(matrix3d)[1].split(",").map((function(item){return parseFloat(item,10)})))[12]=xy.x,arr[13]=xy.y,setTransform(node,"matrix3d(".concat(arr.join(","),")")))}else setTransform(node,"translateX(".concat(xy.x,"px) translateY(").concat(xy.y,"px) translateZ(0)"))}(elem,resultXY)}function each(arr,fn){for(var i=0;i<arr.length;i++)fn(arr[i])}function isBorderBoxFn(elem){return"border-box"===getComputedStyleX(elem,"boxSizing")}"undefined"!=typeof window&&(getComputedStyleX=window.getComputedStyle?function _getComputedStyle(elem,name,cs){var computedStyle=cs,val="",d=getDocument(elem);return(computedStyle=computedStyle||d.defaultView.getComputedStyle(elem,null))&&(val=computedStyle.getPropertyValue(name)||computedStyle[name]),val}:function _getComputedStyleIE(elem,name){var ret=elem.currentStyle&&elem.currentStyle[name];if(_RE_NUM_NO_PX.test(ret)&&!RE_POS.test(name)){var style=elem.style,left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left,style.left="fontSize"===name?"1em":ret||0,ret=style.pixelLeft+"px",style.left=left,elem.runtimeStyle.left=rsLeft}return""===ret?"auto":ret});var BOX_MODELS=["margin","border","padding"];function swap(elem,options,callback){var name,old={},style=elem.style;for(name in options)options.hasOwnProperty(name)&&(old[name]=style[name],style[name]=options[name]);for(name in callback.call(elem),options)options.hasOwnProperty(name)&&(style[name]=old[name])}function getPBMWidth(elem,props,which){var prop,j,i,value=0;for(j=0;j<props.length;j++)if(prop=props[j])for(i=0;i<which.length;i++){var cssProp=void 0;cssProp="border"===prop?"".concat(prop).concat(which[i],"Width"):prop+which[i],value+=parseFloat(getComputedStyleX(elem,cssProp))||0}return value}var domUtils={getParent:function getParent(element){var parent=element;do{parent=11===parent.nodeType&&parent.host?parent.host:parent.parentNode}while(parent&&1!==parent.nodeType&&9!==parent.nodeType);return parent}};function getWH(elem,name,ex){var extra=ex;if(isWindow(elem))return"width"===name?domUtils.viewportWidth(elem):domUtils.viewportHeight(elem);if(9===elem.nodeType)return"width"===name?domUtils.docWidth(elem):domUtils.docHeight(elem);var which="width"===name?["Left","Right"]:["Top","Bottom"],borderBoxValue="width"===name?Math.floor(elem.getBoundingClientRect().width):Math.floor(elem.getBoundingClientRect().height),isBorderBox=isBorderBoxFn(elem),cssBoxValue=0;(null==borderBoxValue||borderBoxValue<=0)&&(borderBoxValue=void 0,(null==(cssBoxValue=getComputedStyleX(elem,name))||Number(cssBoxValue)<0)&&(cssBoxValue=elem.style[name]||0),cssBoxValue=parseFloat(cssBoxValue)||0),void 0===extra&&(extra=isBorderBox?1:-1);var borderBoxValueOrIsBorderBox=void 0!==borderBoxValue||isBorderBox,val=borderBoxValue||cssBoxValue;return-1===extra?borderBoxValueOrIsBorderBox?val-getPBMWidth(elem,["border","padding"],which):cssBoxValue:borderBoxValueOrIsBorderBox?1===extra?val:val+(2===extra?-getPBMWidth(elem,["border"],which):getPBMWidth(elem,["margin"],which)):cssBoxValue+getPBMWidth(elem,BOX_MODELS.slice(extra),which)}each(["Width","Height"],(function(name){domUtils["doc".concat(name)]=function(refWin){var d=refWin.document;return Math.max(d.documentElement["scroll".concat(name)],d.body["scroll".concat(name)],domUtils["viewport".concat(name)](d))},domUtils["viewport".concat(name)]=function(win){var prop="client".concat(name),doc=win.document,body=doc.body,documentElementProp=doc.documentElement[prop];return"CSS1Compat"===doc.compatMode&&documentElementProp||body&&body[prop]||documentElementProp}}));var cssShow={position:"absolute",visibility:"hidden",display:"block"};function getWHIgnoreDisplay(){for(var _len=arguments.length,args=new Array(_len),_key2=0;_key2<_len;_key2++)args[_key2]=arguments[_key2];var val,elem=args[0];return 0!==elem.offsetWidth?val=getWH.apply(void 0,args):swap(elem,cssShow,(function(){val=getWH.apply(void 0,args)})),val}function mix(to,from){for(var i in from)from.hasOwnProperty(i)&&(to[i]=from[i]);return to}each(["width","height"],(function(name){var first=name.charAt(0).toUpperCase()+name.slice(1);domUtils["outer".concat(first)]=function(el,includeMargin){return el&&getWHIgnoreDisplay(el,name,includeMargin?0:1)};var which="width"===name?["Left","Right"]:["Top","Bottom"];domUtils[name]=function(elem,v){var val=v;return void 0!==val?elem?(isBorderBoxFn(elem)&&(val+=getPBMWidth(elem,["padding","border"],which)),css(elem,name,val)):void 0:elem&&getWHIgnoreDisplay(elem,name,-1)}}));var utils={getWindow:function getWindow(node){if(node&&node.document&&node.setTimeout)return node;var doc=node.ownerDocument||node;return doc.defaultView||doc.parentWindow},getDocument,offset:function offset(el,value,option){if(void 0===value)return getOffset(el);!function setOffset(elem,offset,option){if(option.ignoreShake){var oriOffset=getOffset(elem),oLeft=oriOffset.left.toFixed(0),oTop=oriOffset.top.toFixed(0),tLeft=offset.left.toFixed(0),tTop=offset.top.toFixed(0);if(oLeft===tLeft&&oTop===tTop)return}option.useCssRight||option.useCssBottom?setLeftTop(elem,offset,option):option.useCssTransform&&getTransformName()in document.body.style?setTransform$1(elem,offset):setLeftTop(elem,offset,option)}(el,value,option||{})},isWindow,each,css,clone:function clone(obj){var i,ret={};for(i in obj)obj.hasOwnProperty(i)&&(ret[i]=obj[i]);if(obj.overflow)for(i in obj)obj.hasOwnProperty(i)&&(ret.overflow[i]=obj.overflow[i]);return ret},mix,getWindowScrollLeft:function getWindowScrollLeft(w){return getScrollLeft(w)},getWindowScrollTop:function getWindowScrollTop(w){return getScrollTop(w)},merge:function merge(){for(var ret={},i=0;i<arguments.length;i++)utils.mix(ret,i<0||arguments.length<=i?void 0:arguments[i]);return ret},viewportWidth:0,viewportHeight:0};mix(utils,domUtils);var getParent=utils.getParent;function getOffsetParent(element){if(utils.isWindow(element)||9===element.nodeType)return null;var parent,body=utils.getDocument(element).body,positionStyle=utils.css(element,"position");if(!("fixed"===positionStyle||"absolute"===positionStyle))return"html"===element.nodeName.toLowerCase()?null:getParent(element);for(parent=getParent(element);parent&&parent!==body&&9!==parent.nodeType;parent=getParent(parent))if("static"!==(positionStyle=utils.css(parent,"position")))return parent;return null}var getParent$1=utils.getParent;function getVisibleRectForElement(element,alwaysByViewport){for(var visibleRect={left:0,right:1/0,top:0,bottom:1/0},el=getOffsetParent(element),doc=utils.getDocument(element),win=doc.defaultView||doc.parentWindow,body=doc.body,documentElement=doc.documentElement;el;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===el.clientWidth||el===body||el===documentElement||"visible"===utils.css(el,"overflow")){if(el===body||el===documentElement)break}else{var pos=utils.offset(el);pos.left+=el.clientLeft,pos.top+=el.clientTop,visibleRect.top=Math.max(visibleRect.top,pos.top),visibleRect.right=Math.min(visibleRect.right,pos.left+el.clientWidth),visibleRect.bottom=Math.min(visibleRect.bottom,pos.top+el.clientHeight),visibleRect.left=Math.max(visibleRect.left,pos.left)}el=getOffsetParent(el)}var originalPosition=null;utils.isWindow(element)||9===element.nodeType||(originalPosition=element.style.position,"absolute"===utils.css(element,"position")&&(element.style.position="fixed"));var scrollX=utils.getWindowScrollLeft(win),scrollY=utils.getWindowScrollTop(win),viewportWidth=utils.viewportWidth(win),viewportHeight=utils.viewportHeight(win),documentWidth=documentElement.scrollWidth,documentHeight=documentElement.scrollHeight,bodyStyle=window.getComputedStyle(body);if("hidden"===bodyStyle.overflowX&&(documentWidth=win.innerWidth),"hidden"===bodyStyle.overflowY&&(documentHeight=win.innerHeight),element.style&&(element.style.position=originalPosition),alwaysByViewport||function isAncestorFixed(element){if(utils.isWindow(element)||9===element.nodeType)return!1;var doc=utils.getDocument(element),body=doc.body,parent=null;for(parent=getParent$1(element);parent&&parent!==body&&parent!==doc;parent=getParent$1(parent))if("fixed"===utils.css(parent,"position"))return!0;return!1}(element))visibleRect.left=Math.max(visibleRect.left,scrollX),visibleRect.top=Math.max(visibleRect.top,scrollY),visibleRect.right=Math.min(visibleRect.right,scrollX+viewportWidth),visibleRect.bottom=Math.min(visibleRect.bottom,scrollY+viewportHeight);else{var maxVisibleWidth=Math.max(documentWidth,scrollX+viewportWidth);visibleRect.right=Math.min(visibleRect.right,maxVisibleWidth);var maxVisibleHeight=Math.max(documentHeight,scrollY+viewportHeight);visibleRect.bottom=Math.min(visibleRect.bottom,maxVisibleHeight)}return visibleRect.top>=0&&visibleRect.left>=0&&visibleRect.bottom>visibleRect.top&&visibleRect.right>visibleRect.left?visibleRect:null}function getRegion(node){var offset,w,h;if(utils.isWindow(node)||9===node.nodeType){var win=utils.getWindow(node);offset={left:utils.getWindowScrollLeft(win),top:utils.getWindowScrollTop(win)},w=utils.viewportWidth(win),h=utils.viewportHeight(win)}else offset=utils.offset(node),w=utils.outerWidth(node),h=utils.outerHeight(node);return offset.width=w,offset.height=h,offset}function getAlignOffset(region,align){var V=align.charAt(0),H=align.charAt(1),w=region.width,h=region.height,x=region.left,y=region.top;return"c"===V?y+=h/2:"b"===V&&(y+=h),"c"===H?x+=w/2:"r"===H&&(x+=w),{left:x,top:y}}function getElFuturePos(elRegion,refNodeRegion,points,offset,targetOffset){var p1=getAlignOffset(refNodeRegion,points[1]),p2=getAlignOffset(elRegion,points[0]),diff=[p2.left-p1.left,p2.top-p1.top];return{left:Math.round(elRegion.left-diff[0]+offset[0]-targetOffset[0]),top:Math.round(elRegion.top-diff[1]+offset[1]-targetOffset[1])}}function isFailX(elFuturePos,elRegion,visibleRect){return elFuturePos.left<visibleRect.left||elFuturePos.left+elRegion.width>visibleRect.right}function isFailY(elFuturePos,elRegion,visibleRect){return elFuturePos.top<visibleRect.top||elFuturePos.top+elRegion.height>visibleRect.bottom}function flip(points,reg,map){var ret=[];return utils.each(points,(function(p){ret.push(p.replace(reg,(function(m){return map[m]})))})),ret}function flipOffset(offset,index){return offset[index]=-offset[index],offset}function convertOffset(str,offsetLen){return(/%$/.test(str)?parseInt(str.substring(0,str.length-1),10)/100*offsetLen:parseInt(str,10))||0}function normalizeOffset(offset,el){offset[0]=convertOffset(offset[0],el.width),offset[1]=convertOffset(offset[1],el.height)}function doAlign(el,tgtRegion,align,isTgtRegionVisible){var points=align.points,offset=align.offset||[0,0],targetOffset=align.targetOffset||[0,0],overflow=align.overflow,source=align.source||el;offset=[].concat(offset),targetOffset=[].concat(targetOffset);var newOverflowCfg={},fail=0,visibleRect=getVisibleRectForElement(source,!(!(overflow=overflow||{})||!overflow.alwaysByViewport)),elRegion=getRegion(source);normalizeOffset(offset,elRegion),normalizeOffset(targetOffset,tgtRegion);var elFuturePos=getElFuturePos(elRegion,tgtRegion,points,offset,targetOffset),newElRegion=utils.merge(elRegion,elFuturePos);if(visibleRect&&(overflow.adjustX||overflow.adjustY)&&isTgtRegionVisible){if(overflow.adjustX&&isFailX(elFuturePos,elRegion,visibleRect)){var newPoints=flip(points,/[lr]/gi,{l:"r",r:"l"}),newOffset=flipOffset(offset,0),newTargetOffset=flipOffset(targetOffset,0);(function isCompleteFailX(elFuturePos,elRegion,visibleRect){return elFuturePos.left>visibleRect.right||elFuturePos.left+elRegion.width<visibleRect.left})(getElFuturePos(elRegion,tgtRegion,newPoints,newOffset,newTargetOffset),elRegion,visibleRect)||(fail=1,points=newPoints,offset=newOffset,targetOffset=newTargetOffset)}if(overflow.adjustY&&isFailY(elFuturePos,elRegion,visibleRect)){var _newPoints=flip(points,/[tb]/gi,{t:"b",b:"t"}),_newOffset=flipOffset(offset,1),_newTargetOffset=flipOffset(targetOffset,1);(function isCompleteFailY(elFuturePos,elRegion,visibleRect){return elFuturePos.top>visibleRect.bottom||elFuturePos.top+elRegion.height<visibleRect.top})(getElFuturePos(elRegion,tgtRegion,_newPoints,_newOffset,_newTargetOffset),elRegion,visibleRect)||(fail=1,points=_newPoints,offset=_newOffset,targetOffset=_newTargetOffset)}fail&&(elFuturePos=getElFuturePos(elRegion,tgtRegion,points,offset,targetOffset),utils.mix(newElRegion,elFuturePos));var isStillFailX=isFailX(elFuturePos,elRegion,visibleRect),isStillFailY=isFailY(elFuturePos,elRegion,visibleRect);if(isStillFailX||isStillFailY){var _newPoints2=points;isStillFailX&&(_newPoints2=flip(points,/[lr]/gi,{l:"r",r:"l"})),isStillFailY&&(_newPoints2=flip(points,/[tb]/gi,{t:"b",b:"t"})),points=_newPoints2,offset=align.offset||[0,0],targetOffset=align.targetOffset||[0,0]}newOverflowCfg.adjustX=overflow.adjustX&&isStillFailX,newOverflowCfg.adjustY=overflow.adjustY&&isStillFailY,(newOverflowCfg.adjustX||newOverflowCfg.adjustY)&&(newElRegion=function adjustForViewport(elFuturePos,elRegion,visibleRect,overflow){var pos=utils.clone(elFuturePos),size={width:elRegion.width,height:elRegion.height};return overflow.adjustX&&pos.left<visibleRect.left&&(pos.left=visibleRect.left),overflow.resizeWidth&&pos.left>=visibleRect.left&&pos.left+size.width>visibleRect.right&&(size.width-=pos.left+size.width-visibleRect.right),overflow.adjustX&&pos.left+size.width>visibleRect.right&&(pos.left=Math.max(visibleRect.right-size.width,visibleRect.left)),overflow.adjustY&&pos.top<visibleRect.top&&(pos.top=visibleRect.top),overflow.resizeHeight&&pos.top>=visibleRect.top&&pos.top+size.height>visibleRect.bottom&&(size.height-=pos.top+size.height-visibleRect.bottom),overflow.adjustY&&pos.top+size.height>visibleRect.bottom&&(pos.top=Math.max(visibleRect.bottom-size.height,visibleRect.top)),utils.mix(pos,size)}(elFuturePos,elRegion,visibleRect,newOverflowCfg))}return newElRegion.width!==elRegion.width&&utils.css(source,"width",utils.width(source)+newElRegion.width-elRegion.width),newElRegion.height!==elRegion.height&&utils.css(source,"height",utils.height(source)+newElRegion.height-elRegion.height),utils.offset(source,{left:newElRegion.left,top:newElRegion.top},{useCssRight:align.useCssRight,useCssBottom:align.useCssBottom,useCssTransform:align.useCssTransform,ignoreShake:align.ignoreShake}),{points,offset,targetOffset,overflow:newOverflowCfg}}function alignElement(el,refNode,align){var target=align.target||refNode,refNodeRegion=getRegion(target),isTargetNotOutOfVisible=!function isOutOfVisibleRect(target,alwaysByViewport){var visibleRect=getVisibleRectForElement(target,alwaysByViewport),targetRegion=getRegion(target);return!visibleRect||targetRegion.left+targetRegion.width<=visibleRect.left||targetRegion.top+targetRegion.height<=visibleRect.top||targetRegion.left>=visibleRect.right||targetRegion.top>=visibleRect.bottom}(target,align.overflow&&align.overflow.alwaysByViewport);return doAlign(el,refNodeRegion,align,isTargetNotOutOfVisible)}alignElement.__getOffsetParent=getOffsetParent,alignElement.__getVisibleRectForElement=getVisibleRectForElement;var isEqual=__webpack_require__("./node_modules/lodash/isEqual.js"),isEqual_default=__webpack_require__.n(isEqual),ResizeObserver_es=__webpack_require__("./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js");function monitorResize(element,callback){var prevWidth=null,prevHeight=null;var resizeObserver=new ResizeObserver_es.Z((function onResize(_ref){var target=(0,slicedToArray.Z)(_ref,1)[0].target;if(document.documentElement.contains(target)){var _target$getBoundingCl=target.getBoundingClientRect(),width=_target$getBoundingCl.width,height=_target$getBoundingCl.height,fixedWidth=Math.floor(width),fixedHeight=Math.floor(height);prevWidth===fixedWidth&&prevHeight===fixedHeight||Promise.resolve().then((function(){callback({width:fixedWidth,height:fixedHeight})})),prevWidth=fixedWidth,prevHeight=fixedHeight}}));return element&&resizeObserver.observe(element),function(){resizeObserver.disconnect()}}function getElement(func){return"function"!=typeof func?null:func()}function getPoint(point){return"object"===(0,esm_typeof.Z)(point)&&point?point:null}var Align=function Align(_ref,ref){var children=_ref.children,disabled=_ref.disabled,target=_ref.target,align=_ref.align,onAlign=_ref.onAlign,monitorWindowResize=_ref.monitorWindowResize,_ref$monitorBufferTim=_ref.monitorBufferTime,monitorBufferTime=void 0===_ref$monitorBufferTim?0:_ref$monitorBufferTim,cacheRef=react.useRef({}),nodeRef=react.useRef(),childNode=react.Children.only(children),forceAlignPropsRef=react.useRef({});forceAlignPropsRef.current.disabled=disabled,forceAlignPropsRef.current.target=target,forceAlignPropsRef.current.align=align,forceAlignPropsRef.current.onAlign=onAlign;var _useBuffer=function(callback,buffer){var calledRef=react.useRef(!1),timeoutRef=react.useRef(null);function cancelTrigger(){window.clearTimeout(timeoutRef.current)}return[function trigger(force){if(cancelTrigger(),calledRef.current&&!0!==force)timeoutRef.current=window.setTimeout((function(){calledRef.current=!1,trigger()}),buffer);else{if(!1===callback())return;calledRef.current=!0,timeoutRef.current=window.setTimeout((function(){calledRef.current=!1}),buffer)}},function(){calledRef.current=!1,cancelTrigger()}]}((function(){var _forceAlignPropsRef$c=forceAlignPropsRef.current,latestDisabled=_forceAlignPropsRef$c.disabled,latestTarget=_forceAlignPropsRef$c.target,latestAlign=_forceAlignPropsRef$c.align,latestOnAlign=_forceAlignPropsRef$c.onAlign;if(!latestDisabled&&latestTarget){var result,source=nodeRef.current,element=getElement(latestTarget),point=getPoint(latestTarget);cacheRef.current.element=element,cacheRef.current.point=point,cacheRef.current.align=latestAlign;var activeElement=document.activeElement;return element&&(0,isVisible.Z)(element)?result=alignElement(source,element,latestAlign):point&&(result=function alignPoint(el,tgtPoint,align){var pageX,pageY,doc=utils.getDocument(el),win=doc.defaultView||doc.parentWindow,scrollX=utils.getWindowScrollLeft(win),scrollY=utils.getWindowScrollTop(win),viewportWidth=utils.viewportWidth(win),viewportHeight=utils.viewportHeight(win),tgtRegion={left:pageX="pageX"in tgtPoint?tgtPoint.pageX:scrollX+tgtPoint.clientX,top:pageY="pageY"in tgtPoint?tgtPoint.pageY:scrollY+tgtPoint.clientY,width:0,height:0},pointInView=pageX>=0&&pageX<=scrollX+viewportWidth&&pageY>=0&&pageY<=scrollY+viewportHeight,points=[align.points[0],"cc"];return doAlign(el,tgtRegion,_objectSpread2(_objectSpread2({},align),{},{points}),pointInView)}(source,point,latestAlign)),function restoreFocus(activeElement,container){activeElement!==document.activeElement&&function contains_contains(root,n){return!!root&&root.contains(n)}(container,activeElement)&&"function"==typeof activeElement.focus&&activeElement.focus()}(activeElement,source),latestOnAlign&&result&&latestOnAlign(source,result),!0}return!1}),monitorBufferTime),_useBuffer2=(0,slicedToArray.Z)(_useBuffer,2),_forceAlign=_useBuffer2[0],cancelForceAlign=_useBuffer2[1],resizeMonitor=react.useRef({cancel:function cancel(){}}),sourceResizeMonitor=react.useRef({cancel:function cancel(){}});react.useEffect((function(){var element=getElement(target),point=getPoint(target);nodeRef.current!==sourceResizeMonitor.current.element&&(sourceResizeMonitor.current.cancel(),sourceResizeMonitor.current.element=nodeRef.current,sourceResizeMonitor.current.cancel=monitorResize(nodeRef.current,_forceAlign)),cacheRef.current.element===element&&function isSamePoint(prev,next){return prev===next||!(!prev||!next)&&("pageX"in next&&"pageY"in next?prev.pageX===next.pageX&&prev.pageY===next.pageY:"clientX"in next&&"clientY"in next&&prev.clientX===next.clientX&&prev.clientY===next.clientY)}(cacheRef.current.point,point)&&isEqual_default()(cacheRef.current.align,align)||(_forceAlign(),resizeMonitor.current.element!==element&&(resizeMonitor.current.cancel(),resizeMonitor.current.element=element,resizeMonitor.current.cancel=monitorResize(element,_forceAlign)))})),react.useEffect((function(){disabled?cancelForceAlign():_forceAlign()}),[disabled]);var winResizeRef=react.useRef(null);return react.useEffect((function(){monitorWindowResize?winResizeRef.current||(winResizeRef.current=function addEventListener_addEventListenerWrap(target,eventType,cb,option){var callback=react_dom.unstable_batchedUpdates?function run(e){react_dom.unstable_batchedUpdates(cb,e)}:cb;return target.addEventListener&&target.addEventListener(eventType,callback,option),{remove:function remove(){target.removeEventListener&&target.removeEventListener(eventType,callback)}}}(window,"resize",_forceAlign)):winResizeRef.current&&(winResizeRef.current.remove(),winResizeRef.current=null)}),[monitorWindowResize]),react.useEffect((function(){return function(){resizeMonitor.current.cancel(),sourceResizeMonitor.current.cancel(),winResizeRef.current&&winResizeRef.current.remove(),cancelForceAlign()}}),[]),react.useImperativeHandle(ref,(function(){return{forceAlign:function forceAlign(){return _forceAlign(!0)}}})),react.isValidElement(childNode)&&(childNode=react.cloneElement(childNode,{ref:(0,es_ref.sQ)(childNode.ref,nodeRef)})),childNode},RcAlign=react.forwardRef(Align);RcAlign.displayName="Align";const rc_align_es=RcAlign;const hooks_useLayoutEffect=canUseDom()?react.useLayoutEffect:react.useEffect;var regenerator=__webpack_require__("./node_modules/@babel/runtime/regenerator/index.js"),regenerator_default=__webpack_require__.n(regenerator),asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var StatusQueue=["measure","alignPre","align",null,"motion"];const useVisibleStatus=function(visible,doMeasure){var _useState=function useSafeState(defaultValue){var destroyRef=react.useRef(!1),_React$useState=react.useState(defaultValue),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),value=_React$useState2[0],setValue=_React$useState2[1];return react.useEffect((function(){return destroyRef.current=!1,function(){destroyRef.current=!0}}),[]),[value,function safeSetState(updater,ignoreDestroy){ignoreDestroy&&destroyRef.current||setValue(updater)}]}(null),_useState2=(0,slicedToArray.Z)(_useState,2),status=_useState2[0],setInternalStatus=_useState2[1],rafRef=(0,react.useRef)();function setStatus(nextStatus){setInternalStatus(nextStatus,!0)}function cancelRaf(){wrapperRaf.cancel(rafRef.current)}return(0,react.useEffect)((function(){setStatus("measure")}),[visible]),(0,react.useEffect)((function(){if("measure"===status)doMeasure();status&&(rafRef.current=wrapperRaf((0,asyncToGenerator.Z)(regenerator_default().mark((function _callee(){var index,nextStatus;return regenerator_default().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:index=StatusQueue.indexOf(status),(nextStatus=StatusQueue[index+1])&&-1!==index&&setStatus(nextStatus);case 3:case"end":return _context.stop()}}),_callee)})))))}),[status]),(0,react.useEffect)((function(){return function(){cancelRaf()}}),[]),[status,function goNextStatus(callback){cancelRaf(),rafRef.current=wrapperRaf((function(){setStatus((function(prev){switch(status){case"align":return"motion";case"motion":return"stable"}return prev})),null==callback||callback()}))}]};var PopupInner=react.forwardRef((function(props,ref){var visible=props.visible,prefixCls=props.prefixCls,className=props.className,style=props.style,children=props.children,zIndex=props.zIndex,stretch=props.stretch,destroyPopupOnHide=props.destroyPopupOnHide,forceRender=props.forceRender,align=props.align,point=props.point,getRootDomNode=props.getRootDomNode,getClassNameFromAlign=props.getClassNameFromAlign,onAlign=props.onAlign,onMouseEnter=props.onMouseEnter,onMouseLeave=props.onMouseLeave,onMouseDown=props.onMouseDown,onTouchStart=props.onTouchStart,alignRef=(0,react.useRef)(),elementRef=(0,react.useRef)(),_useState=(0,react.useState)(),_useState2=(0,slicedToArray.Z)(_useState,2),alignedClassName=_useState2[0],setAlignedClassName=_useState2[1],_useStretchStyle=function(stretch){var _React$useState=react.useState({width:0,height:0}),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),targetSize=_React$useState2[0],setTargetSize=_React$useState2[1];return[react.useMemo((function(){var sizeStyle={};if(stretch){var width=targetSize.width,height=targetSize.height;-1!==stretch.indexOf("height")&&height?sizeStyle.height=height:-1!==stretch.indexOf("minHeight")&&height&&(sizeStyle.minHeight=height),-1!==stretch.indexOf("width")&&width?sizeStyle.width=width:-1!==stretch.indexOf("minWidth")&&width&&(sizeStyle.minWidth=width)}return sizeStyle}),[stretch,targetSize]),function measureStretch(element){setTargetSize({width:element.offsetWidth,height:element.offsetHeight})}]}(stretch),_useStretchStyle2=(0,slicedToArray.Z)(_useStretchStyle,2),stretchStyle=_useStretchStyle2[0],measureStretchStyle=_useStretchStyle2[1];var _useVisibleStatus=useVisibleStatus(visible,(function doMeasure(){stretch&&measureStretchStyle(getRootDomNode())})),_useVisibleStatus2=(0,slicedToArray.Z)(_useVisibleStatus,2),status=_useVisibleStatus2[0],goNextStatus=_useVisibleStatus2[1],_useState3=(0,react.useState)(0),_useState4=(0,slicedToArray.Z)(_useState3,2),alignTimes=_useState4[0],setAlignTimes=_useState4[1],prepareResolveRef=(0,react.useRef)();function forceAlign(){var _alignRef$current;null===(_alignRef$current=alignRef.current)||void 0===_alignRef$current||_alignRef$current.forceAlign()}function onInternalAlign(popupDomNode,matchAlign){var nextAlignedClassName=getClassNameFromAlign(matchAlign);alignedClassName!==nextAlignedClassName&&setAlignedClassName(nextAlignedClassName),setAlignTimes((function(val){return val+1})),"align"===status&&(null==onAlign||onAlign(popupDomNode,matchAlign))}hooks_useLayoutEffect((function(){"alignPre"===status&&setAlignTimes(0)}),[status]),hooks_useLayoutEffect((function(){"align"===status&&(alignTimes<2?forceAlign():goNextStatus((function(){var _prepareResolveRef$cu;null===(_prepareResolveRef$cu=prepareResolveRef.current)||void 0===_prepareResolveRef$cu||_prepareResolveRef$cu.call(prepareResolveRef)})))}),[alignTimes]);var motion=(0,objectSpread2.Z)({},getMotion(props));function onShowPrepare(){return new Promise((function(resolve){prepareResolveRef.current=resolve}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(eventName){var originHandler=motion[eventName];motion[eventName]=function(element,event){return goNextStatus(),null==originHandler?void 0:originHandler(element,event)}})),react.useEffect((function(){motion.motionName||"motion"!==status||goNextStatus()}),[motion.motionName,status]),react.useImperativeHandle(ref,(function(){return{forceAlign,getElement:function getElement(){return elementRef.current}}}));var mergedStyle=(0,objectSpread2.Z)((0,objectSpread2.Z)({},stretchStyle),{},{zIndex,opacity:"motion"!==status&&"stable"!==status&&visible?0:void 0,pointerEvents:visible||"stable"===status?void 0:"none"},style),alignDisabled=!0;!(null==align?void 0:align.points)||"align"!==status&&"stable"!==status||(alignDisabled=!1);var childNode=children;return react.Children.count(children)>1&&(childNode=react.createElement("div",{className:"".concat(prefixCls,"-content")},children)),react.createElement(es.Z,(0,esm_extends.Z)({visible,ref:elementRef,leavedClassName:"".concat(prefixCls,"-hidden")},motion,{onAppearPrepare:onShowPrepare,onEnterPrepare:onShowPrepare,removeOnLeave:destroyPopupOnHide,forceRender}),(function(_ref,motionRef){var motionClassName=_ref.className,motionStyle=_ref.style,mergedClassName=classnames_default()(prefixCls,className,alignedClassName,motionClassName);return react.createElement(rc_align_es,{target:point||getRootDomNode,key:"popup",ref:alignRef,monitorWindowResize:!0,disabled:alignDisabled,align,onAlign:onInternalAlign},react.createElement("div",{ref:motionRef,className:mergedClassName,onMouseEnter,onMouseLeave,onMouseDownCapture:onMouseDown,onTouchStartCapture:onTouchStart,style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},motionStyle),mergedStyle)},childNode))}))}));PopupInner.displayName="PopupInner";const Popup_PopupInner=PopupInner;var MobilePopupInner=react.forwardRef((function(props,ref){var prefixCls=props.prefixCls,visible=props.visible,zIndex=props.zIndex,children=props.children,_props$mobile=props.mobile,popupClassName=(_props$mobile=void 0===_props$mobile?{}:_props$mobile).popupClassName,popupStyle=_props$mobile.popupStyle,_props$mobile$popupMo=_props$mobile.popupMotion,popupMotion=void 0===_props$mobile$popupMo?{}:_props$mobile$popupMo,popupRender=_props$mobile.popupRender,elementRef=react.useRef();react.useImperativeHandle(ref,(function(){return{forceAlign:function forceAlign(){},getElement:function getElement(){return elementRef.current}}}));var mergedStyle=(0,objectSpread2.Z)({zIndex},popupStyle),childNode=children;return react.Children.count(children)>1&&(childNode=react.createElement("div",{className:"".concat(prefixCls,"-content")},children)),popupRender&&(childNode=popupRender(childNode)),react.createElement(es.Z,(0,esm_extends.Z)({visible,ref:elementRef,removeOnLeave:!0},popupMotion),(function(_ref,motionRef){var motionClassName=_ref.className,motionStyle=_ref.style,mergedClassName=classnames_default()(prefixCls,popupClassName,motionClassName);return react.createElement("div",{ref:motionRef,className:mergedClassName,style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},motionStyle),mergedStyle)},childNode)}))}));MobilePopupInner.displayName="MobilePopupInner";const Popup_MobilePopupInner=MobilePopupInner;var _excluded=["visible","mobile"],Popup=react.forwardRef((function(_ref,ref){var visible=_ref.visible,mobile=_ref.mobile,props=(0,objectWithoutProperties.Z)(_ref,_excluded),_useState=(0,react.useState)(visible),_useState2=(0,slicedToArray.Z)(_useState,2),innerVisible=_useState2[0],serInnerVisible=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),inMobile=_useState4[0],setInMobile=_useState4[1],cloneProps=(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{visible:innerVisible});(0,react.useEffect)((function(){serInnerVisible(visible),visible&&mobile&&setInMobile(function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var agent=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==agent?void 0:agent.substr(0,4)))}())}),[visible,mobile]);var popupNode=inMobile?react.createElement(Popup_MobilePopupInner,(0,esm_extends.Z)({},cloneProps,{mobile,ref})):react.createElement(Popup_PopupInner,(0,esm_extends.Z)({},cloneProps,{ref}));return react.createElement("div",null,react.createElement(Mask,cloneProps),popupNode)}));Popup.displayName="Popup";const es_Popup=Popup;const context=react.createContext(null);function noop(){}function returnEmptyString(){return""}function returnDocument(element){return element?element.ownerDocument:window.document}var ALL_HANDLERS=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];const rc_trigger_es=function generateTrigger(PortalComponent){var Trigger=function(_React$Component){(0,inherits.Z)(Trigger,_React$Component);var _super=(0,createSuper.Z)(Trigger);function Trigger(props){var _this,_popupVisible;return(0,classCallCheck.Z)(this,Trigger),(_this=_super.call(this,props)).popupRef=react.createRef(),_this.triggerRef=react.createRef(),_this.portalContainer=void 0,_this.attachId=void 0,_this.clickOutsideHandler=void 0,_this.touchOutsideHandler=void 0,_this.contextMenuOutsideHandler1=void 0,_this.contextMenuOutsideHandler2=void 0,_this.mouseDownTimeout=void 0,_this.focusTime=void 0,_this.preClickTime=void 0,_this.preTouchTime=void 0,_this.delayTimer=void 0,_this.hasPopupMouseDown=void 0,_this.onMouseEnter=function(e){var mouseEnterDelay=_this.props.mouseEnterDelay;_this.fireEvents("onMouseEnter",e),_this.delaySetPopupVisible(!0,mouseEnterDelay,mouseEnterDelay?null:e)},_this.onMouseMove=function(e){_this.fireEvents("onMouseMove",e),_this.setPoint(e)},_this.onMouseLeave=function(e){_this.fireEvents("onMouseLeave",e),_this.delaySetPopupVisible(!1,_this.props.mouseLeaveDelay)},_this.onPopupMouseEnter=function(){_this.clearDelayTimer()},_this.onPopupMouseLeave=function(e){var _this$popupRef$curren;e.relatedTarget&&!e.relatedTarget.setTimeout&&contains(null===(_this$popupRef$curren=_this.popupRef.current)||void 0===_this$popupRef$curren?void 0:_this$popupRef$curren.getElement(),e.relatedTarget)||_this.delaySetPopupVisible(!1,_this.props.mouseLeaveDelay)},_this.onFocus=function(e){_this.fireEvents("onFocus",e),_this.clearDelayTimer(),_this.isFocusToShow()&&(_this.focusTime=Date.now(),_this.delaySetPopupVisible(!0,_this.props.focusDelay))},_this.onMouseDown=function(e){_this.fireEvents("onMouseDown",e),_this.preClickTime=Date.now()},_this.onTouchStart=function(e){_this.fireEvents("onTouchStart",e),_this.preTouchTime=Date.now()},_this.onBlur=function(e){_this.fireEvents("onBlur",e),_this.clearDelayTimer(),_this.isBlurToHide()&&_this.delaySetPopupVisible(!1,_this.props.blurDelay)},_this.onContextMenu=function(e){e.preventDefault(),_this.fireEvents("onContextMenu",e),_this.setPopupVisible(!0,e)},_this.onContextMenuClose=function(){_this.isContextMenuToShow()&&_this.close()},_this.onClick=function(event){if(_this.fireEvents("onClick",event),_this.focusTime){var preTime;if(_this.preClickTime&&_this.preTouchTime?preTime=Math.min(_this.preClickTime,_this.preTouchTime):_this.preClickTime?preTime=_this.preClickTime:_this.preTouchTime&&(preTime=_this.preTouchTime),Math.abs(preTime-_this.focusTime)<20)return;_this.focusTime=0}_this.preClickTime=0,_this.preTouchTime=0,_this.isClickToShow()&&(_this.isClickToHide()||_this.isBlurToHide())&&event&&event.preventDefault&&event.preventDefault();var nextVisible=!_this.state.popupVisible;(_this.isClickToHide()&&!nextVisible||nextVisible&&_this.isClickToShow())&&_this.setPopupVisible(!_this.state.popupVisible,event)},_this.onPopupMouseDown=function(){var _this$context;(_this.hasPopupMouseDown=!0,clearTimeout(_this.mouseDownTimeout),_this.mouseDownTimeout=window.setTimeout((function(){_this.hasPopupMouseDown=!1}),0),_this.context)&&(_this$context=_this.context).onPopupMouseDown.apply(_this$context,arguments)},_this.onDocumentClick=function(event){if(!_this.props.mask||_this.props.maskClosable){var target=event.target,root=_this.getRootDomNode(),popupNode=_this.getPopupDomNode();contains(root,target)&&!_this.isContextMenuOnly()||contains(popupNode,target)||_this.hasPopupMouseDown||_this.close()}},_this.getRootDomNode=function(){var getTriggerDOMNode=_this.props.getTriggerDOMNode;if(getTriggerDOMNode)return getTriggerDOMNode(_this.triggerRef.current);try{var domNode=function findDOMNode(node){return node instanceof HTMLElement?node:react_dom.findDOMNode(node)}(_this.triggerRef.current);if(domNode)return domNode}catch(err){}return react_dom.findDOMNode((0,assertThisInitialized.Z)(_this))},_this.getPopupClassNameFromAlign=function(align){var className=[],_this$props=_this.props,popupPlacement=_this$props.popupPlacement,builtinPlacements=_this$props.builtinPlacements,prefixCls=_this$props.prefixCls,alignPoint=_this$props.alignPoint,getPopupClassNameFromAlign=_this$props.getPopupClassNameFromAlign;return popupPlacement&&builtinPlacements&&className.push(function getAlignPopupClassName(builtinPlacements,prefixCls,align,isAlignPoint){for(var points=align.points,placements=Object.keys(builtinPlacements),i=0;i<placements.length;i+=1){var placement=placements[i];if(isPointsEq(builtinPlacements[placement].points,points,isAlignPoint))return"".concat(prefixCls,"-placement-").concat(placement)}return""}(builtinPlacements,prefixCls,align,alignPoint)),getPopupClassNameFromAlign&&className.push(getPopupClassNameFromAlign(align)),className.join(" ")},_this.getComponent=function(){var _this$props2=_this.props,prefixCls=_this$props2.prefixCls,destroyPopupOnHide=_this$props2.destroyPopupOnHide,popupClassName=_this$props2.popupClassName,onPopupAlign=_this$props2.onPopupAlign,popupMotion=_this$props2.popupMotion,popupAnimation=_this$props2.popupAnimation,popupTransitionName=_this$props2.popupTransitionName,popupStyle=_this$props2.popupStyle,mask=_this$props2.mask,maskAnimation=_this$props2.maskAnimation,maskTransitionName=_this$props2.maskTransitionName,maskMotion=_this$props2.maskMotion,zIndex=_this$props2.zIndex,popup=_this$props2.popup,stretch=_this$props2.stretch,alignPoint=_this$props2.alignPoint,mobile=_this$props2.mobile,forceRender=_this$props2.forceRender,_this$state=_this.state,popupVisible=_this$state.popupVisible,point=_this$state.point,align=_this.getPopupAlign(),mouseProps={};return _this.isMouseEnterToShow()&&(mouseProps.onMouseEnter=_this.onPopupMouseEnter),_this.isMouseLeaveToHide()&&(mouseProps.onMouseLeave=_this.onPopupMouseLeave),mouseProps.onMouseDown=_this.onPopupMouseDown,mouseProps.onTouchStart=_this.onPopupMouseDown,react.createElement(es_Popup,(0,esm_extends.Z)({prefixCls,destroyPopupOnHide,visible:popupVisible,point:alignPoint&&point,className:popupClassName,align,onAlign:onPopupAlign,animation:popupAnimation,getClassNameFromAlign:_this.getPopupClassNameFromAlign},mouseProps,{stretch,getRootDomNode:_this.getRootDomNode,style:popupStyle,mask,zIndex,transitionName:popupTransitionName,maskAnimation,maskTransitionName,maskMotion,ref:_this.popupRef,motion:popupMotion,mobile,forceRender}),"function"==typeof popup?popup():popup)},_this.attachParent=function(popupContainer){wrapperRaf.cancel(_this.attachId);var mountNode,_this$props3=_this.props,getPopupContainer=_this$props3.getPopupContainer,getDocument=_this$props3.getDocument,domNode=_this.getRootDomNode();getPopupContainer?(domNode||0===getPopupContainer.length)&&(mountNode=getPopupContainer(domNode)):mountNode=getDocument(_this.getRootDomNode()).body,mountNode?mountNode.appendChild(popupContainer):_this.attachId=wrapperRaf((function(){_this.attachParent(popupContainer)}))},_this.getContainer=function(){if(!_this.portalContainer){var popupContainer=(0,_this.props.getDocument)(_this.getRootDomNode()).createElement("div");popupContainer.style.position="absolute",popupContainer.style.top="0",popupContainer.style.left="0",popupContainer.style.width="100%",_this.portalContainer=popupContainer}return _this.attachParent(_this.portalContainer),_this.portalContainer},_this.setPoint=function(point){_this.props.alignPoint&&point&&_this.setState({point:{pageX:point.pageX,pageY:point.pageY}})},_this.handlePortalUpdate=function(){_this.state.prevPopupVisible!==_this.state.popupVisible&&_this.props.afterPopupVisibleChange(_this.state.popupVisible)},_this.triggerContextValue={onPopupMouseDown:_this.onPopupMouseDown},_popupVisible="popupVisible"in props?!!props.popupVisible:!!props.defaultPopupVisible,_this.state={prevPopupVisible:_popupVisible,popupVisible:_popupVisible},ALL_HANDLERS.forEach((function(h){_this["fire".concat(h)]=function(e){_this.fireEvents(h,e)}})),_this}return(0,createClass.Z)(Trigger,[{key:"componentDidMount",value:function componentDidMount(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function componentDidUpdate(){var currentDocument,props=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(currentDocument=props.getDocument(this.getRootDomNode()),this.clickOutsideHandler=addEventListenerWrap(currentDocument,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(currentDocument=currentDocument||props.getDocument(this.getRootDomNode()),this.touchOutsideHandler=addEventListenerWrap(currentDocument,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(currentDocument=currentDocument||props.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=addEventListenerWrap(currentDocument,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=addEventListenerWrap(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),wrapperRaf.cancel(this.attachId)}},{key:"getPopupDomNode",value:function getPopupDomNode(){var _this$popupRef$curren2;return(null===(_this$popupRef$curren2=this.popupRef.current)||void 0===_this$popupRef$curren2?void 0:_this$popupRef$curren2.getElement())||null}},{key:"getPopupAlign",value:function getPopupAlign(){var props=this.props,popupPlacement=props.popupPlacement,popupAlign=props.popupAlign,builtinPlacements=props.builtinPlacements;return popupPlacement&&builtinPlacements?function getAlignFromPlacement(builtinPlacements,placementStr,align){var baseAlign=builtinPlacements[placementStr]||{};return(0,objectSpread2.Z)((0,objectSpread2.Z)({},baseAlign),align)}(builtinPlacements,popupPlacement,popupAlign):popupAlign}},{key:"setPopupVisible",value:function setPopupVisible(popupVisible,event){var alignPoint=this.props.alignPoint,prevPopupVisible=this.state.popupVisible;this.clearDelayTimer(),prevPopupVisible!==popupVisible&&("popupVisible"in this.props||this.setState({popupVisible,prevPopupVisible}),this.props.onPopupVisibleChange(popupVisible)),alignPoint&&event&&popupVisible&&this.setPoint(event)}},{key:"delaySetPopupVisible",value:function delaySetPopupVisible(visible,delayS,event){var _this2=this,delay=1e3*delayS;if(this.clearDelayTimer(),delay){var point=event?{pageX:event.pageX,pageY:event.pageY}:null;this.delayTimer=window.setTimeout((function(){_this2.setPopupVisible(visible,point),_this2.clearDelayTimer()}),delay)}else this.setPopupVisible(visible,event)}},{key:"clearDelayTimer",value:function clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function createTwoChains(event){var childPros=this.props.children.props,props=this.props;return childPros[event]&&props[event]?this["fire".concat(event)]:childPros[event]||props[event]}},{key:"isClickToShow",value:function isClickToShow(){var _this$props4=this.props,action=_this$props4.action,showAction=_this$props4.showAction;return-1!==action.indexOf("click")||-1!==showAction.indexOf("click")}},{key:"isContextMenuOnly",value:function isContextMenuOnly(){var action=this.props.action;return"contextMenu"===action||1===action.length&&"contextMenu"===action[0]}},{key:"isContextMenuToShow",value:function isContextMenuToShow(){var _this$props5=this.props,action=_this$props5.action,showAction=_this$props5.showAction;return-1!==action.indexOf("contextMenu")||-1!==showAction.indexOf("contextMenu")}},{key:"isClickToHide",value:function isClickToHide(){var _this$props6=this.props,action=_this$props6.action,hideAction=_this$props6.hideAction;return-1!==action.indexOf("click")||-1!==hideAction.indexOf("click")}},{key:"isMouseEnterToShow",value:function isMouseEnterToShow(){var _this$props7=this.props,action=_this$props7.action,showAction=_this$props7.showAction;return-1!==action.indexOf("hover")||-1!==showAction.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function isMouseLeaveToHide(){var _this$props8=this.props,action=_this$props8.action,hideAction=_this$props8.hideAction;return-1!==action.indexOf("hover")||-1!==hideAction.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function isFocusToShow(){var _this$props9=this.props,action=_this$props9.action,showAction=_this$props9.showAction;return-1!==action.indexOf("focus")||-1!==showAction.indexOf("focus")}},{key:"isBlurToHide",value:function isBlurToHide(){var _this$props10=this.props,action=_this$props10.action,hideAction=_this$props10.hideAction;return-1!==action.indexOf("focus")||-1!==hideAction.indexOf("blur")}},{key:"forcePopupAlign",value:function forcePopupAlign(){var _this$popupRef$curren3;this.state.popupVisible&&(null===(_this$popupRef$curren3=this.popupRef.current)||void 0===_this$popupRef$curren3||_this$popupRef$curren3.forceAlign())}},{key:"fireEvents",value:function fireEvents(type,e){var childCallback=this.props.children.props[type];childCallback&&childCallback(e);var callback=this.props[type];callback&&callback(e)}},{key:"close",value:function close(){this.setPopupVisible(!1)}},{key:"render",value:function render(){var popupVisible=this.state.popupVisible,_this$props11=this.props,children=_this$props11.children,forceRender=_this$props11.forceRender,alignPoint=_this$props11.alignPoint,className=_this$props11.className,autoDestroy=_this$props11.autoDestroy,child=react.Children.only(children),newChildProps={key:"trigger"};this.isContextMenuToShow()?newChildProps.onContextMenu=this.onContextMenu:newChildProps.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(newChildProps.onClick=this.onClick,newChildProps.onMouseDown=this.onMouseDown,newChildProps.onTouchStart=this.onTouchStart):(newChildProps.onClick=this.createTwoChains("onClick"),newChildProps.onMouseDown=this.createTwoChains("onMouseDown"),newChildProps.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(newChildProps.onMouseEnter=this.onMouseEnter,alignPoint&&(newChildProps.onMouseMove=this.onMouseMove)):newChildProps.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?newChildProps.onMouseLeave=this.onMouseLeave:newChildProps.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(newChildProps.onFocus=this.onFocus,newChildProps.onBlur=this.onBlur):(newChildProps.onFocus=this.createTwoChains("onFocus"),newChildProps.onBlur=this.createTwoChains("onBlur"));var childrenClassName=classnames_default()(child&&child.props&&child.props.className,className);childrenClassName&&(newChildProps.className=childrenClassName);var cloneProps=(0,objectSpread2.Z)({},newChildProps);(function supportRef(nodeOrComponent){var _type$prototype,_nodeOrComponent$prot,type=(0,react_is.isMemo)(nodeOrComponent)?nodeOrComponent.type.type:nodeOrComponent.type;return!("function"==typeof type&&!(null===(_type$prototype=type.prototype)||void 0===_type$prototype?void 0:_type$prototype.render)||"function"==typeof nodeOrComponent&&!(null===(_nodeOrComponent$prot=nodeOrComponent.prototype)||void 0===_nodeOrComponent$prot?void 0:_nodeOrComponent$prot.render))})(child)&&(cloneProps.ref=composeRef(this.triggerRef,child.ref));var portal,trigger=react.cloneElement(child,cloneProps);return(popupVisible||this.popupRef.current||forceRender)&&(portal=react.createElement(PortalComponent,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!popupVisible&&autoDestroy&&(portal=null),react.createElement(context.Provider,{value:this.triggerContextValue},trigger,portal)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(_ref,prevState){var popupVisible=_ref.popupVisible,newState={};return void 0!==popupVisible&&prevState.popupVisible!==popupVisible&&(newState.popupVisible=popupVisible,newState.prevPopupVisible=prevState.popupVisible),newState}}]),Trigger}(react.Component);return Trigger.contextType=context,Trigger.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:returnEmptyString,getDocument:returnDocument,onPopupVisibleChange:noop,afterPopupVisibleChange:noop,onPopupAlign:noop,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Trigger}(es_Portal)},"./node_modules/rc-util/es/Children/toArray.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>toArray});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_is__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-is/index.js");function toArray(children){var option=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ret=[];return react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(children,(function(child){(null!=child||option.keepEmpty)&&(Array.isArray(child)?ret=ret.concat(toArray(child)):(0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(child)&&child.props?ret=ret.concat(toArray(child.props.children,option)):ret.push(child))})),ret}},"./node_modules/rc-util/es/Dom/canUseDom.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function canUseDom(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}__webpack_require__.d(__webpack_exports__,{Z:()=>canUseDom})},"./node_modules/rc-util/es/Dom/findDOMNode.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>findDOMNode});var react_dom__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react-dom/index.js");function findDOMNode(node){return node instanceof HTMLElement?node:react_dom__WEBPACK_IMPORTED_MODULE_0__.findDOMNode(node)}},"./node_modules/rc-util/es/Dom/isVisible.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function(element){if(!element)return!1;if(element.offsetParent)return!0;if(element.getBBox){var box=element.getBBox();if(box.width||box.height)return!0}if(element.getBoundingClientRect){var _box=element.getBoundingClientRect();if(_box.width||_box.height)return!0}return!1}},"./node_modules/rc-util/es/KeyCode.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var KeyCode={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function isTextModifyingKeyEvent(e){var keyCode=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||keyCode>=KeyCode.F1&&keyCode<=KeyCode.F12)return!1;switch(keyCode){case KeyCode.ALT:case KeyCode.CAPS_LOCK:case KeyCode.CONTEXT_MENU:case KeyCode.CTRL:case KeyCode.DOWN:case KeyCode.END:case KeyCode.ESC:case KeyCode.HOME:case KeyCode.INSERT:case KeyCode.LEFT:case KeyCode.MAC_FF_META:case KeyCode.META:case KeyCode.NUMLOCK:case KeyCode.NUM_CENTER:case KeyCode.PAGE_DOWN:case KeyCode.PAGE_UP:case KeyCode.PAUSE:case KeyCode.PRINT_SCREEN:case KeyCode.RIGHT:case KeyCode.SHIFT:case KeyCode.UP:case KeyCode.WIN_KEY:case KeyCode.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function isCharacterKey(keyCode){if(keyCode>=KeyCode.ZERO&&keyCode<=KeyCode.NINE)return!0;if(keyCode>=KeyCode.NUM_ZERO&&keyCode<=KeyCode.NUM_MULTIPLY)return!0;if(keyCode>=KeyCode.A&&keyCode<=KeyCode.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===keyCode)return!0;switch(keyCode){case KeyCode.SPACE:case KeyCode.QUESTION_MARK:case KeyCode.NUM_PLUS:case KeyCode.NUM_MINUS:case KeyCode.NUM_PERIOD:case KeyCode.NUM_DIVISION:case KeyCode.SEMICOLON:case KeyCode.DASH:case KeyCode.EQUALS:case KeyCode.COMMA:case KeyCode.PERIOD:case KeyCode.SLASH:case KeyCode.APOSTROPHE:case KeyCode.SINGLE_QUOTE:case KeyCode.OPEN_SQUARE_BRACKET:case KeyCode.BACKSLASH:case KeyCode.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const __WEBPACK_DEFAULT_EXPORT__=KeyCode},"./node_modules/rc-util/es/hooks/useLayoutEffect.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const __WEBPACK_DEFAULT_EXPORT__=(0,__webpack_require__("./node_modules/rc-util/es/Dom/canUseDom.js").Z)()?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect},"./node_modules/rc-util/es/hooks/useMemo.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>useMemo});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function useMemo(getValue,condition,shouldUpdate){var cacheRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef({});return"value"in cacheRef.current&&!shouldUpdate(cacheRef.current.condition,condition)||(cacheRef.current.value=getValue(),cacheRef.current.condition=condition),cacheRef.current.value}},"./node_modules/rc-util/es/hooks/useMergedState.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>useControlledState});var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function useControlledState(defaultStateValue,option){var _ref=option||{},defaultValue=_ref.defaultValue,value=_ref.value,onChange=_ref.onChange,postState=_ref.postState,_React$useState=react__WEBPACK_IMPORTED_MODULE_0__.useState((function(){return void 0!==value?value:void 0!==defaultValue?"function"==typeof defaultValue?defaultValue():defaultValue:"function"==typeof defaultStateValue?defaultStateValue():defaultStateValue})),_React$useState2=(0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__.Z)(_React$useState,2),innerValue=_React$useState2[0],setInnerValue=_React$useState2[1],mergedValue=void 0!==value?value:innerValue;postState&&(mergedValue=postState(mergedValue));var onChangeRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef(onChange);onChangeRef.current=onChange;var triggerChange=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(newValue){setInnerValue(newValue),mergedValue!==newValue&&onChangeRef.current&&onChangeRef.current(newValue,mergedValue)}),[mergedValue,onChangeRef]),firstRenderRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef(!0);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){firstRenderRef.current?firstRenderRef.current=!1:void 0===value&&setInnerValue(value)}),[value]),[mergedValue,triggerChange]}},"./node_modules/rc-util/es/isMobile.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var agent=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==agent?void 0:agent.substr(0,4)))}},"./node_modules/rc-util/es/omit.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>omit});var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");function omit(obj,fields){var clone=(0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__.Z)({},obj);return Array.isArray(fields)&&fields.forEach((function(key){delete clone[key]})),clone}},"./node_modules/rc-util/es/pickAttrs.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>pickAttrs});var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),propList="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function match(key,prefix){return 0===key.indexOf(prefix)}function pickAttrs(props){var mergedConfig,ariaOnly=arguments.length>1&&void 0!==arguments[1]&&arguments[1];mergedConfig=!1===ariaOnly?{aria:!0,data:!0,attr:!0}:!0===ariaOnly?{aria:!0}:(0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__.Z)({},ariaOnly);var attrs={};return Object.keys(props).forEach((function(key){(mergedConfig.aria&&("role"===key||match(key,"aria-"))||mergedConfig.data&&match(key,"data-")||mergedConfig.attr&&propList.includes(key))&&(attrs[key]=props[key])})),attrs}},"./node_modules/rc-util/es/raf.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>wrapperRaf});var raf=function raf(callback){return+setTimeout(callback,16)},caf=function caf(num){return clearTimeout(num)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(raf=function raf(callback){return window.requestAnimationFrame(callback)},caf=function caf(handle){return window.cancelAnimationFrame(handle)});var rafUUID=0,rafIds=new Map;function cleanup(id){rafIds.delete(id)}function wrapperRaf(callback){var times=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,id=rafUUID+=1;function callRef(leftTimes){if(0===leftTimes)cleanup(id),callback();else{var realId=raf((function(){callRef(leftTimes-1)}));rafIds.set(id,realId)}}return callRef(times),id}wrapperRaf.cancel=function(id){var realId=rafIds.get(id);return cleanup(realId),caf(realId)}},"./node_modules/rc-util/es/ref.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Yr:()=>supportRef,sQ:()=>composeRef,x1:()=>useComposeRef});var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),react_is__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react-is/index.js"),_hooks_useMemo__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rc-util/es/hooks/useMemo.js");function fillRef(ref,node){"function"==typeof ref?ref(node):"object"===(0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__.Z)(ref)&&ref&&"current"in ref&&(ref.current=node)}function composeRef(){for(var _len=arguments.length,refs=new Array(_len),_key=0;_key<_len;_key++)refs[_key]=arguments[_key];var refList=refs.filter((function(ref){return ref}));return refList.length<=1?refList[0]:function(node){refs.forEach((function(ref){fillRef(ref,node)}))}}function useComposeRef(){for(var _len2=arguments.length,refs=new Array(_len2),_key2=0;_key2<_len2;_key2++)refs[_key2]=arguments[_key2];return(0,_hooks_useMemo__WEBPACK_IMPORTED_MODULE_1__.Z)((function(){return composeRef.apply(void 0,refs)}),refs,(function(prev,next){return prev.length===next.length&&prev.every((function(ref,i){return ref===next[i]}))}))}function supportRef(nodeOrComponent){var _type$prototype,_nodeOrComponent$prot,type=(0,react_is__WEBPACK_IMPORTED_MODULE_0__.isMemo)(nodeOrComponent)?nodeOrComponent.type.type:nodeOrComponent.type;return!("function"==typeof type&&!(null===(_type$prototype=type.prototype)||void 0===_type$prototype?void 0:_type$prototype.render))&&!("function"==typeof nodeOrComponent&&!(null===(_nodeOrComponent$prot=nodeOrComponent.prototype)||void 0===_nodeOrComponent$prot?void 0:_nodeOrComponent$prot.render))}},"./node_modules/rc-util/es/warning.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ET:()=>noteOnce,ZP:()=>__WEBPACK_DEFAULT_EXPORT__});var warned={};function warning(valid,message){0}function note(valid,message){0}function call(method,valid,message){valid||warned[message]||(method(!1,message),warned[message]=!0)}function noteOnce(valid,message){call(note,valid,message)}const __WEBPACK_DEFAULT_EXPORT__=function warningOnce(valid,message){call(warning,valid,message)}},"./node_modules/rc-virtual-list/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>rc_virtual_list_es});var react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),es=__webpack_require__("./node_modules/rc-resize-observer/es/index.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Filler=react.forwardRef((function(_ref,ref){var height=_ref.height,offset=_ref.offset,children=_ref.children,prefixCls=_ref.prefixCls,onInnerResize=_ref.onInnerResize,outerStyle={},innerStyle={display:"flex",flexDirection:"column"};return void 0!==offset&&(outerStyle={height,position:"relative",overflow:"hidden"},innerStyle=_objectSpread(_objectSpread({},innerStyle),{},{transform:"translateY(".concat(offset,"px)"),position:"absolute",left:0,right:0,top:0})),react.createElement("div",{style:outerStyle},react.createElement(es.Z,{onResize:function onResize(_ref2){_ref2.offsetHeight&&onInnerResize&&onInnerResize()}},react.createElement("div",{style:innerStyle,className:classnames_default()(_defineProperty({},"".concat(prefixCls,"-holder-inner"),prefixCls)),ref},children)))}));Filler.displayName="Filler";const es_Filler=Filler;var raf=__webpack_require__("./node_modules/rc-util/es/raf.js");function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function ScrollBar_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self)}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function getPageY(e){return"touches"in e?e.touches[0].pageY:e.pageY}var ScrollBar=function(_React$Component){!function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}(ScrollBar,_React$Component);var _super=_createSuper(ScrollBar);function ScrollBar(){var _this;_classCallCheck(this,ScrollBar);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).moveRaf=null,_this.scrollbarRef=react.createRef(),_this.thumbRef=react.createRef(),_this.visibleTimeout=null,_this.state={dragging:!1,pageY:null,startTop:null,visible:!1},_this.delayHidden=function(){clearTimeout(_this.visibleTimeout),_this.setState({visible:!0}),_this.visibleTimeout=setTimeout((function(){_this.setState({visible:!1})}),2e3)},_this.onScrollbarTouchStart=function(e){e.preventDefault()},_this.onContainerMouseDown=function(e){e.stopPropagation(),e.preventDefault()},_this.patchEvents=function(){window.addEventListener("mousemove",_this.onMouseMove),window.addEventListener("mouseup",_this.onMouseUp),_this.thumbRef.current.addEventListener("touchmove",_this.onMouseMove),_this.thumbRef.current.addEventListener("touchend",_this.onMouseUp)},_this.removeEvents=function(){var _this$scrollbarRef$cu;window.removeEventListener("mousemove",_this.onMouseMove),window.removeEventListener("mouseup",_this.onMouseUp),null===(_this$scrollbarRef$cu=_this.scrollbarRef.current)||void 0===_this$scrollbarRef$cu||_this$scrollbarRef$cu.removeEventListener("touchstart",_this.onScrollbarTouchStart),_this.thumbRef.current&&(_this.thumbRef.current.removeEventListener("touchstart",_this.onMouseDown),_this.thumbRef.current.removeEventListener("touchmove",_this.onMouseMove),_this.thumbRef.current.removeEventListener("touchend",_this.onMouseUp)),raf.Z.cancel(_this.moveRaf)},_this.onMouseDown=function(e){var onStartMove=_this.props.onStartMove;_this.setState({dragging:!0,pageY:getPageY(e),startTop:_this.getTop()}),onStartMove(),_this.patchEvents(),e.stopPropagation(),e.preventDefault()},_this.onMouseMove=function(e){var _this$state=_this.state,dragging=_this$state.dragging,pageY=_this$state.pageY,startTop=_this$state.startTop,onScroll=_this.props.onScroll;if(raf.Z.cancel(_this.moveRaf),dragging){var newTop=startTop+(getPageY(e)-pageY),enableScrollRange=_this.getEnableScrollRange(),enableHeightRange=_this.getEnableHeightRange(),ptg=enableHeightRange?newTop/enableHeightRange:0,newScrollTop=Math.ceil(ptg*enableScrollRange);_this.moveRaf=(0,raf.Z)((function(){onScroll(newScrollTop)}))}},_this.onMouseUp=function(){var onStopMove=_this.props.onStopMove;_this.setState({dragging:!1}),onStopMove(),_this.removeEvents()},_this.getSpinHeight=function(){var _this$props=_this.props,height=_this$props.height,baseHeight=height/_this$props.count*10;return baseHeight=Math.max(baseHeight,20),baseHeight=Math.min(baseHeight,height/2),Math.floor(baseHeight)},_this.getEnableScrollRange=function(){var _this$props2=_this.props;return _this$props2.scrollHeight-_this$props2.height||0},_this.getEnableHeightRange=function(){return _this.props.height-_this.getSpinHeight()||0},_this.getTop=function(){var scrollTop=_this.props.scrollTop,enableScrollRange=_this.getEnableScrollRange(),enableHeightRange=_this.getEnableHeightRange();return 0===scrollTop||0===enableScrollRange?0:scrollTop/enableScrollRange*enableHeightRange},_this.showScroll=function(){var _this$props3=_this.props,height=_this$props3.height;return _this$props3.scrollHeight>height},_this}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(ScrollBar,[{key:"componentDidMount",value:function componentDidMount(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){prevProps.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function render(){var _this$state2=this.state,dragging=_this$state2.dragging,visible=_this$state2.visible,prefixCls=this.props.prefixCls,spinHeight=this.getSpinHeight(),top=this.getTop(),canScroll=this.showScroll(),mergedVisible=canScroll&&visible;return react.createElement("div",{ref:this.scrollbarRef,className:classnames_default()("".concat(prefixCls,"-scrollbar"),ScrollBar_defineProperty({},"".concat(prefixCls,"-scrollbar-show"),canScroll)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:mergedVisible?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},react.createElement("div",{ref:this.thumbRef,className:classnames_default()("".concat(prefixCls,"-scrollbar-thumb"),ScrollBar_defineProperty({},"".concat(prefixCls,"-scrollbar-thumb-moving"),dragging)),style:{width:"100%",height:spinHeight,top,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),ScrollBar}(react.Component);function Item(_ref){var children=_ref.children,setRef=_ref.setRef,refFunc=react.useCallback((function(node){setRef(node)}),[]);return react.cloneElement(children,{ref:refFunc})}var findDOMNode=__webpack_require__("./node_modules/rc-util/es/Dom/findDOMNode.js");function CacheMap_defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}const utils_CacheMap=function(){function CacheMap(){!function CacheMap_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,CacheMap),this.maps=void 0,this.maps=Object.create(null)}return function CacheMap_createClass(Constructor,protoProps,staticProps){return protoProps&&CacheMap_defineProperties(Constructor.prototype,protoProps),staticProps&&CacheMap_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(CacheMap,[{key:"set",value:function set(key,value){this.maps[key]=value}},{key:"get",value:function get(key){return this.maps[key]}}]),CacheMap}();function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function useScrollTo_typeof(obj){return useScrollTo_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},useScrollTo_typeof(obj)}function useDiffItem_slicedToArray(arr,i){return function useDiffItem_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function useDiffItem_iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function useDiffItem_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return useDiffItem_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return useDiffItem_arrayLikeToArray(o,minLen)}(arr,i)||function useDiffItem_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function useDiffItem_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function useDiffItem(data,getKey,onDiff){var _React$useState2=useDiffItem_slicedToArray(react.useState(data),2),prevData=_React$useState2[0],setPrevData=_React$useState2[1],_React$useState4=useDiffItem_slicedToArray(react.useState(null),2),diffItem=_React$useState4[0],setDiffItem=_React$useState4[1];return react.useEffect((function(){var diff=function findListDiffIndex(originList,targetList,getKey){var shortList,longList,originLen=originList.length,targetLen=targetList.length;if(0===originLen&&0===targetLen)return null;originLen<targetLen?(shortList=originList,longList=targetList):(shortList=targetList,longList=originList);var notExistKey={__EMPTY_ITEM__:!0};function getItemKey(item){return void 0!==item?getKey(item):notExistKey}for(var diffIndex=null,multiple=1!==Math.abs(originLen-targetLen),i=0;i<longList.length;i+=1){var shortKey=getItemKey(shortList[i]);if(shortKey!==getItemKey(longList[i])){diffIndex=i,multiple=multiple||shortKey!==getItemKey(longList[i+1]);break}}return null===diffIndex?null:{index:diffIndex,multiple}}(prevData||[],data||[],getKey);void 0!==(null==diff?void 0:diff.index)&&(null==onDiff||onDiff(diff.index),setDiffItem(data[diff.index])),setPrevData(data)}),[data]),[diffItem]}function isFirefox_typeof(obj){return isFirefox_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},isFirefox_typeof(obj)}const isFirefox="object"===("undefined"==typeof navigator?"undefined":isFirefox_typeof(navigator))&&/Firefox/i.test(navigator.userAgent),useOriginScroll=function(isScrollAtTop,isScrollAtBottom){var lockRef=(0,react.useRef)(!1),lockTimeoutRef=(0,react.useRef)(null);function lockScroll(){clearTimeout(lockTimeoutRef.current),lockRef.current=!0,lockTimeoutRef.current=setTimeout((function(){lockRef.current=!1}),50)}var scrollPingRef=(0,react.useRef)({top:isScrollAtTop,bottom:isScrollAtBottom});return scrollPingRef.current.top=isScrollAtTop,scrollPingRef.current.bottom=isScrollAtBottom,function(deltaY){var smoothOffset=arguments.length>1&&void 0!==arguments[1]&&arguments[1],originScroll=deltaY<0&&scrollPingRef.current.top||deltaY>0&&scrollPingRef.current.bottom;return smoothOffset&&originScroll?(clearTimeout(lockTimeoutRef.current),lockRef.current=!1):originScroll&&!lockRef.current||lockScroll(),!lockRef.current&&originScroll}};var useLayoutEffect=__webpack_require__("./node_modules/rc-util/es/hooks/useLayoutEffect.js");var _excluded=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function List_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function List_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?List_ownKeys(Object(source),!0).forEach((function(key){List_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):List_ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}function List_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function List_slicedToArray(arr,i){return function List_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function List_iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function List_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return List_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return List_arrayLikeToArray(o,minLen)}(arr,i)||function List_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function List_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var EMPTY_DATA=[],ScrollStyle={overflowY:"auto",overflowAnchor:"none"};function RawList(props,ref){var _props$prefixCls=props.prefixCls,prefixCls=void 0===_props$prefixCls?"rc-virtual-list":_props$prefixCls,className=props.className,height=props.height,itemHeight=props.itemHeight,_props$fullHeight=props.fullHeight,fullHeight=void 0===_props$fullHeight||_props$fullHeight,style=props.style,data=props.data,children=props.children,itemKey=props.itemKey,virtual=props.virtual,_props$component=props.component,Component=void 0===_props$component?"div":_props$component,onScroll=props.onScroll,onVisibleChange=props.onVisibleChange,restProps=_objectWithoutProperties(props,_excluded),useVirtual=!(!1===virtual||!height||!itemHeight),inVirtual=useVirtual&&data&&itemHeight*data.length>height,_useState2=List_slicedToArray((0,react.useState)(0),2),scrollTop=_useState2[0],setScrollTop=_useState2[1],_useState4=List_slicedToArray((0,react.useState)(!1),2),scrollMoving=_useState4[0],setScrollMoving=_useState4[1],mergedClassName=classnames_default()(prefixCls,className),mergedData=data||EMPTY_DATA,componentRef=(0,react.useRef)(),fillerInnerRef=(0,react.useRef)(),scrollBarRef=(0,react.useRef)(),getKey=react.useCallback((function(item){return"function"==typeof itemKey?itemKey(item):null==item?void 0:item[itemKey]}),[itemKey]),sharedConfig={getKey};function syncScrollTop(newTop){setScrollTop((function(origin){var alignedTop=function keepInRange(newScrollTop){var newTop=newScrollTop;Number.isNaN(maxScrollHeightRef.current)||(newTop=Math.min(newTop,maxScrollHeightRef.current));return newTop=Math.max(newTop,0)}("function"==typeof newTop?newTop(origin):newTop);return componentRef.current.scrollTop=alignedTop,alignedTop}))}var rangeRef=(0,react.useRef)({start:0,end:mergedData.length}),diffItemRef=(0,react.useRef)(),diffItem=List_slicedToArray(useDiffItem(mergedData,getKey),1)[0];diffItemRef.current=diffItem;var _useHeights=function useHeights(getKey,onItemAdd,onItemRemove){var _React$useState2=_slicedToArray(react.useState(0),2),updatedMark=_React$useState2[0],setUpdatedMark=_React$useState2[1],instanceRef=(0,react.useRef)(new Map),heightsRef=(0,react.useRef)(new utils_CacheMap),collectRafRef=(0,react.useRef)();function cancelRaf(){raf.Z.cancel(collectRafRef.current)}function collectHeight(){cancelRaf(),collectRafRef.current=(0,raf.Z)((function(){instanceRef.current.forEach((function(element,key){if(element&&element.offsetParent){var htmlElement=(0,findDOMNode.Z)(element),offsetHeight=htmlElement.offsetHeight;heightsRef.current.get(key)!==offsetHeight&&heightsRef.current.set(key,htmlElement.offsetHeight)}})),setUpdatedMark((function(c){return c+1}))}))}return(0,react.useEffect)((function(){return cancelRaf}),[]),[function setInstanceRef(item,instance){var key=getKey(item),origin=instanceRef.current.get(key);instance?(instanceRef.current.set(key,instance),collectHeight()):instanceRef.current.delete(key),!origin!=!instance&&(instance?null==onItemAdd||onItemAdd(item):null==onItemRemove||onItemRemove(item))},collectHeight,heightsRef.current,updatedMark]}(getKey,null,null),_useHeights2=List_slicedToArray(_useHeights,4),setInstanceRef=_useHeights2[0],collectHeight=_useHeights2[1],heights=_useHeights2[2],heightUpdatedMark=_useHeights2[3],_React$useMemo=react.useMemo((function(){if(!useVirtual)return{scrollHeight:void 0,start:0,end:mergedData.length-1,offset:void 0};var _fillerInnerRef$curre;if(!inVirtual)return{scrollHeight:(null===(_fillerInnerRef$curre=fillerInnerRef.current)||void 0===_fillerInnerRef$curre?void 0:_fillerInnerRef$curre.offsetHeight)||0,start:0,end:mergedData.length-1,offset:void 0};for(var startIndex,startOffset,endIndex,itemTop=0,dataLen=mergedData.length,i=0;i<dataLen;i+=1){var item=mergedData[i],key=getKey(item),cacheHeight=heights.get(key),currentItemBottom=itemTop+(void 0===cacheHeight?itemHeight:cacheHeight);currentItemBottom>=scrollTop&&void 0===startIndex&&(startIndex=i,startOffset=itemTop),currentItemBottom>scrollTop+height&&void 0===endIndex&&(endIndex=i),itemTop=currentItemBottom}return void 0===startIndex&&(startIndex=0,startOffset=0),void 0===endIndex&&(endIndex=mergedData.length-1),{scrollHeight:itemTop,start:startIndex,end:endIndex=Math.min(endIndex+1,mergedData.length),offset:startOffset}}),[inVirtual,useVirtual,scrollTop,mergedData,heightUpdatedMark,height]),scrollHeight=_React$useMemo.scrollHeight,start=_React$useMemo.start,end=_React$useMemo.end,offset=_React$useMemo.offset;rangeRef.current.start=start,rangeRef.current.end=end;var maxScrollHeight=scrollHeight-height,maxScrollHeightRef=(0,react.useRef)(maxScrollHeight);maxScrollHeightRef.current=maxScrollHeight;var isScrollAtTop=scrollTop<=0,isScrollAtBottom=scrollTop>=maxScrollHeight,originScroll=useOriginScroll(isScrollAtTop,isScrollAtBottom);var _useFrameWheel=function useFrameWheel(inVirtual,isScrollAtTop,isScrollAtBottom,onWheelDelta){var offsetRef=(0,react.useRef)(0),nextFrameRef=(0,react.useRef)(null),wheelValueRef=(0,react.useRef)(null),isMouseScrollRef=(0,react.useRef)(!1),originScroll=useOriginScroll(isScrollAtTop,isScrollAtBottom);return[function onWheel(event){if(inVirtual){raf.Z.cancel(nextFrameRef.current);var deltaY=event.deltaY;offsetRef.current+=deltaY,wheelValueRef.current=deltaY,originScroll(deltaY)||(isFirefox||event.preventDefault(),nextFrameRef.current=(0,raf.Z)((function(){var patchMultiple=isMouseScrollRef.current?10:1;onWheelDelta(offsetRef.current*patchMultiple),offsetRef.current=0})))}},function onFireFoxScroll(event){inVirtual&&(isMouseScrollRef.current=event.detail===wheelValueRef.current)}]}(useVirtual,isScrollAtTop,isScrollAtBottom,(function(offsetY){syncScrollTop((function(top){return top+offsetY}))})),_useFrameWheel2=List_slicedToArray(_useFrameWheel,2),onRawWheel=_useFrameWheel2[0],onFireFoxScroll=_useFrameWheel2[1];!function useMobileTouchMove(inVirtual,listRef,callback){var cleanUpEvents,touchedRef=(0,react.useRef)(!1),touchYRef=(0,react.useRef)(0),elementRef=(0,react.useRef)(null),intervalRef=(0,react.useRef)(null),onTouchMove=function onTouchMove(e){if(touchedRef.current){var currentY=Math.ceil(e.touches[0].pageY),offsetY=touchYRef.current-currentY;touchYRef.current=currentY,callback(offsetY)&&e.preventDefault(),clearInterval(intervalRef.current),intervalRef.current=setInterval((function(){(!callback(offsetY*=.9333333333333333,!0)||Math.abs(offsetY)<=.1)&&clearInterval(intervalRef.current)}),16)}},onTouchEnd=function onTouchEnd(){touchedRef.current=!1,cleanUpEvents()},onTouchStart=function onTouchStart(e){cleanUpEvents(),1!==e.touches.length||touchedRef.current||(touchedRef.current=!0,touchYRef.current=Math.ceil(e.touches[0].pageY),elementRef.current=e.target,elementRef.current.addEventListener("touchmove",onTouchMove),elementRef.current.addEventListener("touchend",onTouchEnd))};cleanUpEvents=function cleanUpEvents(){elementRef.current&&(elementRef.current.removeEventListener("touchmove",onTouchMove),elementRef.current.removeEventListener("touchend",onTouchEnd))},(0,useLayoutEffect.Z)((function(){return inVirtual&&listRef.current.addEventListener("touchstart",onTouchStart),function(){var _listRef$current;null===(_listRef$current=listRef.current)||void 0===_listRef$current||_listRef$current.removeEventListener("touchstart",onTouchStart),cleanUpEvents(),clearInterval(intervalRef.current)}}),[inVirtual])}(useVirtual,componentRef,(function(deltaY,smoothOffset){return!originScroll(deltaY,smoothOffset)&&(onRawWheel({preventDefault:function preventDefault(){},deltaY}),!0)})),(0,useLayoutEffect.Z)((function(){function onMozMousePixelScroll(e){useVirtual&&e.preventDefault()}return componentRef.current.addEventListener("wheel",onRawWheel),componentRef.current.addEventListener("DOMMouseScroll",onFireFoxScroll),componentRef.current.addEventListener("MozMousePixelScroll",onMozMousePixelScroll),function(){componentRef.current&&(componentRef.current.removeEventListener("wheel",onRawWheel),componentRef.current.removeEventListener("DOMMouseScroll",onFireFoxScroll),componentRef.current.removeEventListener("MozMousePixelScroll",onMozMousePixelScroll))}}),[useVirtual]);var scrollTo=function useScrollTo(containerRef,data,heights,itemHeight,getKey,collectHeight,syncScrollTop,triggerFlash){var scrollRef=react.useRef();return function(arg){if(null!=arg){if(raf.Z.cancel(scrollRef.current),"number"==typeof arg)syncScrollTop(arg);else if(arg&&"object"===useScrollTo_typeof(arg)){var index,align=arg.align;index="index"in arg?arg.index:data.findIndex((function(item){return getKey(item)===arg.key}));var _arg$offset=arg.offset,offset=void 0===_arg$offset?0:_arg$offset;!function syncScroll(times,targetAlign){if(!(times<0)&&containerRef.current){var height=containerRef.current.clientHeight,needCollectHeight=!1,newTargetAlign=targetAlign;if(height){for(var mergedAlign=targetAlign||align,stackTop=0,itemTop=0,itemBottom=0,maxLen=Math.min(data.length,index),i=0;i<=maxLen;i+=1){var key=getKey(data[i]);itemTop=stackTop;var cacheHeight=heights.get(key);stackTop=itemBottom=itemTop+(void 0===cacheHeight?itemHeight:cacheHeight),i===index&&void 0===cacheHeight&&(needCollectHeight=!0)}var targetTop=null;switch(mergedAlign){case"top":targetTop=itemTop-offset;break;case"bottom":targetTop=itemBottom-height+offset;break;default:var scrollTop=containerRef.current.scrollTop;itemTop<scrollTop?newTargetAlign="top":itemBottom>scrollTop+height&&(newTargetAlign="bottom")}null!==targetTop&&targetTop!==containerRef.current.scrollTop&&syncScrollTop(targetTop)}scrollRef.current=(0,raf.Z)((function(){needCollectHeight&&collectHeight(),syncScroll(times-1,newTargetAlign)}))}}(3)}}else triggerFlash()}}(componentRef,mergedData,heights,itemHeight,getKey,collectHeight,syncScrollTop,(function(){var _scrollBarRef$current;null===(_scrollBarRef$current=scrollBarRef.current)||void 0===_scrollBarRef$current||_scrollBarRef$current.delayHidden()}));react.useImperativeHandle(ref,(function(){return{scrollTo}})),(0,useLayoutEffect.Z)((function(){if(onVisibleChange){var renderList=mergedData.slice(start,end+1);onVisibleChange(renderList,mergedData)}}),[start,end,mergedData]);var listChildren=function useChildren(list,startIndex,endIndex,setNodeRef,renderFunc,_ref){var getKey=_ref.getKey;return list.slice(startIndex,endIndex+1).map((function(item,index){var node=renderFunc(item,startIndex+index,{}),key=getKey(item);return react.createElement(Item,{key,setRef:function setRef(ele){return setNodeRef(item,ele)}},node)}))}(mergedData,start,end,setInstanceRef,children,sharedConfig),componentStyle=null;return height&&(componentStyle=List_objectSpread(List_defineProperty({},fullHeight?"height":"maxHeight",height),ScrollStyle),useVirtual&&(componentStyle.overflowY="hidden",scrollMoving&&(componentStyle.pointerEvents="none"))),react.createElement("div",_extends({style:List_objectSpread(List_objectSpread({},style),{},{position:"relative"}),className:mergedClassName},restProps),react.createElement(Component,{className:"".concat(prefixCls,"-holder"),style:componentStyle,ref:componentRef,onScroll:function onFallbackScroll(e){var newScrollTop=e.currentTarget.scrollTop;newScrollTop!==scrollTop&&syncScrollTop(newScrollTop),null==onScroll||onScroll(e)}},react.createElement(es_Filler,{prefixCls,height:scrollHeight,offset,onInnerResize:collectHeight,ref:fillerInnerRef},listChildren)),useVirtual&&react.createElement(ScrollBar,{ref:scrollBarRef,prefixCls,scrollTop,height,scrollHeight,count:mergedData.length,onScroll:function onScrollBar(newScrollTop){syncScrollTop(newScrollTop)},onStartMove:function onStartMove(){setScrollMoving(!0)},onStopMove:function onStopMove(){setScrollMoving(!1)}}))}var List=react.forwardRef(RawList);List.displayName="List";const rc_virtual_list_es=List},"./node_modules/react-dom/cjs/react-dom.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var aa=__webpack_require__("./node_modules/react/index.js"),m=__webpack_require__("./node_modules/object-assign/index.js"),r=__webpack_require__("./node_modules/scheduler/index.js");function y(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!aa)throw Error(y(227));var ba=new Set,ca={};function da(a,b){ea(a,b),ea(a+"Capture",b)}function ea(a,b){for(ca[a]=b,a=0;a<b.length;a++)ba.add(b[a])}var fa=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ha=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ia=Object.prototype.hasOwnProperty,ja={},ka={};function B(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b,this.attributeName=d,this.attributeNamespace=e,this.mustUseProperty=c,this.propertyName=a,this.type=b,this.sanitizeURL=f,this.removeEmptyString=g}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(a){D[a]=new B(a,0,!1,a,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(a){var b=a[0];D[b]=new B(b,1,!1,a[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(a){D[a]=new B(a,2,!1,a.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(a){D[a]=new B(a,2,!1,a,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(a){D[a]=new B(a,3,!1,a.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(a){D[a]=new B(a,3,!0,a,null,!1,!1)})),["capture","download"].forEach((function(a){D[a]=new B(a,4,!1,a,null,!1,!1)})),["cols","rows","size","span"].forEach((function(a){D[a]=new B(a,6,!1,a,null,!1,!1)})),["rowSpan","start"].forEach((function(a){D[a]=new B(a,5,!1,a.toLowerCase(),null,!1,!1)}));var oa=/[\-:]([a-z])/g;function pa(a){return a[1].toUpperCase()}function qa(a,b,c,d){var e=D.hasOwnProperty(b)?D[b]:null;(null!==e?0===e.type:!d&&(2<b.length&&("o"===b[0]||"O"===b[0])&&("n"===b[1]||"N"===b[1])))||(function na(a,b,c,d){if(null==b||function ma(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case"function":case"symbol":return!0;case"boolean":return!d&&(null!==c?!c.acceptsBooleans:"data-"!==(a=a.toLowerCase().slice(0,5))&&"aria-"!==a);default:return!1}}(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}(b,c,e,d)&&(c=null),d||null===e?function la(a){return!!ia.call(ka,a)||!ia.call(ja,a)&&(ha.test(a)?ka[a]=!0:(ja[a]=!0,!1))}(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3!==e.type&&"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(c=3===(e=e.type)||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!1,!1)})),D.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!0,!0)}));var ra=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,sa=60103,ta=60106,ua=60107,wa=60108,xa=60114,ya=60109,za=60110,Aa=60112,Ba=60113,Ca=60120,Da=60115,Ea=60116,Fa=60121,Ga=60128,Ha=60129,Ia=60130,Ja=60131;if("function"==typeof Symbol&&Symbol.for){var E=Symbol.for;sa=E("react.element"),ta=E("react.portal"),ua=E("react.fragment"),wa=E("react.strict_mode"),xa=E("react.profiler"),ya=E("react.provider"),za=E("react.context"),Aa=E("react.forward_ref"),Ba=E("react.suspense"),Ca=E("react.suspense_list"),Da=E("react.memo"),Ea=E("react.lazy"),Fa=E("react.block"),E("react.scope"),Ga=E("react.opaque.id"),Ha=E("react.debug_trace_mode"),Ia=E("react.offscreen"),Ja=E("react.legacy_hidden")}var Ma,Ka="function"==typeof Symbol&&Symbol.iterator;function La(a){return null===a||"object"!=typeof a?null:"function"==typeof(a=Ka&&a[Ka]||a["@@iterator"])?a:null}function Na(a){if(void 0===Ma)try{throw Error()}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);Ma=b&&b[1]||""}return"\n"+Ma+a}var Oa=!1;function Pa(a,b){if(!a||Oa)return"";Oa=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error()},Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(k){var d=k}Reflect.construct(a,[],b)}else{try{b.call()}catch(k){d=k}a.call(b.prototype)}else{try{throw Error()}catch(k){d=k}a()}}catch(k){if(k&&d&&"string"==typeof k.stack){for(var e=k.stack.split("\n"),f=d.stack.split("\n"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h)do{if(g--,0>--h||e[g]!==f[h])return"\n"+e[g].replace(" at new "," at ")}while(1<=g&&0<=h);break}}}finally{Oa=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?Na(a):""}function Qa(a){switch(a.tag){case 5:return Na(a.type);case 16:return Na("Lazy");case 13:return Na("Suspense");case 19:return Na("SuspenseList");case 0:case 2:case 15:return a=Pa(a.type,!1);case 11:return a=Pa(a.type.render,!1);case 22:return a=Pa(a.type._render,!1);case 1:return a=Pa(a.type,!0);default:return""}}function Ra(a){if(null==a)return null;if("function"==typeof a)return a.displayName||a.name||null;if("string"==typeof a)return a;switch(a){case ua:return"Fragment";case ta:return"Portal";case xa:return"Profiler";case wa:return"StrictMode";case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"==typeof a)switch(a.$$typeof){case za:return(a.displayName||"Context")+".Consumer";case ya:return(a._context.displayName||"Context")+".Provider";case Aa:var b=a.render;return b=b.displayName||b.name||"",a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case Da:return Ra(a.type);case Fa:return Ra(a._render);case Ea:b=a._payload,a=a._init;try{return Ra(a(b))}catch(c){}}return null}function Sa(a){switch(typeof a){case"boolean":case"number":case"object":case"string":case"undefined":return a;default:return""}}function Ta(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function Va(a){a._valueTracker||(a._valueTracker=function Ua(a){var b=Ta(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&void 0!==c&&"function"==typeof c.get&&"function"==typeof c.set){var e=c.get,f=c.set;return Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a,f.call(this,a)}}),Object.defineProperty(a,b,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null,delete a[b]}}}}(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue(),d="";return a&&(d=Ta(a)?a.checked?"true":"false":a.value),(a=d)!==c&&(b.setValue(a),!0)}function Xa(a){if(void 0===(a=a||("undefined"!=typeof document?document:void 0)))return null;try{return a.activeElement||a.body}catch(b){return a.body}}function Ya(a,b){var c=b.checked;return m({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c),a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function $a(a,b){null!=(b=b.checked)&&qa(a,"checked",b,!1)}function ab(a,b){$a(a,b);var c=Sa(b.value),d=b.type;if(null!=c)"number"===d?(0===c&&""===a.value||a.value!=c)&&(a.value=""+c):a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d)return void a.removeAttribute("value");b.hasOwnProperty("value")?bb(a,b.type,c):b.hasOwnProperty("defaultValue")&&bb(a,b.type,Sa(b.defaultValue)),null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function cb(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue,c||b===a.value||(a.value=b),a.defaultValue=b}""!==(c=a.name)&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,""!==c&&(a.name=c)}function bb(a,b,c){"number"===b&&Xa(a.ownerDocument)===a||(null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c))}function eb(a,b){return a=m({children:void 0},b),(b=function db(a){var b="";return aa.Children.forEach(a,(function(a){null!=a&&(b+=a)})),b}(b.children))&&(a.children=b),a}function fb(a,b,c,d){if(a=a.options,b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{for(c=""+Sa(c),b=null,e=0;e<a.length;e++){if(a[e].value===c)return a[e].selected=!0,void(d&&(a[e].defaultSelected=!0));null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function gb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(y(91));return m({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function hb(a,b){var c=b.value;if(null==c){if(c=b.children,b=b.defaultValue,null!=c){if(null!=b)throw Error(y(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(y(93));c=c[0]}b=c}null==b&&(b=""),c=b}a._wrapperState={initialValue:Sa(c)}}function ib(a,b){var c=Sa(b.value),d=Sa(b.defaultValue);null!=c&&((c=""+c)!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c)),null!=d&&(a.defaultValue=""+d)}function jb(a){var b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b)}var kb_html="http://www.w3.org/1999/xhtml",kb_svg="http://www.w3.org/2000/svg";function lb(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mb(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?lb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}var nb,a,ob=(a=function(a,b){if(a.namespaceURI!==kb_svg||"innerHTML"in a)a.innerHTML=b;else{for((nb=nb||document.createElement("div")).innerHTML="<svg>"+b.valueOf().toString()+"</svg>",b=nb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction((function(){return a(b,c)}))}:a);function pb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType)return void(c.nodeValue=b)}a.textContent=b}var qb={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rb=["Webkit","ms","Moz","O"];function sb(a,b,c){return null==b||"boolean"==typeof b||""===b?"":c||"number"!=typeof b||0===b||qb.hasOwnProperty(a)&&qb[a]?(""+b).trim():b+"px"}function tb(a,b){for(var c in a=a.style,b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=sb(c,b[c],d);"float"===c&&(c="cssFloat"),d?a.setProperty(c,e):a[c]=e}}Object.keys(qb).forEach((function(a){rb.forEach((function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1),qb[b]=qb[a]}))}));var ub=m({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function vb(a,b){if(b){if(ub[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(y(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(y(60));if("object"!=typeof b.dangerouslySetInnerHTML||!("__html"in b.dangerouslySetInnerHTML))throw Error(y(61))}if(null!=b.style&&"object"!=typeof b.style)throw Error(y(62))}}function wb(a,b){if(-1===a.indexOf("-"))return"string"==typeof b.is;switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xb(a){return(a=a.target||a.srcElement||window).correspondingUseElement&&(a=a.correspondingUseElement),3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;function Bb(a){if(a=Cb(a)){if("function"!=typeof yb)throw Error(y(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;if(Ab=zb=null,Bb(a),b)for(a=0;a<b.length;a++)Bb(b[a])}}function Gb(a,b){return a(b)}function Hb(a,b,c,d,e){return a(b,c,d,e)}function Ib(){}var Jb=Gb,Kb=!1,Lb=!1;function Mb(){null===zb&&null===Ab||(Ib(),Fb())}function Ob(a,b){var c=a.stateNode;if(null===c)return null;var d=Db(c);if(null===d)return null;c=d[b];a:switch(b){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(d=!("button"===(a=a.type)||"input"===a||"select"===a||"textarea"===a)),a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!=typeof c)throw Error(y(231,b,typeof c));return c}var Pb=!1;if(fa)try{var Qb={};Object.defineProperty(Qb,"passive",{get:function(){Pb=!0}}),window.addEventListener("test",Qb,Qb),window.removeEventListener("test",Qb,Qb)}catch(a){Pb=!1}function Rb(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(n){this.onError(n)}}var Sb=!1,Tb=null,Ub=!1,Vb=null,Wb={onError:function(a){Sb=!0,Tb=a}};function Xb(a,b,c,d,e,f,g,h,k){Sb=!1,Tb=null,Rb.apply(Wb,arguments)}function Zb(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do{0!=(1026&(b=a).flags)&&(c=b.return),a=b.return}while(a)}return 3===b.tag?c:null}function $b(a){if(13===a.tag){var b=a.memoizedState;if(null===b&&(null!==(a=a.alternate)&&(b=a.memoizedState)),null!==b)return b.dehydrated}return null}function ac(a){if(Zb(a)!==a)throw Error(y(188))}function cc(a){if(a=function bc(a){var b=a.alternate;if(!b){if(null===(b=Zb(a)))throw Error(y(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){if(null!==(d=e.return)){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return ac(e),a;if(f===d)return ac(e),b;f=f.sibling}throw Error(y(188))}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0,c=e,d=f;break}if(h===d){g=!0,d=e,c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0,c=f,d=e;break}if(h===d){g=!0,d=f,c=e;break}h=h.sibling}if(!g)throw Error(y(189))}}if(c.alternate!==d)throw Error(y(190))}if(3!==c.tag)throw Error(y(188));return c.stateNode.current===c?a:b}(a),!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return,b=b.sibling}}return null}function dc(a,b){for(var c=a.alternate;null!==b;){if(b===a||b===c)return!0;b=b.return}return!1}var ec,fc,gc,hc,ic=!1,jc=[],kc=null,lc=null,mc=null,nc=new Map,oc=new Map,pc=[],qc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rc(a,b,c,d,e){return{blockedOn:a,domEventName:b,eventSystemFlags:16|c,nativeEvent:e,targetContainers:[d]}}function sc(a,b){switch(a){case"focusin":case"focusout":kc=null;break;case"dragenter":case"dragleave":lc=null;break;case"mouseover":case"mouseout":mc=null;break;case"pointerover":case"pointerout":nc.delete(b.pointerId);break;case"gotpointercapture":case"lostpointercapture":oc.delete(b.pointerId)}}function tc(a,b,c,d,e,f){return null===a||a.nativeEvent!==f?(a=rc(b,c,d,e,f),null!==b&&(null!==(b=Cb(b))&&fc(b)),a):(a.eventSystemFlags|=d,b=a.targetContainers,null!==e&&-1===b.indexOf(e)&&b.push(e),a)}function vc(a){var b=wc(a.target);if(null!==b){var c=Zb(b);if(null!==c)if(13===(b=c.tag)){if(null!==(b=$b(c)))return a.blockedOn=b,void hc(a.lanePriority,(function(){r.unstable_runWithPriority(a.priority,(function(){gc(c)}))}))}else if(3===b&&c.stateNode.hydrate)return void(a.blockedOn=3===c.tag?c.stateNode.containerInfo:null)}a.blockedOn=null}function xc(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=yc(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null!==c)return null!==(b=Cb(c))&&fc(b),a.blockedOn=c,!1;b.shift()}return!0}function zc(a,b,c){xc(a)&&c.delete(b)}function Ac(){for(ic=!1;0<jc.length;){var a=jc[0];if(null!==a.blockedOn){null!==(a=Cb(a.blockedOn))&&ec(a);break}for(var b=a.targetContainers;0<b.length;){var c=yc(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null!==c){a.blockedOn=c;break}b.shift()}null===a.blockedOn&&jc.shift()}null!==kc&&xc(kc)&&(kc=null),null!==lc&&xc(lc)&&(lc=null),null!==mc&&xc(mc)&&(mc=null),nc.forEach(zc),oc.forEach(zc)}function Bc(a,b){a.blockedOn===b&&(a.blockedOn=null,ic||(ic=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ac)))}function Cc(a){function b(b){return Bc(b,a)}if(0<jc.length){Bc(jc[0],a);for(var c=1;c<jc.length;c++){var d=jc[c];d.blockedOn===a&&(d.blockedOn=null)}}for(null!==kc&&Bc(kc,a),null!==lc&&Bc(lc,a),null!==mc&&Bc(mc,a),nc.forEach(b),oc.forEach(b),c=0;c<pc.length;c++)(d=pc[c]).blockedOn===a&&(d.blockedOn=null);for(;0<pc.length&&null===(c=pc[0]).blockedOn;)vc(c),null===c.blockedOn&&pc.shift()}function Dc(a,b){var c={};return c[a.toLowerCase()]=b.toLowerCase(),c["Webkit"+a]="webkit"+b,c["Moz"+a]="moz"+b,c}var Ec={animationend:Dc("Animation","AnimationEnd"),animationiteration:Dc("Animation","AnimationIteration"),animationstart:Dc("Animation","AnimationStart"),transitionend:Dc("Transition","TransitionEnd")},Fc={},Gc={};function Hc(a){if(Fc[a])return Fc[a];if(!Ec[a])return a;var c,b=Ec[a];for(c in b)if(b.hasOwnProperty(c)&&c in Gc)return Fc[a]=b[c];return a}fa&&(Gc=document.createElement("div").style,"AnimationEvent"in window||(delete Ec.animationend.animation,delete Ec.animationiteration.animation,delete Ec.animationstart.animation),"TransitionEvent"in window||delete Ec.transitionend.transition);var Ic=Hc("animationend"),Jc=Hc("animationiteration"),Kc=Hc("animationstart"),Lc=Hc("transitionend"),Mc=new Map,Nc=new Map,Oc=["abort","abort",Ic,"animationEnd",Jc,"animationIteration",Kc,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Lc,"transitionEnd","waiting","waiting"];function Pc(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1];e="on"+(e[0].toUpperCase()+e.slice(1)),Nc.set(d,b),Mc.set(d,e),da(e,[d])}}(0,r.unstable_now)();var F=8;function Rc(a){if(0!=(1&a))return F=15,1;if(0!=(2&a))return F=14,2;if(0!=(4&a))return F=13,4;var b=24&a;return 0!==b?(F=12,b):0!=(32&a)?(F=11,32):0!==(b=192&a)?(F=10,b):0!=(256&a)?(F=9,256):0!==(b=3584&a)?(F=8,b):0!=(4096&a)?(F=7,4096):0!==(b=4186112&a)?(F=6,b):0!==(b=62914560&a)?(F=5,b):67108864&a?(F=4,67108864):0!=(134217728&a)?(F=3,134217728):0!==(b=805306368&a)?(F=2,b):0!=(1073741824&a)?(F=1,1073741824):(F=8,a)}function Uc(a,b){var c=a.pendingLanes;if(0===c)return F=0;var d=0,e=0,f=a.expiredLanes,g=a.suspendedLanes,h=a.pingedLanes;if(0!==f)d=f,e=F=15;else if(0!==(f=134217727&c)){var k=f&~g;0!==k?(d=Rc(k),e=F):0!==(h&=f)&&(d=Rc(h),e=F)}else 0!==(f=c&~g)?(d=Rc(f),e=F):0!==h&&(d=Rc(h),e=F);if(0===d)return 0;if(d=c&((0>(d=31-Vc(d))?0:1<<d)<<1)-1,0!==b&&b!==d&&0==(b&g)){if(Rc(b),e<=F)return b;F=e}if(0!==(b=a.entangledLanes))for(a=a.entanglements,b&=d;0<b;)e=1<<(c=31-Vc(b)),d|=a[c],b&=~e;return d}function Wc(a){return 0!==(a=-1073741825&a.pendingLanes)?a:1073741824&a?1073741824:0}function Xc(a,b){switch(a){case 15:return 1;case 14:return 2;case 12:return 0===(a=Yc(24&~b))?Xc(10,b):a;case 10:return 0===(a=Yc(192&~b))?Xc(8,b):a;case 8:return 0===(a=Yc(3584&~b))&&(0===(a=Yc(4186112&~b))&&(a=512)),a;case 2:return 0===(b=Yc(805306368&~b))&&(b=268435456),b}throw Error(y(358,a))}function Yc(a){return a&-a}function Zc(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function $c(a,b,c){a.pendingLanes|=b;var d=b-1;a.suspendedLanes&=d,a.pingedLanes&=d,(a=a.eventTimes)[b=31-Vc(b)]=c}var Vc=Math.clz32?Math.clz32:function ad(a){return 0===a?32:31-(bd(a)/cd|0)|0},bd=Math.log,cd=Math.LN2;var dd=r.unstable_UserBlockingPriority,ed=r.unstable_runWithPriority,fd=!0;function gd(a,b,c,d){Kb||Ib();var e=hd,f=Kb;Kb=!0;try{Hb(e,a,b,c,d)}finally{(Kb=f)||Mb()}}function id(a,b,c,d){ed(dd,hd.bind(null,a,b,c,d))}function hd(a,b,c,d){var e;if(fd)if((e=0==(4&b))&&0<jc.length&&-1<qc.indexOf(a))a=rc(null,a,b,c,d),jc.push(a);else{var f=yc(a,b,c,d);if(null===f)e&&sc(a,d);else{if(e){if(-1<qc.indexOf(a))return a=rc(f,a,b,c,d),void jc.push(a);if(function uc(a,b,c,d,e){switch(b){case"focusin":return kc=tc(kc,a,b,c,d,e),!0;case"dragenter":return lc=tc(lc,a,b,c,d,e),!0;case"mouseover":return mc=tc(mc,a,b,c,d,e),!0;case"pointerover":var f=e.pointerId;return nc.set(f,tc(nc.get(f)||null,a,b,c,d,e)),!0;case"gotpointercapture":return f=e.pointerId,oc.set(f,tc(oc.get(f)||null,a,b,c,d,e)),!0}return!1}(f,a,b,c,d))return;sc(a,d)}jd(a,b,d,null,c)}}}function yc(a,b,c,d){var e=xb(d);if(null!==(e=wc(e))){var f=Zb(e);if(null===f)e=null;else{var g=f.tag;if(13===g){if(null!==(e=$b(f)))return e;e=null}else if(3===g){if(f.stateNode.hydrate)return 3===f.tag?f.stateNode.containerInfo:null;e=null}else f!==e&&(e=null)}}return jd(a,b,d,e,c),null}var kd=null,ld=null,md=null;function nd(){if(md)return md;var a,d,b=ld,c=b.length,e="value"in kd?kd.value:kd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return md=e.slice(a,1<d?1-d:void 0)}function od(a){var b=a.keyCode;return"charCode"in a?0===(a=a.charCode)&&13===b&&(a=13):a=b,10===a&&(a=13),32<=a||13===a?a:0}function pd(){return!0}function qd(){return!1}function rd(a){function b(b,d,e,f,g){for(var c in this._reactName=b,this._targetInst=e,this.type=d,this.nativeEvent=f,this.target=g,this.currentTarget=null,a)a.hasOwnProperty(c)&&(b=a[c],this[c]=b?b(f):f[c]);return this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?pd:qd,this.isPropagationStopped=qd,this}return m(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!=typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=pd)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!=typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=pd)},persist:function(){},isPersistent:pd}),b}var wd,xd,yd,sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=m({},sd,{view:0,detail:0}),vd=rd(ud),Ad=m({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==yd&&(yd&&"mousemove"===a.type?(wd=a.screenX-yd.screenX,xd=a.screenY-yd.screenY):xd=wd=0,yd=a),wd)},movementY:function(a){return"movementY"in a?a.movementY:xd}}),Bd=rd(Ad),Dd=rd(m({},Ad,{dataTransfer:0})),Fd=rd(m({},ud,{relatedTarget:0})),Hd=rd(m({},sd,{animationName:0,elapsedTime:0,pseudoElement:0})),Id=m({},sd,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Jd=rd(Id),Ld=rd(m({},sd,{data:0})),Md={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Od={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):!!(a=Od[a])&&!!b[a]}function zd(){return Pd}var Qd=m({},ud,{key:function(a){if(a.key){var b=Md[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?13===(a=od(a))?"Enter":String.fromCharCode(a):"keydown"===a.type||"keyup"===a.type?Nd[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zd,charCode:function(a){return"keypress"===a.type?od(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?od(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Rd=rd(Qd),Td=rd(m({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Vd=rd(m({},ud,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zd})),Xd=rd(m({},sd,{propertyName:0,elapsedTime:0,pseudoElement:0})),Yd=m({},Ad,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Zd=rd(Yd),$d=[9,13,27,32],ae=fa&&"CompositionEvent"in window,be=null;fa&&"documentMode"in document&&(be=document.documentMode);var ce=fa&&"TextEvent"in window&&!be,de=fa&&(!ae||be&&8<be&&11>=be),ee=String.fromCharCode(32),fe=!1;function ge(a,b){switch(a){case"keyup":return-1!==$d.indexOf(b.keyCode);case"keydown":return 229!==b.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he(a){return"object"==typeof(a=a.detail)&&"data"in a?a.data:null}var ie=!1;var le={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function me(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!le[a.type]:"textarea"===b}function ne(a,b,c,d){Eb(d),0<(b=oe(b,"onChange")).length&&(c=new td("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var pe=null,qe=null;function re(a){se(a,0)}function te(a){if(Wa(ue(a)))return a}function ve(a,b){if("change"===a)return b}var we=!1;if(fa){var xe;if(fa){var ye="oninput"in document;if(!ye){var ze=document.createElement("div");ze.setAttribute("oninput","return;"),ye="function"==typeof ze.oninput}xe=ye}else xe=!1;we=xe&&(!document.documentMode||9<document.documentMode)}function Ae(){pe&&(pe.detachEvent("onpropertychange",Be),qe=pe=null)}function Be(a){if("value"===a.propertyName&&te(qe)){var b=[];if(ne(b,qe,a,xb(a)),a=re,Kb)a(b);else{Kb=!0;try{Gb(a,b)}finally{Kb=!1,Mb()}}}}function Ce(a,b,c){"focusin"===a?(Ae(),qe=c,(pe=b).attachEvent("onpropertychange",Be)):"focusout"===a&&Ae()}function De(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return te(qe)}function Ee(a,b){if("click"===a)return te(b)}function Fe(a,b){if("input"===a||"change"===a)return te(b)}var He="function"==typeof Object.is?Object.is:function Ge(a,b){return a===b&&(0!==a||1/a==1/b)||a!=a&&b!=b},Ie=Object.prototype.hasOwnProperty;function Je(a,b){if(He(a,b))return!0;if("object"!=typeof a||null===a||"object"!=typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!Ie.call(b,c[d])||!He(a[c[d]],b[c[d]]))return!1;return!0}function Ke(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Le(a,b){var d,c=Ke(a);for(a=0;c;){if(3===c.nodeType){if(d=a+c.textContent.length,a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Ke(c)}}function Me(a,b){return!(!a||!b)&&(a===b||(!a||3!==a.nodeType)&&(b&&3===b.nodeType?Me(a,b.parentNode):"contains"in a?a.contains(b):!!a.compareDocumentPosition&&!!(16&a.compareDocumentPosition(b))))}function Ne(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c="string"==typeof b.contentWindow.location.href}catch(d){c=!1}if(!c)break;b=Xa((a=b.contentWindow).document)}return b}function Oe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}var Pe=fa&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;function Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||("selectionStart"in(d=Qe)&&Oe(d)?d={start:d.selectionStart,end:d.selectionEnd}:d={anchorNode:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset},Se&&Je(Se,d)||(Se=d,0<(d=oe(Re,"onSelect")).length&&(b=new td("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=Qe)))}Pc("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Pc("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Pc(Oc,2);for(var Ve="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),We=0;We<Ve.length;We++)Nc.set(Ve[We],0);ea("onMouseEnter",["mouseout","mouseover"]),ea("onMouseLeave",["mouseout","mouseover"]),ea("onPointerEnter",["pointerout","pointerover"]),ea("onPointerLeave",["pointerout","pointerover"]),da("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),da("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),da("onBeforeInput",["compositionend","keypress","textInput","paste"]),da("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),da("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),da("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ye=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xe));function Ze(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c,function Yb(a,b,c,d,e,f,g,h,k){if(Xb.apply(this,arguments),Sb){if(!Sb)throw Error(y(198));var l=Tb;Sb=!1,Tb=null,Ub||(Ub=!0,Vb=l)}}(d,b,void 0,a),a.currentTarget=null}function se(a,b){b=0!=(4&b);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,l=h.currentTarget;if(h=h.listener,k!==f&&e.isPropagationStopped())break a;Ze(e,h,l),f=k}else for(g=0;g<d.length;g++){if(k=(h=d[g]).instance,l=h.currentTarget,h=h.listener,k!==f&&e.isPropagationStopped())break a;Ze(e,h,l),f=k}}}if(Ub)throw a=Vb,Ub=!1,Vb=null,a}function G(a,b){var c=$e(b),d=a+"__bubble";c.has(d)||(af(b,a,2,!1),c.add(d))}var bf="_reactListening"+Math.random().toString(36).slice(2);function cf(a){a[bf]||(a[bf]=!0,ba.forEach((function(b){Ye.has(b)||df(b,!1,a,null),df(b,!0,a,null)})))}function df(a,b,c,d){var e=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,f=c;if("selectionchange"===a&&9!==c.nodeType&&(f=c.ownerDocument),null!==d&&!b&&Ye.has(a)){if("scroll"!==a)return;e|=2,f=d}var g=$e(f),h=a+"__"+(b?"capture":"bubble");g.has(h)||(b&&(e|=4),af(f,a,e,b),g.add(h))}function af(a,b,c,d){var e=Nc.get(b);switch(void 0===e?2:e){case 0:e=gd;break;case 1:e=id;break;default:e=hd}c=e.bind(null,b,c,a),e=void 0,!Pb||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0),d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)}function jd(a,b,c,d,e){var f=d;if(0==(1&b)&&0==(2&b)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if((3===k||4===k)&&((k=g.stateNode.containerInfo)===e||8===k.nodeType&&k.parentNode===e))return;g=g.return}for(;null!==h;){if(null===(g=wc(h)))return;if(5===(k=g.tag)||6===k){d=f=g;continue a}h=h.parentNode}}d=d.return}!function Nb(a,b,c){if(Lb)return a(b,c);Lb=!0;try{return Jb(a,b,c)}finally{Lb=!1,Mb()}}((function(){var d=f,e=xb(c),g=[];a:{var h=Mc.get(a);if(void 0!==h){var k=td,x=a;switch(a){case"keypress":if(0===od(c))break a;case"keydown":case"keyup":k=Rd;break;case"focusin":x="focus",k=Fd;break;case"focusout":x="blur",k=Fd;break;case"beforeblur":case"afterblur":k=Fd;break;case"click":if(2===c.button)break a;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=Bd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=Dd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=Vd;break;case Ic:case Jc:case Kc:k=Hd;break;case Lc:k=Xd;break;case"scroll":k=vd;break;case"wheel":k=Zd;break;case"copy":case"cut":case"paste":k=Jd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=Td}var w=0!=(4&b),z=!w&&"scroll"===a,u=w?null!==h?h+"Capture":null:h;w=[];for(var q,t=d;null!==t;){var v=(q=t).stateNode;if(5===q.tag&&null!==v&&(q=v,null!==u&&(null!=(v=Ob(t,u))&&w.push(ef(t,v,q)))),z)break;t=t.return}0<w.length&&(h=new k(h,x,null,c,e),g.push({event:h,listeners:w}))}}if(0==(7&b)){if(k="mouseout"===a||"pointerout"===a,(!(h="mouseover"===a||"pointerover"===a)||0!=(16&b)||!(x=c.relatedTarget||c.fromElement)||!wc(x)&&!x[ff])&&(k||h)&&(h=e.window===e?e:(h=e.ownerDocument)?h.defaultView||h.parentWindow:window,k?(k=d,null!==(x=(x=c.relatedTarget||c.toElement)?wc(x):null)&&(x!==(z=Zb(x))||5!==x.tag&&6!==x.tag)&&(x=null)):(k=null,x=d),k!==x)){if(w=Bd,v="onMouseLeave",u="onMouseEnter",t="mouse","pointerout"!==a&&"pointerover"!==a||(w=Td,v="onPointerLeave",u="onPointerEnter",t="pointer"),z=null==k?h:ue(k),q=null==x?h:ue(x),(h=new w(v,t+"leave",k,c,e)).target=z,h.relatedTarget=q,v=null,wc(e)===d&&((w=new w(u,t+"enter",x,c,e)).target=q,w.relatedTarget=z,v=w),z=v,k&&x)b:{for(u=x,t=0,q=w=k;q;q=gf(q))t++;for(q=0,v=u;v;v=gf(v))q++;for(;0<t-q;)w=gf(w),t--;for(;0<q-t;)u=gf(u),q--;for(;t--;){if(w===u||null!==u&&w===u.alternate)break b;w=gf(w),u=gf(u)}w=null}else w=null;null!==k&&hf(g,h,k,w,!1),null!==x&&null!==z&&hf(g,z,x,w,!0)}if("select"===(k=(h=d?ue(d):window).nodeName&&h.nodeName.toLowerCase())||"input"===k&&"file"===h.type)var J=ve;else if(me(h))if(we)J=Fe;else{J=De;var K=Ce}else(k=h.nodeName)&&"input"===k.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(J=Ee);switch(J&&(J=J(a,d))?ne(g,J,c,e):(K&&K(a,h,d),"focusout"===a&&(K=h._wrapperState)&&K.controlled&&"number"===h.type&&bb(h,"number",h.value)),K=d?ue(d):window,a){case"focusin":(me(K)||"true"===K.contentEditable)&&(Qe=K,Re=d,Se=null);break;case"focusout":Se=Re=Qe=null;break;case"mousedown":Te=!0;break;case"contextmenu":case"mouseup":case"dragend":Te=!1,Ue(g,c,e);break;case"selectionchange":if(Pe)break;case"keydown":case"keyup":Ue(g,c,e)}var Q;if(ae)b:{switch(a){case"compositionstart":var L="onCompositionStart";break b;case"compositionend":L="onCompositionEnd";break b;case"compositionupdate":L="onCompositionUpdate";break b}L=void 0}else ie?ge(a,c)&&(L="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(L="onCompositionStart");L&&(de&&"ko"!==c.locale&&(ie||"onCompositionStart"!==L?"onCompositionEnd"===L&&ie&&(Q=nd()):(ld="value"in(kd=e)?kd.value:kd.textContent,ie=!0)),0<(K=oe(d,L)).length&&(L=new Ld(L,a,null,c,e),g.push({event:L,listeners:K}),Q?L.data=Q:null!==(Q=he(c))&&(L.data=Q))),(Q=ce?function je(a,b){switch(a){case"compositionend":return he(b);case"keypress":return 32!==b.which?null:(fe=!0,ee);case"textInput":return(a=b.data)===ee&&fe?null:a;default:return null}}(a,c):function ke(a,b){if(ie)return"compositionend"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case"paste":default:return null;case"keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case"compositionend":return de&&"ko"!==b.locale?null:b.data}}(a,c))&&(0<(d=oe(d,"onBeforeInput")).length&&(e=new Ld("onBeforeInput","beforeinput",null,c,e),g.push({event:e,listeners:d}),e.data=Q))}se(g,b)}))}function ef(a,b,c){return{instance:a,listener:b,currentTarget:c}}function oe(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;5===e.tag&&null!==f&&(e=f,null!=(f=Ob(a,c))&&d.unshift(ef(a,f,e)),null!=(f=Ob(a,b))&&d.push(ef(a,f,e))),a=a.return}return d}function gf(a){if(null===a)return null;do{a=a.return}while(a&&5!==a.tag);return a||null}function hf(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,l=h.stateNode;if(null!==k&&k===d)break;5===h.tag&&null!==l&&(h=l,e?null!=(k=Ob(c,f))&&g.unshift(ef(c,k,h)):e||null!=(k=Ob(c,f))&&g.push(ef(c,k,h))),c=c.return}0!==g.length&&a.push({event:b,listeners:g})}function jf(){}var kf=null,lf=null;function mf(a,b){switch(a){case"button":case"input":case"select":case"textarea":return!!b.autoFocus}return!1}function nf(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"==typeof b.children||"number"==typeof b.children||"object"==typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var of="function"==typeof setTimeout?setTimeout:void 0,pf="function"==typeof clearTimeout?clearTimeout:void 0;function qf(a){1===a.nodeType?a.textContent="":9===a.nodeType&&(null!=(a=a.body)&&(a.textContent=""))}function rf(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function sf(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}var tf=0;var vf=Math.random().toString(36).slice(2),wf="__reactFiber$"+vf,xf="__reactProps$"+vf,ff="__reactContainer$"+vf,yf="__reactEvents$"+vf;function wc(a){var b=a[wf];if(b)return b;for(var c=a.parentNode;c;){if(b=c[ff]||c[wf]){if(c=b.alternate,null!==b.child||null!==c&&null!==c.child)for(a=sf(a);null!==a;){if(c=a[wf])return c;a=sf(a)}return b}c=(a=c).parentNode}return null}function Cb(a){return!(a=a[wf]||a[ff])||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function ue(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(y(33))}function Db(a){return a[xf]||null}function $e(a){var b=a[yf];return void 0===b&&(b=a[yf]=new Set),b}var zf=[],Af=-1;function Bf(a){return{current:a}}function H(a){0>Af||(a.current=zf[Af],zf[Af]=null,Af--)}function I(a,b){Af++,zf[Af]=a.current,a.current=b}var Cf={},M=Bf(Cf),N=Bf(!1),Df=Cf;function Ef(a,b){var c=a.type.contextTypes;if(!c)return Cf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var f,e={};for(f in c)e[f]=b[f];return d&&((a=a.stateNode).__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e),e}function Ff(a){return null!=(a=a.childContextTypes)}function Gf(){H(N),H(M)}function Hf(a,b,c){if(M.current!==Cf)throw Error(y(168));I(M,b),I(N,c)}function If(a,b,c){var d=a.stateNode;if(a=b.childContextTypes,"function"!=typeof d.getChildContext)return c;for(var e in d=d.getChildContext())if(!(e in a))throw Error(y(108,Ra(b)||"Unknown",e));return m({},c,d)}function Jf(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Cf,Df=M.current,I(M,a),I(N,N.current),!0}function Kf(a,b,c){var d=a.stateNode;if(!d)throw Error(y(169));c?(a=If(a,b,Df),d.__reactInternalMemoizedMergedChildContext=a,H(N),H(M),I(M,a)):H(N),I(N,c)}var Lf=null,Mf=null,Nf=r.unstable_runWithPriority,Of=r.unstable_scheduleCallback,Pf=r.unstable_cancelCallback,Qf=r.unstable_shouldYield,Rf=r.unstable_requestPaint,Sf=r.unstable_now,Tf=r.unstable_getCurrentPriorityLevel,Uf=r.unstable_ImmediatePriority,Vf=r.unstable_UserBlockingPriority,Wf=r.unstable_NormalPriority,Xf=r.unstable_LowPriority,Yf=r.unstable_IdlePriority,Zf={},$f=void 0!==Rf?Rf:function(){},ag=null,bg=null,cg=!1,dg=Sf(),O=1e4>dg?Sf:function(){return Sf()-dg};function eg(){switch(Tf()){case Uf:return 99;case Vf:return 98;case Wf:return 97;case Xf:return 96;case Yf:return 95;default:throw Error(y(332))}}function fg(a){switch(a){case 99:return Uf;case 98:return Vf;case 97:return Wf;case 96:return Xf;case 95:return Yf;default:throw Error(y(332))}}function gg(a,b){return a=fg(a),Nf(a,b)}function hg(a,b,c){return a=fg(a),Of(a,b,c)}function ig(){if(null!==bg){var a=bg;bg=null,Pf(a)}jg()}function jg(){if(!cg&&null!==ag){cg=!0;var a=0;try{var b=ag;gg(99,(function(){for(;a<b.length;a++){var c=b[a];do{c=c(!0)}while(null!==c)}})),ag=null}catch(c){throw null!==ag&&(ag=ag.slice(a+1)),Of(Uf,ig),c}finally{cg=!1}}}var kg=ra.ReactCurrentBatchConfig;function lg(a,b){if(a&&a.defaultProps){for(var c in b=m({},b),a=a.defaultProps)void 0===b[c]&&(b[c]=a[c]);return b}return b}var mg=Bf(null),ng=null,og=null,pg=null;function qg(){pg=og=ng=null}function rg(a){var b=mg.current;H(mg),a.type._context._currentValue=b}function sg(a,b){for(;null!==a;){var c=a.alternate;if((a.childLanes&b)===b){if(null===c||(c.childLanes&b)===b)break;c.childLanes|=b}else a.childLanes|=b,null!==c&&(c.childLanes|=b);a=a.return}}function tg(a,b){ng=a,pg=og=null,null!==(a=a.dependencies)&&null!==a.firstContext&&(0!=(a.lanes&b)&&(ug=!0),a.firstContext=null)}function vg(a,b){if(pg!==a&&!1!==b&&0!==b)if("number"==typeof b&&1073741823!==b||(pg=a,b=1073741823),b={context:a,observedBits:b,next:null},null===og){if(null===ng)throw Error(y(308));og=b,ng.dependencies={lanes:0,firstContext:b,responders:null}}else og=og.next=b;return a._currentValue}var wg=!1;function xg(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function yg(a,b){a=a.updateQueue,b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function zg(a,b){return{eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}function Ag(a,b){if(null!==(a=a.updateQueue)){var c=(a=a.shared).pending;null===c?b.next=b:(b.next=c.next,c.next=b),a.pending=b}}function Bg(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&c===(d=d.updateQueue)){var e=null,f=null;if(null!==(c=c.firstBaseUpdate)){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g,c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;return c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects},void(a.updateQueue=c)}null===(a=c.lastBaseUpdate)?c.firstBaseUpdate=b:a.next=b,c.lastBaseUpdate=b}function Cg(a,b,c,d){var e=a.updateQueue;wg=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null,null===g?f=l:g.next=l,g=k;var n=a.alternate;if(null!==n){var A=(n=n.updateQueue).lastBaseUpdate;A!==g&&(null===A?n.firstBaseUpdate=l:A.next=l,n.lastBaseUpdate=k)}}if(null!==f){for(A=e.baseState,g=0,n=l=k=null;;){h=f.lane;var p=f.eventTime;if((d&h)===h){null!==n&&(n=n.next={eventTime:p,lane:0,tag:f.tag,payload:f.payload,callback:f.callback,next:null});a:{var C=a,x=f;switch(h=b,p=c,x.tag){case 1:if("function"==typeof(C=x.payload)){A=C.call(p,A,h);break a}A=C;break a;case 3:C.flags=-4097&C.flags|64;case 0:if(null==(h="function"==typeof(C=x.payload)?C.call(p,A,h):C))break a;A=m({},A,h);break a;case 2:wg=!0}}null!==f.callback&&(a.flags|=32,null===(h=e.effects)?e.effects=[f]:h.push(f))}else p={eventTime:p,lane:h,tag:f.tag,payload:f.payload,callback:f.callback,next:null},null===n?(l=n=p,k=A):n=n.next=p,g|=h;if(null===(f=f.next)){if(null===(h=e.shared.pending))break;f=h.next,h.next=null,e.lastBaseUpdate=h,e.shared.pending=null}}null===n&&(k=A),e.baseState=k,e.firstBaseUpdate=l,e.lastBaseUpdate=n,Dg|=g,a.lanes=g,a.memoizedState=A}}function Eg(a,b,c){if(a=b.effects,b.effects=null,null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){if(d.callback=null,d=c,"function"!=typeof e)throw Error(y(191,e));e.call(d)}}}var Fg=(new aa.Component).refs;function Gg(a,b,c,d){c=null==(c=c(d,b=a.memoizedState))?b:m({},b,c),a.memoizedState=c,0===a.lanes&&(a.updateQueue.baseState=c)}var Kg={isMounted:function(a){return!!(a=a._reactInternals)&&Zb(a)===a},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Hg(),e=Ig(a),f=zg(d,e);f.payload=b,null!=c&&(f.callback=c),Ag(a,f),Jg(a,e,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Hg(),e=Ig(a),f=zg(d,e);f.tag=1,f.payload=b,null!=c&&(f.callback=c),Ag(a,f),Jg(a,e,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Hg(),d=Ig(a),e=zg(c,d);e.tag=2,null!=b&&(e.callback=b),Ag(a,e),Jg(a,d,c)}};function Lg(a,b,c,d,e,f,g){return"function"==typeof(a=a.stateNode).shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):!b.prototype||!b.prototype.isPureReactComponent||(!Je(c,d)||!Je(e,f))}function Mg(a,b,c){var d=!1,e=Cf,f=b.contextType;return"object"==typeof f&&null!==f?f=vg(f):(e=Ff(b)?Df:M.current,f=(d=null!=(d=b.contextTypes))?Ef(a,e):Cf),b=new b(c,f),a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null,b.updater=Kg,a.stateNode=b,b._reactInternals=a,d&&((a=a.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f),b}function Ng(a,b,c,d){a=b.state,"function"==typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d),"function"==typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d),b.state!==a&&Kg.enqueueReplaceState(b,b.state,null)}function Og(a,b,c,d){var e=a.stateNode;e.props=c,e.state=a.memoizedState,e.refs=Fg,xg(a);var f=b.contextType;"object"==typeof f&&null!==f?e.context=vg(f):(f=Ff(b)?Df:M.current,e.context=Ef(a,f)),Cg(a,c,e,d),e.state=a.memoizedState,"function"==typeof(f=b.getDerivedStateFromProps)&&(Gg(a,b,f,c),e.state=a.memoizedState),"function"==typeof b.getDerivedStateFromProps||"function"==typeof e.getSnapshotBeforeUpdate||"function"!=typeof e.UNSAFE_componentWillMount&&"function"!=typeof e.componentWillMount||(b=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Kg.enqueueReplaceState(e,e.state,null),Cg(a,c,e,d),e.state=a.memoizedState),"function"==typeof e.componentDidMount&&(a.flags|=4)}var Pg=Array.isArray;function Qg(a,b,c){if(null!==(a=c.ref)&&"function"!=typeof a&&"object"!=typeof a){if(c._owner){if(c=c._owner){if(1!==c.tag)throw Error(y(309));var d=c.stateNode}if(!d)throw Error(y(147,a));var e=""+a;return null!==b&&null!==b.ref&&"function"==typeof b.ref&&b.ref._stringRef===e?b.ref:(b=function(a){var b=d.refs;b===Fg&&(b=d.refs={}),null===a?delete b[e]:b[e]=a},b._stringRef=e,b)}if("string"!=typeof a)throw Error(y(284));if(!c._owner)throw Error(y(290,a))}return a}function Rg(a,b){if("textarea"!==a.type)throw Error(y(31,"[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b))}function Sg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c,c.nextEffect=null,c.flags=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){return(a=Tg(a,b)).index=0,a.sibling=null,a}function f(b,c,d){return b.index=d,a?null!==(d=b.alternate)?(d=d.index)<c?(b.flags=2,c):d:(b.flags=2,c):c}function g(b){return a&&null===b.alternate&&(b.flags=2),b}function h(a,b,c,d){return null===b||6!==b.tag?((b=Ug(c,a.mode,d)).return=a,b):((b=e(b,c)).return=a,b)}function k(a,b,c,d){return null!==b&&b.elementType===c.type?((d=e(b,c.props)).ref=Qg(a,b,c),d.return=a,d):((d=Vg(c.type,c.key,c.props,null,a.mode,d)).ref=Qg(a,b,c),d.return=a,d)}function l(a,b,c,d){return null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation?((b=Wg(c,a.mode,d)).return=a,b):((b=e(b,c.children||[])).return=a,b)}function n(a,b,c,d,f){return null===b||7!==b.tag?((b=Xg(c,a.mode,d,f)).return=a,b):((b=e(b,c)).return=a,b)}function A(a,b,c){if("string"==typeof b||"number"==typeof b)return(b=Ug(""+b,a.mode,c)).return=a,b;if("object"==typeof b&&null!==b){switch(b.$$typeof){case sa:return(c=Vg(b.type,b.key,b.props,null,a.mode,c)).ref=Qg(a,null,b),c.return=a,c;case ta:return(b=Wg(b,a.mode,c)).return=a,b}if(Pg(b)||La(b))return(b=Xg(b,a.mode,c,null)).return=a,b;Rg(a,b)}return null}function p(a,b,c,d){var e=null!==b?b.key:null;if("string"==typeof c||"number"==typeof c)return null!==e?null:h(a,b,""+c,d);if("object"==typeof c&&null!==c){switch(c.$$typeof){case sa:return c.key===e?c.type===ua?n(a,b,c.props.children,d,e):k(a,b,c,d):null;case ta:return c.key===e?l(a,b,c,d):null}if(Pg(c)||La(c))return null!==e?null:n(a,b,c,d,null);Rg(a,c)}return null}function C(a,b,c,d,e){if("string"==typeof d||"number"==typeof d)return h(b,a=a.get(c)||null,""+d,e);if("object"==typeof d&&null!==d){switch(d.$$typeof){case sa:return a=a.get(null===d.key?c:d.key)||null,d.type===ua?n(b,a,d.props.children,e,d.key):k(b,a,d,e);case ta:return l(b,a=a.get(null===d.key?c:d.key)||null,d,e)}if(Pg(d)||La(d))return n(b,a=a.get(c)||null,d,e,null);Rg(b,d)}return null}function x(e,g,h,k){for(var l=null,t=null,u=g,z=g=0,q=null;null!==u&&z<h.length;z++){u.index>z?(q=u,u=null):q=u.sibling;var n=p(e,u,h[z],k);if(null===n){null===u&&(u=q);break}a&&u&&null===n.alternate&&b(e,u),g=f(n,g,z),null===t?l=n:t.sibling=n,t=n,u=q}if(z===h.length)return c(e,u),l;if(null===u){for(;z<h.length;z++)null!==(u=A(e,h[z],k))&&(g=f(u,g,z),null===t?l=u:t.sibling=u,t=u);return l}for(u=d(e,u);z<h.length;z++)null!==(q=C(u,e,z,h[z],k))&&(a&&null!==q.alternate&&u.delete(null===q.key?z:q.key),g=f(q,g,z),null===t?l=q:t.sibling=q,t=q);return a&&u.forEach((function(a){return b(e,a)})),l}function w(e,g,h,k){var l=La(h);if("function"!=typeof l)throw Error(y(150));if(null==(h=l.call(h)))throw Error(y(151));for(var t=l=null,u=g,z=g=0,q=null,n=h.next();null!==u&&!n.done;z++,n=h.next()){u.index>z?(q=u,u=null):q=u.sibling;var w=p(e,u,n.value,k);if(null===w){null===u&&(u=q);break}a&&u&&null===w.alternate&&b(e,u),g=f(w,g,z),null===t?l=w:t.sibling=w,t=w,u=q}if(n.done)return c(e,u),l;if(null===u){for(;!n.done;z++,n=h.next())null!==(n=A(e,n.value,k))&&(g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);return l}for(u=d(e,u);!n.done;z++,n=h.next())null!==(n=C(u,e,z,n.value,k))&&(a&&null!==n.alternate&&u.delete(null===n.key?z:n.key),g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);return a&&u.forEach((function(a){return b(e,a)})),l}return function(a,d,f,h){var k="object"==typeof f&&null!==f&&f.type===ua&&null===f.key;k&&(f=f.props.children);var l="object"==typeof f&&null!==f;if(l)switch(f.$$typeof){case sa:a:{for(l=f.key,k=d;null!==k;){if(k.key===l){if(7===k.tag){if(f.type===ua){c(a,k.sibling),(d=e(k,f.props.children)).return=a,a=d;break a}}else if(k.elementType===f.type){c(a,k.sibling),(d=e(k,f.props)).ref=Qg(a,k,f),d.return=a,a=d;break a}c(a,k);break}b(a,k),k=k.sibling}f.type===ua?((d=Xg(f.props.children,a.mode,h,f.key)).return=a,a=d):((h=Vg(f.type,f.key,f.props,null,a.mode,h)).ref=Qg(a,d,f),h.return=a,a=h)}return g(a);case ta:a:{for(k=f.key;null!==d;){if(d.key===k){if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling),(d=e(d,f.children||[])).return=a,a=d;break a}c(a,d);break}b(a,d),d=d.sibling}(d=Wg(f,a.mode,h)).return=a,a=d}return g(a)}if("string"==typeof f||"number"==typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),(d=e(d,f)).return=a,a=d):(c(a,d),(d=Ug(f,a.mode,h)).return=a,a=d),g(a);if(Pg(f))return x(a,d,f,h);if(La(f))return w(a,d,f,h);if(l&&Rg(a,f),void 0===f&&!k)switch(a.tag){case 1:case 22:case 0:case 11:case 15:throw Error(y(152,Ra(a.type)||"Component"))}return c(a,d)}}var Yg=Sg(!0),Zg=Sg(!1),$g={},ah=Bf($g),bh=Bf($g),ch=Bf($g);function dh(a){if(a===$g)throw Error(y(174));return a}function eh(a,b){switch(I(ch,b),I(bh,a),I(ah,$g),a=b.nodeType){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:mb(null,"");break;default:b=mb(b=(a=8===a?b.parentNode:b).namespaceURI||null,a=a.tagName)}H(ah),I(ah,b)}function fh(){H(ah),H(bh),H(ch)}function gh(a){dh(ch.current);var b=dh(ah.current),c=mb(b,a.type);b!==c&&(I(bh,a),I(ah,c))}function hh(a){bh.current===a&&(H(ah),H(bh))}var P=Bf(0);function ih(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(null===(c=c.dehydrated)||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!=(64&b.flags))return b}else if(null!==b.child){b.child.return=b,b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return,b=b.sibling}return null}var jh=null,kh=null,lh=!1;function mh(a,b){var c=nh(5,null,null,0);c.elementType="DELETED",c.type="DELETED",c.stateNode=b,c.return=a,c.flags=8,null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function oh(a,b){switch(a.tag){case 5:var c=a.type;return null!==(b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b)&&(a.stateNode=b,!0);case 6:return null!==(b=""===a.pendingProps||3!==b.nodeType?null:b)&&(a.stateNode=b,!0);default:return!1}}function ph(a){if(lh){var b=kh;if(b){var c=b;if(!oh(a,b)){if(!(b=rf(c.nextSibling))||!oh(a,b))return a.flags=-1025&a.flags|2,lh=!1,void(jh=a);mh(jh,c)}jh=a,kh=rf(b.firstChild)}else a.flags=-1025&a.flags|2,lh=!1,jh=a}}function qh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;jh=a}function rh(a){if(a!==jh)return!1;if(!lh)return qh(a),lh=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!nf(b,a.memoizedProps))for(b=kh;b;)mh(a,b),b=rf(b.nextSibling);if(qh(a),13===a.tag){if(!(a=null!==(a=a.memoizedState)?a.dehydrated:null))throw Error(y(317));a:{for(a=a.nextSibling,b=0;a;){if(8===a.nodeType){var c=a.data;if("/$"===c){if(0===b){kh=rf(a.nextSibling);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++}a=a.nextSibling}kh=null}}else kh=jh?rf(a.stateNode.nextSibling):null;return!0}function sh(){kh=jh=null,lh=!1}var th=[];function uh(){for(var a=0;a<th.length;a++)th[a]._workInProgressVersionPrimary=null;th.length=0}var vh=ra.ReactCurrentDispatcher,wh=ra.ReactCurrentBatchConfig,xh=0,R=null,S=null,T=null,yh=!1,zh=!1;function Ah(){throw Error(y(321))}function Bh(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!He(a[c],b[c]))return!1;return!0}function Ch(a,b,c,d,e,f){if(xh=f,R=b,b.memoizedState=null,b.updateQueue=null,b.lanes=0,vh.current=null===a||null===a.memoizedState?Dh:Eh,a=c(d,e),zh){f=0;do{if(zh=!1,!(25>f))throw Error(y(301));f+=1,T=S=null,b.updateQueue=null,vh.current=Fh,a=c(d,e)}while(zh)}if(vh.current=Gh,b=null!==S&&null!==S.next,xh=0,T=S=R=null,yh=!1,b)throw Error(y(300));return a}function Hh(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===T?R.memoizedState=T=a:T=T.next=a,T}function Ih(){if(null===S){var a=R.alternate;a=null!==a?a.memoizedState:null}else a=S.next;var b=null===T?R.memoizedState:T.next;if(null!==b)T=b,S=a;else{if(null===a)throw Error(y(310));a={memoizedState:(S=a).memoizedState,baseState:S.baseState,baseQueue:S.baseQueue,queue:S.queue,next:null},null===T?R.memoizedState=T=a:T=T.next=a}return T}function Jh(a,b){return"function"==typeof b?b(a):b}function Kh(a){var b=Ih(),c=b.queue;if(null===c)throw Error(y(311));c.lastRenderedReducer=a;var d=S,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next,f.next=g}d.baseQueue=e=f,c.pending=null}if(null!==e){e=e.next,d=d.baseState;var h=g=f=null,k=e;do{var l=k.lane;if((xh&l)===l)null!==h&&(h=h.next={lane:0,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),d=k.eagerReducer===a?k.eagerState:a(d,k.action);else{var n={lane:l,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null};null===h?(g=h=n,f=d):h=h.next=n,R.lanes|=l,Dg|=l}k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g,He(d,b.memoizedState)||(ug=!0),b.memoizedState=d,b.baseState=f,b.baseQueue=h,c.lastRenderedState=d}return[b.memoizedState,c.dispatch]}function Lh(a){var b=Ih(),c=b.queue;if(null===c)throw Error(y(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do{f=a(f,g.action),g=g.next}while(g!==e);He(f,b.memoizedState)||(ug=!0),b.memoizedState=f,null===b.baseQueue&&(b.baseState=f),c.lastRenderedState=f}return[f,d]}function Mh(a,b,c){var d=b._getVersion;d=d(b._source);var e=b._workInProgressVersionPrimary;if(null!==e?a=e===d:(a=a.mutableReadLanes,(a=(xh&a)===a)&&(b._workInProgressVersionPrimary=d,th.push(b))),a)return c(b._source);throw th.push(b),Error(y(350))}function Nh(a,b,c,d){var e=U;if(null===e)throw Error(y(349));var f=b._getVersion,g=f(b._source),h=vh.current,k=h.useState((function(){return Mh(e,b,c)})),l=k[1],n=k[0];k=T;var A=a.memoizedState,p=A.refs,C=p.getSnapshot,x=A.source;A=A.subscribe;var w=R;return a.memoizedState={refs:p,source:b,subscribe:d},h.useEffect((function(){p.getSnapshot=c,p.setSnapshot=l;var a=f(b._source);if(!He(g,a)){a=c(b._source),He(n,a)||(l(a),a=Ig(w),e.mutableReadLanes|=a&e.pendingLanes),a=e.mutableReadLanes,e.entangledLanes|=a;for(var d=e.entanglements,h=a;0<h;){var k=31-Vc(h),v=1<<k;d[k]|=a,h&=~v}}}),[c,b,d]),h.useEffect((function(){return d(b._source,(function(){var a=p.getSnapshot,c=p.setSnapshot;try{c(a(b._source));var d=Ig(w);e.mutableReadLanes|=d&e.pendingLanes}catch(q){c((function(){throw q}))}}))}),[b,d]),He(C,c)&&He(x,b)&&He(A,d)||((a={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:n}).dispatch=l=Oh.bind(null,R,a),k.queue=a,k.baseQueue=null,n=Mh(e,b,c),k.memoizedState=k.baseState=n),n}function Ph(a,b,c){return Nh(Ih(),a,b,c)}function Qh(a){var b=Hh();return"function"==typeof a&&(a=a()),b.memoizedState=b.baseState=a,a=(a=b.queue={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:a}).dispatch=Oh.bind(null,R,a),[b.memoizedState,a]}function Rh(a,b,c,d){return a={tag:a,create:b,destroy:c,deps:d,next:null},null===(b=R.updateQueue)?(b={lastEffect:null},R.updateQueue=b,b.lastEffect=a.next=a):null===(c=b.lastEffect)?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a),a}function Sh(a){return a={current:a},Hh().memoizedState=a}function Th(){return Ih().memoizedState}function Uh(a,b,c,d){var e=Hh();R.flags|=a,e.memoizedState=Rh(1|b,c,void 0,void 0===d?null:d)}function Vh(a,b,c,d){var e=Ih();d=void 0===d?null:d;var f=void 0;if(null!==S){var g=S.memoizedState;if(f=g.destroy,null!==d&&Bh(d,g.deps))return void Rh(b,c,f,d)}R.flags|=a,e.memoizedState=Rh(1|b,c,f,d)}function Wh(a,b){return Uh(516,4,a,b)}function Xh(a,b){return Vh(516,4,a,b)}function Yh(a,b){return Vh(4,2,a,b)}function Zh(a,b){return"function"==typeof b?(a=a(),b(a),function(){b(null)}):null!=b?(a=a(),b.current=a,function(){b.current=null}):void 0}function $h(a,b,c){return c=null!=c?c.concat([a]):null,Vh(4,2,Zh.bind(null,b,a),c)}function ai(){}function bi(a,b){var c=Ih();b=void 0===b?null:b;var d=c.memoizedState;return null!==d&&null!==b&&Bh(b,d[1])?d[0]:(c.memoizedState=[a,b],a)}function ci(a,b){var c=Ih();b=void 0===b?null:b;var d=c.memoizedState;return null!==d&&null!==b&&Bh(b,d[1])?d[0]:(a=a(),c.memoizedState=[a,b],a)}function di(a,b){var c=eg();gg(98>c?98:c,(function(){a(!0)})),gg(97<c?97:c,(function(){var c=wh.transition;wh.transition=1;try{a(!1),b()}finally{wh.transition=c}}))}function Oh(a,b,c){var d=Hg(),e=Ig(a),f={lane:e,action:c,eagerReducer:null,eagerState:null,next:null},g=b.pending;if(null===g?f.next=f:(f.next=g.next,g.next=f),b.pending=f,g=a.alternate,a===R||null!==g&&g===R)zh=yh=!0;else{if(0===a.lanes&&(null===g||0===g.lanes)&&null!==(g=b.lastRenderedReducer))try{var h=b.lastRenderedState,k=g(h,c);if(f.eagerReducer=g,f.eagerState=k,He(k,h))return}catch(l){}Jg(a,e,d)}}var Gh={readContext:vg,useCallback:Ah,useContext:Ah,useEffect:Ah,useImperativeHandle:Ah,useLayoutEffect:Ah,useMemo:Ah,useReducer:Ah,useRef:Ah,useState:Ah,useDebugValue:Ah,useDeferredValue:Ah,useTransition:Ah,useMutableSource:Ah,useOpaqueIdentifier:Ah,unstable_isNewReconciler:!1},Dh={readContext:vg,useCallback:function(a,b){return Hh().memoizedState=[a,void 0===b?null:b],a},useContext:vg,useEffect:Wh,useImperativeHandle:function(a,b,c){return c=null!=c?c.concat([a]):null,Uh(4,2,Zh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Uh(4,2,a,b)},useMemo:function(a,b){var c=Hh();return b=void 0===b?null:b,a=a(),c.memoizedState=[a,b],a},useReducer:function(a,b,c){var d=Hh();return b=void 0!==c?c(b):b,d.memoizedState=d.baseState=b,a=(a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b}).dispatch=Oh.bind(null,R,a),[d.memoizedState,a]},useRef:Sh,useState:Qh,useDebugValue:ai,useDeferredValue:function(a){var b=Qh(a),c=b[0],d=b[1];return Wh((function(){var b=wh.transition;wh.transition=1;try{d(a)}finally{wh.transition=b}}),[a]),c},useTransition:function(){var a=Qh(!1),b=a[0];return Sh(a=di.bind(null,a[1])),[a,b]},useMutableSource:function(a,b,c){var d=Hh();return d.memoizedState={refs:{getSnapshot:b,setSnapshot:null},source:a,subscribe:c},Nh(d,a,b,c)},useOpaqueIdentifier:function(){if(lh){var a=!1,b=function uf(a){return{$$typeof:Ga,toString:a,valueOf:a}}((function(){throw a||(a=!0,c("r:"+(tf++).toString(36))),Error(y(355))})),c=Qh(b)[1];return 0==(2&R.mode)&&(R.flags|=516,Rh(5,(function(){c("r:"+(tf++).toString(36))}),void 0,null)),b}return Qh(b="r:"+(tf++).toString(36)),b},unstable_isNewReconciler:!1},Eh={readContext:vg,useCallback:bi,useContext:vg,useEffect:Xh,useImperativeHandle:$h,useLayoutEffect:Yh,useMemo:ci,useReducer:Kh,useRef:Th,useState:function(){return Kh(Jh)},useDebugValue:ai,useDeferredValue:function(a){var b=Kh(Jh),c=b[0],d=b[1];return Xh((function(){var b=wh.transition;wh.transition=1;try{d(a)}finally{wh.transition=b}}),[a]),c},useTransition:function(){var a=Kh(Jh)[0];return[Th().current,a]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Kh(Jh)[0]},unstable_isNewReconciler:!1},Fh={readContext:vg,useCallback:bi,useContext:vg,useEffect:Xh,useImperativeHandle:$h,useLayoutEffect:Yh,useMemo:ci,useReducer:Lh,useRef:Th,useState:function(){return Lh(Jh)},useDebugValue:ai,useDeferredValue:function(a){var b=Lh(Jh),c=b[0],d=b[1];return Xh((function(){var b=wh.transition;wh.transition=1;try{d(a)}finally{wh.transition=b}}),[a]),c},useTransition:function(){var a=Lh(Jh)[0];return[Th().current,a]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Lh(Jh)[0]},unstable_isNewReconciler:!1},ei=ra.ReactCurrentOwner,ug=!1;function fi(a,b,c,d){b.child=null===a?Zg(b,null,c,d):Yg(b,a.child,c,d)}function gi(a,b,c,d,e){c=c.render;var f=b.ref;return tg(b,e),d=Ch(a,b,c,d,f,e),null===a||ug?(b.flags|=1,fi(a,b,d,e),b.child):(b.updateQueue=a.updateQueue,b.flags&=-517,a.lanes&=~e,hi(a,b,e))}function ii(a,b,c,d,e,f){if(null===a){var g=c.type;return"function"!=typeof g||ji(g)||void 0!==g.defaultProps||null!==c.compare||void 0!==c.defaultProps?((a=Vg(c.type,null,d,b,b.mode,f)).ref=b.ref,a.return=b,b.child=a):(b.tag=15,b.type=g,ki(a,b,g,d,e,f))}return g=a.child,0==(e&f)&&(e=g.memoizedProps,(c=null!==(c=c.compare)?c:Je)(e,d)&&a.ref===b.ref)?hi(a,b,f):(b.flags|=1,(a=Tg(g,d)).ref=b.ref,a.return=b,b.child=a)}function ki(a,b,c,d,e,f){if(null!==a&&Je(a.memoizedProps,d)&&a.ref===b.ref){if(ug=!1,0==(f&e))return b.lanes=a.lanes,hi(a,b,f);0!=(16384&a.flags)&&(ug=!0)}return li(a,b,c,d,f)}function mi(a,b,c){var d=b.pendingProps,e=d.children,f=null!==a?a.memoizedState:null;if("hidden"===d.mode||"unstable-defer-without-hiding"===d.mode)if(0==(4&b.mode))b.memoizedState={baseLanes:0},ni(b,c);else{if(0==(1073741824&c))return a=null!==f?f.baseLanes|c:c,b.lanes=b.childLanes=1073741824,b.memoizedState={baseLanes:a},ni(b,a),null;b.memoizedState={baseLanes:0},ni(b,null!==f?f.baseLanes:c)}else null!==f?(d=f.baseLanes|c,b.memoizedState=null):d=c,ni(b,d);return fi(a,b,e,c),b.child}function oi(a,b){var c=b.ref;(null===a&&null!==c||null!==a&&a.ref!==c)&&(b.flags|=128)}function li(a,b,c,d,e){var f=Ff(c)?Df:M.current;return f=Ef(b,f),tg(b,e),c=Ch(a,b,c,d,f,e),null===a||ug?(b.flags|=1,fi(a,b,c,e),b.child):(b.updateQueue=a.updateQueue,b.flags&=-517,a.lanes&=~e,hi(a,b,e))}function pi(a,b,c,d,e){if(Ff(c)){var f=!0;Jf(b)}else f=!1;if(tg(b,e),null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2),Mg(b,c,d),Og(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"==typeof l&&null!==l?l=vg(l):l=Ef(b,l=Ff(c)?Df:M.current);var n=c.getDerivedStateFromProps,A="function"==typeof n||"function"==typeof g.getSnapshotBeforeUpdate;A||"function"!=typeof g.UNSAFE_componentWillReceiveProps&&"function"!=typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Ng(b,g,d,l),wg=!1;var p=b.memoizedState;g.state=p,Cg(b,d,g,e),k=b.memoizedState,h!==d||p!==k||N.current||wg?("function"==typeof n&&(Gg(b,c,n,d),k=b.memoizedState),(h=wg||Lg(b,c,h,d,p,k,l))?(A||"function"!=typeof g.UNSAFE_componentWillMount&&"function"!=typeof g.componentWillMount||("function"==typeof g.componentWillMount&&g.componentWillMount(),"function"==typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"==typeof g.componentDidMount&&(b.flags|=4)):("function"==typeof g.componentDidMount&&(b.flags|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"==typeof g.componentDidMount&&(b.flags|=4),d=!1)}else{g=b.stateNode,yg(a,b),h=b.memoizedProps,l=b.type===b.elementType?h:lg(b.type,h),g.props=l,A=b.pendingProps,p=g.context,"object"==typeof(k=c.contextType)&&null!==k?k=vg(k):k=Ef(b,k=Ff(c)?Df:M.current);var C=c.getDerivedStateFromProps;(n="function"==typeof C||"function"==typeof g.getSnapshotBeforeUpdate)||"function"!=typeof g.UNSAFE_componentWillReceiveProps&&"function"!=typeof g.componentWillReceiveProps||(h!==A||p!==k)&&Ng(b,g,d,k),wg=!1,p=b.memoizedState,g.state=p,Cg(b,d,g,e);var x=b.memoizedState;h!==A||p!==x||N.current||wg?("function"==typeof C&&(Gg(b,c,C,d),x=b.memoizedState),(l=wg||Lg(b,c,l,d,p,x,k))?(n||"function"!=typeof g.UNSAFE_componentWillUpdate&&"function"!=typeof g.componentWillUpdate||("function"==typeof g.componentWillUpdate&&g.componentWillUpdate(d,x,k),"function"==typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,x,k)),"function"==typeof g.componentDidUpdate&&(b.flags|=4),"function"==typeof g.getSnapshotBeforeUpdate&&(b.flags|=256)):("function"!=typeof g.componentDidUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=4),"function"!=typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=256),b.memoizedProps=d,b.memoizedState=x),g.props=d,g.state=x,g.context=k,d=l):("function"!=typeof g.componentDidUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=4),"function"!=typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=256),d=!1)}return qi(a,b,c,d,f,e)}function qi(a,b,c,d,e,f){oi(a,b);var g=0!=(64&b.flags);if(!d&&!g)return e&&Kf(b,c,!1),hi(a,b,f);d=b.stateNode,ei.current=b;var h=g&&"function"!=typeof c.getDerivedStateFromError?null:d.render();return b.flags|=1,null!==a&&g?(b.child=Yg(b,a.child,null,f),b.child=Yg(b,null,h,f)):fi(a,b,h,f),b.memoizedState=d.state,e&&Kf(b,c,!0),b.child}function ri(a){var b=a.stateNode;b.pendingContext?Hf(0,b.pendingContext,b.pendingContext!==b.context):b.context&&Hf(0,b.context,!1),eh(a,b.containerInfo)}var Bi,Di,Ei,si={dehydrated:null,retryLane:0};function ti(a,b,c){var g,d=b.pendingProps,e=P.current,f=!1;return(g=0!=(64&b.flags))||(g=(null===a||null!==a.memoizedState)&&0!=(2&e)),g?(f=!0,b.flags&=-65):null!==a&&null===a.memoizedState||void 0===d.fallback||!0===d.unstable_avoidThisFallback||(e|=1),I(P,1&e),null===a?(void 0!==d.fallback&&ph(b),a=d.children,e=d.fallback,f?(a=ui(b,a,e,c),b.child.memoizedState={baseLanes:c},b.memoizedState=si,a):"number"==typeof d.unstable_expectedLoadTime?(a=ui(b,a,e,c),b.child.memoizedState={baseLanes:c},b.memoizedState=si,b.lanes=33554432,a):((c=vi({mode:"visible",children:a},b.mode,c,null)).return=b,b.child=c)):(a.memoizedState,f?(d=wi(a,b,d.children,d.fallback,c),f=b.child,e=a.child.memoizedState,f.memoizedState=null===e?{baseLanes:c}:{baseLanes:e.baseLanes|c},f.childLanes=a.childLanes&~c,b.memoizedState=si,d):(c=xi(a,b,d.children,c),b.memoizedState=null,c))}function ui(a,b,c,d){var e=a.mode,f=a.child;return b={mode:"hidden",children:b},0==(2&e)&&null!==f?(f.childLanes=0,f.pendingProps=b):f=vi(b,e,0,null),c=Xg(c,e,d,null),f.return=a,c.return=a,f.sibling=c,a.child=f,c}function xi(a,b,c,d){var e=a.child;return a=e.sibling,c=Tg(e,{mode:"visible",children:c}),0==(2&b.mode)&&(c.lanes=d),c.return=b,c.sibling=null,null!==a&&(a.nextEffect=null,a.flags=8,b.firstEffect=b.lastEffect=a),b.child=c}function wi(a,b,c,d,e){var f=b.mode,g=a.child;a=g.sibling;var h={mode:"hidden",children:c};return 0==(2&f)&&b.child!==g?((c=b.child).childLanes=0,c.pendingProps=h,null!==(g=c.lastEffect)?(b.firstEffect=c.firstEffect,b.lastEffect=g,g.nextEffect=null):b.firstEffect=b.lastEffect=null):c=Tg(g,h),null!==a?d=Tg(a,d):(d=Xg(d,f,e,null)).flags|=2,d.return=b,c.return=b,c.sibling=d,b.child=c,d}function yi(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b),sg(a.return,b)}function zi(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e,lastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailMode=e,g.lastEffect=f)}function Ai(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;if(fi(a,b,d.children,c),0!=(2&(d=P.current)))d=1&d|2,b.flags|=64;else{if(null!==a&&0!=(64&a.flags))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&yi(a,c);else if(19===a.tag)yi(a,c);else if(null!==a.child){a.child.return=a,a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return,a=a.sibling}d&=1}if(I(P,d),0==(2&b.mode))b.memoizedState=null;else switch(e){case"forwards":for(c=b.child,e=null;null!==c;)null!==(a=c.alternate)&&null===ih(a)&&(e=c),c=c.sibling;null===(c=e)?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null),zi(b,!1,e,c,f,b.lastEffect);break;case"backwards":for(c=null,e=b.child,b.child=null;null!==e;){if(null!==(a=e.alternate)&&null===ih(a)){b.child=e;break}a=e.sibling,e.sibling=c,c=e,e=a}zi(b,!0,c,null,f,b.lastEffect);break;case"together":zi(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}function hi(a,b,c){if(null!==a&&(b.dependencies=a.dependencies),Dg|=b.lanes,0!=(c&b.childLanes)){if(null!==a&&b.child!==a.child)throw Error(y(153));if(null!==b.child){for(c=Tg(a=b.child,a.pendingProps),b.child=c,c.return=b;null!==a.sibling;)a=a.sibling,(c=c.sibling=Tg(a,a.pendingProps)).return=b;c.sibling=null}return b.child}return null}function Fi(a,b){if(!lh)switch(a.tailMode){case"hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case"collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}function Gi(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return Ff(b.type)&&Gf(),null;case 3:return fh(),H(N),H(M),uh(),(d=b.stateNode).pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),null!==a&&null!==a.child||(rh(b)?b.flags|=4:d.hydrate||(b.flags|=256)),null;case 5:hh(b);var e=dh(ch.current);if(c=b.type,null!==a&&null!=b.stateNode)Di(a,b,c,d),a.ref!==b.ref&&(b.flags|=128);else{if(!d){if(null===b.stateNode)throw Error(y(166));return null}if(a=dh(ah.current),rh(b)){d=b.stateNode,c=b.type;var f=b.memoizedProps;switch(d[wf]=b,d[xf]=f,c){case"dialog":G("cancel",d),G("close",d);break;case"iframe":case"object":case"embed":G("load",d);break;case"video":case"audio":for(a=0;a<Xe.length;a++)G(Xe[a],d);break;case"source":G("error",d);break;case"img":case"image":case"link":G("error",d),G("load",d);break;case"details":G("toggle",d);break;case"input":Za(d,f),G("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!f.multiple},G("invalid",d);break;case"textarea":hb(d,f),G("invalid",d)}for(var g in vb(c,f),a=null,f)f.hasOwnProperty(g)&&(e=f[g],"children"===g?"string"==typeof e?d.textContent!==e&&(a=["children",e]):"number"==typeof e&&d.textContent!==""+e&&(a=["children",""+e]):ca.hasOwnProperty(g)&&null!=e&&"onScroll"===g&&G("scroll",d));switch(c){case"input":Va(d),cb(d,f,!0);break;case"textarea":Va(d),jb(d);break;case"select":case"option":break;default:"function"==typeof f.onClick&&(d.onclick=jf)}d=a,b.updateQueue=d,null!==d&&(b.flags|=4)}else{switch(g=9===e.nodeType?e:e.ownerDocument,a===kb_html&&(a=lb(c)),a===kb_html?"script"===c?((a=g.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):"string"==typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),"select"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c),a[wf]=b,a[xf]=d,Bi(a,b),b.stateNode=a,g=wb(c,d),c){case"dialog":G("cancel",a),G("close",a),e=d;break;case"iframe":case"object":case"embed":G("load",a),e=d;break;case"video":case"audio":for(e=0;e<Xe.length;e++)G(Xe[e],a);e=d;break;case"source":G("error",a),e=d;break;case"img":case"image":case"link":G("error",a),G("load",a),e=d;break;case"details":G("toggle",a),e=d;break;case"input":Za(a,d),e=Ya(a,d),G("invalid",a);break;case"option":e=eb(a,d);break;case"select":a._wrapperState={wasMultiple:!!d.multiple},e=m({},d,{value:void 0}),G("invalid",a);break;case"textarea":hb(a,d),e=gb(a,d),G("invalid",a);break;default:e=d}vb(c,e);var h=e;for(f in h)if(h.hasOwnProperty(f)){var k=h[f];"style"===f?tb(a,k):"dangerouslySetInnerHTML"===f?null!=(k=k?k.__html:void 0)&&ob(a,k):"children"===f?"string"==typeof k?("textarea"!==c||""!==k)&&pb(a,k):"number"==typeof k&&pb(a,""+k):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(ca.hasOwnProperty(f)?null!=k&&"onScroll"===f&&G("scroll",a):null!=k&&qa(a,f,k,g))}switch(c){case"input":Va(a),cb(a,d,!1);break;case"textarea":Va(a),jb(a);break;case"option":null!=d.value&&a.setAttribute("value",""+Sa(d.value));break;case"select":a.multiple=!!d.multiple,null!=(f=d.value)?fb(a,!!d.multiple,f,!1):null!=d.defaultValue&&fb(a,!!d.multiple,d.defaultValue,!0);break;default:"function"==typeof e.onClick&&(a.onclick=jf)}mf(c,d)&&(b.flags|=4)}null!==b.ref&&(b.flags|=128)}return null;case 6:if(a&&null!=b.stateNode)Ei(0,b,a.memoizedProps,d);else{if("string"!=typeof d&&null===b.stateNode)throw Error(y(166));c=dh(ch.current),dh(ah.current),rh(b)?(d=b.stateNode,c=b.memoizedProps,d[wf]=b,d.nodeValue!==c&&(b.flags|=4)):((d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d))[wf]=b,b.stateNode=d)}return null;case 13:return H(P),d=b.memoizedState,0!=(64&b.flags)?(b.lanes=c,b):(d=null!==d,c=!1,null===a?void 0!==b.memoizedProps.fallback&&rh(b):c=null!==a.memoizedState,d&&!c&&0!=(2&b.mode)&&(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!=(1&P.current)?0===V&&(V=3):(0!==V&&3!==V||(V=4),null===U||0==(134217727&Dg)&&0==(134217727&Hi)||Ii(U,W))),(d||c)&&(b.flags|=4),null);case 4:return fh(),null===a&&cf(b.stateNode.containerInfo),null;case 10:return rg(b),null;case 19:if(H(P),null===(d=b.memoizedState))return null;if(f=0!=(64&b.flags),null===(g=d.rendering))if(f)Fi(d,!1);else{if(0!==V||null!==a&&0!=(64&a.flags))for(a=b.child;null!==a;){if(null!==(g=ih(a))){for(b.flags|=64,Fi(d,!1),null!==(f=g.updateQueue)&&(b.updateQueue=f,b.flags|=4),null===d.lastEffect&&(b.firstEffect=null),b.lastEffect=d.lastEffect,d=c,c=b.child;null!==c;)a=d,(f=c).flags&=2,f.nextEffect=null,f.firstEffect=null,f.lastEffect=null,null===(g=f.alternate)?(f.childLanes=0,f.lanes=a,f.child=null,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=g.lanes,f.child=g.child,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,a=g.dependencies,f.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext}),c=c.sibling;return I(P,1&P.current|2),b.child}a=a.sibling}null!==d.tail&&O()>Ji&&(b.flags|=64,f=!0,Fi(d,!1),b.lanes=33554432)}else{if(!f)if(null!==(a=ih(g))){if(b.flags|=64,f=!0,null!==(c=a.updateQueue)&&(b.updateQueue=c,b.flags|=4),Fi(d,!0),null===d.tail&&"hidden"===d.tailMode&&!g.alternate&&!lh)return null!==(b=b.lastEffect=d.lastEffect)&&(b.nextEffect=null),null}else 2*O()-d.renderingStartTime>Ji&&1073741824!==c&&(b.flags|=64,f=!0,Fi(d,!1),b.lanes=33554432);d.isBackwards?(g.sibling=b.child,b.child=g):(null!==(c=d.last)?c.sibling=g:b.child=g,d.last=g)}return null!==d.tail?(c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=O(),c.sibling=null,b=P.current,I(P,f?1&b|2:1&b),c):null;case 23:case 24:return Ki(),null!==a&&null!==a.memoizedState!=(null!==b.memoizedState)&&"unstable-defer-without-hiding"!==d.mode&&(b.flags|=4),null}throw Error(y(156,b.tag))}function Li(a){switch(a.tag){case 1:Ff(a.type)&&Gf();var b=a.flags;return 4096&b?(a.flags=-4097&b|64,a):null;case 3:if(fh(),H(N),H(M),uh(),0!=(64&(b=a.flags)))throw Error(y(285));return a.flags=-4097&b|64,a;case 5:return hh(a),null;case 13:return H(P),4096&(b=a.flags)?(a.flags=-4097&b|64,a):null;case 19:return H(P),null;case 4:return fh(),null;case 10:return rg(a),null;case 23:case 24:return Ki(),null;default:return null}}function Mi(a,b){try{var c="",d=b;do{c+=Qa(d),d=d.return}while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e}}function Ni(a,b){try{console.error(b.value)}catch(c){setTimeout((function(){throw c}))}}Bi=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c,c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},Di=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode,dh(ah.current);var g,f=null;switch(c){case"input":e=Ya(a,e),d=Ya(a,d),f=[];break;case"option":e=eb(a,e),d=eb(a,d),f=[];break;case"select":e=m({},e,{value:void 0}),d=m({},d,{value:void 0}),f=[];break;case"textarea":e=gb(a,e),d=gb(a,d),f=[];break;default:"function"!=typeof e.onClick&&"function"==typeof d.onClick&&(a.onclick=jf)}for(l in vb(c,d),c=null,e)if(!d.hasOwnProperty(l)&&e.hasOwnProperty(l)&&null!=e[l])if("style"===l){var h=e[l];for(g in h)h.hasOwnProperty(g)&&(c||(c={}),c[g]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(ca.hasOwnProperty(l)?f||(f=[]):(f=f||[]).push(l,null));for(l in d){var k=d[l];if(h=null!=e?e[l]:void 0,d.hasOwnProperty(l)&&k!==h&&(null!=k||null!=h))if("style"===l)if(h){for(g in h)!h.hasOwnProperty(g)||k&&k.hasOwnProperty(g)||(c||(c={}),c[g]="");for(g in k)k.hasOwnProperty(g)&&h[g]!==k[g]&&(c||(c={}),c[g]=k[g])}else c||(f||(f=[]),f.push(l,c)),c=k;else"dangerouslySetInnerHTML"===l?(k=k?k.__html:void 0,h=h?h.__html:void 0,null!=k&&h!==k&&(f=f||[]).push(l,k)):"children"===l?"string"!=typeof k&&"number"!=typeof k||(f=f||[]).push(l,""+k):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(ca.hasOwnProperty(l)?(null!=k&&"onScroll"===l&&G("scroll",a),f||h===k||(f=[])):"object"==typeof k&&null!==k&&k.$$typeof===Ga?k.toString():(f=f||[]).push(l,k))}c&&(f=f||[]).push("style",c);var l=f;(b.updateQueue=l)&&(b.flags|=4)}},Ei=function(a,b,c,d){c!==d&&(b.flags|=4)};var Oi="function"==typeof WeakMap?WeakMap:Map;function Pi(a,b,c){(c=zg(-1,c)).tag=3,c.payload={element:null};var d=b.value;return c.callback=function(){Qi||(Qi=!0,Ri=d),Ni(0,b)},c}function Si(a,b,c){(c=zg(-1,c)).tag=3;var d=a.type.getDerivedStateFromError;if("function"==typeof d){var e=b.value;c.payload=function(){return Ni(0,b),d(e)}}var f=a.stateNode;return null!==f&&"function"==typeof f.componentDidCatch&&(c.callback=function(){"function"!=typeof d&&(null===Ti?Ti=new Set([this]):Ti.add(this),Ni(0,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""})}),c}var Ui="function"==typeof WeakSet?WeakSet:Set;function Vi(a){var b=a.ref;if(null!==b)if("function"==typeof b)try{b(null)}catch(c){Wi(a,c)}else b.current=null}function Xi(a,b){switch(b.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&b.flags&&null!==a){var c=a.memoizedProps,d=a.memoizedState;b=(a=b.stateNode).getSnapshotBeforeUpdate(b.elementType===b.type?c:lg(b.type,c),d),a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:return void(256&b.flags&&qf(b.stateNode.containerInfo))}throw Error(y(163))}function Yi(a,b,c){switch(c.tag){case 0:case 11:case 15:case 22:if(null!==(b=null!==(b=c.updateQueue)?b.lastEffect:null)){a=b=b.next;do{if(3==(3&a.tag)){var d=a.create;a.destroy=d()}a=a.next}while(a!==b)}if(null!==(b=null!==(b=c.updateQueue)?b.lastEffect:null)){a=b=b.next;do{var e=a;d=e.next,0!=(4&(e=e.tag))&&0!=(1&e)&&(Zi(c,a),$i(c,a)),a=d}while(a!==b)}return;case 1:return a=c.stateNode,4&c.flags&&(null===b?a.componentDidMount():(d=c.elementType===c.type?b.memoizedProps:lg(c.type,b.memoizedProps),a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate))),void(null!==(b=c.updateQueue)&&Eg(c,b,a));case 3:if(null!==(b=c.updateQueue)){if(a=null,null!==c.child)switch(c.child.tag){case 5:case 1:a=c.child.stateNode}Eg(c,b,a)}return;case 5:return a=c.stateNode,void(null===b&&4&c.flags&&mf(c.type,c.memoizedProps)&&a.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&Cc(c)))))}throw Error(y(163))}function aj(a,b){for(var c=a;;){if(5===c.tag){var d=c.stateNode;if(b)"function"==typeof(d=d.style).setProperty?d.setProperty("display","none","important"):d.display="none";else{d=c.stateNode;var e=c.memoizedProps.style;e=null!=e&&e.hasOwnProperty("display")?e.display:null,d.style.display=sb("display",e)}}else if(6===c.tag)c.stateNode.nodeValue=b?"":c.memoizedProps;else if((23!==c.tag&&24!==c.tag||null===c.memoizedState||c===a)&&null!==c.child){c.child.return=c,c=c.child;continue}if(c===a)break;for(;null===c.sibling;){if(null===c.return||c.return===a)return;c=c.return}c.sibling.return=c.return,c=c.sibling}}function bj(a,b){if(Mf&&"function"==typeof Mf.onCommitFiberUnmount)try{Mf.onCommitFiberUnmount(Lf,b)}catch(f){}switch(b.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(a=b.updateQueue)&&null!==(a=a.lastEffect)){var c=a=a.next;do{var d=c,e=d.destroy;if(d=d.tag,void 0!==e)if(0!=(4&d))Zi(b,c);else{d=b;try{e()}catch(f){Wi(d,f)}}c=c.next}while(c!==a)}break;case 1:if(Vi(b),"function"==typeof(a=b.stateNode).componentWillUnmount)try{a.props=b.memoizedProps,a.state=b.memoizedState,a.componentWillUnmount()}catch(f){Wi(b,f)}break;case 5:Vi(b);break;case 4:cj(a,b)}}function dj(a){a.alternate=null,a.child=null,a.dependencies=null,a.firstEffect=null,a.lastEffect=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.return=null,a.updateQueue=null}function ej(a){return 5===a.tag||3===a.tag||4===a.tag}function fj(a){a:{for(var b=a.return;null!==b;){if(ej(b))break a;b=b.return}throw Error(y(160))}var c=b;switch(b=c.stateNode,c.tag){case 5:var d=!1;break;case 3:case 4:b=b.containerInfo,d=!0;break;default:throw Error(y(161))}16&c.flags&&(pb(b,""),c.flags&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||ej(c.return)){c=null;break a}c=c.return}for(c.sibling.return=c.return,c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(2&c.flags)continue b;if(null===c.child||4===c.tag)continue b;c.child.return=c,c=c.child}if(!(2&c.flags)){c=c.stateNode;break a}}d?gj(a,c,b):hj(a,c,b)}function gj(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode).insertBefore(a,c):(b=c).appendChild(a),null!=(c=c._reactRootContainer)||null!==b.onclick||(b.onclick=jf));else if(4!==d&&null!==(a=a.child))for(gj(a,b,c),a=a.sibling;null!==a;)gj(a,b,c),a=a.sibling}function hj(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&null!==(a=a.child))for(hj(a,b,c),a=a.sibling;null!==a;)hj(a,b,c),a=a.sibling}function cj(a,b){for(var e,f,c=b,d=!1;;){if(!d){d=c.return;a:for(;;){if(null===d)throw Error(y(160));switch(e=d.stateNode,d.tag){case 5:f=!1;break a;case 3:case 4:e=e.containerInfo,f=!0;break a}d=d.return}d=!0}if(5===c.tag||6===c.tag){a:for(var g=a,h=c,k=h;;)if(bj(g,k),null!==k.child&&4!==k.tag)k.child.return=k,k=k.child;else{if(k===h)break a;for(;null===k.sibling;){if(null===k.return||k.return===h)break a;k=k.return}k.sibling.return=k.return,k=k.sibling}f?(g=e,h=c.stateNode,8===g.nodeType?g.parentNode.removeChild(h):g.removeChild(h)):e.removeChild(c.stateNode)}else if(4===c.tag){if(null!==c.child){e=c.stateNode.containerInfo,f=!0,c.child.return=c,c=c.child;continue}}else if(bj(a,c),null!==c.child){c.child.return=c,c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;4===(c=c.return).tag&&(d=!1)}c.sibling.return=c.return,c=c.sibling}}function ij(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:var c=b.updateQueue;if(null!==(c=null!==c?c.lastEffect:null)){var d=c=c.next;do{3==(3&d.tag)&&(a=d.destroy,d.destroy=void 0,void 0!==a&&a()),d=d.next}while(d!==c)}return;case 1:case 12:case 17:return;case 5:if(null!=(c=b.stateNode)){d=b.memoizedProps;var e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;if(b.updateQueue=null,null!==f){for(c[xf]=d,"input"===a&&"radio"===d.type&&null!=d.name&&$a(c,d),wb(a,e),b=wb(a,d),e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?tb(c,h):"dangerouslySetInnerHTML"===g?ob(c,h):"children"===g?pb(c,h):qa(c,g,h,b)}switch(a){case"input":ab(c,d);break;case"textarea":ib(c,d);break;case"select":a=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,null!=(f=d.value)?fb(c,!!d.multiple,f,!1):a!==!!d.multiple&&(null!=d.defaultValue?fb(c,!!d.multiple,d.defaultValue,!0):fb(c,!!d.multiple,d.multiple?[]:"",!1))}}}return;case 6:if(null===b.stateNode)throw Error(y(162));return void(b.stateNode.nodeValue=b.memoizedProps);case 3:return void((c=b.stateNode).hydrate&&(c.hydrate=!1,Cc(c.containerInfo)));case 13:return null!==b.memoizedState&&(jj=O(),aj(b.child,!0)),void kj(b);case 19:return void kj(b);case 23:case 24:return void aj(b,null!==b.memoizedState)}throw Error(y(163))}function kj(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Ui),b.forEach((function(b){var d=lj.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))}))}}function mj(a,b){return null!==a&&(null===(a=a.memoizedState)||null!==a.dehydrated)&&(null!==(b=b.memoizedState)&&null===b.dehydrated)}var nj=Math.ceil,oj=ra.ReactCurrentDispatcher,pj=ra.ReactCurrentOwner,X=0,U=null,Y=null,W=0,qj=0,rj=Bf(0),V=0,sj=null,tj=0,Dg=0,Hi=0,uj=0,vj=null,jj=0,Ji=1/0;function wj(){Ji=O()+500}var ck,Z=null,Qi=!1,Ri=null,Ti=null,xj=!1,yj=null,zj=90,Aj=[],Bj=[],Cj=null,Dj=0,Ej=null,Fj=-1,Gj=0,Hj=0,Ij=null,Jj=!1;function Hg(){return 0!=(48&X)?O():-1!==Fj?Fj:Fj=O()}function Ig(a){if(0==(2&(a=a.mode)))return 1;if(0==(4&a))return 99===eg()?1:2;if(0===Gj&&(Gj=tj),0!==kg.transition){0!==Hj&&(Hj=null!==vj?vj.pendingLanes:0),a=Gj;var b=4186112&~Hj;return 0===(b&=-b)&&(0===(b=(a=4186112&~a)&-a)&&(b=8192)),b}return a=eg(),0!=(4&X)&&98===a?a=Xc(12,Gj):a=Xc(a=function Sc(a){switch(a){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(a),Gj),a}function Jg(a,b,c){if(50<Dj)throw Dj=0,Ej=null,Error(y(185));if(null===(a=Kj(a,b)))return null;$c(a,b,c),a===U&&(Hi|=b,4===V&&Ii(a,W));var d=eg();1===b?0!=(8&X)&&0==(48&X)?Lj(a):(Mj(a,c),0===X&&(wj(),ig())):(0==(4&X)||98!==d&&99!==d||(null===Cj?Cj=new Set([a]):Cj.add(a)),Mj(a,c)),vj=a}function Kj(a,b){a.lanes|=b;var c=a.alternate;for(null!==c&&(c.lanes|=b),c=a,a=a.return;null!==a;)a.childLanes|=b,null!==(c=a.alternate)&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}function Mj(a,b){for(var c=a.callbackNode,d=a.suspendedLanes,e=a.pingedLanes,f=a.expirationTimes,g=a.pendingLanes;0<g;){var h=31-Vc(g),k=1<<h,l=f[h];if(-1===l){if(0==(k&d)||0!=(k&e)){l=b,Rc(k);var n=F;f[h]=10<=n?l+250:6<=n?l+5e3:-1}}else l<=b&&(a.expiredLanes|=k);g&=~k}if(d=Uc(a,a===U?W:0),b=F,0===d)null!==c&&(c!==Zf&&Pf(c),a.callbackNode=null,a.callbackPriority=0);else{if(null!==c){if(a.callbackPriority===b)return;c!==Zf&&Pf(c)}15===b?(c=Lj.bind(null,a),null===ag?(ag=[c],bg=Of(Uf,jg)):ag.push(c),c=Zf):14===b?c=hg(99,Lj.bind(null,a)):(c=function Tc(a){switch(a){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(y(358,a))}}(b),c=hg(c,Nj.bind(null,a))),a.callbackPriority=b,a.callbackNode=c}}function Nj(a){if(Fj=-1,Hj=Gj=0,0!=(48&X))throw Error(y(327));var b=a.callbackNode;if(Oj()&&a.callbackNode!==b)return null;var c=Uc(a,a===U?W:0);if(0===c)return null;var d=c,e=X;X|=16;var f=Pj();for(U===a&&W===d||(wj(),Qj(a,d));;)try{Rj();break}catch(h){Sj(a,h)}if(qg(),oj.current=f,X=e,null!==Y?d=0:(U=null,W=0,d=V),0!=(tj&Hi))Qj(a,0);else if(0!==d){if(2===d&&(X|=64,a.hydrate&&(a.hydrate=!1,qf(a.containerInfo)),0!==(c=Wc(a))&&(d=Tj(a,c))),1===d)throw b=sj,Qj(a,0),Ii(a,c),Mj(a,O()),b;switch(a.finishedWork=a.current.alternate,a.finishedLanes=c,d){case 0:case 1:throw Error(y(345));case 2:case 5:Uj(a);break;case 3:if(Ii(a,c),(62914560&c)===c&&10<(d=jj+500-O())){if(0!==Uc(a,0))break;if(((e=a.suspendedLanes)&c)!==c){Hg(),a.pingedLanes|=a.suspendedLanes&e;break}a.timeoutHandle=of(Uj.bind(null,a),d);break}Uj(a);break;case 4:if(Ii(a,c),(4186112&c)===c)break;for(d=a.eventTimes,e=-1;0<c;){var g=31-Vc(c);f=1<<g,(g=d[g])>e&&(e=g),c&=~f}if(c=e,10<(c=(120>(c=O()-c)?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*nj(c/1960))-c)){a.timeoutHandle=of(Uj.bind(null,a),c);break}Uj(a);break;default:throw Error(y(329))}}return Mj(a,O()),a.callbackNode===b?Nj.bind(null,a):null}function Ii(a,b){for(b&=~uj,b&=~Hi,a.suspendedLanes|=b,a.pingedLanes&=~b,a=a.expirationTimes;0<b;){var c=31-Vc(b),d=1<<c;a[c]=-1,b&=~d}}function Lj(a){if(0!=(48&X))throw Error(y(327));if(Oj(),a===U&&0!=(a.expiredLanes&W)){var b=W,c=Tj(a,b);0!=(tj&Hi)&&(c=Tj(a,b=Uc(a,b)))}else c=Tj(a,b=Uc(a,0));if(0!==a.tag&&2===c&&(X|=64,a.hydrate&&(a.hydrate=!1,qf(a.containerInfo)),0!==(b=Wc(a))&&(c=Tj(a,b))),1===c)throw c=sj,Qj(a,0),Ii(a,b),Mj(a,O()),c;return a.finishedWork=a.current.alternate,a.finishedLanes=b,Uj(a),Mj(a,O()),null}function Wj(a,b){var c=X;X|=1;try{return a(b)}finally{0===(X=c)&&(wj(),ig())}}function Xj(a,b){var c=X;X&=-2,X|=8;try{return a(b)}finally{0===(X=c)&&(wj(),ig())}}function ni(a,b){I(rj,qj),qj|=b,tj|=b}function Ki(){qj=rj.current,H(rj)}function Qj(a,b){a.finishedWork=null,a.finishedLanes=0;var c=a.timeoutHandle;if(-1!==c&&(a.timeoutHandle=-1,pf(c)),null!==Y)for(c=Y.return;null!==c;){var d=c;switch(d.tag){case 1:null!=(d=d.type.childContextTypes)&&Gf();break;case 3:fh(),H(N),H(M),uh();break;case 5:hh(d);break;case 4:fh();break;case 13:case 19:H(P);break;case 10:rg(d);break;case 23:case 24:Ki()}c=c.return}U=a,Y=Tg(a.current,null),W=qj=tj=b,V=0,sj=null,uj=Hi=Dg=0}function Sj(a,b){for(;;){var c=Y;try{if(qg(),vh.current=Gh,yh){for(var d=R.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null),d=d.next}yh=!1}if(xh=0,T=S=R=null,zh=!1,pj.current=null,null===c||null===c.return){V=1,sj=b,Y=null;break}a:{var f=a,g=c.return,h=c,k=b;if(b=W,h.flags|=2048,h.firstEffect=h.lastEffect=null,null!==k&&"object"==typeof k&&"function"==typeof k.then){var l=k;if(0==(2&h.mode)){var n=h.alternate;n?(h.updateQueue=n.updateQueue,h.memoizedState=n.memoizedState,h.lanes=n.lanes):(h.updateQueue=null,h.memoizedState=null)}var A=0!=(1&P.current),p=g;do{var C;if(C=13===p.tag){var x=p.memoizedState;if(null!==x)C=null!==x.dehydrated;else{var w=p.memoizedProps;C=void 0!==w.fallback&&(!0!==w.unstable_avoidThisFallback||!A)}}if(C){var z=p.updateQueue;if(null===z){var u=new Set;u.add(l),p.updateQueue=u}else z.add(l);if(0==(2&p.mode)){if(p.flags|=64,h.flags|=16384,h.flags&=-2981,1===h.tag)if(null===h.alternate)h.tag=17;else{var t=zg(-1,1);t.tag=2,Ag(h,t)}h.lanes|=1;break a}k=void 0,h=b;var q=f.pingCache;if(null===q?(q=f.pingCache=new Oi,k=new Set,q.set(l,k)):void 0===(k=q.get(l))&&(k=new Set,q.set(l,k)),!k.has(h)){k.add(h);var v=Yj.bind(null,f,l,h);l.then(v,v)}p.flags|=4096,p.lanes=b;break a}p=p.return}while(null!==p);k=Error((Ra(h.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==V&&(V=2),k=Mi(k,h),p=g;do{switch(p.tag){case 3:f=k,p.flags|=4096,b&=-b,p.lanes|=b,Bg(p,Pi(0,f,b));break a;case 1:f=k;var K=p.type,Q=p.stateNode;if(0==(64&p.flags)&&("function"==typeof K.getDerivedStateFromError||null!==Q&&"function"==typeof Q.componentDidCatch&&(null===Ti||!Ti.has(Q)))){p.flags|=4096,b&=-b,p.lanes|=b,Bg(p,Si(p,f,b));break a}}p=p.return}while(null!==p)}Zj(c)}catch(va){b=va,Y===c&&null!==c&&(Y=c=c.return);continue}break}}function Pj(){var a=oj.current;return oj.current=Gh,null===a?Gh:a}function Tj(a,b){var c=X;X|=16;var d=Pj();for(U===a&&W===b||Qj(a,b);;)try{ak();break}catch(e){Sj(a,e)}if(qg(),X=c,oj.current=d,null!==Y)throw Error(y(261));return U=null,W=0,V}function ak(){for(;null!==Y;)bk(Y)}function Rj(){for(;null!==Y&&!Qf();)bk(Y)}function bk(a){var b=ck(a.alternate,a,qj);a.memoizedProps=a.pendingProps,null===b?Zj(a):Y=b,pj.current=null}function Zj(a){var b=a;do{var c=b.alternate;if(a=b.return,0==(2048&b.flags)){if(null!==(c=Gi(c,b,qj)))return void(Y=c);if(24!==(c=b).tag&&23!==c.tag||null===c.memoizedState||0!=(1073741824&qj)||0==(4&c.mode)){for(var d=0,e=c.child;null!==e;)d|=e.lanes|e.childLanes,e=e.sibling;c.childLanes=d}null!==a&&0==(2048&a.flags)&&(null===a.firstEffect&&(a.firstEffect=b.firstEffect),null!==b.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=b.firstEffect),a.lastEffect=b.lastEffect),1<b.flags&&(null!==a.lastEffect?a.lastEffect.nextEffect=b:a.firstEffect=b,a.lastEffect=b))}else{if(null!==(c=Li(b)))return c.flags&=2047,void(Y=c);null!==a&&(a.firstEffect=a.lastEffect=null,a.flags|=2048)}if(null!==(b=b.sibling))return void(Y=b);Y=b=a}while(null!==b);0===V&&(V=5)}function Uj(a){var b=eg();return gg(99,dk.bind(null,a,b)),null}function dk(a,b){do{Oj()}while(null!==yj);if(0!=(48&X))throw Error(y(327));var c=a.finishedWork;if(null===c)return null;if(a.finishedWork=null,a.finishedLanes=0,c===a.current)throw Error(y(177));a.callbackNode=null;var d=c.lanes|c.childLanes,e=d,f=a.pendingLanes&~e;a.pendingLanes=e,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=e,a.mutableReadLanes&=e,a.entangledLanes&=e,e=a.entanglements;for(var g=a.eventTimes,h=a.expirationTimes;0<f;){var k=31-Vc(f),l=1<<k;e[k]=0,g[k]=-1,h[k]=-1,f&=~l}if(null!==Cj&&0==(24&d)&&Cj.has(a)&&Cj.delete(a),a===U&&(Y=U=null,W=0),1<c.flags?null!==c.lastEffect?(c.lastEffect.nextEffect=c,d=c.firstEffect):d=c:d=c.firstEffect,null!==d){if(e=X,X|=32,pj.current=null,kf=fd,Oe(g=Ne())){if("selectionStart"in g)h={start:g.selectionStart,end:g.selectionEnd};else a:if(h=(h=g.ownerDocument)&&h.defaultView||window,(l=h.getSelection&&h.getSelection())&&0!==l.rangeCount){h=l.anchorNode,f=l.anchorOffset,k=l.focusNode,l=l.focusOffset;try{h.nodeType,k.nodeType}catch(va){h=null;break a}var n=0,A=-1,p=-1,C=0,x=0,w=g,z=null;b:for(;;){for(var u;w!==h||0!==f&&3!==w.nodeType||(A=n+f),w!==k||0!==l&&3!==w.nodeType||(p=n+l),3===w.nodeType&&(n+=w.nodeValue.length),null!==(u=w.firstChild);)z=w,w=u;for(;;){if(w===g)break b;if(z===h&&++C===f&&(A=n),z===k&&++x===l&&(p=n),null!==(u=w.nextSibling))break;z=(w=z).parentNode}w=u}h=-1===A||-1===p?null:{start:A,end:p}}else h=null;h=h||{start:0,end:0}}else h=null;lf={focusedElem:g,selectionRange:h},fd=!1,Ij=null,Jj=!1,Z=d;do{try{ek()}catch(va){if(null===Z)throw Error(y(330));Wi(Z,va),Z=Z.nextEffect}}while(null!==Z);Ij=null,Z=d;do{try{for(g=a;null!==Z;){var t=Z.flags;if(16&t&&pb(Z.stateNode,""),128&t){var q=Z.alternate;if(null!==q){var v=q.ref;null!==v&&("function"==typeof v?v(null):v.current=null)}}switch(1038&t){case 2:fj(Z),Z.flags&=-3;break;case 6:fj(Z),Z.flags&=-3,ij(Z.alternate,Z);break;case 1024:Z.flags&=-1025;break;case 1028:Z.flags&=-1025,ij(Z.alternate,Z);break;case 4:ij(Z.alternate,Z);break;case 8:cj(g,h=Z);var J=h.alternate;dj(h),null!==J&&dj(J)}Z=Z.nextEffect}}catch(va){if(null===Z)throw Error(y(330));Wi(Z,va),Z=Z.nextEffect}}while(null!==Z);if(v=lf,q=Ne(),t=v.focusedElem,g=v.selectionRange,q!==t&&t&&t.ownerDocument&&Me(t.ownerDocument.documentElement,t)){null!==g&&Oe(t)&&(q=g.start,void 0===(v=g.end)&&(v=q),"selectionStart"in t?(t.selectionStart=q,t.selectionEnd=Math.min(v,t.value.length)):(v=(q=t.ownerDocument||document)&&q.defaultView||window).getSelection&&(v=v.getSelection(),h=t.textContent.length,J=Math.min(g.start,h),g=void 0===g.end?J:Math.min(g.end,h),!v.extend&&J>g&&(h=g,g=J,J=h),h=Le(t,J),f=Le(t,g),h&&f&&(1!==v.rangeCount||v.anchorNode!==h.node||v.anchorOffset!==h.offset||v.focusNode!==f.node||v.focusOffset!==f.offset)&&((q=q.createRange()).setStart(h.node,h.offset),v.removeAllRanges(),J>g?(v.addRange(q),v.extend(f.node,f.offset)):(q.setEnd(f.node,f.offset),v.addRange(q))))),q=[];for(v=t;v=v.parentNode;)1===v.nodeType&&q.push({element:v,left:v.scrollLeft,top:v.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<q.length;t++)(v=q[t]).element.scrollLeft=v.left,v.element.scrollTop=v.top}fd=!!kf,lf=kf=null,a.current=c,Z=d;do{try{for(t=a;null!==Z;){var K=Z.flags;if(36&K&&Yi(t,Z.alternate,Z),128&K){q=void 0;var Q=Z.ref;if(null!==Q){var L=Z.stateNode;Z.tag,q=L,"function"==typeof Q?Q(q):Q.current=q}}Z=Z.nextEffect}}catch(va){if(null===Z)throw Error(y(330));Wi(Z,va),Z=Z.nextEffect}}while(null!==Z);Z=null,$f(),X=e}else a.current=c;if(xj)xj=!1,yj=a,zj=b;else for(Z=d;null!==Z;)b=Z.nextEffect,Z.nextEffect=null,8&Z.flags&&((K=Z).sibling=null,K.stateNode=null),Z=b;if(0===(d=a.pendingLanes)&&(Ti=null),1===d?a===Ej?Dj++:(Dj=0,Ej=a):Dj=0,c=c.stateNode,Mf&&"function"==typeof Mf.onCommitFiberRoot)try{Mf.onCommitFiberRoot(Lf,c,void 0,64==(64&c.current.flags))}catch(va){}if(Mj(a,O()),Qi)throw Qi=!1,a=Ri,Ri=null,a;return 0!=(8&X)||ig(),null}function ek(){for(;null!==Z;){var a=Z.alternate;Jj||null===Ij||(0!=(8&Z.flags)?dc(Z,Ij)&&(Jj=!0):13===Z.tag&&mj(a,Z)&&dc(Z,Ij)&&(Jj=!0));var b=Z.flags;0!=(256&b)&&Xi(a,Z),0==(512&b)||xj||(xj=!0,hg(97,(function(){return Oj(),null}))),Z=Z.nextEffect}}function Oj(){if(90!==zj){var a=97<zj?97:zj;return zj=90,gg(a,fk)}return!1}function $i(a,b){Aj.push(b,a),xj||(xj=!0,hg(97,(function(){return Oj(),null})))}function Zi(a,b){Bj.push(b,a),xj||(xj=!0,hg(97,(function(){return Oj(),null})))}function fk(){if(null===yj)return!1;var a=yj;if(yj=null,0!=(48&X))throw Error(y(331));var b=X;X|=32;var c=Bj;Bj=[];for(var d=0;d<c.length;d+=2){var e=c[d],f=c[d+1],g=e.destroy;if(e.destroy=void 0,"function"==typeof g)try{g()}catch(k){if(null===f)throw Error(y(330));Wi(f,k)}}for(c=Aj,Aj=[],d=0;d<c.length;d+=2){e=c[d],f=c[d+1];try{var h=e.create;e.destroy=h()}catch(k){if(null===f)throw Error(y(330));Wi(f,k)}}for(h=a.current.firstEffect;null!==h;)a=h.nextEffect,h.nextEffect=null,8&h.flags&&(h.sibling=null,h.stateNode=null),h=a;return X=b,ig(),!0}function gk(a,b,c){Ag(a,b=Pi(0,b=Mi(c,b),1)),b=Hg(),null!==(a=Kj(a,1))&&($c(a,1,b),Mj(a,b))}function Wi(a,b){if(3===a.tag)gk(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){gk(c,a,b);break}if(1===c.tag){var d=c.stateNode;if("function"==typeof c.type.getDerivedStateFromError||"function"==typeof d.componentDidCatch&&(null===Ti||!Ti.has(d))){var e=Si(c,a=Mi(b,a),1);if(Ag(c,e),e=Hg(),null!==(c=Kj(c,1)))$c(c,1,e),Mj(c,e);else if("function"==typeof d.componentDidCatch&&(null===Ti||!Ti.has(d)))try{d.componentDidCatch(b,a)}catch(f){}break}}c=c.return}}function Yj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b),b=Hg(),a.pingedLanes|=a.suspendedLanes&c,U===a&&(W&c)===c&&(4===V||3===V&&(62914560&W)===W&&500>O()-jj?Qj(a,0):uj|=c),Mj(a,b)}function lj(a,b){var c=a.stateNode;null!==c&&c.delete(b),0===(b=0)&&(0==(2&(b=a.mode))?b=1:0==(4&b)?b=99===eg()?1:2:(0===Gj&&(Gj=tj),0===(b=Yc(62914560&~Gj))&&(b=4194304))),c=Hg(),null!==(a=Kj(a,b))&&($c(a,b,c),Mj(a,c))}function ik(a,b,c,d){this.tag=a,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=b,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function nh(a,b,c,d){return new ik(a,b,c,d)}function ji(a){return!(!(a=a.prototype)||!a.isReactComponent)}function Tg(a,b){var c=a.alternate;return null===c?((c=nh(a.tag,b,a.key,a.mode)).elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null),c.childLanes=a.childLanes,c.lanes=a.lanes,c.child=a.child,c.memoizedProps=a.memoizedProps,c.memoizedState=a.memoizedState,c.updateQueue=a.updateQueue,b=a.dependencies,c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext},c.sibling=a.sibling,c.index=a.index,c.ref=a.ref,c}function Vg(a,b,c,d,e,f){var g=2;if(d=a,"function"==typeof a)ji(a)&&(g=1);else if("string"==typeof a)g=5;else a:switch(a){case ua:return Xg(c.children,e,f,b);case Ha:g=8,e|=16;break;case wa:g=8,e|=1;break;case xa:return(a=nh(12,c,b,8|e)).elementType=xa,a.type=xa,a.lanes=f,a;case Ba:return(a=nh(13,c,b,e)).type=Ba,a.elementType=Ba,a.lanes=f,a;case Ca:return(a=nh(19,c,b,e)).elementType=Ca,a.lanes=f,a;case Ia:return vi(c,e,f,b);case Ja:return(a=nh(24,c,b,e)).elementType=Ja,a.lanes=f,a;default:if("object"==typeof a&&null!==a)switch(a.$$typeof){case ya:g=10;break a;case za:g=9;break a;case Aa:g=11;break a;case Da:g=14;break a;case Ea:g=16,d=null;break a;case Fa:g=22;break a}throw Error(y(130,null==a?a:typeof a,""))}return(b=nh(g,c,b,e)).elementType=a,b.type=d,b.lanes=f,b}function Xg(a,b,c,d){return(a=nh(7,a,d,b)).lanes=c,a}function vi(a,b,c,d){return(a=nh(23,a,d,b)).elementType=Ia,a.lanes=c,a}function Ug(a,b,c){return(a=nh(6,a,null,b)).lanes=c,a}function Wg(a,b,c){return(b=nh(4,null!==a.children?a.children:[],a.key,b)).lanes=c,b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},b}function jk(a,b,c){this.tag=b,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=c,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Zc(0),this.expirationTimes=Zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zc(0),this.mutableSourceEagerHydrationData=null}function kk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ta,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}function lk(a,b,c,d){var e=b.current,f=Hg(),g=Ig(e);a:if(c){b:{if(Zb(c=c._reactInternals)!==c||1!==c.tag)throw Error(y(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(Ff(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(y(171))}if(1===c.tag){var k=c.type;if(Ff(k)){c=If(c,k,h);break a}}c=h}else c=Cf;return null===b.context?b.context=c:b.pendingContext=c,(b=zg(f,g)).payload={element:a},null!==(d=void 0===d?null:d)&&(b.callback=d),Ag(e,b),Jg(e,g,f),g}function mk(a){return(a=a.current).child?(a.child.tag,a.child.stateNode):null}function nk(a,b){if(null!==(a=a.memoizedState)&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function ok(a,b){nk(a,b),(a=a.alternate)&&nk(a,b)}function qk(a,b,c){var d=null!=c&&null!=c.hydrationOptions&&c.hydrationOptions.mutableSources||null;if(c=new jk(a,b,null!=c&&!0===c.hydrate),b=nh(3,null,null,2===b?7:1===b?3:0),c.current=b,b.stateNode=c,xg(b),a[ff]=c.current,cf(8===a.nodeType?a.parentNode:a),d)for(a=0;a<d.length;a++){var e=(b=d[a])._getVersion;e=e(b._source),null==c.mutableSourceEagerHydrationData?c.mutableSourceEagerHydrationData=[b,e]:c.mutableSourceEagerHydrationData.push(b,e)}this._internalRoot=c}function rk(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function tk(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if("function"==typeof e){var h=e;e=function(){var a=mk(g);h.call(a)}}lk(b,g,a,e)}else{if(f=c._reactRootContainer=function sk(a,b){if(b||(b=!(!(b=a?9===a.nodeType?a.documentElement:a.firstChild:null)||1!==b.nodeType||!b.hasAttribute("data-reactroot"))),!b)for(var c;c=a.lastChild;)a.removeChild(c);return new qk(a,0,b?{hydrate:!0}:void 0)}(c,d),g=f._internalRoot,"function"==typeof e){var k=e;e=function(){var a=mk(g);k.call(a)}}Xj((function(){lk(b,g,a,e)}))}return mk(g)}function uk(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!rk(b))throw Error(y(200));return kk(a,b,null,c)}ck=function(a,b,c){var d=b.lanes;if(null!==a)if(a.memoizedProps!==b.pendingProps||N.current)ug=!0;else{if(0==(c&d)){switch(ug=!1,b.tag){case 3:ri(b),sh();break;case 5:gh(b);break;case 1:Ff(b.type)&&Jf(b);break;case 4:eh(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;var e=b.type._context;I(mg,e._currentValue),e._currentValue=d;break;case 13:if(null!==b.memoizedState)return 0!=(c&b.child.childLanes)?ti(a,b,c):(I(P,1&P.current),null!==(b=hi(a,b,c))?b.sibling:null);I(P,1&P.current);break;case 19:if(d=0!=(c&b.childLanes),0!=(64&a.flags)){if(d)return Ai(a,b,c);b.flags|=64}if(null!==(e=b.memoizedState)&&(e.rendering=null,e.tail=null,e.lastEffect=null),I(P,P.current),d)break;return null;case 23:case 24:return b.lanes=0,mi(a,b,c)}return hi(a,b,c)}ug=0!=(16384&a.flags)}else ug=!1;switch(b.lanes=0,b.tag){case 2:if(d=b.type,null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2),a=b.pendingProps,e=Ef(b,M.current),tg(b,c),e=Ch(null,b,d,a,e,c),b.flags|=1,"object"==typeof e&&null!==e&&"function"==typeof e.render&&void 0===e.$$typeof){if(b.tag=1,b.memoizedState=null,b.updateQueue=null,Ff(d)){var f=!0;Jf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,xg(b);var g=d.getDerivedStateFromProps;"function"==typeof g&&Gg(b,d,g,a),e.updater=Kg,b.stateNode=e,e._reactInternals=b,Og(b,d,a,c),b=qi(null,b,d,!0,f,c)}else b.tag=0,fi(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;a:{switch(null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2),a=b.pendingProps,e=(f=e._init)(e._payload),b.type=e,f=b.tag=function hk(a){if("function"==typeof a)return ji(a)?1:0;if(null!=a){if((a=a.$$typeof)===Aa)return 11;if(a===Da)return 14}return 2}(e),a=lg(e,a),f){case 0:b=li(null,b,e,a,c);break a;case 1:b=pi(null,b,e,a,c);break a;case 11:b=gi(null,b,e,a,c);break a;case 14:b=ii(null,b,e,lg(e.type,a),d,c);break a}throw Error(y(306,e,""))}return b;case 0:return d=b.type,e=b.pendingProps,li(a,b,d,e=b.elementType===d?e:lg(d,e),c);case 1:return d=b.type,e=b.pendingProps,pi(a,b,d,e=b.elementType===d?e:lg(d,e),c);case 3:if(ri(b),d=b.updateQueue,null===a||null===d)throw Error(y(282));if(d=b.pendingProps,e=null!==(e=b.memoizedState)?e.element:null,yg(a,b),Cg(b,d,null,c),(d=b.memoizedState.element)===e)sh(),b=hi(a,b,c);else{if((f=(e=b.stateNode).hydrate)&&(kh=rf(b.stateNode.containerInfo.firstChild),jh=b,f=lh=!0),f){if(null!=(a=e.mutableSourceEagerHydrationData))for(e=0;e<a.length;e+=2)(f=a[e])._workInProgressVersionPrimary=a[e+1],th.push(f);for(c=Zg(b,null,d,c),b.child=c;c;)c.flags=-3&c.flags|1024,c=c.sibling}else fi(a,b,d,c),sh();b=b.child}return b;case 5:return gh(b),null===a&&ph(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,nf(d,e)?g=null:null!==f&&nf(d,f)&&(b.flags|=16),oi(a,b),fi(a,b,g,c),b.child;case 6:return null===a&&ph(b),null;case 13:return ti(a,b,c);case 4:return eh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Yg(b,null,d,c):fi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,gi(a,b,d,e=b.elementType===d?e:lg(d,e),c);case 7:return fi(a,b,b.pendingProps,c),b.child;case 8:case 12:return fi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context,e=b.pendingProps,g=b.memoizedProps,f=e.value;var h=b.type._context;if(I(mg,h._currentValue),h._currentValue=f,null!==g)if(h=g.value,0===(f=He(h,f)?0:0|("function"==typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823))){if(g.children===e.children&&!N.current){b=hi(a,b,c);break a}}else for(null!==(h=b.child)&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==k){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!=(l.observedBits&f)){1===h.tag&&((l=zg(-1,c&-c)).tag=2,Ag(h,l)),h.lanes|=c,null!==(l=h.alternate)&&(l.lanes|=c),sg(h.return,c),k.lanes|=c;break}l=l.next}}else g=10===h.tag&&h.type===b.type?null:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}if(null!==(h=g.sibling)){h.return=g.return,g=h;break}g=g.return}h=g}fi(a,b,e.children,c),b=b.child}return b;case 9:return e=b.type,d=(f=b.pendingProps).children,tg(b,c),d=d(e=vg(e,f.unstable_observedBits)),b.flags|=1,fi(a,b,d,c),b.child;case 14:return f=lg(e=b.type,b.pendingProps),ii(a,b,e,f=lg(e.type,f),d,c);case 15:return ki(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2),b.tag=1,Ff(d)?(a=!0,Jf(b)):a=!1,tg(b,c),Mg(b,d,e),Og(b,d,e,c),qi(null,b,d,!0,a,c);case 19:return Ai(a,b,c);case 23:case 24:return mi(a,b,c)}throw Error(y(156,b.tag))},qk.prototype.render=function(a){lk(a,this._internalRoot,null,null)},qk.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;lk(null,a,null,(function(){b[ff]=null}))},ec=function(a){13===a.tag&&(Jg(a,4,Hg()),ok(a,4))},fc=function(a){13===a.tag&&(Jg(a,67108864,Hg()),ok(a,67108864))},gc=function(a){if(13===a.tag){var b=Hg(),c=Ig(a);Jg(a,c,b),ok(a,c)}},hc=function(a,b){return b()},yb=function(a,b,c){switch(b){case"input":if(ab(a,c),b=c.name,"radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]'),b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Db(d);if(!e)throw Error(y(90));Wa(d),ab(d,e)}}}break;case"textarea":ib(a,c);break;case"select":null!=(b=c.value)&&fb(a,!!c.multiple,b,!1)}},Gb=Wj,Hb=function(a,b,c,d,e){var f=X;X|=4;try{return gg(98,a.bind(null,b,c,d,e))}finally{0===(X=f)&&(wj(),ig())}},Ib=function(){0==(49&X)&&(function Vj(){if(null!==Cj){var a=Cj;Cj=null,a.forEach((function(a){a.expiredLanes|=24&a.pendingLanes,Mj(a,O())}))}ig()}(),Oj())},Jb=function(a,b){var c=X;X|=2;try{return a(b)}finally{0===(X=c)&&(wj(),ig())}};var vk={Events:[Cb,ue,Db,Eb,Fb,Oj,{current:!1}]},wk={findFiberByHostInstance:wc,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},xk={bundleType:wk.bundleType,version:wk.version,rendererPackageName:wk.rendererPackageName,rendererConfig:wk.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ra.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return null===(a=cc(a))?null:a.stateNode},findFiberByHostInstance:wk.findFiberByHostInstance||function pk(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var yk=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yk.isDisabled&&yk.supportsFiber)try{Lf=yk.inject(xk),Mf=yk}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vk,exports.createPortal=uk,exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"==typeof a.render)throw Error(y(188));throw Error(y(268,Object.keys(a)))}return a=null===(a=cc(b))?null:a.stateNode},exports.flushSync=function(a,b){var c=X;if(0!=(48&c))return a(b);X|=1;try{if(a)return gg(99,a.bind(null,b))}finally{X=c,ig()}},exports.hydrate=function(a,b,c){if(!rk(b))throw Error(y(200));return tk(null,a,b,!0,c)},exports.render=function(a,b,c){if(!rk(b))throw Error(y(200));return tk(null,a,b,!1,c)},exports.unmountComponentAtNode=function(a){if(!rk(a))throw Error(y(40));return!!a._reactRootContainer&&(Xj((function(){tk(null,null,a,!1,(function(){a._reactRootContainer=null,a[ff]=null}))})),!0)},exports.unstable_batchedUpdates=Wj,exports.unstable_createPortal=function(a,b){return uk(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!rk(c))throw Error(y(200));if(null==a||void 0===a._reactInternals)throw Error(y(38));return tk(a,b,c,!1,d)},exports.version="17.0.2"},"./node_modules/react-dom/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";!function checkDCE(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(err){console.error(err)}}(),module.exports=__webpack_require__("./node_modules/react-dom/cjs/react-dom.production.min.js")},"./node_modules/react-element-to-jsx-string/dist/cjs/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var isPlainObject=__webpack_require__("./node_modules/react-element-to-jsx-string/node_modules/is-plain-object/dist/is-plain-object.js"),React=__webpack_require__("./node_modules/react/index.js"),prettyPrintObject=__webpack_require__("./node_modules/@base2/pretty-print-object/dist/index.js"),reactIs=__webpack_require__("./node_modules/react-element-to-jsx-string/node_modules/react-is/index.js");function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach((function(k){if("default"!==k){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:!0,get:function(){return e[k]}})}})),n.default=e,Object.freeze(n)}var React__namespace=_interopNamespace(React),React__default=_interopDefaultLegacy(React),spacer=function(times,tabStop){return 0===times?"":new Array(times*tabStop).fill(" ").join("")};function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function safeSortObject(value,seen){return null===value||"object"!==_typeof(value)||value instanceof Date||value instanceof RegExp||React__namespace.isValidElement(value)?value:(seen.add(value),Array.isArray(value)?value.map((function(v){return safeSortObject(v,seen)})):Object.keys(value).sort().reduce((function(result,key){return"_owner"===key||("current"===key||seen.has(value[key])?result[key]="[Circular]":result[key]=safeSortObject(value[key],seen)),result}),{}))}function sortObject(value){return safeSortObject(value,new WeakSet)}var createStringTreeNode=function createStringTreeNode(value){return{type:"string",value}},supportFragment=Boolean(React.Fragment),getFunctionTypeName=function getFunctionTypeName(functionType){return functionType.name&&"_default"!==functionType.name?functionType.name:"No Display Name"},getWrappedComponentDisplayName=function getWrappedComponentDisplayName(Component){switch(!0){case Boolean(Component.displayName):return Component.displayName;case Component.$$typeof===reactIs.Memo:return getWrappedComponentDisplayName(Component.type);case Component.$$typeof===reactIs.ForwardRef:return getWrappedComponentDisplayName(Component.render);default:return getFunctionTypeName(Component)}},getReactElementDisplayName=function getReactElementDisplayName(element){switch(!0){case"string"==typeof element.type:return element.type;case"function"==typeof element.type:return element.type.displayName?element.type.displayName:getFunctionTypeName(element.type);case reactIs.isForwardRef(element):case reactIs.isMemo(element):return getWrappedComponentDisplayName(element.type);case reactIs.isContextConsumer(element):return"".concat(element.type._context.displayName||"Context",".Consumer");case reactIs.isContextProvider(element):return"".concat(element.type._context.displayName||"Context",".Provider");case reactIs.isLazy(element):return"Lazy";case reactIs.isProfiler(element):return"Profiler";case reactIs.isStrictMode(element):return"StrictMode";case reactIs.isSuspense(element):return"Suspense";default:return"UnknownElementType"}},noChildren=function noChildren(propsValue,propName){return"children"!==propName},onlyMeaningfulChildren=function onlyMeaningfulChildren(children){return!0!==children&&!1!==children&&null!==children&&""!==children},filterProps=function filterProps(originalProps,cb){var filteredProps={};return Object.keys(originalProps).filter((function(key){return cb(originalProps[key],key)})).forEach((function(key){return filteredProps[key]=originalProps[key]})),filteredProps},parseReactElement=function parseReactElement(element,options){var _options$displayName=options.displayName,displayNameFn=void 0===_options$displayName?getReactElementDisplayName:_options$displayName;if("string"==typeof element)return createStringTreeNode(element);if("number"==typeof element)return function createNumberTreeNode(value){return{type:"number",value}}(element);if(!React__default.default.isValidElement(element))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(_typeof(element),"`"));var displayName=displayNameFn(element),props=filterProps(element.props,noChildren);null!==element.ref&&(props.ref=element.ref);var key=element.key;"string"==typeof key&&key.search(/^\./)&&(props.key=key);var defaultProps=filterProps(element.type.defaultProps||{},noChildren),childrens=React__default.default.Children.toArray(element.props.children).filter(onlyMeaningfulChildren).map((function(child){return parseReactElement(child,options)}));return supportFragment&&element.type===React.Fragment?function createReactFragmentTreeNode(key,childrens){return{type:"ReactFragment",key,childrens}}(key,childrens):function createReactElementTreeNode(displayName,props,defaultProps,childrens){return{type:"ReactElement",displayName,props,defaultProps,childrens}}(displayName,props,defaultProps,childrens)};function noRefCheck(){}var inlineFunction=function inlineFunction(fn){return fn.toString().split("\n").map((function(line){return line.trim()})).join("")},defaultFunctionValue=inlineFunction,formatFunction=function(fn,options){var _options$functionValu=options.functionValue,functionValue=void 0===_options$functionValu?defaultFunctionValue:_options$functionValu;return functionValue(options.showFunctions||functionValue!==defaultFunctionValue?fn:noRefCheck)},formatPropValue=function formatPropValue(propValue,inline,lvl,options){if("number"==typeof propValue)return"{".concat(String(propValue),"}");if("string"==typeof propValue)return'"'.concat(function escape(s){return s.replace(/"/g,""")}(propValue),'"');if("symbol"===_typeof(propValue)){var symbolDescription=propValue.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return symbolDescription?"{Symbol('".concat(symbolDescription,"')}"):"{Symbol()}"}return"function"==typeof propValue?"{".concat(formatFunction(propValue,options),"}"):React.isValidElement(propValue)?"{".concat(formatTreeNode(parseReactElement(propValue,options),!0,lvl,options),"}"):propValue instanceof Date?isNaN(propValue.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(propValue.toISOString(),'")}'):isPlainObject.isPlainObject(propValue)||Array.isArray(propValue)?"{".concat(function(value,inline,lvl,options){var normalizedValue=sortObject(value),stringifiedValue=prettyPrintObject.prettyPrint(normalizedValue,{transform:function transform(currentObj,prop,originalResult){var currentValue=currentObj[prop];return currentValue&&React.isValidElement(currentValue)?formatTreeNode(parseReactElement(currentValue,options),!0,lvl,options):"function"==typeof currentValue?formatFunction(currentValue,options):originalResult}});return inline?stringifiedValue.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):stringifiedValue.replace(/\t/g,spacer(1,options.tabStop)).replace(/\n([^$])/g,"\n".concat(spacer(lvl+1,options.tabStop),"$1"))}(propValue,inline,lvl,options),"}"):"{".concat(String(propValue),"}")},mergeSiblingPlainStringChildrenReducer=function(previousNodes,currentNode){var nodes=previousNodes.slice(0,previousNodes.length>0?previousNodes.length-1:0),previousNode=previousNodes[previousNodes.length-1];return!previousNode||"string"!==currentNode.type&&"number"!==currentNode.type||"string"!==previousNode.type&&"number"!==previousNode.type?(previousNode&&nodes.push(previousNode),nodes.push(currentNode)):nodes.push(createStringTreeNode(String(previousNode.value)+String(currentNode.value))),nodes};var formatOneChildren=function formatOneChildren(inline,lvl,options){return function(element){return function compensateMultilineStringElementIndentation(element,formattedElement,inline,lvl,options){var tabStop=options.tabStop;return"string"===element.type?formattedElement.split("\n").map((function(line,offset){return 0===offset?line:"".concat(spacer(lvl,tabStop)).concat(line)})).join("\n"):formattedElement}(element,formatTreeNode(element,inline,lvl,options),0,lvl,options)}},isInlineAttributeTooLong=function isInlineAttributeTooLong(attributes,inlineAttributeString,lvl,tabStop,maxInlineAttributesLineLength){return maxInlineAttributesLineLength?spacer(lvl,tabStop).length+inlineAttributeString.length>maxInlineAttributesLineLength:attributes.length>1},formatReactElementNode=function(node,inline,lvl,options){var type=node.type,_node$displayName=node.displayName,displayName=void 0===_node$displayName?"":_node$displayName,childrens=node.childrens,_node$props=node.props,props=void 0===_node$props?{}:_node$props,_node$defaultProps=node.defaultProps,defaultProps=void 0===_node$defaultProps?{}:_node$defaultProps;if("ReactElement"!==type)throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(type));var filterProps=options.filterProps,maxInlineAttributesLineLength=options.maxInlineAttributesLineLength,showDefaultProps=options.showDefaultProps,sortProps=options.sortProps,tabStop=options.tabStop,out="<".concat(displayName),outInlineAttr=out,outMultilineAttr=out,containsMultilineAttr=!1,visibleAttributeNames=[],propFilter=function createPropFilter(props,filter){return Array.isArray(filter)?function(key){return-1===filter.indexOf(key)}:function(key){return filter(props[key],key)}}(props,filterProps);Object.keys(props).filter(propFilter).filter(function onlyPropsWithOriginalValue(defaultProps,props){return function(propName){var haveDefaultValue=Object.keys(defaultProps).includes(propName);return!haveDefaultValue||haveDefaultValue&&defaultProps[propName]!==props[propName]}}(defaultProps,props)).forEach((function(propName){return visibleAttributeNames.push(propName)})),Object.keys(defaultProps).filter(propFilter).filter((function(){return showDefaultProps})).filter((function(defaultPropName){return!visibleAttributeNames.includes(defaultPropName)})).forEach((function(defaultPropName){return visibleAttributeNames.push(defaultPropName)}));var shouldSortUserProps,attributes=(shouldSortUserProps=sortProps,function(props){var haveKeyProp=props.includes("key"),haveRefProp=props.includes("ref"),userPropsOnly=props.filter((function(oneProp){return!function isKeyOrRefProps(propName){return["key","ref"].includes(propName)}(oneProp)})),sortedProps=_toConsumableArray(shouldSortUserProps?userPropsOnly.sort():userPropsOnly);return haveRefProp&&sortedProps.unshift("ref"),haveKeyProp&&sortedProps.unshift("key"),sortedProps})(visibleAttributeNames);if(attributes.forEach((function(attributeName){var _formatProp=function(name,hasValue,value,hasDefaultValue,defaultValue,inline,lvl,options){if(!hasValue&&!hasDefaultValue)throw new Error('The prop "'.concat(name,'" has no value and no default: could not be formatted'));var usedValue=hasValue?value:defaultValue,useBooleanShorthandSyntax=options.useBooleanShorthandSyntax,tabStop=options.tabStop,formattedPropValue=formatPropValue(usedValue,inline,lvl,options),attributeFormattedInline=" ",attributeFormattedMultiline="\n".concat(spacer(lvl+1,tabStop)),isMultilineAttribute=formattedPropValue.includes("\n");return useBooleanShorthandSyntax&&"{false}"===formattedPropValue&&!hasDefaultValue?(attributeFormattedInline="",attributeFormattedMultiline=""):useBooleanShorthandSyntax&&"{true}"===formattedPropValue?(attributeFormattedInline+="".concat(name),attributeFormattedMultiline+="".concat(name)):(attributeFormattedInline+="".concat(name,"=").concat(formattedPropValue),attributeFormattedMultiline+="".concat(name,"=").concat(formattedPropValue)),{attributeFormattedInline,attributeFormattedMultiline,isMultilineAttribute}}(attributeName,Object.keys(props).includes(attributeName),props[attributeName],Object.keys(defaultProps).includes(attributeName),defaultProps[attributeName],inline,lvl,options),attributeFormattedInline=_formatProp.attributeFormattedInline,attributeFormattedMultiline=_formatProp.attributeFormattedMultiline;_formatProp.isMultilineAttribute&&(containsMultilineAttr=!0),outInlineAttr+=attributeFormattedInline,outMultilineAttr+=attributeFormattedMultiline})),outMultilineAttr+="\n".concat(spacer(lvl,tabStop)),out=function shouldRenderMultilineAttr(attributes,inlineAttributeString,containsMultilineAttr,inline,lvl,tabStop,maxInlineAttributesLineLength){return(isInlineAttributeTooLong(attributes,inlineAttributeString,lvl,tabStop,maxInlineAttributesLineLength)||containsMultilineAttr)&&!inline}(attributes,outInlineAttr,containsMultilineAttr,inline,lvl,tabStop,maxInlineAttributesLineLength)?outMultilineAttr:outInlineAttr,childrens&&childrens.length>0){var newLvl=lvl+1;out+=">",inline||(out+="\n",out+=spacer(newLvl,tabStop)),out+=childrens.reduce(mergeSiblingPlainStringChildrenReducer,[]).map(formatOneChildren(inline,newLvl,options)).join(inline?"":"\n".concat(spacer(newLvl,tabStop))),inline||(out+="\n",out+=spacer(newLvl-1,tabStop)),out+="</".concat(displayName,">")}else isInlineAttributeTooLong(attributes,outInlineAttr,lvl,tabStop,maxInlineAttributesLineLength)||(out+=" "),out+="/>";return out},formatReactFragmentNode=function(node,inline,lvl,options){var displayName,type=node.type,key=node.key,childrens=node.childrens;if("ReactFragment"!==type)throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(type));return displayName=options.useFragmentShortSyntax?function hasNoChildren(_ref2){return 0===_ref2.childrens.length}(node)||function isKeyedFragment(_ref){var key=_ref.key;return Boolean(key)}(node)?"React.Fragment":"":"React.Fragment",formatReactElementNode(function toReactElementTreeNode(displayName,key,childrens){var props={};return key&&(props={key}),{type:"ReactElement",displayName,props,defaultProps:{},childrens}}(displayName,key,childrens),inline,lvl,options)},jsxStopChars=["<",">","{","}"],escape=function escape(s){return function shouldBeEscaped(s){return jsxStopChars.some((function(jsxStopChar){return s.includes(jsxStopChar)}))}(s)?"{`".concat(s,"`}"):s},formatTreeNode=function(node,inline,lvl,options){if("number"===node.type)return String(node.value);if("string"===node.type)return node.value?"".concat(function preserveTrailingSpace(s){var result=s;return result.endsWith(" ")&&(result=result.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),result.startsWith(" ")&&(result=result.replace(/^(\s+)(.*)$/,"{'$1'}$2")),result}(escape(String(node.value)))):"";if("ReactElement"===node.type)return formatReactElementNode(node,inline,lvl,options);if("ReactFragment"===node.type)return formatReactFragmentNode(node,inline,lvl,options);throw new TypeError('Unknow format type "'.concat(node.type,'"'))},formatTree=function(node,options){return formatTreeNode(node,!1,0,options)};exports.ZP=function reactElementToJsxString(element){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$filterProps=_ref.filterProps,filterProps=void 0===_ref$filterProps?[]:_ref$filterProps,_ref$showDefaultProps=_ref.showDefaultProps,showDefaultProps=void 0===_ref$showDefaultProps||_ref$showDefaultProps,_ref$showFunctions=_ref.showFunctions,showFunctions=void 0!==_ref$showFunctions&&_ref$showFunctions,functionValue=_ref.functionValue,_ref$tabStop=_ref.tabStop,tabStop=void 0===_ref$tabStop?2:_ref$tabStop,_ref$useBooleanShorth=_ref.useBooleanShorthandSyntax,useBooleanShorthandSyntax=void 0===_ref$useBooleanShorth||_ref$useBooleanShorth,_ref$useFragmentShort=_ref.useFragmentShortSyntax,useFragmentShortSyntax=void 0===_ref$useFragmentShort||_ref$useFragmentShort,_ref$sortProps=_ref.sortProps,sortProps=void 0===_ref$sortProps||_ref$sortProps,maxInlineAttributesLineLength=_ref.maxInlineAttributesLineLength,displayName=_ref.displayName;if(!element)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var options={filterProps,showDefaultProps,showFunctions,functionValue,tabStop,useBooleanShorthandSyntax,useFragmentShortSyntax,sortProps,maxInlineAttributesLineLength,displayName};return formatTree(parseReactElement(element,options),options)}},"./node_modules/react-element-to-jsx-string/node_modules/is-plain-object/dist/is-plain-object.js":(__unused_webpack_module,exports)=>{"use strict";function isObject(o){return"[object Object]"===Object.prototype.toString.call(o)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPlainObject=function isPlainObject(o){var ctor,prot;return!1!==isObject(o)&&(void 0===(ctor=o.constructor)||!1!==isObject(prot=ctor.prototype)&&!1!==prot.hasOwnProperty("isPrototypeOf"))}},"./node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js":(__unused_webpack_module,exports)=>{"use strict";var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;if("function"==typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element"),c=x("react.portal"),d=x("react.fragment"),e=x("react.strict_mode"),f=x("react.profiler"),g=x("react.provider"),h=x("react.context"),k=x("react.forward_ref"),l=x("react.suspense"),m=x("react.suspense_list"),n=x("react.memo"),p=x("react.lazy"),q=x("react.block"),r=x("react.server.block"),u=x("react.fundamental"),v=x("react.debug_trace_mode"),w=x("react.legacy_hidden")}function y(a){if("object"==typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;exports.ContextConsumer=h,exports.ContextProvider=z,exports.Element=A,exports.ForwardRef=B,exports.Fragment=C,exports.Lazy=D,exports.Memo=E,exports.Portal=F,exports.Profiler=G,exports.StrictMode=H,exports.Suspense=I,exports.isAsyncMode=function(){return!1},exports.isConcurrentMode=function(){return!1},exports.isContextConsumer=function(a){return y(a)===h},exports.isContextProvider=function(a){return y(a)===g},exports.isElement=function(a){return"object"==typeof a&&null!==a&&a.$$typeof===b},exports.isForwardRef=function(a){return y(a)===k},exports.isFragment=function(a){return y(a)===d},exports.isLazy=function(a){return y(a)===p},exports.isMemo=function(a){return y(a)===n},exports.isPortal=function(a){return y(a)===c},exports.isProfiler=function(a){return y(a)===f},exports.isStrictMode=function(a){return y(a)===e},exports.isSuspense=function(a){return y(a)===l},exports.isValidElementType=function(a){return"string"==typeof a||"function"==typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"==typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)},exports.typeOf=y},"./node_modules/react-element-to-jsx-string/node_modules/react-is/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js")},"./node_modules/react-is/cjs/react-is.production.min.js":(__unused_webpack_module,exports)=>{"use strict";var b="function"==typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;function z(a){if("object"==typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l,exports.ConcurrentMode=m,exports.ContextConsumer=k,exports.ContextProvider=h,exports.Element=c,exports.ForwardRef=n,exports.Fragment=e,exports.Lazy=t,exports.Memo=r,exports.Portal=d,exports.Profiler=g,exports.StrictMode=f,exports.Suspense=p,exports.isAsyncMode=function(a){return A(a)||z(a)===l},exports.isConcurrentMode=A,exports.isContextConsumer=function(a){return z(a)===k},exports.isContextProvider=function(a){return z(a)===h},exports.isElement=function(a){return"object"==typeof a&&null!==a&&a.$$typeof===c},exports.isForwardRef=function(a){return z(a)===n},exports.isFragment=function(a){return z(a)===e},exports.isLazy=function(a){return z(a)===t},exports.isMemo=function(a){return z(a)===r},exports.isPortal=function(a){return z(a)===d},exports.isProfiler=function(a){return z(a)===g},exports.isStrictMode=function(a){return z(a)===f},exports.isSuspense=function(a){return z(a)===p},exports.isValidElementType=function(a){return"string"==typeof a||"function"==typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"==typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)},exports.typeOf=z},"./node_modules/react-is/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react-is/cjs/react-is.production.min.js")},"./node_modules/react-virtuoso/dist/index.m.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{OO:()=>Sn});var react=__webpack_require__("./node_modules/react/index.js");function compose(a,b){return function(arg){return a(b(arg))}}function thrush(arg,proc){return proc(arg)}function curry2to1(proc,arg1){return function(arg2){return proc(arg1,arg2)}}function curry1to0(proc,arg){return function(){return proc(arg)}}function prop(property){return function(object){return object[property]}}function tap(arg,proc){return proc(arg),arg}function tup(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return args}function call(proc){proc()}function always(value){return function(){return value}}function joinProc(){for(var _len2=arguments.length,procs=new Array(_len2),_key2=0;_key2<_len2;_key2++)procs[_key2]=arguments[_key2];return function(){procs.map(call)}}function noop(){}function subscribe(emitter,subscription){return emitter(1,subscription)}function publish(publisher,value){publisher(0,value)}function urx_esm_reset(emitter){emitter(2)}function getValue(depot){return depot(4)}function connect(emitter,publisher){return subscribe(emitter,curry2to1(publisher,0))}function handleNext(emitter,subscription){var unsub=emitter(1,(function(value){unsub(),subscription(value)}));return unsub}function stream(){var subscriptions=[];return function(action,arg){switch(action){case 2:return void subscriptions.splice(0,subscriptions.length);case 1:return subscriptions.push(arg),function(){var indexOf=subscriptions.indexOf(arg);indexOf>-1&&subscriptions.splice(indexOf,1)};case 0:return void subscriptions.slice().forEach((function(subscription){subscription(arg)}));default:throw new Error("unrecognized action "+action)}}}function statefulStream(initial){var value=initial,innerSubject=stream();return function(action,arg){switch(action){case 1:arg(value);break;case 0:value=arg;break;case 4:return value}return innerSubject(action,arg)}}function streamFromEmitter(emitter){return tap(stream(),(function(stream){return connect(emitter,stream)}))}function statefulStreamFromEmitter(emitter,initial){return tap(statefulStream(initial),(function(stream){return connect(emitter,stream)}))}function combineOperators(){for(var _len=arguments.length,operators=new Array(_len),_key=0;_key<_len;_key++)operators[_key]=arguments[_key];return function(subscriber){return operators.reduceRight(thrush,subscriber)}}function pipe(source){for(var _len2=arguments.length,operators=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)operators[_key2-1]=arguments[_key2];var project=combineOperators.apply(void 0,operators);return function(action,subscription){switch(action){case 1:return subscribe(source,project(subscription));case 2:return void urx_esm_reset(source);default:throw new Error("unrecognized action "+action)}}}function defaultComparator(previous,next){return previous===next}function distinctUntilChanged(comparator){var current;return void 0===comparator&&(comparator=defaultComparator),function(done){return function(next){comparator(current,next)||(current=next,done(next))}}}function filter(predicate){return function(done){return function(value){predicate(value)&&done(value)}}}function map(project){return function(done){return compose(done,project)}}function mapTo(value){return function(done){return function(){return done(value)}}}function scan(scanner,initial){return function(done){return function(value){return done(initial=scanner(initial,value))}}}function skip(times){return function(done){return function(value){times>0?times--:done(value)}}}function throttleTime(interval){var currentValue,timeout;return function(done){return function(value){currentValue=value,timeout||(timeout=setTimeout((function(){timeout=void 0,done(currentValue)}),interval))}}}function debounceTime(interval){var currentValue,timeout;return function(done){return function(value){currentValue=value,timeout&&clearTimeout(timeout),timeout=setTimeout((function(){done(currentValue)}),interval)}}}function withLatestFrom(){for(var _len3=arguments.length,sources=new Array(_len3),_key3=0;_key3<_len3;_key3++)sources[_key3]=arguments[_key3];var values=new Array(sources.length),called=0,pendingCall=null,allCalled=Math.pow(2,sources.length)-1;return sources.forEach((function(source,index){var bit=Math.pow(2,index);subscribe(source,(function(value){var prevCalled=called;called|=bit,values[index]=value,prevCalled!==allCalled&&called===allCalled&&pendingCall&&(pendingCall(),pendingCall=null)}))})),function(done){return function(value){var call=function call(){return done([value].concat(values))};called===allCalled?call():pendingCall=call}}}function merge(){for(var _len=arguments.length,sources=new Array(_len),_key=0;_key<_len;_key++)sources[_key]=arguments[_key];return function(action,subscription){switch(action){case 1:return joinProc.apply(void 0,sources.map((function(source){return subscribe(source,subscription)})));case 2:return;default:throw new Error("unrecognized action "+action)}}}function duc(source,comparator){return void 0===comparator&&(comparator=defaultComparator),pipe(source,distinctUntilChanged(comparator))}function combineLatest(){for(var innerSubject=stream(),_len2=arguments.length,emitters=new Array(_len2),_key2=0;_key2<_len2;_key2++)emitters[_key2]=arguments[_key2];var values=new Array(emitters.length),called=0,allCalled=Math.pow(2,emitters.length)-1;return emitters.forEach((function(source,index){var bit=Math.pow(2,index);subscribe(source,(function(value){values[index]=value,(called|=bit)===allCalled&&publish(innerSubject,values)}))})),function(action,subscription){switch(action){case 1:return called===allCalled&&subscription(values),subscribe(innerSubject,subscription);case 2:return urx_esm_reset(innerSubject);default:throw new Error("unrecognized action "+action)}}}function system(constructor,dependencies,_temp){void 0===dependencies&&(dependencies=[]);var singleton=(void 0===_temp?{singleton:!0}:_temp).singleton;return{id:id(),constructor,dependencies,singleton}}var id=function id(){return Symbol()};function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _createForOfIteratorHelperLoose(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(it)return(it=it.call(o)).next.bind(it);if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0;return function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var _excluded=["children"];var useIsomorphicLayoutEffect="undefined"!=typeof document?react.useLayoutEffect:react.useEffect;function systemToComponent(systemSpec,map,Root){var requiredPropNames=Object.keys(map.required||{}),optionalPropNames=Object.keys(map.optional||{}),methodNames=Object.keys(map.methods||{}),eventNames=Object.keys(map.events||{}),Context=(0,react.createContext)({});function applyPropsToSystem(system,props){system.propsReady&&publish(system.propsReady,!1);for(var _step,_iterator=_createForOfIteratorHelperLoose(requiredPropNames);!(_step=_iterator()).done;){var requiredPropName=_step.value;publish(system[map.required[requiredPropName]],props[requiredPropName])}for(var _step2,_iterator2=_createForOfIteratorHelperLoose(optionalPropNames);!(_step2=_iterator2()).done;){var optionalPropName=_step2.value;if(optionalPropName in props)publish(system[map.optional[optionalPropName]],props[optionalPropName])}system.propsReady&&publish(system.propsReady,!0)}function buildEventHandlers(system){return eventNames.reduce((function(handlers,eventName){return handlers[eventName]=function eventHandler(emitter){var unsub,currentSubscription,cleanup=function cleanup(){return unsub&&unsub()};return function(action,subscription){switch(action){case 1:if(subscription){if(currentSubscription===subscription)return;return cleanup(),currentSubscription=subscription,unsub=subscribe(emitter,subscription)}return cleanup(),noop;case 2:return cleanup(),void(currentSubscription=null);default:throw new Error("unrecognized action "+action)}}}(system[map.events[eventName]]),handlers}),{})}var Component=(0,react.forwardRef)((function(propsWithChildren,ref){var children=propsWithChildren.children,props=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(propsWithChildren,_excluded),_useState=(0,react.useState)((function(){return tap(function init(systemSpec){var singletons=new Map;return function _init(_ref2){var id=_ref2.id,constructor=_ref2.constructor,dependencies=_ref2.dependencies,singleton=_ref2.singleton;if(singleton&&singletons.has(id))return singletons.get(id);var system=constructor(dependencies.map((function(e){return _init(e)})));return singleton&&singletons.set(id,system),system}(systemSpec)}(systemSpec),(function(system){return applyPropsToSystem(system,props)}))})),system=_useState[0],handlers=(0,react.useState)(curry1to0(buildEventHandlers,system))[0];return useIsomorphicLayoutEffect((function(){for(var _step3,_iterator3=_createForOfIteratorHelperLoose(eventNames);!(_step3=_iterator3()).done;){var eventName=_step3.value;eventName in props&&subscribe(handlers[eventName],props[eventName])}return function(){Object.values(handlers).map(urx_esm_reset)}}),[props,handlers,system]),useIsomorphicLayoutEffect((function(){applyPropsToSystem(system,props)})),(0,react.useImperativeHandle)(ref,always(function buildMethods(system){return methodNames.reduce((function(acc,methodName){return acc[methodName]=function(value){publish(system[map.methods[methodName]],value)},acc}),{})}(system))),(0,react.createElement)(Context.Provider,{value:system},Root?(0,react.createElement)(Root,function omit(keys,obj){for(var result={},index={},idx=0,len=keys.length;idx<len;)index[keys[idx]]=1,idx+=1;for(var prop in obj)index.hasOwnProperty(prop)||(result[prop]=obj[prop]);return result}([].concat(requiredPropNames,optionalPropNames,eventNames),props),children):children)}));return{Component,usePublisher:function usePublisher(key){return(0,react.useCallback)(curry2to1(publish,(0,react.useContext)(Context)[key]),[key])},useEmitterValue:function useEmitterValue(key){var source=(0,react.useContext)(Context)[key],_useState3=(0,react.useState)(curry1to0(getValue,source)),value=_useState3[0],setValue=_useState3[1];return useIsomorphicLayoutEffect((function(){return subscribe(source,(function(next){next!==value&&setValue(always(next))}))}),[source,value]),value},useEmitter:function useEmitter(key,callback){var source=(0,react.useContext)(Context)[key];useIsomorphicLayoutEffect((function(){return subscribe(source,callback)}),[callback,source])}}}function H(){return H=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},H.apply(this,arguments)}function R(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)e.indexOf(n=i[o])>=0||(r[n]=t[n]);return r}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function k(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var z,B,t,F="undefined"!=typeof document?react.useLayoutEffect:react.useEffect;(t=B||(B={}))[t.DEBUG=0]="DEBUG",t[t.INFO=1]="INFO",t[t.WARN=2]="WARN",t[t.ERROR=3]="ERROR";var P=((z={})[B.DEBUG]="debug",z[B.INFO]="log",z[B.WARN]="warn",z[B.ERROR]="error",z),O=system((function(){var t=statefulStream(B.ERROR);return{log:statefulStream((function(n,o,r){var i;void 0===r&&(r=B.INFO),r>=(null!=(i=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?i:getValue(t))&&console[P[r]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",n,o)})),logLevel:t}}),[],{singleton:!0});function M(t,e){void 0===e&&(e=!0);var n=(0,react.useRef)(null),o=function(t){};if("undefined"!=typeof ResizeObserver){var r=new ResizeObserver((function(e){var n=e[0].target;null!==n.offsetParent&&t(n)}));o=function(t){t&&e?(r.observe(t),n.current=t):(n.current&&r.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:o}}function V(t,e){return void 0===e&&(e=!0),M(t,e).callbackRef}function U(t,e,n,o,r,i){return M((function(n){for(var a=function(t,e,n,o){var r=t.length;if(0===r)return null;for(var i=[],a=0;a<r;a++){var l=t.item(a);if(l&&void 0!==l.dataset.index){var s=parseInt(l.dataset.index),u=parseFloat(l.dataset.knownSize),c=e(l,"offsetHeight");if(0===c&&o("Zero-sized element, this should not happen",{child:l},B.ERROR),c!==u){var m=i[i.length-1];0===i.length||m.size!==c||m.endIndex!==s-1?i.push({startIndex:s,endIndex:s,size:c}):i[i.length-1].endIndex++}}}return i}(n.children,e,0,r),l=n.parentElement;!l.dataset.virtuosoScroller;)l=l.parentElement;var s=i?i.scrollTop:"window"===l.firstElementChild.dataset.viewportType?window.pageYOffset||document.documentElement.scrollTop:l.scrollTop;o({scrollTop:Math.max(s,0),scrollHeight:(null!=i?i:l).scrollHeight,viewportHeight:(null!=i?i:l).offsetHeight}),null!==a&&t(a)}),n)}function A(t,e){return Math.round(t.getBoundingClientRect()[e])}function W(t,n,o,r,i){void 0===r&&(r=noop);var a=(0,react.useRef)(null),l=(0,react.useRef)(null),s=(0,react.useRef)(null),u=(0,react.useCallback)((function(e){var o=e.target,r=o===window||o===document?window.pageYOffset||document.documentElement.scrollTop:o.scrollTop,i=o===window?document.documentElement.scrollHeight:o.scrollHeight,a=o===window?window.innerHeight:o.offsetHeight;t({scrollTop:Math.max(r,0),scrollHeight:i,viewportHeight:a}),null!==l.current&&(r===l.current||r<=0||r===o.scrollHeight-A(o,"height"))&&(l.current=null,n(!0),s.current&&(clearTimeout(s.current),s.current=null))}),[t,n]);return(0,react.useEffect)((function(){var t=i||a.current;return r(i||a.current),u({target:t}),t.addEventListener("scroll",u,{passive:!0}),function(){r(null),t.removeEventListener("scroll",u)}}),[a,u,o,r,i]),{scrollerRef:a,scrollByCallback:function(t){a.current.scrollBy(t)},scrollToCallback:function(e){var o=a.current;if(o&&(!("offsetHeight"in o)||0!==o.offsetHeight)){var r,i,u,c="smooth"===e.behavior;if(o===window?(i=Math.max(A(document.documentElement,"height"),document.documentElement.scrollHeight),r=window.innerHeight,u=document.documentElement.scrollTop):(i=o.scrollHeight,r=A(o,"height"),u=o.scrollTop),e.top=Math.ceil(Math.max(Math.min(i-r,e.top),0)),Math.abs(r-i)<1.01||e.top===u)return t({scrollTop:u,scrollHeight:i,viewportHeight:r}),void(c&&n(!0));c?(l.current=e.top,s.current&&clearTimeout(s.current),s.current=setTimeout((function(){s.current=null,l.current=null,n(!0)}),1e3)):l.current=null,o.scrollTo(e)}}}}var N=system((function(){var t=stream(),n=stream(),o=statefulStream(0),r=stream(),i=statefulStream(0),a=stream(),l=stream(),s=statefulStream(0),u=statefulStream(0),c=stream(),m=stream(),d=statefulStream(!1),f=statefulStream(!1);return connect(pipe(t,map((function(t){return t.scrollTop}))),n),connect(pipe(t,map((function(t){return t.scrollHeight}))),l),connect(n,i),{scrollContainerState:t,scrollTop:n,viewportHeight:a,headerHeight:s,footerHeight:u,scrollHeight:l,smoothScrollTargetReached:r,react18ConcurrentRendering:f,scrollTo:c,scrollBy:m,statefulScrollTop:i,deviation:o,scrollingInProgress:d}}),[],{singleton:!0}),D={lvl:0};function G(t,e,n,o,r){return void 0===o&&(o=D),void 0===r&&(r=D),{k:t,v:e,lvl:n,l:o,r}}function _(t){return t===D}function j(){return D}function K(t,e){if(_(t))return D;var n=t.k,o=t.l,r=t.r;if(e===n){if(_(o))return r;if(_(r))return o;var i=$(o);return et(X(t,{k:i[0],v:i[1],l:Q(o)}))}return et(X(t,e<n?{l:K(o,e)}:{r:K(r,e)}))}function Y(t,e,n){if(void 0===n&&(n="k"),_(t))return[-1/0,void 0];if(t[n]===e)return[t.k,t.v];if(t[n]<e){var o=Y(t.r,e,n);return-1/0===o[0]?[t.k,t.v]:o}return Y(t.l,e,n)}function Z(t,e,n){return _(t)?G(e,n,1):e===t.k?X(t,{k:e,v:n}):function(t){return rt(it(t))}(X(t,e<t.k?{l:Z(t.l,e,n)}:{r:Z(t.r,e,n)}))}function q(t,e,n){if(_(t))return[];var o=t.k,r=t.v,i=t.r,a=[];return o>e&&(a=a.concat(q(t.l,e,n))),o>=e&&o<=n&&a.push({k:o,v:r}),o<=n&&(a=a.concat(q(i,e,n))),a}function J(t){return _(t)?[]:[].concat(J(t.l),[{k:t.k,v:t.v}],J(t.r))}function $(t){return _(t.r)?[t.k,t.v]:$(t.r)}function Q(t){return _(t.r)?t.l:et(X(t,{r:Q(t.r)}))}function X(t,e){return G(void 0!==e.k?e.k:t.k,void 0!==e.v?e.v:t.v,void 0!==e.lvl?e.lvl:t.lvl,void 0!==e.l?e.l:t.l,void 0!==e.r?e.r:t.r)}function tt(t){return _(t)||t.lvl>t.r.lvl}function et(t){var e=t.l,n=t.r,o=t.lvl;if(n.lvl>=o-1&&e.lvl>=o-1)return t;if(o>n.lvl+1){if(tt(e))return it(X(t,{lvl:o-1}));if(_(e)||_(e.r))throw new Error("Unexpected empty nodes");return X(e.r,{l:X(e,{r:e.r.l}),r:X(t,{l:e.r.r,lvl:o-1}),lvl:o})}if(tt(t))return rt(X(t,{lvl:o-1}));if(_(n)||_(n.l))throw new Error("Unexpected empty nodes");var r=n.l,i=tt(r)?n.lvl-1:n.lvl;return X(r,{l:X(t,{r:r.l,lvl:o-1}),r:rt(X(n,{l:r.r,lvl:i})),lvl:r.lvl+1})}function nt(t,e,n){return _(t)?[]:ot(q(t,Y(t,e)[0],n),(function(t){return{index:t.k,value:t.v}}))}function ot(t,e){var n=t.length;if(0===n)return[];for(var o=e(t[0]),r=o.index,i=o.value,a=[],l=1;l<n;l++){var s=e(t[l]),u=s.index,c=s.value;a.push({start:r,end:u-1,value:i}),r=u,i=c}return a.push({start:r,end:1/0,value:i}),a}function rt(t){var e=t.r,n=t.lvl;return _(e)||_(e.r)||e.lvl!==n||e.r.lvl!==n?t:X(e,{l:X(t,{r:e.l}),lvl:n+1})}function it(t){var e=t.l;return _(e)||e.lvl!==t.lvl?t:X(e,{r:X(t,{l:e.r})})}function at(t,e,n,o){void 0===o&&(o=0);for(var r=t.length-1;o<=r;){var i=Math.floor((o+r)/2),a=n(t[i],e);if(0===a)return i;if(-1===a){if(r-o<2)return i-1;r=i-1}else{if(r===o)return i;o=i+1}}throw new Error("Failed binary finding record in array - "+t.join(",")+", searched for "+e)}function lt(t,e,n){return t[at(t,e,n)]}function st(t){var e=t.size,n=t.startIndex,o=t.endIndex;return function(t){return t.start===n&&(t.end===o||1/0===t.end)&&t.value===e}}function ut(t,e){var n=t.index;return e===n?0:e<n?-1:1}function ct(t,e){var n=t.offset;return e===n?0:e<n?-1:1}function mt(t){return{index:t.index,value:t}}function dt(t,e,n){var o=t,r=0,i=0,a=0,l=0;if(0!==e){a=o[l=at(o,e-1,ut)].offset;var s=Y(n,e-1);r=s[0],i=s[1],o.length&&o[l].size===Y(n,e)[1]&&(l-=1),o=o.slice(0,l+1)}else o=[];for(var u,c=k(nt(n,e,1/0));!(u=c()).done;){var m=u.value,d=m.start,f=m.value,p=(d-r)*i+a;o.push({offset:p,size:f,index:d}),r=d,a=p,i=f}return{offsetTree:o,lastIndex:r,lastOffset:a,lastSize:i}}function ft(t,e){var n=e[0],o=e[1];n.length>0&&(0,e[2])("received item sizes",n,B.DEBUG);var r=t.sizeTree,i=r,a=0;if(o.length>0&&_(r)&&2===n.length){var l=n[0].size,s=n[1].size;i=o.reduce((function(t,e){return Z(Z(t,e,l),e+1,s)}),i)}else{var u=function(t,e){for(var n,o=_(t)?0:1/0,r=k(e);!(n=r()).done;){var i=n.value,a=i.size,l=i.startIndex,s=i.endIndex;if(o=Math.min(o,l),_(t))t=Z(t,0,a);else{var u=nt(t,l-1,s+1);if(!u.some(st(i))){for(var c,m=!1,d=!1,f=k(u);!(c=f()).done;){var p=c.value,h=p.start,g=p.end,v=p.value;m?(s>=h||a===v)&&(t=K(t,h)):(d=v!==a,m=!0),g>s&&s>=h&&v!==a&&(t=Z(t,s+1,v))}d&&(t=Z(t,l,a))}}}return[t,o]}(i,n);i=u[0],a=u[1]}if(i===r)return t;var c=dt(t.offsetTree,a,i),m=c.offsetTree;return{sizeTree:i,offsetTree:m,lastIndex:c.lastIndex,lastOffset:c.lastOffset,lastSize:c.lastSize,groupOffsetTree:o.reduce((function(t,e){return Z(t,e,pt(e,m))}),j()),groupIndices:o}}function pt(t,e){if(0===e.length)return 0;var n=lt(e,t,ut);return n.size*(t-n.index)+n.offset}function ht(t,e){if(!gt(e))return t;for(var n=0;e.groupIndices[n]<=t+n;)n++;return t+n}function gt(t){return!_(t.groupOffsetTree)}var vt={offsetHeight:"height",offsetWidth:"width"},St=system((function(t){var n=t[0].log,o=stream(),r=stream(),i=statefulStreamFromEmitter(r,0),a=stream(),l=stream(),s=statefulStream(0),u=statefulStream([]),c=statefulStream(void 0),m=statefulStream(void 0),d=statefulStream((function(t,e){return A(t,vt[e])})),f=statefulStream(void 0),p={offsetTree:[],sizeTree:j(),groupOffsetTree:j(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},h=statefulStreamFromEmitter(pipe(o,withLatestFrom(u,n),scan(ft,p),distinctUntilChanged()),p);connect(pipe(u,filter((function(t){return t.length>0})),withLatestFrom(h),map((function(t){var e=t[0],n=t[1],o=e.reduce((function(t,e,o){return Z(t,e,pt(e,n.offsetTree)||o)}),j());return H({},n,{groupIndices:e,groupOffsetTree:o})}))),h),connect(pipe(r,withLatestFrom(h),filter((function(t){return t[0]<t[1].lastIndex})),map((function(t){var e=t[1];return[{startIndex:t[0],endIndex:e.lastIndex,size:e.lastSize}]}))),o),connect(c,m);var g=statefulStreamFromEmitter(pipe(c,map((function(t){return void 0===t}))),!0);connect(pipe(m,filter((function(t){return void 0!==t&&_(getValue(h).sizeTree)})),map((function(t){return[{startIndex:0,endIndex:0,size:t}]}))),o);var v=streamFromEmitter(pipe(o,withLatestFrom(h),scan((function(t,e){var n=e[1];return{changed:n!==t.sizes,sizes:n}}),{changed:!1,sizes:p}),map((function(t){return t.changed}))));subscribe(pipe(s,scan((function(t,e){return{diff:t.prev-e,prev:e}}),{diff:0,prev:0}),map((function(t){return t.diff}))),(function(t){t>0?publish(a,t):t<0&&publish(l,t)})),subscribe(pipe(s,withLatestFrom(n)),(function(t){t[0]<0&&(0,t[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:s},B.ERROR)}));var S=streamFromEmitter(a);connect(pipe(a,withLatestFrom(h),map((function(t){var e=t[0],n=t[1];if(n.groupIndices.length>0)throw new Error("Virtuoso: prepending items does not work with groups");return J(n.sizeTree).reduce((function(t,n){var o=n.k,r=n.v;return{ranges:[].concat(t.ranges,[{startIndex:t.prevIndex,endIndex:o+e-1,size:t.prevSize}]),prevIndex:o+e,prevSize:r}}),{ranges:[],prevIndex:0,prevSize:n.lastSize}).ranges}))),o);var I=streamFromEmitter(pipe(l,withLatestFrom(h),map((function(t){return pt(-t[0],t[1].offsetTree)}))));return connect(pipe(l,withLatestFrom(h),map((function(t){var e=t[0],n=t[1];if(n.groupIndices.length>0)throw new Error("Virtuoso: shifting items does not work with groups");var o=J(n.sizeTree).reduce((function(t,n){var o=n.v;return Z(t,Math.max(0,n.k+e),o)}),j());return H({},n,{sizeTree:o},dt(n.offsetTree,0,o))}))),h),{data:f,totalCount:r,sizeRanges:o,groupIndices:u,defaultItemSize:m,fixedItemSize:c,unshiftWith:a,shiftWith:l,shiftWithOffset:I,beforeUnshiftWith:S,firstItemIndex:s,sizes:h,listRefresh:v,statefulTotalCount:i,trackItemSizes:g,itemSize:d}}),tup(O),{singleton:!0}),It="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function Ct(t){var e="number"==typeof t?{index:t}:t;return e.align||(e.align="start"),e.behavior&&It||(e.behavior="auto"),e.offset||(e.offset=0),e}var Tt=system((function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=n.listRefresh,a=t[1],l=a.scrollingInProgress,s=a.viewportHeight,u=a.scrollTo,c=a.smoothScrollTargetReached,m=a.headerHeight,d=a.footerHeight,f=t[2].log,p=stream(),h=statefulStream(0),g=null,v=null,S=null;function I(){g&&(g(),g=null),S&&(S(),S=null),v&&(clearTimeout(v),v=null),publish(l,!1)}return connect(pipe(p,withLatestFrom(o,s,r,h,m,d,f),map((function(t){var n=t[0],o=t[1],r=t[2],a=t[3],s=t[4],u=t[5],m=t[6],d=t[7],f=Ct(n),h=f.align,C=f.behavior,T=f.offset,w=a-1,x=f.index;"LAST"===x&&(x=w),x=ht(x,o);var y=pt(x=Math.max(0,x,Math.min(w,x)),o.offsetTree)+u;"end"===h?(y=y-r+Y(o.sizeTree,x)[1],x===w&&(y+=m)):"center"===h?y=y-r/2+Y(o.sizeTree,x)[1]/2:y-=s,T&&(y+=T);var b=function(t){I(),t?(d("retrying to scroll to",{location:n},B.DEBUG),publish(p,n)):d("list did not change, scroll successful",{},B.DEBUG)};if(I(),"smooth"===C){var E=!1;S=subscribe(i,(function(t){E=E||t})),g=handleNext(c,(function(){b(E)}))}else g=handleNext(pipe(i,(function(t){var e=setTimeout((function(){t(!1)}),50);return function(n){n&&(t(!0),clearTimeout(e))}})),b);return v=setTimeout((function(){I()}),1200),publish(l,!0),d("scrolling from index to",{index:x,top:y,behavior:C},B.DEBUG),{top:y,behavior:C}}))),u),{scrollToIndex:p,topListHeight:h}}),tup(St,N,O),{singleton:!0}),wt="up",xt={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},yt=system((function(t){var n=t[0],o=n.scrollContainerState,r=n.scrollTop,i=n.viewportHeight,a=n.headerHeight,l=n.footerHeight,s=n.scrollBy,u=statefulStream(!1),c=statefulStream(!0),m=stream(),d=stream(),f=statefulStream(4),p=streamFromEmitter(pipe(merge(pipe(duc(r),skip(1),mapTo(!0)),pipe(duc(r),skip(1),mapTo(!1),debounceTime(100))),distinctUntilChanged())),h=statefulStreamFromEmitter(pipe(merge(pipe(s,mapTo(!0)),pipe(s,mapTo(!1),debounceTime(200))),distinctUntilChanged()),!1);connect(pipe(duc(r),map((function(t){return 0===t})),distinctUntilChanged()),c),connect(c,d);var g=streamFromEmitter(pipe(combineLatest(o,duc(i),duc(a),duc(l),duc(f)),scan((function(t,e){var n,o,r=e[0],i=r.scrollTop,a=r.scrollHeight,l=e[1],s={viewportHeight:l,scrollTop:i,scrollHeight:a};return i+l-a>-e[4]?(i>t.state.scrollTop?(n="SCROLLED_DOWN",o=t.state.scrollTop-i):(n="SIZE_DECREASED",o=t.state.scrollTop-i||t.scrollTopDelta),{atBottom:!0,state:s,atBottomBecause:n,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:s.scrollHeight>t.state.scrollHeight?"SIZE_INCREASED":l<t.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":i<t.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",state:s}}),xt),distinctUntilChanged((function(t,e){return t&&t.atBottom===e.atBottom})))),v=statefulStreamFromEmitter(pipe(o,scan((function(t,e){var n=e.scrollTop,o=e.scrollHeight;return t.scrollHeight!==o?t.scrollTop!==n&&n===o-e.viewportHeight?{scrollHeight:o,scrollTop:n,jump:t.scrollTop-n,changed:!0}:{scrollHeight:o,scrollTop:n,jump:0,changed:!0}:{scrollTop:n,scrollHeight:o,jump:0,changed:!1}}),{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),filter((function(t){return t.changed})),map((function(t){return t.jump}))),0);connect(pipe(g,map((function(t){return t.atBottom}))),u),connect(pipe(u,throttleTime(50)),m);var S=statefulStream("down");connect(pipe(o,map((function(t){return t.scrollTop})),distinctUntilChanged(),scan((function(t,n){return getValue(h)?{direction:t.direction,prevScrollTop:n}:{direction:n<t.prevScrollTop?wt:"down",prevScrollTop:n}}),{direction:"down",prevScrollTop:0}),map((function(t){return t.direction}))),S),connect(pipe(o,throttleTime(50),mapTo("none")),S);var I=statefulStream(0);return connect(pipe(p,filter((function(t){return!t})),mapTo(0)),I),connect(pipe(r,throttleTime(100),withLatestFrom(p),filter((function(t){return!!t[1]})),scan((function(t,e){return[t[1],e[0]]}),[0,0]),map((function(t){return t[1]-t[0]}))),I),{isScrolling:p,isAtTop:c,isAtBottom:u,atBottomState:g,atTopStateChange:d,atBottomStateChange:m,scrollDirection:S,atBottomThreshold:f,scrollVelocity:I,lastJumpDueToItemResize:v}}),tup(N)),bt=system((function(t){var o=t[0].log,r=statefulStream(!1),i=streamFromEmitter(pipe(r,filter((function(t){return t})),distinctUntilChanged()));return subscribe(r,(function(t){t&&getValue(o)("props updated",{},B.DEBUG)})),{propsReady:r,didMount:i}}),tup(O),{singleton:!0}),Et=system((function(t){var n=t[0],o=n.sizes,r=n.listRefresh,i=n.defaultItemSize,a=t[1].scrollTop,l=t[2].scrollToIndex,s=t[3].didMount,u=statefulStream(!0),c=statefulStream(0);return connect(pipe(s,withLatestFrom(c),filter((function(t){return!!t[1]})),mapTo(!1)),u),subscribe(pipe(combineLatest(r,s),withLatestFrom(u,o,i),filter((function(t){var e=t[1],n=t[3];return t[0][1]&&(!_(t[2].sizeTree)||void 0!==n)&&!e})),withLatestFrom(c)),(function(t){var n=t[1];setTimeout((function(){handleNext(a,(function(){publish(u,!0)})),publish(l,n)}))})),{scrolledToInitialItem:u,initialTopMostItemIndex:c}}),tup(St,N,Tt,bt),{singleton:!0});function Ht(t){return!!t&&("smooth"===t?"smooth":"auto")}var Rt=system((function(t){var n=t[0],o=n.totalCount,r=n.listRefresh,i=t[1],a=i.isAtBottom,l=i.atBottomState,s=t[2].scrollToIndex,u=t[3].scrolledToInitialItem,c=t[4],m=c.propsReady,d=c.didMount,f=t[5].log,p=t[6].scrollingInProgress,h=statefulStream(!1),g=null;function v(t){publish(s,{index:"LAST",align:"end",behavior:t})}return subscribe(pipe(combineLatest(pipe(duc(o),skip(1)),d),withLatestFrom(duc(h),a,u,p),map((function(t){var e=t[0],n=e[0],o=e[1]&&t[3],r="auto";return o&&(r=function(t,e){return"function"==typeof t?Ht(t(e)):e&&Ht(t)}(t[1],t[2]||t[4]),o=o&&!!r),{totalCount:n,shouldFollow:o,followOutputBehavior:r}})),filter((function(t){return t.shouldFollow}))),(function(t){var n=t.totalCount,o=t.followOutputBehavior;g&&(g(),g=null),g=handleNext(r,(function(){getValue(f)("following output to ",{totalCount:n},B.DEBUG),v(o),g=null}))})),subscribe(pipe(combineLatest(duc(h),o,m),filter((function(t){return t[0]&&t[2]})),scan((function(t,e){var n=e[1];return{refreshed:t.value===n,value:n}}),{refreshed:!1,value:0}),filter((function(t){return t.refreshed})),withLatestFrom(h,o)),(function(t){var n=t[1],o=handleNext(l,(function(t){!n||t.atBottom||"SIZE_INCREASED"!==t.notAtBottomBecause||g||(getValue(f)("scrolling to bottom due to increased size",{},B.DEBUG),v("auto"))}));setTimeout(o,100)})),subscribe(combineLatest(duc(h),l),(function(t){var e=t[1];t[0]&&!e.atBottom&&"VIEWPORT_HEIGHT_DECREASING"===e.notAtBottomBecause&&v("auto")})),{followOutput:h}}),tup(St,yt,Tt,Et,bt,O,N));function Lt(t){return t.reduce((function(t,e){return t.groupIndices.push(t.totalCount),t.totalCount+=e+1,t}),{totalCount:0,groupIndices:[]})}var kt=system((function(t){var e=t[0],n=e.totalCount,o=e.groupIndices,r=e.sizes,p=t[1],h=p.scrollTop,g=p.headerHeight,v=stream(),S=stream(),I=streamFromEmitter(pipe(v,map(Lt)));return connect(pipe(I,map(prop("totalCount"))),n),connect(pipe(I,map(prop("groupIndices"))),o),connect(pipe(combineLatest(h,r,g),filter((function(t){return gt(t[1])})),map((function(t){return Y(t[1].groupOffsetTree,Math.max(t[0]-t[2],0),"v")[0]})),distinctUntilChanged(),map((function(t){return[t]}))),S),{groupCounts:v,topItemsIndexes:S}}),tup(St,N));function zt(t,e){return!(!t||t[0]!==e[0]||t[1]!==e[1])}function Bt(t,e){return!(!t||t.startIndex!==e.startIndex||t.endIndex!==e.endIndex)}function Ft(t,e,n){return"number"==typeof t?n===wt&&"top"===e||"down"===n&&"bottom"===e?t:0:n===wt?"top"===e?t.main:t.reverse:"bottom"===e?t.main:t.reverse}function Pt(t,e){return"number"==typeof t?t:t[e]||0}var Ot=system((function(t){var n=t[0],o=n.scrollTop,r=n.viewportHeight,i=n.deviation,a=n.headerHeight,l=stream(),s=statefulStream(0),u=statefulStream(0),c=statefulStream(0),m=statefulStream(0),d=statefulStreamFromEmitter(pipe(combineLatest(duc(o),duc(r),duc(a),duc(l,zt),duc(m),duc(s),duc(u),duc(i),duc(c)),map((function(t){var e=t[0],n=t[1],o=t[2],r=t[3],i=r[0],a=r[1],l=t[4],s=t[6],u=t[7],c=t[8],m=e-u,d=t[5]+s,f=Math.max(o-m,0),p="none",h=Pt(c,"top"),g=Pt(c,"bottom");return i-=u,a+=o+s,(i+=o+s)>e+d-h&&(p=wt),(a-=u)<e-f+n+g&&(p="down"),"none"!==p?[Math.max(m-o-Ft(l,"top",p)-h,0),m-f-s+n+Ft(l,"bottom",p)+g]:null})),filter((function(t){return null!=t})),distinctUntilChanged(zt)),[0,0]);return{listBoundary:l,overscan:m,topListHeight:s,fixedHeaderHeight:u,increaseViewportBy:c,visibleRange:d}}),tup(N),{singleton:!0}),Mt={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0};function Vt(t,e,n){if(0===t.length)return[];if(!gt(e))return t.map((function(t){return H({},t,{index:t.index+n,originalIndex:t.index})}));for(var o,r=[],i=nt(e.groupOffsetTree,t[0].index,t[t.length-1].index),a=void 0,l=0,s=k(t);!(o=s()).done;){var u=o.value;(!a||a.end<u.index)&&(a=i.shift(),l=e.groupIndices.indexOf(a.start)),r.push(H({},u.index===a.start?{type:"group",index:l}:{index:u.index-(l+1)+n,groupIndex:l},{size:u.size,offset:u.offset,originalIndex:u.index,data:u.data}))}return r}function Ut(t,e,n,o,r){var i=0,a=0;if(t.length>0){i=t[0].offset;var l=t[t.length-1];a=l.offset+l.size}var s=i,u=o.lastOffset+(n-o.lastIndex)*o.lastSize-a;return{items:Vt(t,o,r),topItems:Vt(e,o,r),topListHeight:e.reduce((function(t,e){return e.size+t}),0),offsetTop:i,offsetBottom:u,top:s,bottom:a,totalCount:n}}var At,Wt,Nt,Dt=system((function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=n.data,a=n.firstItemIndex,l=t[1],s=t[2],u=s.visibleRange,c=s.listBoundary,m=s.topListHeight,d=t[3],f=d.scrolledToInitialItem,p=d.initialTopMostItemIndex,h=t[4].topListHeight,g=t[5],v=t[6].didMount,S=statefulStream([]),I=stream();connect(l.topItemsIndexes,S);var C=statefulStreamFromEmitter(pipe(combineLatest(v,duc(u),duc(r),duc(o),duc(p),f,duc(S),duc(a),i),filter((function(t){return t[0]})),map((function(t){var n=t[1],o=n[0],r=n[1],i=t[2],a=t[4],l=t[5],s=t[6],u=t[7],c=t[8],m=t[3],d=m.sizeTree,f=m.offsetTree;if(0===i||0===o&&0===r)return Mt;if(_(d))return Ut(function(t,e,n){if(gt(e)){var o=ht(t,e);return[{index:Y(e.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:n&&n[0]}]}return[{index:t,size:0,offset:0,data:n&&n[0]}]}(function(t,e){return"number"==typeof t?t:"LAST"===t.index?e-1:t.index}(a,i),m,c),[],i,m,u);var p=[];if(s.length>0)for(var h,g=s[0],v=s[s.length-1],S=0,I=k(nt(d,g,v));!(h=I()).done;)for(var C=h.value,T=C.value,w=Math.max(C.start,g),x=Math.min(C.end,v),y=w;y<=x;y++)p.push({index:y,size:T,offset:S,data:c&&c[y]}),S+=T;if(!l)return Ut([],p,i,m,u);var b=s.length>0?s[s.length-1]+1:0,E=function(t,e,n,o){return void 0===o&&(o=0),o>0&&(e=Math.max(e,lt(t,o,ut).offset)),ot((i=n,l=at(r=t,e,a=ct),s=at(r,i,a,l),r.slice(l,s+1)),mt);var r,i,a,l,s}(f,o,r,b);if(0===E.length)return null;var H=i-1;return Ut(tap([],(function(t){for(var e,n=k(E);!(e=n()).done;){var i=e.value,a=i.value,l=a.offset,s=i.start,u=a.size;a.offset<o&&(l+=((s+=Math.floor((o-a.offset)/u))-i.start)*u),s<b&&(l+=(b-s)*u,s=b);for(var m=Math.min(i.end,H),d=s;d<=m&&!(l>=r);d++)t.push({index:d,size:u,offset:l,data:c&&c[d]}),l+=u}})),p,i,m,u)})),filter((function(t){return null!==t})),distinctUntilChanged()),Mt);return connect(pipe(i,filter((function(t){return void 0!==t})),map((function(t){return t.length}))),r),connect(pipe(C,map(prop("topListHeight"))),h),connect(h,m),connect(pipe(C,map((function(t){return[t.top,t.bottom]}))),c),connect(pipe(C,map((function(t){return t.items}))),I),H({listState:C,topItemsIndexes:S,endReached:streamFromEmitter(pipe(C,filter((function(t){return t.items.length>0})),withLatestFrom(r,i),filter((function(t){var e=t[0].items;return e[e.length-1].originalIndex===t[1]-1})),map((function(t){return[t[1]-1,t[2]]})),distinctUntilChanged(zt),map((function(t){return t[0]})))),startReached:streamFromEmitter(pipe(C,throttleTime(200),filter((function(t){var e=t.items;return e.length>0&&e[0].originalIndex===t.topItems.length})),map((function(t){return t.items[0].index})),distinctUntilChanged())),rangeChanged:streamFromEmitter(pipe(C,filter((function(t){return t.items.length>0})),map((function(t){var e=t.items;return{startIndex:e[0].index,endIndex:e[e.length-1].index}})),distinctUntilChanged(Bt))),itemsRendered:I},g)}),tup(St,kt,Ot,Et,Tt,yt,bt),{singleton:!0}),Gt=system((function(t){var n=t[0],o=n.sizes,r=n.firstItemIndex,i=n.data,a=t[1].listState,l=t[2].didMount,s=statefulStream(0);return connect(pipe(l,withLatestFrom(s),filter((function(t){return 0!==t[1]})),withLatestFrom(o,r,i),map((function(t){var e=t[0][1],n=t[1],o=t[2],r=t[3],i=void 0===r?[]:r,a=0;if(n.groupIndices.length>0)for(var l,s=k(n.groupIndices);!((l=s()).done||l.value-a>=e);)a++;var u=e+a;return Ut(Array.from({length:u}).map((function(t,e){return{index:e,size:0,offset:0,data:i[e]}})),[],u,n,o)}))),a),{initialItemCount:s}}),tup(St,Dt,bt),{singleton:!0}),_t=system((function(t){var n=t[0].scrollVelocity,o=statefulStream(!1),r=stream(),i=statefulStream(!1);return connect(pipe(n,withLatestFrom(i,o,r),filter((function(t){return!!t[1]})),map((function(t){var e=t[0],n=t[1],o=t[2],r=t[3],i=n.enter;if(o){if((0,n.exit)(e,r))return!1}else if(i(e,r))return!0;return o})),distinctUntilChanged()),o),subscribe(pipe(combineLatest(o,n,r),withLatestFrom(i)),(function(t){var e=t[0],n=t[1];return e[0]&&n&&n.change&&n.change(e[1],e[2])})),{isSeeking:o,scrollSeekConfiguration:i,scrollVelocity:n,scrollSeekRangeChanged:r}}),tup(yt),{singleton:!0}),jt=system((function(t){var e=t[0].topItemsIndexes,n=statefulStream(0);return connect(pipe(n,filter((function(t){return t>0})),map((function(t){return Array.from({length:t}).map((function(t,e){return e}))}))),e),{topItemCount:n}}),tup(Dt)),Kt=system((function(t){var n=t[0],o=n.footerHeight,r=n.headerHeight,i=t[1].listState,a=stream(),l=statefulStreamFromEmitter(pipe(combineLatest(o,r,i),map((function(t){var e=t[2];return t[0]+t[1]+e.offsetBottom+e.bottom}))),0);return connect(duc(l),a),{totalListHeight:l,totalListHeightChanged:a}}),tup(N,Dt),{singleton:!0}),Yt=system((function(t){var n=t[0],o=n.scrollBy,r=n.scrollTop,i=n.deviation,a=n.scrollingInProgress,l=t[1],s=l.isScrolling,u=l.isAtBottom,c=l.atBottomState,m=l.scrollDirection,d=t[3],f=d.beforeUnshiftWith,p=d.shiftWithOffset,h=d.sizes,g=t[4].log,v=streamFromEmitter(pipe(t[2].listState,withLatestFrom(l.lastJumpDueToItemResize),scan((function(t,e){var n=t[1],o=e[0],r=o.items,i=o.totalCount,a=o.bottom+o.offsetBottom,l=0;return t[2]===i&&n.length>0&&r.length>0&&(0===r[0].originalIndex&&0===n[0].originalIndex||0!=(l=a-t[3])&&(l+=e[1])),[l,r,i,a]}),[0,[],0,0]),filter((function(t){return 0!==t[0]})),withLatestFrom(r,m,a,g,u,c),filter((function(t){return!t[3]&&0!==t[1]&&t[2]===wt})),map((function(t){var e=t[0][0];return(0,t[4])("Upward scrolling compensation",{amount:e},B.DEBUG),e}))));return connect(pipe(v,withLatestFrom(i),map((function(t){return t[1]-t[0]}))),i),subscribe(pipe(combineLatest(statefulStreamFromEmitter(s,!1),i),filter((function(t){return!t[0]&&0!==t[1]})),map((function(t){return t[1]})),throttleTime(1)),(function(t){t>0?(publish(o,{top:-t,behavior:"auto"}),publish(i,0)):(publish(i,0),publish(o,{top:-t,behavior:"auto"}))})),connect(pipe(p,map((function(t){return{top:-t}}))),o),connect(pipe(f,withLatestFrom(h),map((function(t){return t[0]*t[1].lastSize}))),v),{deviation:i}}),tup(N,yt,Dt,St,O)),Zt=system((function(t){var n=t[0].totalListHeight,o=t[1].didMount,r=t[2].scrollTo,i=statefulStream(0);return subscribe(pipe(o,withLatestFrom(i),filter((function(t){return 0!==t[1]})),map((function(t){return{top:t[1]}}))),(function(t){handleNext(pipe(n,filter((function(t){return 0!==t}))),(function(){setTimeout((function(){publish(r,t)}))}))})),{initialScrollTop:i}}),tup(Kt,bt,N),{singleton:!0}),qt=system((function(t){var n=t[0].viewportHeight,o=t[1].totalListHeight,r=statefulStream(!1);return{alignToBottom:r,paddingTopAddition:statefulStreamFromEmitter(pipe(combineLatest(r,n,o),filter((function(t){return t[0]})),map((function(t){return Math.max(0,t[1]-t[2])})),distinctUntilChanged()),0)}}),tup(N,Kt),{singleton:!0}),Jt=system((function(t){var n=t[0],o=n.scrollTo,r=n.scrollContainerState,i=stream(),a=stream(),l=stream(),s=statefulStream(!1),u=statefulStream(void 0);return connect(pipe(combineLatest(i,a),map((function(t){var e=t[0],n=e.viewportHeight,o=e.scrollHeight;return{scrollTop:Math.max(0,e.scrollTop-t[1].offsetTop),scrollHeight:o,viewportHeight:n}}))),r),connect(pipe(o,withLatestFrom(a),map((function(t){var e=t[0];return H({},e,{top:e.top+t[1].offsetTop})}))),l),{useWindowScroll:s,customScrollParent:u,windowScrollContainerState:i,windowViewportRect:a,windowScrollTo:l}}),tup(N)),$t=system((function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=t[1],a=i.scrollTop,l=i.viewportHeight,s=i.headerHeight,u=i.scrollingInProgress,c=t[2].scrollToIndex,m=stream();return connect(pipe(m,withLatestFrom(o,l,r,s,a),map((function(t){var n=t[0],o=n.index,r=n.behavior,i=void 0===r?"auto":r,a=n.done,l=t[1],s=t[2],c=t[4],m=t[5],d=t[3]-1,f=null;o=ht(o,l);var p=pt(o=Math.max(0,o,Math.min(d,o)),l.offsetTree)+c;return p<m?f={index:o,behavior:i,align:"start"}:p+Y(l.sizeTree,o)[1]>m+s&&(f={index:o,behavior:i,align:"end"}),f?a&&handleNext(pipe(u,skip(1),filter((function(t){return!1===t}))),a):a&&a(),f})),filter((function(t){return null!==t}))),c),{scrollIntoView:m}}),tup(St,N,Tt,Dt,O),{singleton:!0}),Qt=["listState","topItemsIndexes"],Xt=system((function(t){return H({},t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])}),tup(Ot,Gt,bt,_t,Kt,Zt,qt,Jt,$t)),te=system((function(t){var n=t[0],o=n.totalCount,r=n.sizeRanges,i=n.fixedItemSize,a=n.defaultItemSize,l=n.trackItemSizes,s=n.itemSize,u=n.data,c=n.firstItemIndex,m=n.groupIndices,d=n.statefulTotalCount,f=t[1],p=f.initialTopMostItemIndex,h=f.scrolledToInitialItem,g=t[2],v=t[3],S=t[4],I=S.listState,C=S.topItemsIndexes,T=R(S,Qt),w=t[5].scrollToIndex,x=t[7].topItemCount,y=t[8].groupCounts,b=t[9],E=t[10];return connect(T.rangeChanged,b.scrollSeekRangeChanged),connect(pipe(b.windowViewportRect,map(prop("visibleHeight"))),g.viewportHeight),H({totalCount:o,data:u,firstItemIndex:c,sizeRanges:r,initialTopMostItemIndex:p,scrolledToInitialItem:h,topItemsIndexes:C,topItemCount:x,groupCounts:y,fixedItemHeight:i,defaultItemHeight:a},v,{statefulTotalCount:d,listState:I,scrollToIndex:w,trackItemSizes:l,itemSize:s,groupIndices:m},T,b,g,E)}),tup(St,Et,N,Rt,Dt,Tt,Yt,jt,kt,Xt,O)),ee=(At=function(){if("undefined"==typeof document)return"sticky";var t=document.createElement("div");return t.style.position="-webkit-sticky","-webkit-sticky"===t.style.position?"-webkit-sticky":"sticky"},Nt=!1,function(){return Nt||(Nt=!0,Wt=At()),Wt});function ne(t,e){var n=(0,react.useRef)(null),o=(0,react.useCallback)((function(o){if(null!==o){var r,i,a=o.getBoundingClientRect(),l=a.width;if(e){var s=e.getBoundingClientRect(),u=a.top-s.top;r=s.height-Math.max(0,u),i=u+e.scrollTop}else r=window.innerHeight-Math.max(0,a.top),i=a.top+window.pageYOffset;n.current={offsetTop:i,visibleHeight:r,visibleWidth:l},t(n.current)}}),[t,e]),r=M(o),i=r.callbackRef,a=r.ref,l=(0,react.useCallback)((function(){o(a.current)}),[o,a]);return(0,react.useEffect)((function(){if(e){e.addEventListener("scroll",l);var t=new ResizeObserver(l);return t.observe(e),function(){e.removeEventListener("scroll",l),t.unobserve(e)}}return window.addEventListener("scroll",l),window.addEventListener("resize",l),function(){window.removeEventListener("scroll",l),window.removeEventListener("resize",l)}}),[l,e]),i}var oe=["placeholder"],re=["style","children"],ie=["style","children"];function ae(t){return t}var le=system((function(){var t=statefulStream((function(t){return"Item "+t})),e=statefulStream(null),n=statefulStream((function(t){return"Group "+t})),o=statefulStream({}),r=statefulStream(ae),i=statefulStream("div"),a=statefulStream(noop),u=function(t,e){return void 0===e&&(e=null),statefulStreamFromEmitter(pipe(o,map((function(e){return e[t]})),distinctUntilChanged()),e)};return{context:e,itemContent:t,groupContent:n,components:o,computeItemKey:r,headerFooterTag:i,scrollerRef:a,FooterComponent:u("Footer"),HeaderComponent:u("Header"),TopItemListComponent:u("TopItemList"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),GroupComponent:u("Group","div"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder")}}));function se(t,e){var n=stream();return subscribe(n,(function(){return console.warn("react-virtuoso: You are using a deprecated property. "+e,"color: red;","color: inherit;","color: blue;")})),connect(n,t),n}var ue=system((function(t){var e=t[0],o=t[1],r={item:se(o.itemContent,"Rename the %citem%c prop to %citemContent."),group:se(o.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:se(e.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:se(e.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:se(e.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:stream(),maxHeightCacheSize:stream(),footer:stream(),header:stream(),HeaderContainer:stream(),FooterContainer:stream(),ItemContainer:stream(),ScrollContainer:stream(),GroupContainer:stream(),ListContainer:stream(),emptyComponent:stream(),scrollSeek:stream()};function a(t,e,n){connect(pipe(t,withLatestFrom(o.components),map((function(t){var o,r=t[0],i=t[1];return console.warn("react-virtuoso: "+n+" property is deprecated. Pass components."+e+" instead."),H({},i,((o={})[e]=r,o))}))),o.components)}return subscribe(r.adjustForPrependedItems,(function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")})),subscribe(r.maxHeightCacheSize,(function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")})),subscribe(r.HeaderContainer,(function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")})),subscribe(r.FooterContainer,(function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")})),subscribe(r.scrollSeek,(function(t){var r=t.placeholder,i=R(t,oe);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),publish(o.components,H({},getValue(o.components),{ScrollSeekPlaceholder:r})),publish(e.scrollSeekConfiguration,i)})),a(r.footer,"Footer","footer"),a(r.header,"Header","header"),a(r.ItemContainer,"Item","ItemContainer"),a(r.ListContainer,"List","ListContainer"),a(r.ScrollContainer,"Scroller","ScrollContainer"),a(r.emptyComponent,"EmptyPlaceholder","emptyComponent"),a(r.GroupContainer,"Group","GroupContainer"),H({},e,o,r)}),tup(te,le)),ce=function(t){return react.createElement("div",{style:{height:t.height}})},me={position:ee(),zIndex:1,overflowAnchor:"none"},de={overflowAnchor:"none"},fe=react.memo((function(t){var e=t.showTopList,n=void 0!==e&&e,o=Re("listState"),r=He("sizeRanges"),i=Re("useWindowScroll"),a=Re("customScrollParent"),l=He("windowScrollContainerState"),s=He("scrollContainerState"),u=a||i?l:s,c=Re("itemContent"),m=Re("context"),d=Re("groupContent"),f=Re("trackItemSizes"),v=U(r,Re("itemSize"),f,n?noop:u,Re("log"),a),S=v.callbackRef,I=v.ref,C=react.useState(0),w=C[0],x=C[1];Le("deviation",(function(t){w!==t&&(I.current.style.marginTop=t+"px",x(t))}));var y=Re("EmptyPlaceholder"),b=Re("ScrollSeekPlaceholder")||ce,R=Re("ListComponent"),L=Re("ItemComponent"),k=Re("GroupComponent"),z=Re("computeItemKey"),B=Re("isSeeking"),F=Re("groupIndices").length>0,P=Re("paddingTopAddition"),O=Re("firstItemIndex"),M=Re("statefulTotalCount"),V=n?{}:{boxSizing:"border-box",paddingTop:o.offsetTop+P,paddingBottom:o.offsetBottom,marginTop:w};return!n&&0===M&&y?(0,react.createElement)(y,ve(y,m)):(0,react.createElement)(R,H({},ve(R,m),{ref:S,style:V,"data-test-id":n?"virtuoso-top-item-list":"virtuoso-item-list"}),(n?o.topItems:o.items).map((function(t){var e=t.originalIndex,n=z(e+O,t.data,m);return B?(0,react.createElement)(b,H({},ve(b,m),{key:n,index:t.index,height:t.size,type:t.type||"item"},"group"===t.type?{}:{groupIndex:t.groupIndex})):"group"===t.type?(0,react.createElement)(k,H({},ve(k,m),{key:n,"data-index":e,"data-known-size":t.size,"data-item-index":t.index,style:me}),d(t.index)):(0,react.createElement)(L,H({},ve(L,m),{key:n,"data-index":e,"data-known-size":t.size,"data-item-index":t.index,"data-item-group-index":t.groupIndex,style:de}),F?c(t.index,t.groupIndex,t.data,m):c(t.index,t.data,m))})))})),pe={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},he={width:"100%",height:"100%",position:"absolute",top:0},ge={width:"100%",position:ee(),top:0};function ve(t,e){if("string"!=typeof t)return{context:e}}var Se=react.memo((function(){var t=Re("HeaderComponent"),e=He("headerHeight"),n=Re("headerFooterTag"),o=V((function(t){return e(A(t,"height"))})),r=Re("context");return t?(0,react.createElement)(n,{ref:o},(0,react.createElement)(t,ve(t,r))):null})),Ie=react.memo((function(){var t=Re("FooterComponent"),e=He("footerHeight"),n=Re("headerFooterTag"),o=V((function(t){return e(A(t,"height"))})),r=Re("context");return t?(0,react.createElement)(n,{ref:o},(0,react.createElement)(t,ve(t,r))):null}));function Ce(t){var e=t.usePublisher,n=t.useEmitter,o=t.useEmitterValue;return react.memo((function(t){var r=t.style,i=t.children,a=R(t,re),l=e("scrollContainerState"),s=o("ScrollerComponent"),u=e("smoothScrollTargetReached"),c=o("scrollerRef"),m=o("context"),d=W(l,u,s,c),f=d.scrollerRef,p=d.scrollByCallback;return n("scrollTo",d.scrollToCallback),n("scrollBy",p),(0,react.createElement)(s,H({ref:f,style:H({},pe,r),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},a,ve(s,m)),i)}))}function Te(t){var e=t.usePublisher,n=t.useEmitter,o=t.useEmitterValue;return react.memo((function(t){var r=t.style,i=t.children,a=R(t,ie),l=e("windowScrollContainerState"),s=o("ScrollerComponent"),u=e("smoothScrollTargetReached"),c=o("totalListHeight"),m=o("deviation"),d=o("customScrollParent"),f=o("context"),p=W(l,u,s,noop,d),g=p.scrollerRef,v=p.scrollByCallback,S=p.scrollToCallback;return F((function(){return g.current=d||window,function(){g.current=null}}),[g,d]),n("windowScrollTo",S),n("scrollBy",v),(0,react.createElement)(s,H({style:H({position:"relative"},r,0!==c?{height:c+m}:{}),"data-virtuoso-scroller":!0},a,ve(s,f)),i)}))}var we=function(t){var e=t.children,o=V(compose(He("viewportHeight"),(function(t){return A(t,"height")})));return react.createElement("div",{style:he,ref:o,"data-viewport-type":"element"},e)},xe=function(t){var e=t.children,n=ne(He("windowViewportRect"),Re("customScrollParent"));return react.createElement("div",{ref:n,style:he,"data-viewport-type":"window"},e)},ye=function(t){var e=t.children,n=Re("TopItemListComponent"),o=Re("headerHeight"),r=H({},ge,{marginTop:o+"px"}),i=Re("context");return(0,react.createElement)(n||"div",{style:r,context:i},e)},be=systemToComponent(ue,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},react.memo((function(t){var e=Re("useWindowScroll"),n=Re("topItemsIndexes").length>0,o=Re("customScrollParent"),r=o||e?xe:we;return react.createElement(o||e?ze:ke,H({},t),react.createElement(r,null,react.createElement(Se,null),react.createElement(fe,null),react.createElement(Ie,null)),n&&react.createElement(ye,null,react.createElement(fe,{showTopList:!0})))}))),Ee=be.Component,He=be.usePublisher,Re=be.useEmitterValue,Le=be.useEmitter,ke=Ce({usePublisher:He,useEmitterValue:Re,useEmitter:Le}),ze=Te({usePublisher:He,useEmitterValue:Re,useEmitter:Le}),Be={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},Fe={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},Pe=Math.round,Oe=Math.ceil,Me=Math.floor,Ve=Math.min,Ue=Math.max;function Ae(t,e){return Array.from({length:e-t+1}).map((function(e,n){return{index:n+t}}))}var We=system((function(t){var n=t[0],o=n.overscan,r=n.visibleRange,i=n.listBoundary,a=t[1],l=a.scrollTop,s=a.viewportHeight,u=a.scrollBy,c=a.scrollTo,m=a.smoothScrollTargetReached,d=a.scrollContainerState,f=t[2],p=t[3],h=t[4],g=h.propsReady,v=h.didMount,S=t[5],I=S.windowViewportRect,C=S.windowScrollTo,T=S.useWindowScroll,w=S.customScrollParent,x=S.windowScrollContainerState,y=statefulStream(0),b=statefulStream(0),E=statefulStream(Be),R=statefulStream({height:0,width:0}),L=statefulStream({height:0,width:0}),k=stream(),z=stream(),B=statefulStream(0);connect(pipe(v,withLatestFrom(b),filter((function(t){return 0!==t[1]})),map((function(t){return{items:Ae(0,t[1]-1),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}}))),E),connect(pipe(combineLatest(duc(y),r,duc(L,(function(t,e){return t&&t.width===e.width&&t.height===e.height}))),withLatestFrom(R),map((function(t){var e=t[0],n=e[0],o=e[1],r=o[0],i=o[1],a=e[2],l=t[1],s=a.height,u=a.width,c=l.width;if(0===n||0===c)return Be;if(0===u)return Fe;var m=Ge(c,u),d=m*Me(r/s),f=m*Oe(i/s)-1;f=Ve(n-1,f);var p=Ae(d=Ve(f,Ue(0,d)),f),h=Ne(l,a,p),g=h.top,v=h.bottom;return{items:p,offsetTop:g,offsetBottom:Oe(n/m)*s-v,top:g,bottom:v,itemHeight:s,itemWidth:u}}))),E),connect(pipe(R,map((function(t){return t.height}))),s),connect(pipe(combineLatest(R,L,E),map((function(t){var e=Ne(t[0],t[1],t[2].items);return[e.top,e.bottom]})),distinctUntilChanged(zt)),i);var F=streamFromEmitter(pipe(duc(E),filter((function(t){return t.items.length>0})),withLatestFrom(y),filter((function(t){var e=t[0].items;return e[e.length-1].index===t[1]-1})),map((function(t){return t[1]-1})),distinctUntilChanged())),P=streamFromEmitter(pipe(duc(E),filter((function(t){var e=t.items;return e.length>0&&0===e[0].index})),mapTo(0),distinctUntilChanged())),O=streamFromEmitter(pipe(duc(E),filter((function(t){return t.items.length>0})),map((function(t){var e=t.items;return{startIndex:e[0].index,endIndex:e[e.length-1].index}})),distinctUntilChanged(Bt)));connect(O,p.scrollSeekRangeChanged),connect(pipe(k,withLatestFrom(R,L,y),map((function(t){var e=t[1],n=t[2],o=t[3],r=Ct(t[0]),i=r.align,a=r.behavior,l=r.offset,s=r.index;"LAST"===s&&(s=o-1);var u=De(e,n,s=Ue(0,s,Ve(o-1,s)));return"end"===i?u=Pe(u-e.height+n.height):"center"===i&&(u=Pe(u-e.height/2+n.height/2)),l&&(u+=l),{top:u,behavior:a}}))),c);var M=statefulStreamFromEmitter(pipe(E,map((function(t){return t.offsetBottom+t.bottom}))),0);return connect(pipe(I,map((function(t){return{width:t.visibleWidth,height:t.visibleHeight}}))),R),H({totalCount:y,viewportDimensions:R,itemDimensions:L,scrollTop:l,scrollHeight:z,overscan:o,scrollBy:u,scrollTo:c,scrollToIndex:k,smoothScrollTargetReached:m,windowViewportRect:I,windowScrollTo:C,useWindowScroll:T,customScrollParent:w,windowScrollContainerState:x,deviation:B,scrollContainerState:d,initialItemCount:b},p,{gridState:E,totalListHeight:M},f,{startReached:P,endReached:F,rangeChanged:O,propsReady:g})}),tup(Ot,N,yt,_t,bt,Jt));function Ne(t,e,n){var o=e.height;return void 0===o||0===n.length?{top:0,bottom:0}:{top:De(t,e,n[0].index),bottom:De(t,e,n[n.length-1].index)+o}}function De(t,e,n){var o=Ge(t.width,e.width);return Me(n/o)*e.height}function Ge(t,e){return Ue(1,Me(t/e))}var _e=["placeholder"],je=system((function(){var t=statefulStream((function(t){return"Item "+t})),n=statefulStream({}),o=statefulStream(null),r=statefulStream("virtuoso-grid-item"),i=statefulStream("virtuoso-grid-list"),a=statefulStream(ae),l=statefulStream(noop),s=function(t,o){return void 0===o&&(o=null),statefulStreamFromEmitter(pipe(n,map((function(e){return e[t]})),distinctUntilChanged()),o)};return{context:o,itemContent:t,components:n,computeItemKey:a,itemClassName:r,listClassName:i,scrollerRef:l,ListComponent:s("List","div"),ItemComponent:s("Item","div"),ScrollerComponent:s("Scroller","div"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder","div")}})),Ke=system((function(t){var n=t[0],o=t[1],r={item:se(o.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:stream(),ScrollContainer:stream(),ListContainer:stream(),emptyComponent:stream(),scrollSeek:stream()};function i(t,n,r){connect(pipe(t,withLatestFrom(o.components),map((function(t){var e,o=t[0],i=t[1];return console.warn("react-virtuoso: "+r+" property is deprecated. Pass components."+n+" instead."),H({},i,((e={})[n]=o,e))}))),o.components)}return subscribe(r.scrollSeek,(function(t){var r=t.placeholder,i=R(t,_e);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),publish(o.components,H({},getValue(o.components),{ScrollSeekPlaceholder:r})),publish(n.scrollSeekConfiguration,i)})),i(r.ItemContainer,"Item","ItemContainer"),i(r.ListContainer,"List","ListContainer"),i(r.ScrollContainer,"Scroller","ScrollContainer"),H({},n,o,r)}),tup(We,je)),Ye=react.memo((function(){var t=Xe("gridState"),e=Xe("listClassName"),n=Xe("itemClassName"),o=Xe("itemContent"),r=Xe("computeItemKey"),i=Xe("isSeeking"),a=Qe("scrollHeight"),l=Xe("ItemComponent"),s=Xe("ListComponent"),u=Xe("ScrollSeekPlaceholder"),c=Xe("context"),m=Qe("itemDimensions"),d=V((function(t){a(t.parentElement.parentElement.scrollHeight);var e=t.firstChild;e&&m(e.getBoundingClientRect())}));return(0,react.createElement)(s,H({ref:d,className:e},ve(s,c),{style:{paddingTop:t.offsetTop,paddingBottom:t.offsetBottom}}),t.items.map((function(e){var a=r(e.index);return i?(0,react.createElement)(u,H({key:a},ve(u,c),{index:e.index,height:t.itemHeight,width:t.itemWidth})):(0,react.createElement)(l,H({},ve(l,c),{className:n,"data-index":e.index,key:a}),o(e.index,c))})))})),Ze=function(t){var e=t.children,n=Qe("viewportDimensions"),o=V((function(t){n(t.getBoundingClientRect())}));return react.createElement("div",{style:he,ref:o},e)},qe=function(t){var e=t.children,n=ne(Qe("windowViewportRect"),Xe("customScrollParent"));return react.createElement("div",{ref:n,style:he},e)},Je=systemToComponent(Ke,{optional:{totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},react.memo((function(t){var e=H({},t),n=Xe("useWindowScroll"),o=Xe("customScrollParent"),r=o||n?qe:Ze;return react.createElement(o||n?nn:en,H({},e),react.createElement(r,null,react.createElement(Ye,null)))}))),Qe=(Je.Component,Je.usePublisher),Xe=Je.useEmitterValue,tn=Je.useEmitter,en=Ce({usePublisher:Qe,useEmitterValue:Xe,useEmitter:tn}),nn=Te({usePublisher:Qe,useEmitterValue:Xe,useEmitter:tn}),on=system((function(){var t=statefulStream((function(t){return react.createElement("td",null,"Item $",t)})),e=statefulStream(null),n=statefulStream(null),o=statefulStream({}),r=statefulStream(ae),i=statefulStream(noop),a=function(t,e){return void 0===e&&(e=null),statefulStreamFromEmitter(pipe(o,map((function(e){return e[t]})),distinctUntilChanged()),e)};return{context:e,itemContent:t,fixedHeaderContent:n,components:o,computeItemKey:r,scrollerRef:i,TableComponent:a("Table","table"),TableHeadComponent:a("TableHead","thead"),TableBodyComponent:a("TableBody","tbody"),TableRowComponent:a("TableRow","tr"),ScrollerComponent:a("Scroller","div"),EmptyPlaceholder:a("EmptyPlaceholder"),ScrollSeekPlaceholder:a("ScrollSeekPlaceholder"),FillerRow:a("FillerRow")}})),rn=system((function(t){return H({},t[0],t[1])}),tup(te,on)),an=function(t){return react.createElement("tr",null,react.createElement("td",{style:{height:t.height}}))},ln=function(t){return react.createElement("tr",null,react.createElement("td",{style:{height:t.height,padding:0,border:0}}))},sn=react.memo((function(){var t=pn("listState"),e=fn("sizeRanges"),n=pn("useWindowScroll"),o=pn("customScrollParent"),r=fn("windowScrollContainerState"),i=fn("scrollContainerState"),a=o||n?r:i,l=pn("itemContent"),s=pn("trackItemSizes"),u=U(e,pn("itemSize"),s,a,pn("log"),o),c=u.callbackRef,m=u.ref,d=react.useState(0),f=d[0],p=d[1];hn("deviation",(function(t){f!==t&&(m.current.style.marginTop=t+"px",p(t))}));var h=pn("EmptyPlaceholder"),g=pn("ScrollSeekPlaceholder")||an,v=pn("FillerRow")||ln,S=pn("TableBodyComponent"),I=pn("TableRowComponent"),C=pn("computeItemKey"),w=pn("isSeeking"),x=pn("paddingTopAddition"),y=pn("firstItemIndex"),b=pn("statefulTotalCount"),R=pn("context");if(0===b&&h)return(0,react.createElement)(h,ve(h,R));var L=t.offsetTop+x+f,k=t.offsetBottom,z=L>0?react.createElement(v,{height:L,key:"padding-top"}):null,B=k>0?react.createElement(v,{height:k,key:"padding-bottom"}):null,F=t.items.map((function(t){var e=t.originalIndex,n=C(e+y,t.data,R);return w?(0,react.createElement)(g,H({},ve(g,R),{key:n,index:t.index,height:t.size,type:t.type||"item"})):(0,react.createElement)(I,H({},ve(I,R),{key:n,"data-index":e,"data-known-size":t.size,"data-item-index":t.index,style:{overflowAnchor:"none"}}),l(t.index,t.data,R))}));return(0,react.createElement)(S,H({ref:c,"data-test-id":"virtuoso-item-list"},ve(S,R)),[z].concat(F,[B]))})),un=function(t){var e=t.children,o=V(compose(fn("viewportHeight"),(function(t){return A(t,"height")})));return react.createElement("div",{style:he,ref:o,"data-viewport-type":"element"},e)},cn=function(t){var e=t.children,n=ne(fn("windowViewportRect"),pn("customScrollParent"));return react.createElement("div",{ref:n,style:he,"data-viewport-type":"window"},e)},mn=systemToComponent(rn,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},react.memo((function(t){var e=pn("useWindowScroll"),n=pn("customScrollParent"),o=fn("fixedHeaderHeight"),r=pn("fixedHeaderContent"),i=pn("context"),a=V(compose(o,(function(t){return A(t,"height")}))),l=n||e?vn:gn,s=n||e?cn:un,u=pn("TableComponent"),c=pn("TableHeadComponent"),m=r?react.createElement(c,H({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:a},ve(c,i)),r()):null;return react.createElement(l,H({},t),react.createElement(s,null,react.createElement(u,H({style:{borderSpacing:0}},ve(u,i)),[m,react.createElement(sn,{key:"TableBody"})])))}))),fn=(mn.Component,mn.usePublisher),pn=mn.useEmitterValue,hn=mn.useEmitter,gn=Ce({usePublisher:fn,useEmitterValue:pn,useEmitter:hn}),vn=Te({usePublisher:fn,useEmitterValue:pn,useEmitter:hn}),Sn=Ee},"./node_modules/react/cjs/react-jsx-runtime.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/object-assign/index.js");var f=__webpack_require__("./node_modules/react/index.js"),g=60103;if(exports.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element"),exports.Fragment=h("react.fragment")}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};function q(c,a,k){var b,d={},e=null,l=null;for(b in void 0!==k&&(e=""+k),void 0!==a.key&&(e=""+a.key),void 0!==a.ref&&(l=a.ref),a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q,exports.jsxs=q},"./node_modules/react/cjs/react.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var l=__webpack_require__("./node_modules/object-assign/index.js"),n=60103,p=60106;exports.Fragment=60107,exports.StrictMode=60108,exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;var u=60115,v=60116;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),p=w("react.portal"),exports.Fragment=w("react.fragment"),exports.StrictMode=w("react.strict_mode"),exports.Profiler=w("react.profiler"),q=w("react.provider"),r=w("react.context"),t=w("react.forward_ref"),exports.Suspense=w("react.suspense"),u=w("react.memo"),v=w("react.lazy")}var x="function"==typeof Symbol&&Symbol.iterator;function z(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B={};function C(a,b,c){this.props=a,this.context=b,this.refs=B,this.updater=c||A}function D(){}function E(a,b,c){this.props=a,this.context=b,this.refs=B,this.updater=c||A}C.prototype.isReactComponent={},C.prototype.setState=function(a,b){if("object"!=typeof a&&"function"!=typeof a&&null!=a)throw Error(z(85));this.updater.enqueueSetState(this,a,b,"setState")},C.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")},D.prototype=C.prototype;var F=E.prototype=new D;F.constructor=E,l(F,C.prototype),F.isPureReactComponent=!0;var G={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};function J(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)H.call(b,e)&&!I.hasOwnProperty(e)&&(d[e]=b[e]);var g=arguments.length-2;if(1===g)d.children=c;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];d.children=f}if(a&&a.defaultProps)for(e in g=a.defaultProps)void 0===d[e]&&(d[e]=g[e]);return{$$typeof:n,type:a,key:k,ref:h,props:d,_owner:G.current}}function L(a){return"object"==typeof a&&null!==a&&a.$$typeof===n}var M=/\/+/g;function N(a,b){return"object"==typeof a&&null!==a&&null!=a.key?function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,(function(a){return b[a]}))}(""+a.key):b.toString(36)}function O(a,b,c,e,d){var k=typeof a;"undefined"!==k&&"boolean"!==k||(a=null);var h=!1;if(null===a)h=!0;else switch(k){case"string":case"number":h=!0;break;case"object":switch(a.$$typeof){case n:case p:h=!0}}if(h)return d=d(h=a),a=""===e?"."+N(h,0):e,Array.isArray(d)?(c="",null!=a&&(c=a.replace(M,"$&/")+"/"),O(d,b,c,"",(function(a){return a}))):null!=d&&(L(d)&&(d=function K(a,b){return{$$typeof:n,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}(d,c+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(M,"$&/")+"/")+a)),b.push(d)),1;if(h=0,e=""===e?".":e+":",Array.isArray(a))for(var g=0;g<a.length;g++){var f=e+N(k=a[g],g);h+=O(k,b,c,f,d)}else if(f=function y(a){return null===a||"object"!=typeof a?null:"function"==typeof(a=x&&a[x]||a["@@iterator"])?a:null}(a),"function"==typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)h+=O(k=k.value,b,c,f=e+N(k,g++),d);else if("object"===k)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function P(a,b,c){if(null==a)return a;var e=[],d=0;return O(a,e,"","",(function(a){return b.call(c,a,d++)})),e}function Q(a){if(-1===a._status){var b=a._result;b=b(),a._status=0,a._result=b,b.then((function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)}),(function(b){0===a._status&&(a._status=2,a._result=b)}))}if(1===a._status)return a._result;throw a._result}var R={current:null};function S(){var a=R.current;if(null===a)throw Error(z(321));return a}var T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:G,IsSomeRendererActing:{current:!1},assign:l};exports.Children={map:P,forEach:function(a,b,c){P(a,(function(){b.apply(this,arguments)}),c)},count:function(a){var b=0;return P(a,(function(){b++})),b},toArray:function(a){return P(a,(function(a){return a}))||[]},only:function(a){if(!L(a))throw Error(z(143));return a}},exports.Component=C,exports.PureComponent=E,exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T,exports.cloneElement=function(a,b,c){if(null==a)throw Error(z(267,a));var e=l({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){if(void 0!==b.ref&&(k=b.ref,h=G.current),void 0!==b.key&&(d=""+b.key),a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)H.call(b,f)&&!I.hasOwnProperty(f)&&(e[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){g=Array(f);for(var m=0;m<f;m++)g[m]=arguments[m+2];e.children=g}return{$$typeof:n,type:a.type,key:d,ref:k,props:e,_owner:h}},exports.createContext=function(a,b){return void 0===b&&(b=null),(a={$$typeof:r,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:q,_context:a},a.Consumer=a},exports.createElement=J,exports.createFactory=function(a){var b=J.bind(null,a);return b.type=a,b},exports.createRef=function(){return{current:null}},exports.forwardRef=function(a){return{$$typeof:t,render:a}},exports.isValidElement=L,exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:Q}},exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}},exports.useCallback=function(a,b){return S().useCallback(a,b)},exports.useContext=function(a,b){return S().useContext(a,b)},exports.useDebugValue=function(){},exports.useEffect=function(a,b){return S().useEffect(a,b)},exports.useImperativeHandle=function(a,b,c){return S().useImperativeHandle(a,b,c)},exports.useLayoutEffect=function(a,b){return S().useLayoutEffect(a,b)},exports.useMemo=function(a,b){return S().useMemo(a,b)},exports.useReducer=function(a,b,c){return S().useReducer(a,b,c)},exports.useRef=function(a){return S().useRef(a)},exports.useState=function(a){return S().useState(a)},exports.version="17.0.2"},"./node_modules/react/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react.production.min.js")},"./node_modules/react/jsx-runtime.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react-jsx-runtime.production.min.js")},"./node_modules/recoil/es/recoil.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FV:()=>Recoil_index_21,Wh:()=>Recoil_index_4,Zl:()=>Recoil_index_23,cn:()=>Recoil_index_7,sJ:()=>Recoil_index_19});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_dom__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-dom/index.js");var Recoil_err=function err(message){const error=new Error(message);if(void 0===error.stack)try{throw error}catch(_){}return error};var Recoil_isPromise=function isPromise(p){return!!p&&"function"==typeof p.then};var Recoil_nullthrows=function nullthrows(x,message){if(null!=x)return x;throw Recoil_err(null!=message?message:"Got unexpected null or undefined")};function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}class BaseLoadable{getValue(){throw Recoil_err("BaseLoadable")}toPromise(){throw Recoil_err("BaseLoadable")}valueMaybe(){throw Recoil_err("BaseLoadable")}valueOrThrow(){throw Recoil_err(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw Recoil_err("BaseLoadable")}promiseOrThrow(){throw Recoil_err(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw Recoil_err("BaseLoadable")}errorOrThrow(){throw Recoil_err(`Loadable expected error, but in "${this.state}" state`)}is(other){return other.state===this.state&&other.contents===this.contents}map(_map){throw Recoil_err("BaseLoadable")}}class ValueLoadable extends BaseLoadable{constructor(value){super(),_defineProperty(this,"state","hasValue"),_defineProperty(this,"contents",void 0),this.contents=value}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(map){try{const next=map(this.contents);return Recoil_isPromise(next)?loadableWithPromise(next):isLoadable(next)?next:loadableWithValue(next)}catch(e){return Recoil_isPromise(e)?loadableWithPromise(e.next((()=>this.map(map)))):loadableWithError(e)}}}class ErrorLoadable extends BaseLoadable{constructor(error){super(),_defineProperty(this,"state","hasError"),_defineProperty(this,"contents",void 0),this.contents=error}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(_map){return this}}class LoadingLoadable extends BaseLoadable{constructor(promise){super(),_defineProperty(this,"state","loading"),_defineProperty(this,"contents",void 0),this.contents=promise}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(map){return loadableWithPromise(this.contents.then((value=>{const next=map(value);if(isLoadable(next)){const nextLoadable=next;switch(nextLoadable.state){case"hasValue":case"loading":return nextLoadable.contents;case"hasError":throw nextLoadable.contents}}return next})).catch((e=>{if(Recoil_isPromise(e))return e.then((()=>this.map(map).contents));throw e})))}}function loadableWithValue(value){return Object.freeze(new ValueLoadable(value))}function loadableWithError(error){return Object.freeze(new ErrorLoadable(error))}function loadableWithPromise(promise){return Object.freeze(new LoadingLoadable(promise))}function loadableLoading(){return Object.freeze(new LoadingLoadable(new Promise((()=>{}))))}function loadableAll(inputs){const output=function loadableAllArray(inputs){return inputs.every((i=>"hasValue"===i.state))?loadableWithValue(inputs.map((i=>i.contents))):inputs.some((i=>"hasError"===i.state))?loadableWithError(Recoil_nullthrows(inputs.find((i=>"hasError"===i.state)),"Invalid loadable passed to loadableAll").contents):loadableWithPromise(Promise.all(inputs.map((i=>i.contents))))}((Array.isArray(inputs)?inputs:Object.getOwnPropertyNames(inputs).map((key=>inputs[key]))).map((x=>isLoadable(x)?x:Recoil_isPromise(x)?loadableWithPromise(x):loadableWithValue(x))));return Array.isArray(inputs)?output:output.map((outputs=>Object.getOwnPropertyNames(inputs).reduce(((out,key,idx)=>({...out,[key]:outputs[idx]})),{})))}function isLoadable(x){return x instanceof BaseLoadable}const LoadableStaticInterface={of:value=>Recoil_isPromise(value)?loadableWithPromise(value):isLoadable(value)?value:loadableWithValue(value),error:error=>loadableWithError(error),loading:()=>loadableLoading(),all:loadableAll,isLoadable};var Recoil_Loadable={loadableWithValue,loadableWithError,loadableWithPromise,loadableLoading,loadableAll,isLoadable,RecoilLoadable:LoadableStaticInterface},Recoil_Loadable_1=Recoil_Loadable.loadableWithValue,Recoil_Loadable_2=Recoil_Loadable.loadableWithError,Recoil_Loadable_3=Recoil_Loadable.loadableWithPromise,Recoil_Loadable_4=Recoil_Loadable.loadableLoading,Recoil_Loadable_5=Recoil_Loadable.loadableAll,Recoil_Loadable_6=Recoil_Loadable.isLoadable,Recoil_Loadable_7=Recoil_Loadable.RecoilLoadable,Recoil_Loadable$1=Object.freeze({__proto__:null,loadableWithValue:Recoil_Loadable_1,loadableWithError:Recoil_Loadable_2,loadableWithPromise:Recoil_Loadable_3,loadableLoading:Recoil_Loadable_4,loadableAll:Recoil_Loadable_5,isLoadable:Recoil_Loadable_6,RecoilLoadable:Recoil_Loadable_7});const gks=(new Map).set("recoil_hamt_2020",!0).set("recoil_sync_external_store",!0).set("recoil_suppress_rerender_in_callback",!0).set("recoil_memory_managament_2020",!0);function Recoil_gkx_OSS(gk){var _gks$get;return null!==(_gks$get=gks.get(gk))&&void 0!==_gks$get&&_gks$get}Recoil_gkx_OSS.setPass=gk=>{gks.set(gk,!0)},Recoil_gkx_OSS.setFail=gk=>{gks.set(gk,!1)},Recoil_gkx_OSS.clear=()=>{gks.clear()};var _createMutableSource,_useMutableSource,_useSyncExternalStore,Recoil_gkx=Recoil_gkx_OSS;const createMutableSource=null!==(_createMutableSource=react__WEBPACK_IMPORTED_MODULE_0__.createMutableSource)&&void 0!==_createMutableSource?_createMutableSource:react__WEBPACK_IMPORTED_MODULE_0__.unstable_createMutableSource,useMutableSource=null!==(_useMutableSource=react__WEBPACK_IMPORTED_MODULE_0__.useMutableSource)&&void 0!==_useMutableSource?_useMutableSource:react__WEBPACK_IMPORTED_MODULE_0__.unstable_useMutableSource,useSyncExternalStore=null!==(_useSyncExternalStore=react__WEBPACK_IMPORTED_MODULE_0__.useSyncExternalStore)&&void 0!==_useSyncExternalStore?_useSyncExternalStore:react__WEBPACK_IMPORTED_MODULE_0__.unstable_useSyncExternalStore;var Recoil_ReactMode={createMutableSource,useMutableSource,useSyncExternalStore,reactMode:function reactMode(){return Recoil_gkx("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:Recoil_gkx("recoil_sync_external_store")&&null!=useSyncExternalStore?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:Recoil_gkx("recoil_mutable_source")&&null!=useMutableSource&&"undefined"!=typeof window&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?Recoil_gkx("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:Recoil_gkx("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}},isFastRefreshEnabled:function isFastRefreshEnabled(){return!1}};class AbstractRecoilValue{constructor(newKey){_defineProperty(this,"key",void 0),this.key=newKey}}class RecoilState extends AbstractRecoilValue{}class RecoilValueReadOnly extends AbstractRecoilValue{}var Recoil_RecoilValue={AbstractRecoilValue,RecoilState,RecoilValueReadOnly,isRecoilValue:function isRecoilValue(x){return x instanceof RecoilState||x instanceof RecoilValueReadOnly}},Recoil_RecoilValue_1=Recoil_RecoilValue.AbstractRecoilValue,Recoil_RecoilValue_2=Recoil_RecoilValue.RecoilState,Recoil_RecoilValue_3=Recoil_RecoilValue.RecoilValueReadOnly,Recoil_RecoilValue_4=Recoil_RecoilValue.isRecoilValue,Recoil_RecoilValue$1=Object.freeze({__proto__:null,AbstractRecoilValue:Recoil_RecoilValue_1,RecoilState:Recoil_RecoilValue_2,RecoilValueReadOnly:Recoil_RecoilValue_3,isRecoilValue:Recoil_RecoilValue_4});var Recoil_expectationViolation=function expectationViolation(format,...args){0};var Recoil_mapIterable=function mapIterable(iterable,callback){return function*(){let index=0;for(const value of iterable)yield callback(value,index++)}()};var Recoil_recoverableViolation=function recoverableViolation(message,_projectName,{error}={}){return null};const{isFastRefreshEnabled:isFastRefreshEnabled$1}=Recoil_ReactMode;class DefaultValue{}const DEFAULT_VALUE=new DefaultValue;class RecoilValueNotReady extends Error{constructor(key){super(`Tried to set the value of Recoil selector ${key} using an updater function, but it is an async selector in a pending or error state; this is not supported.`)}}const nodes=new Map,recoilValues=new Map;class NodeMissingError extends Error{}const configDeletionHandlers=new Map;function getConfigDeletionHandler(key){return configDeletionHandlers.get(key)}var Recoil_Node={nodes,recoilValues,registerNode:function registerNode(node){if(nodes.has(node.key)){const message=`Duplicate atom key "${node.key}". This is a FATAL ERROR in\n production. But it is safe to ignore this warning if it occurred because of\n hot module replacement.`;console.warn(message)}nodes.set(node.key,node);const recoilValue=null==node.set?new Recoil_RecoilValue$1.RecoilValueReadOnly(node.key):new Recoil_RecoilValue$1.RecoilState(node.key);return recoilValues.set(node.key,recoilValue),recoilValue},getNode:function getNode(key){const node=nodes.get(key);if(null==node)throw new NodeMissingError(`Missing definition for RecoilValue: "${key}""`);return node},getNodeMaybe:function getNodeMaybe(key){return nodes.get(key)},deleteNodeConfigIfPossible:function deleteNodeConfigIfPossible(key){var _node$shouldDeleteCon;if(!Recoil_gkx("recoil_memory_managament_2020"))return;const node=nodes.get(key);var _getConfigDeletionHan;null!=node&&null!==(_node$shouldDeleteCon=node.shouldDeleteConfigOnRelease)&&void 0!==_node$shouldDeleteCon&&_node$shouldDeleteCon.call(node)&&(nodes.delete(key),null===(_getConfigDeletionHan=getConfigDeletionHandler(key))||void 0===_getConfigDeletionHan||_getConfigDeletionHan(),configDeletionHandlers.delete(key))},setConfigDeletionHandler:function setConfigDeletionHandler(key,fn){Recoil_gkx("recoil_memory_managament_2020")&&(void 0===fn?configDeletionHandlers.delete(key):configDeletionHandlers.set(key,fn))},getConfigDeletionHandler,recoilValuesForKeys:function recoilValuesForKeys(keys){return Recoil_mapIterable(keys,(key=>Recoil_nullthrows(recoilValues.get(key))))},NodeMissingError,DefaultValue,DEFAULT_VALUE,RecoilValueNotReady};var Recoil_Queue={enqueueExecution:function enqueueExecution(s,f){f()}};var hamt_1=function createCommonjsModule(fn,module){return fn(module={exports:{}},module.exports),module.exports}((function(module){var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},hamt={},BUCKET_SIZE=Math.pow(2,5),MASK=BUCKET_SIZE-1,MAX_INDEX_NODE=BUCKET_SIZE/2,MIN_ARRAY_NODE=BUCKET_SIZE/4,nothing={},constant=function constant(x){return function(){return x}},hash=hamt.hash=function(str){var type=void 0===str?"undefined":_typeof(str);if("number"===type)return str;"string"!==type&&(str+="");for(var hash=0,i=0,len=str.length;i<len;++i){hash=(hash<<5)-hash+str.charCodeAt(i)|0}return hash},hashFragment=function hashFragment(shift,h){return h>>>shift&MASK},toBitmap=function toBitmap(x){return 1<<x},fromBitmap=function fromBitmap(bitmap,bit){return function popcount(x){return x=(x=(858993459&(x-=x>>1&1431655765))+(x>>2&858993459))+(x>>4)&252645135,x+=x>>8,127&x+(x>>16)}(bitmap&bit-1)},arrayUpdate=function arrayUpdate(mutate,at,v,arr){var out=arr;if(!mutate){var len=arr.length;out=new Array(len);for(var i=0;i<len;++i)out[i]=arr[i]}return out[at]=v,out},arraySpliceOut=function arraySpliceOut(mutate,at,arr){var newLen=arr.length-1,i=0,g=0,out=arr;if(mutate)i=g=at;else for(out=new Array(newLen);i<at;)out[g++]=arr[i++];for(++i;i<=newLen;)out[g++]=arr[i++];return mutate&&(out.length=newLen),out},empty={__hamt_isEmpty:!0},isEmptyNode=function isEmptyNode(x){return x===empty||x&&x.__hamt_isEmpty},Leaf=function Leaf(edit,hash,key,value){return{type:1,edit,hash,key,value,_modify:Leaf__modify}},Collision=function Collision(edit,hash,children){return{type:2,edit,hash,children,_modify:Collision__modify}},IndexedNode=function IndexedNode(edit,mask,children){return{type:3,edit,mask,children,_modify:IndexedNode__modify}},ArrayNode=function ArrayNode(edit,size,children){return{type:4,edit,size,children,_modify:ArrayNode__modify}},mergeLeaves=function mergeLeaves(edit,shift,h1,n1,h2,n2){if(h1===h2)return Collision(edit,h1,[n2,n1]);var subH1=hashFragment(shift,h1),subH2=hashFragment(shift,h2);return IndexedNode(edit,toBitmap(subH1)|toBitmap(subH2),subH1===subH2?[mergeLeaves(edit,shift+5,h1,n1,h2,n2)]:subH1<subH2?[n1,n2]:[n2,n1])},canEditNode=function canEditNode(edit,node){return edit===node.edit},Leaf__modify=function Leaf__modify(edit,keyEq,shift,f,h,k,size){if(keyEq(k,this.key)){var _v=f(this.value);return _v===this.value?this:_v===nothing?(--size.value,empty):canEditNode(edit,this)?(this.value=_v,this):Leaf(edit,h,k,_v)}var v=f();return v===nothing?this:(++size.value,mergeLeaves(edit,shift,this.hash,this,h,Leaf(edit,h,k,v)))},Collision__modify=function Collision__modify(edit,keyEq,shift,f,h,k,size){if(h===this.hash){var list=function updateCollisionList(mutate,edit,keyEq,h,list,f,k,size){for(var len=list.length,i=0;i<len;++i){var child=list[i];if(keyEq(k,child.key)){var value=child.value,_newValue=f(value);return _newValue===value?list:_newValue===nothing?(--size.value,arraySpliceOut(mutate,i,list)):arrayUpdate(mutate,i,Leaf(edit,h,k,_newValue),list)}}var newValue=f();return newValue===nothing?list:(++size.value,arrayUpdate(mutate,len,Leaf(edit,h,k,newValue),list))}(canEditNode(edit,this),edit,keyEq,this.hash,this.children,f,k,size);return list===this.children?this:list.length>1?Collision(edit,this.hash,list):list[0]}var v=f();return v===nothing?this:(++size.value,mergeLeaves(edit,shift,this.hash,this,h,Leaf(edit,h,k,v)))},IndexedNode__modify=function IndexedNode__modify(edit,keyEq,shift,f,h,k,size){var mask=this.mask,children=this.children,frag=hashFragment(shift,h),bit=toBitmap(frag),indx=fromBitmap(mask,bit),exists=mask&bit,current=exists?children[indx]:empty,child=current._modify(edit,keyEq,shift+5,f,h,k,size);if(current===child)return this;var canEdit=canEditNode(edit,this),bitmap=mask,newChildren=void 0;if(exists&&isEmptyNode(child)){if(!(bitmap&=~bit))return empty;if(children.length<=2&&function isLeaf(node){return node===empty||1===node.type||2===node.type}(children[1^indx]))return children[1^indx];newChildren=arraySpliceOut(canEdit,indx,children)}else if(exists||isEmptyNode(child))newChildren=arrayUpdate(canEdit,indx,child,children);else{if(children.length>=MAX_INDEX_NODE)return function expand(edit,frag,child,bitmap,subNodes){for(var arr=[],bit=bitmap,count=0,i=0;bit;++i)1&bit&&(arr[i]=subNodes[count++]),bit>>>=1;return arr[frag]=child,ArrayNode(edit,count+1,arr)}(edit,frag,child,mask,children);bitmap|=bit,newChildren=function arraySpliceIn(mutate,at,v,arr){var len=arr.length;if(mutate){for(var _i=len;_i>=at;)arr[_i--]=arr[_i];return arr[at]=v,arr}for(var i=0,g=0,out=new Array(len+1);i<at;)out[g++]=arr[i++];for(out[at]=v;i<len;)out[++g]=arr[i++];return out}(canEdit,indx,child,children)}return canEdit?(this.mask=bitmap,this.children=newChildren,this):IndexedNode(edit,bitmap,newChildren)},ArrayNode__modify=function ArrayNode__modify(edit,keyEq,shift,f,h,k,size){var count=this.size,children=this.children,frag=hashFragment(shift,h),child=children[frag],newChild=(child||empty)._modify(edit,keyEq,shift+5,f,h,k,size);if(child===newChild)return this;var canEdit=canEditNode(edit,this),newChildren=void 0;if(isEmptyNode(child)&&!isEmptyNode(newChild))++count,newChildren=arrayUpdate(canEdit,frag,newChild,children);else if(!isEmptyNode(child)&&isEmptyNode(newChild)){if(--count<=MIN_ARRAY_NODE)return function pack(edit,count,removed,elements){for(var children=new Array(count-1),g=0,bitmap=0,i=0,len=elements.length;i<len;++i)if(i!==removed){var elem=elements[i];elem&&!isEmptyNode(elem)&&(children[g++]=elem,bitmap|=1<<i)}return IndexedNode(edit,bitmap,children)}(edit,count,frag,children);newChildren=arrayUpdate(canEdit,frag,empty,children)}else newChildren=arrayUpdate(canEdit,frag,newChild,children);return canEdit?(this.size=count,this.children=newChildren,this):ArrayNode(edit,count,newChildren)};function Map(editable,edit,config,root,size){this._editable=editable,this._edit=edit,this._config=config,this._root=root,this._size=size}empty._modify=function(edit,keyEq,shift,f,h,k,size){var v=f();return v===nothing?empty:(++size.value,Leaf(edit,h,k,v))},Map.prototype.setTree=function(newRoot,newSize){return this._editable?(this._root=newRoot,this._size=newSize,this):newRoot===this._root?this:new Map(this._editable,this._edit,this._config,newRoot,newSize)};var tryGetHash=hamt.tryGetHash=function(alt,hash,key,map){for(var node=map._root,shift=0,keyEq=map._config.keyEq;;)switch(node.type){case 1:return keyEq(key,node.key)?node.value:alt;case 2:if(hash===node.hash)for(var children=node.children,i=0,len=children.length;i<len;++i){var child=children[i];if(keyEq(key,child.key))return child.value}return alt;case 3:var frag=hashFragment(shift,hash),bit=toBitmap(frag);if(node.mask&bit){node=node.children[fromBitmap(node.mask,bit)],shift+=5;break}return alt;case 4:if(node=node.children[hashFragment(shift,hash)]){shift+=5;break}return alt;default:return alt}};Map.prototype.tryGetHash=function(alt,hash,key){return tryGetHash(alt,hash,key,this)};var tryGet=hamt.tryGet=function(alt,key,map){return tryGetHash(alt,map._config.hash(key),key,map)};Map.prototype.tryGet=function(alt,key){return tryGet(alt,key,this)};var getHash=hamt.getHash=function(hash,key,map){return tryGetHash(void 0,hash,key,map)};Map.prototype.getHash=function(hash,key){return getHash(hash,key,this)};hamt.get=function(key,map){return tryGetHash(void 0,map._config.hash(key),key,map)};Map.prototype.get=function(key,alt){return tryGet(alt,key,this)};var hasHash=hamt.has=function(hash,key,map){return tryGetHash(nothing,hash,key,map)!==nothing};Map.prototype.hasHash=function(hash,key){return hasHash(hash,key,this)};var has=hamt.has=function(key,map){return hasHash(map._config.hash(key),key,map)};Map.prototype.has=function(key){return has(key,this)};var defKeyCompare=function defKeyCompare(x,y){return x===y};hamt.make=function(config){return new Map(0,0,{keyEq:config&&config.keyEq||defKeyCompare,hash:config&&config.hash||hash},empty,0)},hamt.empty=hamt.make();var isEmpty=hamt.isEmpty=function(map){return map&&!!isEmptyNode(map._root)};Map.prototype.isEmpty=function(){return isEmpty(this)};var modifyHash=hamt.modifyHash=function(f,hash,key,map){var size={value:map._size},newRoot=map._root._modify(map._editable?map._edit:NaN,map._config.keyEq,0,f,hash,key,size);return map.setTree(newRoot,size.value)};Map.prototype.modifyHash=function(hash,key,f){return modifyHash(f,hash,key,this)};var modify=hamt.modify=function(f,key,map){return modifyHash(f,map._config.hash(key),key,map)};Map.prototype.modify=function(key,f){return modify(f,key,this)};var setHash=hamt.setHash=function(hash,key,value,map){return modifyHash(constant(value),hash,key,map)};Map.prototype.setHash=function(hash,key,value){return setHash(hash,key,value,this)};var set=hamt.set=function(key,value,map){return setHash(map._config.hash(key),key,value,map)};Map.prototype.set=function(key,value){return set(key,value,this)};var del=constant(nothing),removeHash=hamt.removeHash=function(hash,key,map){return modifyHash(del,hash,key,map)};Map.prototype.removeHash=Map.prototype.deleteHash=function(hash,key){return removeHash(hash,key,this)};var remove=hamt.remove=function(key,map){return removeHash(map._config.hash(key),key,map)};Map.prototype.remove=Map.prototype.delete=function(key){return remove(key,this)};var beginMutation=hamt.beginMutation=function(map){return new Map(map._editable+1,map._edit+1,map._config,map._root,map._size)};Map.prototype.beginMutation=function(){return beginMutation(this)};var endMutation=hamt.endMutation=function(map){return map._editable=map._editable&&map._editable-1,map};Map.prototype.endMutation=function(){return endMutation(this)};var mutate=hamt.mutate=function(f,map){var transient=beginMutation(map);return f(transient),endMutation(transient)};Map.prototype.mutate=function(f){return mutate(f,this)};var appk=function appk(k){return k&&lazyVisitChildren(k[0],k[1],k[2],k[3],k[4])},lazyVisitChildren=function lazyVisitChildren(len,children,i,f,k){for(;i<len;){var child=children[i++];if(child&&!isEmptyNode(child))return lazyVisit(child,f,[len,children,i,f,k])}return appk(k)},lazyVisit=function lazyVisit(node,f,k){switch(node.type){case 1:return{value:f(node),rest:k};case 2:case 4:case 3:var children=node.children;return lazyVisitChildren(children.length,children,0,f,k);default:return appk(k)}},DONE={done:!0};function MapIterator(v){this.v=v}MapIterator.prototype.next=function(){if(!this.v)return DONE;var v0=this.v;return this.v=appk(v0.rest),v0},MapIterator.prototype[Symbol.iterator]=function(){return this};var visit=function visit(map,f){return new MapIterator(lazyVisit(map._root,f))},buildPairs=function buildPairs(x){return[x.key,x.value]},entries=hamt.entries=function(map){return visit(map,buildPairs)};Map.prototype.entries=Map.prototype[Symbol.iterator]=function(){return entries(this)};var buildKeys=function buildKeys(x){return x.key},keys=hamt.keys=function(map){return visit(map,buildKeys)};Map.prototype.keys=function(){return keys(this)};var buildValues=function buildValues(x){return x.value},values=hamt.values=Map.prototype.values=function(map){return visit(map,buildValues)};Map.prototype.values=function(){return values(this)};var fold=hamt.fold=function(f,z,m){var root=m._root;if(1===root.type)return f(z,root.value,root.key);for(var toVisit=[root.children],children=void 0;children=toVisit.pop();)for(var i=0,len=children.length;i<len;){var child=children[i++];child&&child.type&&(1===child.type?z=f(z,child.value,child.key):toVisit.push(child.children))}return z};Map.prototype.fold=function(f,z){return fold(f,z,this)};var forEach=hamt.forEach=function(f,map){return fold((function(_,value,key){return f(value,key,map)}),null,map)};Map.prototype.forEach=function(f){return forEach(f,this)};var count=hamt.count=function(map){return map._size};Map.prototype.count=function(){return count(this)},Object.defineProperty(Map.prototype,"size",{get:Map.prototype.count}),module.exports?module.exports=hamt:(void 0).hamt=hamt}));class BuiltInMap{constructor(existing){_defineProperty(this,"_map",void 0),this._map=new Map(null==existing?void 0:existing.entries())}keys(){return this._map.keys()}entries(){return this._map.entries()}get(k){return this._map.get(k)}has(k){return this._map.has(k)}set(k,v){return this._map.set(k,v),this}delete(k){return this._map.delete(k),this}clone(){return persistentMap(this)}toMap(){return new Map(this._map)}}class HashArrayMappedTrieMap{constructor(existing){if(_defineProperty(this,"_hamt",hamt_1.empty.beginMutation()),existing instanceof HashArrayMappedTrieMap){const h=existing._hamt.endMutation();existing._hamt=h.beginMutation(),this._hamt=h.beginMutation()}else if(existing)for(const[k,v]of existing.entries())this._hamt.set(k,v)}keys(){return this._hamt.keys()}entries(){return this._hamt.entries()}get(k){return this._hamt.get(k)}has(k){return this._hamt.has(k)}set(k,v){return this._hamt.set(k,v),this}delete(k){return this._hamt.delete(k),this}clone(){return persistentMap(this)}toMap(){return new Map(this._hamt)}}function persistentMap(existing){return Recoil_gkx("recoil_hamt_2020")?new HashArrayMappedTrieMap(existing):new BuiltInMap(existing)}var Recoil_PersistentMap_1=persistentMap,Recoil_PersistentMap$1=Object.freeze({__proto__:null,persistentMap:Recoil_PersistentMap_1});var Recoil_differenceSets=function differenceSets(set,...setsWithValuesToRemove){const ret=new Set;FIRST:for(const value of set){for(const otherSet of setsWithValuesToRemove)if(otherSet.has(value))continue FIRST;ret.add(value)}return ret};var Recoil_mapMap=function mapMap(map,callback){const result=new Map;return map.forEach(((value,key)=>{result.set(key,callback(value,key))})),result};function mergeDepsIntoGraph(key,newDeps,graph,olderGraph){const{nodeDeps,nodeToNodeSubscriptions}=graph,oldDeps=nodeDeps.get(key);if(oldDeps&&olderGraph&&oldDeps!==olderGraph.nodeDeps.get(key))return;nodeDeps.set(key,newDeps);const addedDeps=null==oldDeps?newDeps:Recoil_differenceSets(newDeps,oldDeps);for(const dep of addedDeps){nodeToNodeSubscriptions.has(dep)||nodeToNodeSubscriptions.set(dep,new Set);Recoil_nullthrows(nodeToNodeSubscriptions.get(dep)).add(key)}if(oldDeps){const removedDeps=Recoil_differenceSets(oldDeps,newDeps);for(const dep of removedDeps){if(!nodeToNodeSubscriptions.has(dep))return;const existing=Recoil_nullthrows(nodeToNodeSubscriptions.get(dep));existing.delete(key),0===existing.size&&nodeToNodeSubscriptions.delete(dep)}}}var Recoil_Graph={cloneGraph:function cloneGraph(graph){return{nodeDeps:Recoil_mapMap(graph.nodeDeps,(s=>new Set(s))),nodeToNodeSubscriptions:Recoil_mapMap(graph.nodeToNodeSubscriptions,(s=>new Set(s)))}},graph:function makeGraph(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}},saveDepsToStore:function saveDepsToStore(key,deps,store,version){var _storeState$nextTree,_storeState$previousT,_storeState$previousT2,_storeState$previousT3;const storeState=store.getState();version!==storeState.currentTree.version&&version!==(null===(_storeState$nextTree=storeState.nextTree)||void 0===_storeState$nextTree?void 0:_storeState$nextTree.version)&&version!==(null===(_storeState$previousT=storeState.previousTree)||void 0===_storeState$previousT?void 0:_storeState$previousT.version)&&Recoil_recoverableViolation("Tried to save dependencies to a discarded tree");const graph=store.getGraph(version);if(mergeDepsIntoGraph(key,deps,graph),version===(null===(_storeState$previousT2=storeState.previousTree)||void 0===_storeState$previousT2?void 0:_storeState$previousT2.version)){mergeDepsIntoGraph(key,deps,store.getGraph(storeState.currentTree.version),graph)}if(version===(null===(_storeState$previousT3=storeState.previousTree)||void 0===_storeState$previousT3?void 0:_storeState$previousT3.version)||version===storeState.currentTree.version){var _storeState$nextTree2;const nextVersion=null===(_storeState$nextTree2=storeState.nextTree)||void 0===_storeState$nextTree2?void 0:_storeState$nextTree2.version;if(void 0!==nextVersion){mergeDepsIntoGraph(key,deps,store.getGraph(nextVersion),graph)}}}};let nextTreeStateVersion=0;let nextStoreID=0;let nextComponentID=0;var Recoil_Keys={getNextTreeStateVersion:()=>nextTreeStateVersion++,getNextStoreID:()=>nextStoreID++,getNextComponentID:()=>nextComponentID++};const{persistentMap:persistentMap$1}=Recoil_PersistentMap$1,{graph}=Recoil_Graph,{getNextTreeStateVersion:getNextTreeStateVersion$1}=Recoil_Keys;function makeEmptyTreeState(){const version=getNextTreeStateVersion$1();return{version,stateID:version,transactionMetadata:{},dirtyAtoms:new Set,atomValues:persistentMap$1(),nonvalidatedAtoms:persistentMap$1()}}var Recoil_State={makeEmptyTreeState,makeEmptyStoreState:function makeEmptyStoreState(){const currentTree=makeEmptyTreeState();return{currentTree,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(currentTree.version,graph()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}},getNextTreeStateVersion:getNextTreeStateVersion$1};class RetentionZone{}var Recoil_RetentionZone={RetentionZone,retentionZone:function retentionZone(){return new RetentionZone}};var Recoil_CopyOnWrite={setByAddingToSet:function setByAddingToSet(set,v){const next=new Set(set);return next.add(v),next},setByDeletingFromSet:function setByDeletingFromSet(set,v){const next=new Set(set);return next.delete(v),next},mapBySettingInMap:function mapBySettingInMap(map,k,v){const next=new Map(map);return next.set(k,v),next},mapByUpdatingInMap:function mapByUpdatingInMap(map,k,updater){const next=new Map(map);return next.set(k,updater(next.get(k))),next},mapByDeletingFromMap:function mapByDeletingFromMap(map,k){const next=new Map(map);return next.delete(k),next},mapByDeletingMultipleFromMap:function mapByDeletingMultipleFromMap(map,ks){const next=new Map(map);return ks.forEach((k=>next.delete(k))),next}};var Recoil_filterIterable=function*filterIterable(iterable,predicate){let index=0;for(const value of iterable)predicate(value,index++)&&(yield value)};var Recoil_lazyProxy=function lazyProxy(base,factories){return new Proxy(base,{get:(target,prop)=>(!(prop in target)&&prop in factories&&(target[prop]=factories[prop]()),target[prop]),ownKeys:target=>Object.keys(target)})};const{getNode:getNode$1,getNodeMaybe:getNodeMaybe$1,recoilValuesForKeys:recoilValuesForKeys$1}=Recoil_Node,{RetentionZone:RetentionZone$1}=Recoil_RetentionZone,{setByAddingToSet:setByAddingToSet$1}=Recoil_CopyOnWrite,emptySet=Object.freeze(new Set);class ReadOnlyRecoilValueError extends Error{}function initializeNodeIfNewToStore(store,treeState,key,trigger){const storeState=store.getState();if(storeState.nodeCleanupFunctions.has(key))return;const node=getNode$1(key),retentionCleanup=function initializeRetentionForNode(store,nodeKey,retainedBy){if(!Recoil_gkx("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone}=store.getState().retention;function addToZone(zone){let set=nodesRetainedByZone.get(zone);set||nodesRetainedByZone.set(zone,set=new Set),set.add(nodeKey)}if(retainedBy instanceof RetentionZone$1)addToZone(retainedBy);else if(Array.isArray(retainedBy))for(const zone of retainedBy)addToZone(zone);return()=>{if(!Recoil_gkx("recoil_memory_managament_2020"))return;const{retention}=store.getState();function deleteFromZone(zone){const set=retention.nodesRetainedByZone.get(zone);null==set||set.delete(nodeKey),set&&0===set.size&&retention.nodesRetainedByZone.delete(zone)}if(retainedBy instanceof RetentionZone$1)deleteFromZone(retainedBy);else if(Array.isArray(retainedBy))for(const zone of retainedBy)deleteFromZone(zone)}}(store,key,node.retainedBy),nodeCleanup=node.init(store,treeState,trigger);storeState.nodeCleanupFunctions.set(key,(()=>{nodeCleanup(),retentionCleanup()}))}function peekNodeLoadable(store,state,key){return getNode$1(key).peek(store,state)}function getDownstreamNodes(store,state,keys){const visitedNodes=new Set,visitingNodes=Array.from(keys),graph=store.getGraph(state.version);for(let key=visitingNodes.pop();key;key=visitingNodes.pop()){var _graph$nodeToNodeSubs;visitedNodes.add(key);const subscribedNodes=null!==(_graph$nodeToNodeSubs=graph.nodeToNodeSubscriptions.get(key))&&void 0!==_graph$nodeToNodeSubs?_graph$nodeToNodeSubs:emptySet;for(const downstreamNode of subscribedNodes)visitedNodes.has(downstreamNode)||visitingNodes.push(downstreamNode)}return visitedNodes}var Recoil_FunctionalCore={getNodeLoadable:function getNodeLoadable(store,state,key){return initializeNodeIfNewToStore(store,state,key,"get"),getNode$1(key).get(store,state)},peekNodeLoadable,setNodeValue:function setNodeValue(store,state,key,newValue){const node=getNode$1(key);if(null==node.set)throw new ReadOnlyRecoilValueError(`Attempt to set read-only RecoilValue: ${key}`);const set=node.set;return initializeNodeIfNewToStore(store,state,key,"set"),set(store,state,newValue)},initializeNode:function initializeNode(store,key,trigger){initializeNodeIfNewToStore(store,store.getState().currentTree,key,trigger)},cleanUpNode:function cleanUpNode(store,key){var _state$nodeCleanupFun;const state=store.getState();null===(_state$nodeCleanupFun=state.nodeCleanupFunctions.get(key))||void 0===_state$nodeCleanupFun||_state$nodeCleanupFun(),state.nodeCleanupFunctions.delete(key)},setUnvalidatedAtomValue_DEPRECATED:function setUnvalidatedAtomValue_DEPRECATED(state,key,newValue){var _node$invalidate;const node=getNodeMaybe$1(key);return null==node||null===(_node$invalidate=node.invalidate)||void 0===_node$invalidate||_node$invalidate.call(node,state),{...state,atomValues:state.atomValues.clone().delete(key),nonvalidatedAtoms:state.nonvalidatedAtoms.clone().set(key,newValue),dirtyAtoms:setByAddingToSet$1(state.dirtyAtoms,key)}},peekNodeInfo:function peekNodeInfo(store,state,key){const storeState=store.getState(),graph=store.getGraph(state.version),type=getNode$1(key).nodeType;return Recoil_lazyProxy({type},{loadable:()=>peekNodeLoadable(store,state,key),isActive:()=>storeState.knownAtoms.has(key)||storeState.knownSelectors.has(key),isSet:()=>"selector"!==type&&state.atomValues.has(key),isModified:()=>state.dirtyAtoms.has(key),deps:()=>{var _graph$nodeDeps$get;return recoilValuesForKeys$1(null!==(_graph$nodeDeps$get=graph.nodeDeps.get(key))&&void 0!==_graph$nodeDeps$get?_graph$nodeDeps$get:[])},subscribers:()=>{var _storeState$nodeToCom,_storeState$nodeToCom2;return{nodes:recoilValuesForKeys$1(Recoil_filterIterable(getDownstreamNodes(store,state,new Set([key])),(nodeKey=>nodeKey!==key))),components:Recoil_mapIterable(null!==(_storeState$nodeToCom=null===(_storeState$nodeToCom2=storeState.nodeToComponentSubscriptions.get(key))||void 0===_storeState$nodeToCom2?void 0:_storeState$nodeToCom2.values())&&void 0!==_storeState$nodeToCom?_storeState$nodeToCom:[],(([name])=>({name})))}}})},getDownstreamNodes};let _invalidateMemoizedSnapshot=null;var Recoil_SnapshotCache={setInvalidateMemoizedSnapshot:function setInvalidateMemoizedSnapshot(invalidate){_invalidateMemoizedSnapshot=invalidate},invalidateMemoizedSnapshot:function invalidateMemoizedSnapshot(){var _invalidateMemoizedSn;null===(_invalidateMemoizedSn=_invalidateMemoizedSnapshot)||void 0===_invalidateMemoizedSn||_invalidateMemoizedSn()}};const{getDownstreamNodes:getDownstreamNodes$1,getNodeLoadable:getNodeLoadable$1,setNodeValue:setNodeValue$1}=Recoil_FunctionalCore,{getNextComponentID:getNextComponentID$1}=Recoil_Keys,{getNode:getNode$2,getNodeMaybe:getNodeMaybe$2}=Recoil_Node,{DefaultValue:DefaultValue$1,RecoilValueNotReady:RecoilValueNotReady$1}=Recoil_Node,{reactMode:reactMode$1}=Recoil_ReactMode,{AbstractRecoilValue:AbstractRecoilValue$1,RecoilState:RecoilState$1,RecoilValueReadOnly:RecoilValueReadOnly$1,isRecoilValue:isRecoilValue$1}=Recoil_RecoilValue$1,{invalidateMemoizedSnapshot:invalidateMemoizedSnapshot$1}=Recoil_SnapshotCache;function applyAction(store,state,action){if("set"===action.type){const{recoilValue,valueOrUpdater}=action,newValue=function valueFromValueOrUpdater(store,state,{key},valueOrUpdater){if("function"==typeof valueOrUpdater){const current=getNodeLoadable$1(store,state,key);if("loading"===current.state)throw new RecoilValueNotReady$1(key);if("hasError"===current.state)throw current.contents;return valueOrUpdater(current.contents)}return valueOrUpdater}(store,state,recoilValue,valueOrUpdater),writes=setNodeValue$1(store,state,recoilValue.key,newValue);for(const[key,loadable]of writes.entries())writeLoadableToTreeState(state,key,loadable)}else if("setLoadable"===action.type){const{recoilValue:{key},loadable}=action;writeLoadableToTreeState(state,key,loadable)}else if("markModified"===action.type){const{recoilValue:{key}}=action;state.dirtyAtoms.add(key)}else if("setUnvalidated"===action.type){var _node$invalidate;const{recoilValue:{key},unvalidatedValue}=action,node=getNodeMaybe$2(key);null==node||null===(_node$invalidate=node.invalidate)||void 0===_node$invalidate||_node$invalidate.call(node,state),state.atomValues.delete(key),state.nonvalidatedAtoms.set(key,unvalidatedValue),state.dirtyAtoms.add(key)}else Recoil_recoverableViolation(`Unknown action ${action.type}`)}function writeLoadableToTreeState(state,key,loadable){"hasValue"===loadable.state&&loadable.contents instanceof DefaultValue$1?state.atomValues.delete(key):state.atomValues.set(key,loadable),state.dirtyAtoms.add(key),state.nonvalidatedAtoms.delete(key)}function applyActionsToStore(store,actions){store.replaceState((state=>{const newState=copyTreeState(state);for(const action of actions)applyAction(store,newState,action);return invalidateDownstreams(store,newState),invalidateMemoizedSnapshot$1(),newState}))}function queueOrPerformStateUpdate(store,action){if(batchStack.length){const actionsByStore=batchStack[batchStack.length-1];let actions=actionsByStore.get(store);actions||actionsByStore.set(store,actions=[]),actions.push(action)}else applyActionsToStore(store,[action])}const batchStack=[];function copyTreeState(state){return{...state,atomValues:state.atomValues.clone(),nonvalidatedAtoms:state.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(state.dirtyAtoms)}}function invalidateDownstreams(store,state){const downstreams=getDownstreamNodes$1(store,state,state.dirtyAtoms);for(const key of downstreams){var _getNodeMaybe,_getNodeMaybe$invalid;null===(_getNodeMaybe=getNodeMaybe$2(key))||void 0===_getNodeMaybe||null===(_getNodeMaybe$invalid=_getNodeMaybe.invalidate)||void 0===_getNodeMaybe$invalid||_getNodeMaybe$invalid.call(_getNodeMaybe,state)}}function setRecoilValue(store,recoilValue,valueOrUpdater){queueOrPerformStateUpdate(store,{type:"set",recoilValue,valueOrUpdater})}var Recoil_RecoilValueInterface={RecoilValueReadOnly:RecoilValueReadOnly$1,AbstractRecoilValue:AbstractRecoilValue$1,RecoilState:RecoilState$1,getRecoilValueAsLoadable:function getRecoilValueAsLoadable(store,{key},treeState=store.getState().currentTree){var _storeState$nextTree,_storeState$previousT;const storeState=store.getState();treeState.version!==storeState.currentTree.version&&treeState.version!==(null===(_storeState$nextTree=storeState.nextTree)||void 0===_storeState$nextTree?void 0:_storeState$nextTree.version)&&treeState.version!==(null===(_storeState$previousT=storeState.previousTree)||void 0===_storeState$previousT?void 0:_storeState$previousT.version)&&Recoil_recoverableViolation("Tried to read from a discarded tree");const loadable=getNodeLoadable$1(store,treeState,key);return"loading"===loadable.state&&loadable.contents.catch((()=>{})),loadable},setRecoilValue,setRecoilValueLoadable:function setRecoilValueLoadable(store,recoilValue,loadable){if(loadable instanceof DefaultValue$1)return setRecoilValue(store,recoilValue,loadable);queueOrPerformStateUpdate(store,{type:"setLoadable",recoilValue,loadable})},markRecoilValueModified:function markRecoilValueModified(store,recoilValue){queueOrPerformStateUpdate(store,{type:"markModified",recoilValue})},setUnvalidatedRecoilValue:function setUnvalidatedRecoilValue(store,recoilValue,unvalidatedValue){queueOrPerformStateUpdate(store,{type:"setUnvalidated",recoilValue,unvalidatedValue})},subscribeToRecoilValue:function subscribeToRecoilValue(store,{key},callback,componentDebugName=null){const subID=getNextComponentID$1(),storeState=store.getState();storeState.nodeToComponentSubscriptions.has(key)||storeState.nodeToComponentSubscriptions.set(key,new Map),Recoil_nullthrows(storeState.nodeToComponentSubscriptions.get(key)).set(subID,[null!=componentDebugName?componentDebugName:"<not captured>",callback]);const mode=reactMode$1();if(mode.early&&("LEGACY"===mode.mode||"MUTABLE_SOURCE"===mode.mode)){const nextTree=store.getState().nextTree;nextTree&&nextTree.dirtyAtoms.has(key)&&callback(nextTree)}return{release:()=>{const releaseStoreState=store.getState(),subs=releaseStoreState.nodeToComponentSubscriptions.get(key);void 0!==subs&&subs.has(subID)?(subs.delete(subID),0===subs.size&&releaseStoreState.nodeToComponentSubscriptions.delete(key)):Recoil_recoverableViolation(`Subscription missing at release time for atom ${key}. This is a bug in Recoil.`)}}},isRecoilValue:isRecoilValue$1,applyAtomValueWrites:function applyAtomValueWrites(atomValues,writes){const result=atomValues.clone();return writes.forEach(((v,k)=>{"hasValue"===v.state&&v.contents instanceof DefaultValue$1?result.delete(k):result.set(k,v)})),result},batchStart:function batchStart(){const actionsByStore=new Map;return batchStack.push(actionsByStore),()=>{for(const[store,actions]of actionsByStore)applyActionsToStore(store,actions);batchStack.pop()!==actionsByStore&&Recoil_recoverableViolation("Incorrect order of batch popping")}},writeLoadableToTreeState,invalidateDownstreams,copyTreeState,refreshRecoilValue:function refreshRecoilValue(store,recoilValue){var _node$clearCache;const{currentTree}=store.getState(),node=getNode$2(recoilValue.key);null===(_node$clearCache=node.clearCache)||void 0===_node$clearCache||_node$clearCache.call(node,store,currentTree)}};var Recoil_someSet=function someSet(set,callback,context){const iterator=set.entries();let current=iterator.next();for(;!current.done;){const entry=current.value;if(callback.call(context,entry[1],entry[0],set))return!0;current=iterator.next()}return!1};const{cleanUpNode:cleanUpNode$1}=Recoil_FunctionalCore,{deleteNodeConfigIfPossible:deleteNodeConfigIfPossible$1,getNode:getNode$3}=Recoil_Node,{RetentionZone:RetentionZone$2}=Recoil_RetentionZone,emptySet$1=new Set;function releaseRetainablesNowOnCurrentTree(store,retainables){const storeState=store.getState(),treeState=storeState.currentTree;if(storeState.nextTree)return void Recoil_recoverableViolation("releaseNodesNowOnCurrentTree should only be called at the end of a batch");const nodes=new Set;for(const r of retainables)if(r instanceof RetentionZone$2)for(const n of nodesRetainedByZone(storeState,r))nodes.add(n);else nodes.add(r);const releasableNodes=function findReleasableNodes(store,searchFromNodes){const storeState=store.getState(),treeState=storeState.currentTree,graph=store.getGraph(treeState.version),releasableNodes=new Set,nonReleasableNodes=new Set;return findReleasableNodesInner(searchFromNodes),releasableNodes;function findReleasableNodesInner(searchFromNodes){const releasableNodesFoundThisIteration=new Set,downstreams=function getDownstreamNodesInTopologicalOrder(store,treeState,nodes,doNotDescendInto1,doNotDescendInto2){const graph=store.getGraph(treeState.version),answer=[],visited=new Set;for(;nodes.size>0;)visit(Recoil_nullthrows(nodes.values().next().value));return answer;function visit(node){if(doNotDescendInto1.has(node)||doNotDescendInto2.has(node))return void nodes.delete(node);if(visited.has(node))return;const children=graph.nodeToNodeSubscriptions.get(node);if(children)for(const child of children)visit(child);visited.add(node),nodes.delete(node),answer.push(node)}}(store,treeState,searchFromNodes,releasableNodes,nonReleasableNodes);for(const node of downstreams){var _storeState$retention;if("recoilRoot"===getNode$3(node).retainedBy){nonReleasableNodes.add(node);continue}if((null!==(_storeState$retention=storeState.retention.referenceCounts.get(node))&&void 0!==_storeState$retention?_storeState$retention:0)>0){nonReleasableNodes.add(node);continue}if(zonesThatCouldRetainNode(node).some((z=>storeState.retention.referenceCounts.get(z)))){nonReleasableNodes.add(node);continue}const nodeChildren=graph.nodeToNodeSubscriptions.get(node);nodeChildren&&Recoil_someSet(nodeChildren,(child=>nonReleasableNodes.has(child)))?nonReleasableNodes.add(node):(releasableNodes.add(node),releasableNodesFoundThisIteration.add(node))}const parents=new Set;for(const node of releasableNodesFoundThisIteration)for(const parent of null!==(_graph$nodeDeps$get=graph.nodeDeps.get(node))&&void 0!==_graph$nodeDeps$get?_graph$nodeDeps$get:emptySet$1){var _graph$nodeDeps$get;releasableNodes.has(parent)||parents.add(parent)}parents.size&&findReleasableNodesInner(parents)}}(store,nodes);for(const node of releasableNodes)releaseNode(store,treeState,node)}function releaseNode(store,treeState,node){if(!Recoil_gkx("recoil_memory_managament_2020"))return;cleanUpNode$1(store,node);const storeState=store.getState();storeState.knownAtoms.delete(node),storeState.knownSelectors.delete(node),storeState.nodeTransactionSubscriptions.delete(node),storeState.retention.referenceCounts.delete(node);const zones=zonesThatCouldRetainNode(node);for(const zone of zones){var _storeState$retention2;null===(_storeState$retention2=storeState.retention.nodesRetainedByZone.get(zone))||void 0===_storeState$retention2||_storeState$retention2.delete(node)}treeState.atomValues.delete(node),treeState.dirtyAtoms.delete(node),treeState.nonvalidatedAtoms.delete(node);const graph=storeState.graphsByVersion.get(treeState.version);if(graph){const deps=graph.nodeDeps.get(node);if(void 0!==deps){graph.nodeDeps.delete(node);for(const dep of deps){var _graph$nodeToNodeSubs;null===(_graph$nodeToNodeSubs=graph.nodeToNodeSubscriptions.get(dep))||void 0===_graph$nodeToNodeSubs||_graph$nodeToNodeSubs.delete(node)}}graph.nodeToNodeSubscriptions.delete(node)}deleteNodeConfigIfPossible$1(node)}function nodesRetainedByZone(storeState,zone){var _storeState$retention3;return null!==(_storeState$retention3=storeState.retention.nodesRetainedByZone.get(zone))&&void 0!==_storeState$retention3?_storeState$retention3:emptySet$1}function zonesThatCouldRetainNode(node){const retainedBy=getNode$3(node).retainedBy;return void 0===retainedBy||"components"===retainedBy||"recoilRoot"===retainedBy?[]:retainedBy instanceof RetentionZone$2?[retainedBy]:retainedBy}function updateRetainCountToZero(store,retainable){if(!Recoil_gkx("recoil_memory_managament_2020"))return;store.getState().retention.referenceCounts.delete(retainable),function scheduleOrPerformPossibleReleaseOfRetainable(store,retainable){const state=store.getState();state.nextTree?state.retention.retainablesToCheckForRelease.add(retainable):releaseRetainablesNowOnCurrentTree(store,new Set([retainable]))}(store,retainable)}var Recoil_Retention={SUSPENSE_TIMEOUT_MS:12e4,updateRetainCount:function updateRetainCount(store,retainable,delta){var _map$get;if(!Recoil_gkx("recoil_memory_managament_2020"))return;const map=store.getState().retention.referenceCounts,newCount=(null!==(_map$get=map.get(retainable))&&void 0!==_map$get?_map$get:0)+delta;0===newCount?updateRetainCountToZero(store,retainable):map.set(retainable,newCount)},updateRetainCountToZero,releaseScheduledRetainablesNow:function releaseScheduledRetainablesNow(store){if(!Recoil_gkx("recoil_memory_managament_2020"))return;const state=store.getState();releaseRetainablesNowOnCurrentTree(store,state.retention.retainablesToCheckForRelease),state.retention.retainablesToCheckForRelease.clear()},retainedByOptionWithDefault:function retainedByOptionWithDefault(r){return void 0===r?"recoilRoot":r}};const{unstable_batchedUpdates}=react_dom__WEBPACK_IMPORTED_MODULE_1__;var ReactBatchedUpdates={unstable_batchedUpdates};const{unstable_batchedUpdates:unstable_batchedUpdates$1}=ReactBatchedUpdates;var Recoil_ReactBatchedUpdates={unstable_batchedUpdates:unstable_batchedUpdates$1};const{batchStart:batchStart$1}=Recoil_RecoilValueInterface,{unstable_batchedUpdates:unstable_batchedUpdates$2}=Recoil_ReactBatchedUpdates;let batcher=unstable_batchedUpdates$2;var Recoil_Batching={getBatcher:()=>batcher,setBatcher:newBatcher=>{batcher=newBatcher},batchUpdates:callback=>{batcher((()=>{let batchEnd=()=>{};try{batchEnd=batchStart$1(),callback()}finally{batchEnd()}}))}};var Recoil_concatIterables=function*concatIterables(iters){for(const iter of iters)for(const val of iter)yield val};const isSSR="undefined"==typeof Window||"undefined"==typeof window,isReactNative="undefined"!=typeof navigator&&"ReactNative"===navigator.product;var Recoil_Environment={isSSR,isReactNative,isWindow:value=>!isSSR&&(value===window||value instanceof Window)};var Recoil_Memoize={memoizeWithArgsHash:function memoizeWithArgsHash(fn,hashFunction){let cache;return(...args)=>{cache||(cache={});const key=hashFunction(...args);return Object.hasOwnProperty.call(cache,key)||(cache[key]=fn(...args)),cache[key]}},memoizeOneWithArgsHash:function memoizeOneWithArgsHash(fn,hashFunction){let lastKey,lastResult;return(...args)=>{const key=hashFunction(...args);return lastKey===key||(lastKey=key,lastResult=fn(...args)),lastResult}},memoizeOneWithArgsHashAndInvalidation:function memoizeOneWithArgsHashAndInvalidation(fn,hashFunction){let lastKey,lastResult;return[(...args)=>{const key=hashFunction(...args);return lastKey===key||(lastKey=key,lastResult=fn(...args)),lastResult},()=>{lastKey=null}]}};const{batchUpdates:batchUpdates$1}=Recoil_Batching,{initializeNode:initializeNode$1,peekNodeInfo:peekNodeInfo$1}=Recoil_FunctionalCore,{graph:graph$1}=Recoil_Graph,{getNextStoreID:getNextStoreID$1}=Recoil_Keys,{DEFAULT_VALUE:DEFAULT_VALUE$1,recoilValues:recoilValues$1,recoilValuesForKeys:recoilValuesForKeys$2}=Recoil_Node,{AbstractRecoilValue:AbstractRecoilValue$2,getRecoilValueAsLoadable:getRecoilValueAsLoadable$1,setRecoilValue:setRecoilValue$1,setUnvalidatedRecoilValue:setUnvalidatedRecoilValue$1}=Recoil_RecoilValueInterface,{updateRetainCount:updateRetainCount$1}=Recoil_Retention,{setInvalidateMemoizedSnapshot:setInvalidateMemoizedSnapshot$1}=Recoil_SnapshotCache,{getNextTreeStateVersion:getNextTreeStateVersion$2,makeEmptyStoreState:makeEmptyStoreState$1}=Recoil_State,{isSSR:isSSR$1}=Recoil_Environment,{memoizeOneWithArgsHashAndInvalidation:memoizeOneWithArgsHashAndInvalidation$1}=Recoil_Memoize;class Snapshot{constructor(storeState){_defineProperty(this,"_store",void 0),_defineProperty(this,"_refCount",1),_defineProperty(this,"getLoadable",(recoilValue=>(this.checkRefCount_INTERNAL(),getRecoilValueAsLoadable$1(this._store,recoilValue)))),_defineProperty(this,"getPromise",(recoilValue=>(this.checkRefCount_INTERNAL(),this.getLoadable(recoilValue).toPromise()))),_defineProperty(this,"getNodes_UNSTABLE",(opt=>{if(this.checkRefCount_INTERNAL(),!0===(null==opt?void 0:opt.isModified)){if(!1===(null==opt?void 0:opt.isInitialized))return[];const state=this._store.getState().currentTree;return recoilValuesForKeys$2(state.dirtyAtoms)}const knownAtoms=this._store.getState().knownAtoms,knownSelectors=this._store.getState().knownSelectors;return null==(null==opt?void 0:opt.isInitialized)?recoilValues$1.values():!0===opt.isInitialized?recoilValuesForKeys$2(Recoil_concatIterables([knownAtoms,knownSelectors])):Recoil_filterIterable(recoilValues$1.values(),(({key})=>!knownAtoms.has(key)&&!knownSelectors.has(key)))})),_defineProperty(this,"getInfo_UNSTABLE",(({key})=>(this.checkRefCount_INTERNAL(),peekNodeInfo$1(this._store,this._store.getState().currentTree,key)))),_defineProperty(this,"map",(mapper=>{this.checkRefCount_INTERNAL();const mutableSnapshot=new MutableSnapshot(this,batchUpdates$1);return mapper(mutableSnapshot),mutableSnapshot})),_defineProperty(this,"asyncMap",(async mapper=>{this.checkRefCount_INTERNAL();const mutableSnapshot=new MutableSnapshot(this,batchUpdates$1);return mutableSnapshot.retain(),await mapper(mutableSnapshot),mutableSnapshot.autoRelease_INTERNAL(),mutableSnapshot})),this._store={storeID:getNextStoreID$1(),getState:()=>storeState,replaceState:replacer=>{storeState.currentTree=replacer(storeState.currentTree)},getGraph:version=>{const graphs=storeState.graphsByVersion;if(graphs.has(version))return Recoil_nullthrows(graphs.get(version));const newGraph=graph$1();return graphs.set(version,newGraph),newGraph},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw Recoil_err("Cannot subscribe to Snapshots")}};for(const nodeKey of this._store.getState().knownAtoms)initializeNode$1(this._store,nodeKey,"get"),updateRetainCount$1(this._store,nodeKey,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0&&Recoil_recoverableViolation("Attempt to retain() Snapshot that was already released."),this._refCount++;let released=!1;return()=>{released||(released=!0,this._release())}}autoRelease_INTERNAL(){isSSR$1||window.setTimeout((()=>this._release()),0)}_release(){if(this._refCount--,0===this._refCount){if(this._store.getState().nodeCleanupFunctions.forEach((cleanup=>cleanup())),this._store.getState().nodeCleanupFunctions.clear(),!Recoil_gkx("recoil_memory_managament_2020"))return}else this._refCount}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){Recoil_gkx("recoil_memory_managament_2020")&&this._refCount}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function cloneStoreState(store,treeState,bumpVersion=!1){const storeState=store.getState(),version=bumpVersion?getNextTreeStateVersion$2():treeState.version;return{currentTree:{version:bumpVersion?version:treeState.version,stateID:bumpVersion?version:treeState.stateID,transactionMetadata:{...treeState.transactionMetadata},dirtyAtoms:new Set(treeState.dirtyAtoms),atomValues:treeState.atomValues.clone(),nonvalidatedAtoms:treeState.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(storeState.knownAtoms),knownSelectors:new Set(storeState.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(version,store.getGraph(treeState.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(Recoil_mapIterable(storeState.nodeCleanupFunctions.entries(),(([key])=>[key,()=>{}])))}}const[memoizedCloneSnapshot,invalidateMemoizedSnapshot$2]=memoizeOneWithArgsHashAndInvalidation$1(((store,version)=>{var _storeState$nextTree;const storeState=store.getState(),treeState="latest"===version?null!==(_storeState$nextTree=storeState.nextTree)&&void 0!==_storeState$nextTree?_storeState$nextTree:storeState.currentTree:Recoil_nullthrows(storeState.previousTree);return new Snapshot(cloneStoreState(store,treeState))}),((store,version)=>{var _store$getState$nextT,_store$getState$previ;return String(version)+String(store.storeID)+String(null===(_store$getState$nextT=store.getState().nextTree)||void 0===_store$getState$nextT?void 0:_store$getState$nextT.version)+String(store.getState().currentTree.version)+String(null===(_store$getState$previ=store.getState().previousTree)||void 0===_store$getState$previ?void 0:_store$getState$previ.version)}));setInvalidateMemoizedSnapshot$1(invalidateMemoizedSnapshot$2);class MutableSnapshot extends Snapshot{constructor(snapshot,batch){super(cloneStoreState(snapshot.getStore_INTERNAL(),snapshot.getStore_INTERNAL().getState().currentTree,!0)),_defineProperty(this,"_batch",void 0),_defineProperty(this,"set",((recoilState,newValueOrUpdater)=>{this.checkRefCount_INTERNAL();const store=this.getStore_INTERNAL();this._batch((()=>{updateRetainCount$1(store,recoilState.key,1),setRecoilValue$1(this.getStore_INTERNAL(),recoilState,newValueOrUpdater)}))})),_defineProperty(this,"reset",(recoilState=>{this.checkRefCount_INTERNAL();const store=this.getStore_INTERNAL();this._batch((()=>{updateRetainCount$1(store,recoilState.key,1),setRecoilValue$1(this.getStore_INTERNAL(),recoilState,DEFAULT_VALUE$1)}))})),_defineProperty(this,"setUnvalidatedAtomValues_DEPRECATED",(values=>{this.checkRefCount_INTERNAL();const store=this.getStore_INTERNAL();batchUpdates$1((()=>{for(const[k,v]of values.entries())updateRetainCount$1(store,k,1),setUnvalidatedRecoilValue$1(store,new AbstractRecoilValue$2(k),v)}))})),this._batch=batch}}var Recoil_Snapshot={Snapshot,MutableSnapshot,freshSnapshot:function freshSnapshot(initializeState){const snapshot=new Snapshot(makeEmptyStoreState$1());return null!=initializeState?snapshot.map(initializeState):snapshot},cloneSnapshot:function cloneSnapshot(store,version="latest"){const snapshot=memoizedCloneSnapshot(store,version);return snapshot.isRetained()?snapshot:(invalidateMemoizedSnapshot$2(),memoizedCloneSnapshot(store,version))}},Recoil_Snapshot_1=Recoil_Snapshot.Snapshot,Recoil_Snapshot_2=Recoil_Snapshot.MutableSnapshot,Recoil_Snapshot_3=Recoil_Snapshot.freshSnapshot,Recoil_Snapshot_4=Recoil_Snapshot.cloneSnapshot,Recoil_Snapshot$1=Object.freeze({__proto__:null,Snapshot:Recoil_Snapshot_1,MutableSnapshot:Recoil_Snapshot_2,freshSnapshot:Recoil_Snapshot_3,cloneSnapshot:Recoil_Snapshot_4});var Recoil_unionSets=function unionSets(...sets){const result=new Set;for(const set of sets)for(const value of set)result.add(value);return result};const{useRef}=react__WEBPACK_IMPORTED_MODULE_0__;var Recoil_useRefInitOnce=function useRefInitOnce(initialValue){const ref=useRef(initialValue);return ref.current===initialValue&&"function"==typeof initialValue&&(ref.current=initialValue()),ref};const{getNextTreeStateVersion:getNextTreeStateVersion$3,makeEmptyStoreState:makeEmptyStoreState$2}=Recoil_State,{cleanUpNode:cleanUpNode$2,getDownstreamNodes:getDownstreamNodes$2,initializeNode:initializeNode$2,setNodeValue:setNodeValue$2,setUnvalidatedAtomValue_DEPRECATED:setUnvalidatedAtomValue_DEPRECATED$1}=Recoil_FunctionalCore,{graph:graph$2}=Recoil_Graph,{cloneGraph:cloneGraph$1}=Recoil_Graph,{getNextStoreID:getNextStoreID$2}=Recoil_Keys,{createMutableSource:createMutableSource$1,reactMode:reactMode$2}=Recoil_ReactMode,{applyAtomValueWrites:applyAtomValueWrites$1}=Recoil_RecoilValueInterface,{releaseScheduledRetainablesNow:releaseScheduledRetainablesNow$1}=Recoil_Retention,{freshSnapshot:freshSnapshot$1}=Recoil_Snapshot$1,{useCallback,useContext,useEffect,useMemo,useRef:useRef$1,useState}=react__WEBPACK_IMPORTED_MODULE_0__;function notInAContext(){throw Recoil_err("This component must be used inside a <RecoilRoot> component.")}const defaultStore=Object.freeze({storeID:getNextStoreID$2(),getState:notInAContext,replaceState:notInAContext,getGraph:notInAContext,subscribeToTransactions:notInAContext,addTransactionMetadata:notInAContext});let stateReplacerIsBeingExecuted=!1;function startNextTreeIfNeeded(store){if(stateReplacerIsBeingExecuted)throw Recoil_err("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const storeState=store.getState();if(null===storeState.nextTree){Recoil_gkx("recoil_memory_managament_2020")&&Recoil_gkx("recoil_release_on_cascading_update_killswitch_2021")&&storeState.commitDepth>0&&releaseScheduledRetainablesNow$1(store);const version=storeState.currentTree.version,nextVersion=getNextTreeStateVersion$3();storeState.nextTree={...storeState.currentTree,version:nextVersion,stateID:nextVersion,dirtyAtoms:new Set,transactionMetadata:{}},storeState.graphsByVersion.set(nextVersion,cloneGraph$1(Recoil_nullthrows(storeState.graphsByVersion.get(version))))}}const AppContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({current:defaultStore}),useStoreRef=()=>useContext(AppContext),MutableSourceContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);function notifyComponents(store,storeState,treeState){const dependentNodes=getDownstreamNodes$2(store,treeState,treeState.dirtyAtoms);for(const key of dependentNodes){const comps=storeState.nodeToComponentSubscriptions.get(key);if(comps)for(const[_subID,[_debugName,callback]]of comps)callback(treeState)}}function sendEndOfBatchNotifications(store){const storeState=store.getState(),treeState=storeState.currentTree,dirtyAtoms=treeState.dirtyAtoms;if(dirtyAtoms.size){for(const[key,subscriptions]of storeState.nodeTransactionSubscriptions)if(dirtyAtoms.has(key))for(const[_,subscription]of subscriptions)subscription(store);for(const[_,subscription]of storeState.transactionSubscriptions)subscription(store);(!reactMode$2().early||storeState.suspendedComponentResolvers.size>0)&&(notifyComponents(store,storeState,treeState),storeState.suspendedComponentResolvers.forEach((cb=>cb())),storeState.suspendedComponentResolvers.clear())}storeState.queuedComponentCallbacks_DEPRECATED.forEach((cb=>cb(treeState))),storeState.queuedComponentCallbacks_DEPRECATED.splice(0,storeState.queuedComponentCallbacks_DEPRECATED.length)}function Batcher({setNotifyBatcherOfChange}){const storeRef=useStoreRef(),[,setState]=useState([]);return setNotifyBatcherOfChange((()=>setState({}))),useEffect((()=>(setNotifyBatcherOfChange((()=>setState({}))),()=>{setNotifyBatcherOfChange((()=>{}))})),[setNotifyBatcherOfChange]),useEffect((()=>{Recoil_Queue.enqueueExecution("Batcher",(()=>{!function endBatch(store){const storeState=store.getState();storeState.commitDepth++;try{const{nextTree}=storeState;if(null==nextTree)return;storeState.previousTree=storeState.currentTree,storeState.currentTree=nextTree,storeState.nextTree=null,sendEndOfBatchNotifications(store),null!=storeState.previousTree?storeState.graphsByVersion.delete(storeState.previousTree.version):Recoil_recoverableViolation("Ended batch with no previous state, which is unexpected","recoil"),storeState.previousTree=null,Recoil_gkx("recoil_memory_managament_2020")&&null==nextTree&&releaseScheduledRetainablesNow$1(store)}finally{storeState.commitDepth--}}(storeRef.current)}))})),null}let nextID=0;function RecoilRoot_INTERNAL({initializeState_DEPRECATED,initializeState,store_INTERNAL:storeProp,children}){let storeStateRef;const getGraph=version=>{const graphs=storeStateRef.current.graphsByVersion;if(graphs.has(version))return Recoil_nullthrows(graphs.get(version));const newGraph=graph$2();return graphs.set(version,newGraph),newGraph},subscribeToTransactions=(callback,key)=>{if(null==key){const{transactionSubscriptions}=storeRef.current.getState(),id=nextID++;return transactionSubscriptions.set(id,callback),{release:()=>{transactionSubscriptions.delete(id)}}}{const{nodeTransactionSubscriptions}=storeRef.current.getState();nodeTransactionSubscriptions.has(key)||nodeTransactionSubscriptions.set(key,new Map);const id=nextID++;return Recoil_nullthrows(nodeTransactionSubscriptions.get(key)).set(id,callback),{release:()=>{const subs=nodeTransactionSubscriptions.get(key);subs&&(subs.delete(id),0===subs.size&&nodeTransactionSubscriptions.delete(key))}}}},addTransactionMetadata=metadata=>{startNextTreeIfNeeded(storeRef.current);for(const k of Object.keys(metadata))Recoil_nullthrows(storeRef.current.getState().nextTree).transactionMetadata[k]=metadata[k]},replaceState=replacer=>{startNextTreeIfNeeded(storeRef.current);const nextTree=Recoil_nullthrows(storeStateRef.current.nextTree);let replaced;try{stateReplacerIsBeingExecuted=!0,replaced=replacer(nextTree)}finally{stateReplacerIsBeingExecuted=!1}replaced!==nextTree&&(storeStateRef.current.nextTree=replaced,reactMode$2().early&¬ifyComponents(storeRef.current,storeStateRef.current,replaced),Recoil_nullthrows(notifyBatcherOfChange.current)())},notifyBatcherOfChange=useRef$1(null),setNotifyBatcherOfChange=useCallback((x=>{notifyBatcherOfChange.current=x}),[notifyBatcherOfChange]),storeRef=Recoil_useRefInitOnce((()=>null!=storeProp?storeProp:{storeID:getNextStoreID$2(),getState:()=>storeStateRef.current,replaceState,getGraph,subscribeToTransactions,addTransactionMetadata}));null!=storeProp&&(storeRef.current=storeProp),storeStateRef=Recoil_useRefInitOnce((()=>null!=initializeState_DEPRECATED?function initialStoreState_DEPRECATED(store,initializeState){const initial=makeEmptyStoreState$2();return initializeState({set:(atom,value)=>{const state=initial.currentTree,writes=setNodeValue$2(store,state,atom.key,value),writtenNodes=new Set(writes.keys()),nonvalidatedAtoms=state.nonvalidatedAtoms.clone();for(const n of writtenNodes)nonvalidatedAtoms.delete(n);initial.currentTree={...state,dirtyAtoms:Recoil_unionSets(state.dirtyAtoms,writtenNodes),atomValues:applyAtomValueWrites$1(state.atomValues,writes),nonvalidatedAtoms}},setUnvalidatedAtomValues:atomValues=>{atomValues.forEach(((v,k)=>{initial.currentTree=setUnvalidatedAtomValue_DEPRECATED$1(initial.currentTree,k,v)}))}}),initial}(storeRef.current,initializeState_DEPRECATED):null!=initializeState?function initialStoreState(initializeState){const snapshot=freshSnapshot$1().map(initializeState),storeState=snapshot.getStore_INTERNAL().getState();return snapshot.retain(),storeState.nodeCleanupFunctions.forEach((cleanup=>cleanup())),storeState.nodeCleanupFunctions.clear(),storeState}(initializeState):makeEmptyStoreState$2()));const mutableSource=useMemo((()=>null==createMutableSource$1?void 0:createMutableSource$1(storeStateRef,(()=>storeStateRef.current.currentTree.version))),[storeStateRef]);return useEffect((()=>{const store=storeRef.current;for(const atomKey of new Set(store.getState().knownAtoms))initializeNode$2(store,atomKey,"get");return()=>{for(const atomKey of store.getState().knownAtoms)cleanUpNode$2(store,atomKey)}}),[storeRef]),react__WEBPACK_IMPORTED_MODULE_0__.createElement(AppContext.Provider,{value:storeRef},react__WEBPACK_IMPORTED_MODULE_0__.createElement(MutableSourceContext.Provider,{value:mutableSource},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Batcher,{setNotifyBatcherOfChange}),children))}var Recoil_RecoilRoot={RecoilRoot:function RecoilRoot(props){const{override,...propsExceptOverride}=props,ancestorStoreRef=useStoreRef();return!1===override&&ancestorStoreRef.current!==defaultStore?props.children:react__WEBPACK_IMPORTED_MODULE_0__.createElement(RecoilRoot_INTERNAL,propsExceptOverride)},useStoreRef,useRecoilMutableSource:function useRecoilMutableSource(){const mutableSource=useContext(MutableSourceContext);return null==mutableSource&&Recoil_expectationViolation("Attempted to use a Recoil hook outside of a <RecoilRoot>. <RecoilRoot> must be an ancestor of any component that uses Recoil hooks."),mutableSource},useRecoilStoreID:function useRecoilStoreID(){return useStoreRef().current.storeID},notifyComponents_FOR_TESTING:notifyComponents,sendEndOfBatchNotifications_FOR_TESTING:sendEndOfBatchNotifications};var Recoil_shallowArrayEqual=function shallowArrayEqual(a,b){if(a===b)return!0;if(a.length!==b.length)return!1;for(let i=0,l=a.length;i<l;i++)if(a[i]!==b[i])return!1;return!0};const{useEffect:useEffect$1,useRef:useRef$2}=react__WEBPACK_IMPORTED_MODULE_0__;var Recoil_usePrevious=function usePrevious(value){const ref=useRef$2();return useEffect$1((()=>{ref.current=value})),ref.current};const{useStoreRef:useStoreRef$1}=Recoil_RecoilRoot,{SUSPENSE_TIMEOUT_MS:SUSPENSE_TIMEOUT_MS$1}=Recoil_Retention,{updateRetainCount:updateRetainCount$2}=Recoil_Retention,{RetentionZone:RetentionZone$3}=Recoil_RetentionZone,{useEffect:useEffect$2,useRef:useRef$3}=react__WEBPACK_IMPORTED_MODULE_0__,{isSSR:isSSR$2}=Recoil_Environment;var Recoil_useRetain=function useRetain(toRetain){if(Recoil_gkx("recoil_memory_managament_2020"))return function useRetain_ACTUAL(toRetain){const retainables=(Array.isArray(toRetain)?toRetain:[toRetain]).map((a=>a instanceof RetentionZone$3?a:a.key)),storeRef=useStoreRef$1();useEffect$2((()=>{if(!Recoil_gkx("recoil_memory_managament_2020"))return;const store=storeRef.current;if(timeoutID.current&&!isSSR$2)window.clearTimeout(timeoutID.current),timeoutID.current=null;else for(const r of retainables)updateRetainCount$2(store,r,1);return()=>{for(const r of retainables)updateRetainCount$2(store,r,-1)}}),[storeRef,...retainables]);const timeoutID=useRef$3(),previousRetainables=Recoil_usePrevious(retainables);if(!(isSSR$2||void 0!==previousRetainables&&Recoil_shallowArrayEqual(previousRetainables,retainables))){const store=storeRef.current;for(const r of retainables)updateRetainCount$2(store,r,1);if(previousRetainables)for(const r of previousRetainables)updateRetainCount$2(store,r,-1);timeoutID.current&&window.clearTimeout(timeoutID.current),timeoutID.current=window.setTimeout((()=>{timeoutID.current=null;for(const r of retainables)updateRetainCount$2(store,r,-1)}),SUSPENSE_TIMEOUT_MS$1)}}(toRetain)};var Recoil_useComponentName=function useComponentName(){return"<component name not available>"};const{batchUpdates:batchUpdates$2}=Recoil_Batching,{DEFAULT_VALUE:DEFAULT_VALUE$2}=Recoil_Node,{reactMode:reactMode$3,useMutableSource:useMutableSource$1,useSyncExternalStore:useSyncExternalStore$1}=Recoil_ReactMode,{useRecoilMutableSource:useRecoilMutableSource$1,useStoreRef:useStoreRef$2}=Recoil_RecoilRoot,{isRecoilValue:isRecoilValue$2}=Recoil_RecoilValue$1,{AbstractRecoilValue:AbstractRecoilValue$3,getRecoilValueAsLoadable:getRecoilValueAsLoadable$2,setRecoilValue:setRecoilValue$2,setUnvalidatedRecoilValue:setUnvalidatedRecoilValue$2,subscribeToRecoilValue:subscribeToRecoilValue$1}=Recoil_RecoilValueInterface,{useCallback:useCallback$1,useEffect:useEffect$3,useMemo:useMemo$1,useRef:useRef$4,useState:useState$1}=react__WEBPACK_IMPORTED_MODULE_0__,{setByAddingToSet:setByAddingToSet$2}=Recoil_CopyOnWrite;function handleLoadable(loadable,recoilValue,storeRef){if("hasValue"===loadable.state)return loadable.contents;if("loading"===loadable.state){throw new Promise((resolve=>{storeRef.current.getState().suspendedComponentResolvers.add(resolve)}))}throw"hasError"===loadable.state?loadable.contents:Recoil_err(`Invalid value of loadable atom "${recoilValue.key}"`)}function useRecoilValueLoadable_SYNC_EXTERNAL_STORE(recoilValue){const storeRef=useStoreRef$2(),componentName=Recoil_useComponentName(),getSnapshot=useCallback$1((()=>{var _storeState$nextTree2;const store=storeRef.current,storeState=store.getState(),treeState=reactMode$3().early&&null!==(_storeState$nextTree2=storeState.nextTree)&&void 0!==_storeState$nextTree2?_storeState$nextTree2:storeState.currentTree;return{loadable:getRecoilValueAsLoadable$2(store,recoilValue,treeState),key:recoilValue.key}}),[storeRef,recoilValue]),memoizePreviousSnapshot=useCallback$1((getState=>{let prevState;return()=>{var _prevState,_prevState2;const nextState=getState();return null!==(_prevState=prevState)&&void 0!==_prevState&&_prevState.loadable.is(nextState.loadable)&&(null===(_prevState2=prevState)||void 0===_prevState2?void 0:_prevState2.key)===nextState.key?prevState:(prevState=nextState,nextState)}}),[]),getMemoizedSnapshot=useMemo$1((()=>memoizePreviousSnapshot(getSnapshot)),[getSnapshot,memoizePreviousSnapshot]),subscribe=useCallback$1((notify=>{const store=storeRef.current;return subscribeToRecoilValue$1(store,recoilValue,notify,componentName).release}),[storeRef,recoilValue,componentName]);return useSyncExternalStore$1(subscribe,getMemoizedSnapshot,getMemoizedSnapshot).loadable}function useRecoilValueLoadable_MUTABLE_SOURCE(recoilValue){const storeRef=useStoreRef$2(),getLoadable=useCallback$1((()=>{var _storeState$nextTree3;const store=storeRef.current,storeState=store.getState(),treeState=reactMode$3().early&&null!==(_storeState$nextTree3=storeState.nextTree)&&void 0!==_storeState$nextTree3?_storeState$nextTree3:storeState.currentTree;return getRecoilValueAsLoadable$2(store,recoilValue,treeState)}),[storeRef,recoilValue]),getLoadableWithTesting=useCallback$1((()=>getLoadable()),[getLoadable]),componentName=Recoil_useComponentName(),subscribe=useCallback$1(((_storeState,notify)=>{const store=storeRef.current;return subscribeToRecoilValue$1(store,recoilValue,(()=>{if(!Recoil_gkx("recoil_suppress_rerender_in_callback"))return notify();const newLoadable=getLoadable();prevLoadableRef.current.is(newLoadable)||notify(),prevLoadableRef.current=newLoadable}),componentName).release}),[storeRef,recoilValue,componentName,getLoadable]),source=useRecoilMutableSource$1();if(null==source)throw Recoil_err("Recoil hooks must be used in components contained within a <RecoilRoot> component.");const loadable=useMutableSource$1(source,getLoadableWithTesting,subscribe),prevLoadableRef=useRef$4(loadable);return useEffect$3((()=>{prevLoadableRef.current=loadable})),loadable}function useRecoilValueLoadable_TRANSITION_SUPPORT(recoilValue){const storeRef=useStoreRef$2(),componentName=Recoil_useComponentName(),getLoadable=useCallback$1((()=>{var _storeState$nextTree4;const store=storeRef.current,storeState=store.getState(),treeState=reactMode$3().early&&null!==(_storeState$nextTree4=storeState.nextTree)&&void 0!==_storeState$nextTree4?_storeState$nextTree4:storeState.currentTree;return getRecoilValueAsLoadable$2(store,recoilValue,treeState)}),[storeRef,recoilValue]),getState=useCallback$1((()=>({loadable:getLoadable(),key:recoilValue.key})),[getLoadable,recoilValue.key]),updateState=useCallback$1((prevState=>{const nextState=getState();return prevState.loadable.is(nextState.loadable)&&prevState.key===nextState.key?prevState:nextState}),[getState]);useEffect$3((()=>{const subscription=subscribeToRecoilValue$1(storeRef.current,recoilValue,(_state=>{setState(updateState)}),componentName);return setState(updateState),subscription.release}),[componentName,recoilValue,storeRef,updateState]);const[state,setState]=useState$1(getState);return state.key!==recoilValue.key?getState().loadable:state.loadable}function useRecoilValueLoadable_LEGACY(recoilValue){const storeRef=useStoreRef$2(),[,forceUpdate]=useState$1([]),componentName=Recoil_useComponentName(),getLoadable=useCallback$1((()=>{var _storeState$nextTree5;const store=storeRef.current,storeState=store.getState(),treeState=reactMode$3().early&&null!==(_storeState$nextTree5=storeState.nextTree)&&void 0!==_storeState$nextTree5?_storeState$nextTree5:storeState.currentTree;return getRecoilValueAsLoadable$2(store,recoilValue,treeState)}),[storeRef,recoilValue]),loadable=getLoadable(),prevLoadableRef=useRef$4(loadable);return useEffect$3((()=>{prevLoadableRef.current=loadable})),useEffect$3((()=>{const store=storeRef.current,storeState=store.getState(),subscription=subscribeToRecoilValue$1(store,recoilValue,(_state=>{var _prevLoadableRef$curr;if(!Recoil_gkx("recoil_suppress_rerender_in_callback"))return forceUpdate([]);const newLoadable=getLoadable();null!==(_prevLoadableRef$curr=prevLoadableRef.current)&&void 0!==_prevLoadableRef$curr&&_prevLoadableRef$curr.is(newLoadable)||forceUpdate(newLoadable),prevLoadableRef.current=newLoadable}),componentName);if(storeState.nextTree)store.getState().queuedComponentCallbacks_DEPRECATED.push((()=>{prevLoadableRef.current=null,forceUpdate([])}));else{var _prevLoadableRef$curr2;if(!Recoil_gkx("recoil_suppress_rerender_in_callback"))return forceUpdate([]);const newLoadable=getLoadable();null!==(_prevLoadableRef$curr2=prevLoadableRef.current)&&void 0!==_prevLoadableRef$curr2&&_prevLoadableRef$curr2.is(newLoadable)||forceUpdate(newLoadable),prevLoadableRef.current=newLoadable}return subscription.release}),[componentName,getLoadable,recoilValue,storeRef]),loadable}function useRecoilValueLoadable(recoilValue){return Recoil_gkx("recoil_memory_managament_2020")&&Recoil_useRetain(recoilValue),{TRANSITION_SUPPORT:useRecoilValueLoadable_TRANSITION_SUPPORT,SYNC_EXTERNAL_STORE:useRecoilValueLoadable_SYNC_EXTERNAL_STORE,MUTABLE_SOURCE:useRecoilValueLoadable_MUTABLE_SOURCE,LEGACY:useRecoilValueLoadable_LEGACY}[reactMode$3().mode](recoilValue)}function useRecoilValue(recoilValue){const storeRef=useStoreRef$2();return handleLoadable(useRecoilValueLoadable(recoilValue),recoilValue,storeRef)}function useSetRecoilState(recoilState){const storeRef=useStoreRef$2();return useCallback$1((newValueOrUpdater=>{setRecoilValue$2(storeRef.current,recoilState,newValueOrUpdater)}),[storeRef,recoilState])}function useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE(recoilValue){return Recoil_gkx("recoil_memory_managament_2020")&&Recoil_useRetain(recoilValue),useRecoilValueLoadable_TRANSITION_SUPPORT(recoilValue)}function useRecoilValue_TRANSITION_SUPPORT_UNSTABLE(recoilValue){const storeRef=useStoreRef$2();return handleLoadable(useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE(recoilValue),recoilValue,storeRef)}var Recoil_Hooks={recoilComponentGetRecoilValueCount_FOR_TESTING:{current:0},useRecoilInterface:function useRecoilInterface_DEPRECATED(){const componentName=Recoil_useComponentName(),storeRef=useStoreRef$2(),[,forceUpdate]=useState$1([]),recoilValuesUsed=useRef$4(new Set);recoilValuesUsed.current=new Set;const previousSubscriptions=useRef$4(new Set),subscriptions=useRef$4(new Map),unsubscribeFrom=useCallback$1((key=>{const sub=subscriptions.current.get(key);sub&&(sub.release(),subscriptions.current.delete(key))}),[subscriptions]),updateState=useCallback$1(((_state,key)=>{subscriptions.current.has(key)&&forceUpdate([])}),[]);return useEffect$3((()=>{const store=storeRef.current;Recoil_differenceSets(recoilValuesUsed.current,previousSubscriptions.current).forEach((key=>{if(subscriptions.current.has(key))return void Recoil_expectationViolation(`Double subscription to RecoilValue "${key}"`);const sub=subscribeToRecoilValue$1(store,new AbstractRecoilValue$3(key),(state=>updateState(state,key)),componentName);subscriptions.current.set(key,sub);store.getState().nextTree?store.getState().queuedComponentCallbacks_DEPRECATED.push((()=>{updateState(store.getState(),key)})):updateState(store.getState(),key)})),Recoil_differenceSets(previousSubscriptions.current,recoilValuesUsed.current).forEach((key=>{unsubscribeFrom(key)})),previousSubscriptions.current=recoilValuesUsed.current})),useEffect$3((()=>{const currentSubscriptions=subscriptions.current;return Recoil_differenceSets(recoilValuesUsed.current,new Set(currentSubscriptions.keys())).forEach((key=>{const sub=subscribeToRecoilValue$1(storeRef.current,new AbstractRecoilValue$3(key),(state=>updateState(state,key)),componentName);currentSubscriptions.set(key,sub)})),()=>currentSubscriptions.forEach(((_,key)=>unsubscribeFrom(key)))}),[componentName,storeRef,unsubscribeFrom,updateState]),useMemo$1((()=>{function useSetRecoilState(recoilState){return newValueOrUpdater=>{setRecoilValue$2(storeRef.current,recoilState,newValueOrUpdater)}}function useRecoilValueLoadable(recoilValue){var _storeState$nextTree;recoilValuesUsed.current.has(recoilValue.key)||(recoilValuesUsed.current=setByAddingToSet$2(recoilValuesUsed.current,recoilValue.key));const storeState=storeRef.current.getState();return getRecoilValueAsLoadable$2(storeRef.current,recoilValue,reactMode$3().early&&null!==(_storeState$nextTree=storeState.nextTree)&&void 0!==_storeState$nextTree?_storeState$nextTree:storeState.currentTree)}function useRecoilValue(recoilValue){return handleLoadable(useRecoilValueLoadable(recoilValue),recoilValue,storeRef)}return{getRecoilValue:useRecoilValue,getRecoilValueLoadable:useRecoilValueLoadable,getRecoilState:function useRecoilState(recoilState){return[useRecoilValue(recoilState),useSetRecoilState(recoilState)]},getRecoilStateLoadable:function useRecoilStateLoadable(recoilState){return[useRecoilValueLoadable(recoilState),useSetRecoilState(recoilState)]},getSetRecoilState:useSetRecoilState,getResetRecoilState:function useResetRecoilState(recoilState){return()=>setRecoilValue$2(storeRef.current,recoilState,DEFAULT_VALUE$2)}}}),[recoilValuesUsed,storeRef])},useRecoilState:function useRecoilState(recoilState){return[useRecoilValue(recoilState),useSetRecoilState(recoilState)]},useRecoilStateLoadable:function useRecoilStateLoadable(recoilState){return[useRecoilValueLoadable(recoilState),useSetRecoilState(recoilState)]},useRecoilValue,useRecoilValueLoadable,useResetRecoilState:function useResetRecoilState(recoilState){const storeRef=useStoreRef$2();return useCallback$1((()=>{setRecoilValue$2(storeRef.current,recoilState,DEFAULT_VALUE$2)}),[storeRef,recoilState])},useSetRecoilState,useSetUnvalidatedAtomValues:function useSetUnvalidatedAtomValues(){const storeRef=useStoreRef$2();return(values,transactionMetadata={})=>{batchUpdates$2((()=>{storeRef.current.addTransactionMetadata(transactionMetadata),values.forEach(((value,key)=>setUnvalidatedRecoilValue$2(storeRef.current,new AbstractRecoilValue$3(key),value)))}))}},useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:function useRecoilState_TRANSITION_SUPPORT_UNSTABLE(recoilState){return[useRecoilValue_TRANSITION_SUPPORT_UNSTABLE(recoilState),useSetRecoilState(recoilState)]}};var Recoil_filterMap=function filterMap(map,callback){const result=new Map;for(const[key,value]of map)callback(value,key)&&result.set(key,value);return result};var Recoil_filterSet=function filterSet(set,callback){const result=new Set;for(const value of set)callback(value)&&result.add(value);return result};var Recoil_mergeMaps=function mergeMaps(...maps){const result=new Map;for(let i=0;i<maps.length;i++){const iterator=maps[i].keys();let nextKey;for(;!(nextKey=iterator.next()).done;)result.set(nextKey.value,maps[i].get(nextKey.value))}return result};const{batchUpdates:batchUpdates$3}=Recoil_Batching,{DEFAULT_VALUE:DEFAULT_VALUE$3,getNode:getNode$4,nodes:nodes$1}=Recoil_Node,{useStoreRef:useStoreRef$3}=Recoil_RecoilRoot,{AbstractRecoilValue:AbstractRecoilValue$4,setRecoilValueLoadable:setRecoilValueLoadable$1}=Recoil_RecoilValueInterface,{SUSPENSE_TIMEOUT_MS:SUSPENSE_TIMEOUT_MS$2}=Recoil_Retention,{cloneSnapshot:cloneSnapshot$1}=Recoil_Snapshot$1,{useCallback:useCallback$2,useEffect:useEffect$4,useRef:useRef$5,useState:useState$2}=react__WEBPACK_IMPORTED_MODULE_0__,{isSSR:isSSR$3}=Recoil_Environment;function useTransactionSubscription(callback){const storeRef=useStoreRef$3();useEffect$4((()=>storeRef.current.subscribeToTransactions(callback).release),[callback,storeRef])}function externallyVisibleAtomValuesInState(state){const atomValues=state.atomValues.toMap(),persistedAtomContentsValues=Recoil_mapMap(Recoil_filterMap(atomValues,((v,k)=>{const persistence=getNode$4(k).persistence_UNSTABLE;return null!=persistence&&"none"!==persistence.type&&"hasValue"===v.state})),(v=>v.contents));return Recoil_mergeMaps(state.nonvalidatedAtoms.toMap(),persistedAtomContentsValues)}function gotoSnapshot(store,snapshot){var _storeState$nextTree;const storeState=store.getState(),prev=null!==(_storeState$nextTree=storeState.nextTree)&&void 0!==_storeState$nextTree?_storeState$nextTree:storeState.currentTree,next=snapshot.getStore_INTERNAL().getState().currentTree;batchUpdates$3((()=>{const keysToUpdate=new Set;for(const keys of[prev.atomValues.keys(),next.atomValues.keys()])for(const key of keys){var _prev$atomValues$get,_next$atomValues$get;(null===(_prev$atomValues$get=prev.atomValues.get(key))||void 0===_prev$atomValues$get?void 0:_prev$atomValues$get.contents)!==(null===(_next$atomValues$get=next.atomValues.get(key))||void 0===_next$atomValues$get?void 0:_next$atomValues$get.contents)&&getNode$4(key).shouldRestoreFromSnapshots&&keysToUpdate.add(key)}keysToUpdate.forEach((key=>{setRecoilValueLoadable$1(store,new AbstractRecoilValue$4(key),next.atomValues.has(key)?Recoil_nullthrows(next.atomValues.get(key)):DEFAULT_VALUE$3)})),store.replaceState((state=>({...state,stateID:snapshot.getID()})))}))}var Recoil_SnapshotHooks={useRecoilSnapshot:function useRecoilSnapshot(){const storeRef=useStoreRef$3(),[snapshot,setSnapshot]=useState$2((()=>cloneSnapshot$1(storeRef.current))),previousSnapshot=Recoil_usePrevious(snapshot),timeoutID=useRef$5(),releaseRef=useRef$5();if(useTransactionSubscription(useCallback$2((store=>setSnapshot(cloneSnapshot$1(store))),[])),useEffect$4((()=>{const release=snapshot.retain();var _releaseRef$current;timeoutID.current&&!isSSR$3&&(window.clearTimeout(timeoutID.current),timeoutID.current=null,null===(_releaseRef$current=releaseRef.current)||void 0===_releaseRef$current||_releaseRef$current.call(releaseRef),releaseRef.current=null);return release}),[snapshot]),previousSnapshot!==snapshot&&!isSSR$3){var _releaseRef$current2;if(timeoutID.current)window.clearTimeout(timeoutID.current),timeoutID.current=null,null===(_releaseRef$current2=releaseRef.current)||void 0===_releaseRef$current2||_releaseRef$current2.call(releaseRef),releaseRef.current=null;releaseRef.current=snapshot.retain(),timeoutID.current=window.setTimeout((()=>{var _releaseRef$current3;timeoutID.current=null,null===(_releaseRef$current3=releaseRef.current)||void 0===_releaseRef$current3||_releaseRef$current3.call(releaseRef),releaseRef.current=null}),SUSPENSE_TIMEOUT_MS$2)}return snapshot},gotoSnapshot,useGotoRecoilSnapshot:function useGotoRecoilSnapshot(){const storeRef=useStoreRef$3();return useCallback$2((snapshot=>gotoSnapshot(storeRef.current,snapshot)),[storeRef])},useRecoilTransactionObserver:function useRecoilTransactionObserver(callback){useTransactionSubscription(useCallback$2((store=>{const snapshot=cloneSnapshot$1(store,"latest"),previousSnapshot=cloneSnapshot$1(store,"previous");callback({snapshot,previousSnapshot})}),[callback]))},useTransactionObservation_DEPRECATED:function useTransactionObservation_DEPRECATED(callback){useTransactionSubscription(useCallback$2((store=>{let previousTree=store.getState().previousTree;const currentTree=store.getState().currentTree;previousTree||(Recoil_recoverableViolation("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),previousTree=store.getState().currentTree);const atomValues=externallyVisibleAtomValuesInState(currentTree),previousAtomValues=externallyVisibleAtomValuesInState(previousTree),atomInfo=Recoil_mapMap(nodes$1,(node=>{var _node$persistence_UNS,_node$persistence_UNS2,_node$persistence_UNS3,_node$persistence_UNS4;return{persistence_UNSTABLE:{type:null!==(_node$persistence_UNS=null===(_node$persistence_UNS2=node.persistence_UNSTABLE)||void 0===_node$persistence_UNS2?void 0:_node$persistence_UNS2.type)&&void 0!==_node$persistence_UNS?_node$persistence_UNS:"none",backButton:null!==(_node$persistence_UNS3=null===(_node$persistence_UNS4=node.persistence_UNSTABLE)||void 0===_node$persistence_UNS4?void 0:_node$persistence_UNS4.backButton)&&void 0!==_node$persistence_UNS3&&_node$persistence_UNS3}}})),modifiedAtoms=Recoil_filterSet(currentTree.dirtyAtoms,(k=>atomValues.has(k)||previousAtomValues.has(k)));callback({atomValues,previousAtomValues,atomInfo,modifiedAtoms,transactionMetadata:{...currentTree.transactionMetadata}})}),[callback]))},useTransactionSubscription_DEPRECATED:useTransactionSubscription};const{peekNodeInfo:peekNodeInfo$2}=Recoil_FunctionalCore,{useStoreRef:useStoreRef$4}=Recoil_RecoilRoot;var Recoil_useGetRecoilValueInfo=function useGetRecoilValueInfo(){const storeRef=useStoreRef$4();return({key})=>peekNodeInfo$2(storeRef.current,storeRef.current.getState().currentTree,key)};const{reactMode:reactMode$4}=Recoil_ReactMode,{RecoilRoot:RecoilRoot$1,useStoreRef:useStoreRef$5}=Recoil_RecoilRoot,{useMemo:useMemo$2}=react__WEBPACK_IMPORTED_MODULE_0__;var Recoil_useRecoilBridgeAcrossReactRoots=function useRecoilBridgeAcrossReactRoots(){"MUTABLE_SOURCE"===reactMode$4().mode&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const store=useStoreRef$5().current;return useMemo$2((()=>function RecoilBridge({children}){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(RecoilRoot$1,{store_INTERNAL:store},children)}),[store])};const{loadableWithValue:loadableWithValue$1}=Recoil_Loadable$1,{initializeNode:initializeNode$3}=Recoil_FunctionalCore,{DEFAULT_VALUE:DEFAULT_VALUE$4,getNode:getNode$5}=Recoil_Node,{copyTreeState:copyTreeState$1,getRecoilValueAsLoadable:getRecoilValueAsLoadable$3,invalidateDownstreams:invalidateDownstreams$1,writeLoadableToTreeState:writeLoadableToTreeState$1}=Recoil_RecoilValueInterface;function isAtom(recoilValue){return"atom"===getNode$5(recoilValue.key).nodeType}class TransactionInterfaceImpl{constructor(store,treeState){_defineProperty(this,"_store",void 0),_defineProperty(this,"_treeState",void 0),_defineProperty(this,"_changes",void 0),_defineProperty(this,"get",(recoilValue=>{if(this._changes.has(recoilValue.key))return this._changes.get(recoilValue.key);if(!isAtom(recoilValue))throw Recoil_err("Reading selectors within atomicUpdate is not supported");const loadable=getRecoilValueAsLoadable$3(this._store,recoilValue,this._treeState);if("hasValue"===loadable.state)return loadable.contents;throw"hasError"===loadable.state?loadable.contents:Recoil_err(`Expected Recoil atom ${recoilValue.key} to have a value, but it is in a loading state.`)})),_defineProperty(this,"set",((recoilState,valueOrUpdater)=>{if(!isAtom(recoilState))throw Recoil_err("Setting selectors within atomicUpdate is not supported");if("function"==typeof valueOrUpdater){const current=this.get(recoilState);this._changes.set(recoilState.key,valueOrUpdater(current))}else initializeNode$3(this._store,recoilState.key,"set"),this._changes.set(recoilState.key,valueOrUpdater)})),_defineProperty(this,"reset",(recoilState=>{this.set(recoilState,DEFAULT_VALUE$4)})),this._store=store,this._treeState=treeState,this._changes=new Map}newTreeState_INTERNAL(){if(0===this._changes.size)return this._treeState;const newState=copyTreeState$1(this._treeState);for(const[k,v]of this._changes)writeLoadableToTreeState$1(newState,k,loadableWithValue$1(v));return invalidateDownstreams$1(this._store,newState),newState}}var Recoil_AtomicUpdates_1=function atomicUpdater(store){return fn=>{store.replaceState((treeState=>{const changeset=new TransactionInterfaceImpl(store,treeState);return fn(changeset),changeset.newTreeState_INTERNAL()}))}},Recoil_AtomicUpdates$1=Object.freeze({__proto__:null,atomicUpdater:Recoil_AtomicUpdates_1});var Recoil_invariant=function invariant(condition,message){if(!condition)throw new Error(message)};const{atomicUpdater:atomicUpdater$1}=Recoil_AtomicUpdates$1,{batchUpdates:batchUpdates$4}=Recoil_Batching,{DEFAULT_VALUE:DEFAULT_VALUE$5}=Recoil_Node,{useStoreRef:useStoreRef$6}=Recoil_RecoilRoot,{refreshRecoilValue:refreshRecoilValue$1,setRecoilValue:setRecoilValue$3}=Recoil_RecoilValueInterface,{cloneSnapshot:cloneSnapshot$2}=Recoil_Snapshot$1,{gotoSnapshot:gotoSnapshot$1}=Recoil_SnapshotHooks,{useCallback:useCallback$3}=react__WEBPACK_IMPORTED_MODULE_0__;class Sentinel{}const SENTINEL=new Sentinel;function recoilCallback(store,fn,args,extraInterface){let releaseSnapshot,ret=SENTINEL;var _releaseSnapshot2;(batchUpdates$4((()=>{const errMsg="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if("function"!=typeof fn)throw Recoil_err(errMsg);const callbackInterface=Recoil_lazyProxy({...null!=extraInterface?extraInterface:{},set:(node,newValue)=>setRecoilValue$3(store,node,newValue),reset:node=>setRecoilValue$3(store,node,DEFAULT_VALUE$5),refresh:node=>refreshRecoilValue$1(store,node),gotoSnapshot:snapshot=>gotoSnapshot$1(store,snapshot),transact_UNSTABLE:transaction=>atomicUpdater$1(store)(transaction)},{snapshot:()=>{const snapshot=cloneSnapshot$2(store);return releaseSnapshot=snapshot.retain(),snapshot}}),callback=fn(callbackInterface);if("function"!=typeof callback)throw Recoil_err(errMsg);ret=callback(...args)})),ret instanceof Sentinel&&Recoil_invariant(!1),Recoil_isPromise(ret))?ret.finally((()=>{var _releaseSnapshot;null===(_releaseSnapshot=releaseSnapshot)||void 0===_releaseSnapshot||_releaseSnapshot()})):null===(_releaseSnapshot2=releaseSnapshot)||void 0===_releaseSnapshot2||_releaseSnapshot2();return ret}var Recoil_useRecoilCallback={recoilCallback,useRecoilCallback:function useRecoilCallback(fn,deps){const storeRef=useStoreRef$6();return useCallback$3(((...args)=>recoilCallback(storeRef.current,fn,args)),null!=deps?[...deps,storeRef]:void 0)}};const{useStoreRef:useStoreRef$7}=Recoil_RecoilRoot,{refreshRecoilValue:refreshRecoilValue$2}=Recoil_RecoilValueInterface,{useCallback:useCallback$4}=react__WEBPACK_IMPORTED_MODULE_0__;var Recoil_useRecoilRefresher=function useRecoilRefresher(recoilValue){const storeRef=useStoreRef$7();return useCallback$4((()=>{const store=storeRef.current;refreshRecoilValue$2(store,recoilValue)}),[recoilValue,storeRef])};const{atomicUpdater:atomicUpdater$2}=Recoil_AtomicUpdates$1,{useStoreRef:useStoreRef$8}=Recoil_RecoilRoot,{useMemo:useMemo$3}=react__WEBPACK_IMPORTED_MODULE_0__;var Recoil_useRecoilTransaction=function useRecoilTransaction(fn,deps){const storeRef=useStoreRef$8();return useMemo$3((()=>(...args)=>{atomicUpdater$2(storeRef.current)((transactionInterface=>{fn(transactionInterface)(...args)}))}),null!=deps?[...deps,storeRef]:void 0)};var Recoil_Wrapper_1=class WrappedValue{constructor(value){_defineProperty(this,"value",void 0),this.value=value}},Recoil_Wrapper$1=Object.freeze({__proto__:null,WrappedValue:Recoil_Wrapper_1});const{isFastRefreshEnabled:isFastRefreshEnabled$2}=Recoil_ReactMode;class ChangedPathError extends Error{}var Recoil_TreeCache_1=class TreeCache{constructor(options){var _options$onHit,_options$onSet,_options$mapNodeValue;_defineProperty(this,"_name",void 0),_defineProperty(this,"_numLeafs",void 0),_defineProperty(this,"_root",void 0),_defineProperty(this,"_onHit",void 0),_defineProperty(this,"_onSet",void 0),_defineProperty(this,"_mapNodeValue",void 0),this._name=null==options?void 0:options.name,this._numLeafs=0,this._root=null,this._onHit=null!==(_options$onHit=null==options?void 0:options.onHit)&&void 0!==_options$onHit?_options$onHit:()=>{},this._onSet=null!==(_options$onSet=null==options?void 0:options.onSet)&&void 0!==_options$onSet?_options$onSet:()=>{},this._mapNodeValue=null!==(_options$mapNodeValue=null==options?void 0:options.mapNodeValue)&&void 0!==_options$mapNodeValue?_options$mapNodeValue:val=>val}size(){return this._numLeafs}root(){return this._root}get(getNodeValue,handlers){var _this$getLeafNode;return null===(_this$getLeafNode=this.getLeafNode(getNodeValue,handlers))||void 0===_this$getLeafNode?void 0:_this$getLeafNode.value}getLeafNode(getNodeValue,handlers){if(null==this._root)return;let node=this._root;for(;node;){if(null==handlers||handlers.onNodeVisit(node),"leaf"===node.type)return this._onHit(node),node;const nodeValue=this._mapNodeValue(getNodeValue(node.nodeKey));node=node.branches.get(nodeValue)}}set(route,value,handlers){const addLeaf=()=>{var _node2,_node3,_this$_root2,_handlers$onNodeVisit2;let node,branchKey;for(const[nodeKey,nodeValue]of route){var _node,_handlers$onNodeVisit,_this$_root;const root=this._root;if("leaf"===(null==root?void 0:root.type))throw this.invalidCacheError();const parent=node;if(node=parent?parent.branches.get(branchKey):root,node=null!==(_node=node)&&void 0!==_node?_node:{type:"branch",nodeKey,parent,branches:new Map,branchKey},"branch"!==node.type||node.nodeKey!==nodeKey)throw this.invalidCacheError();null==parent||parent.branches.set(branchKey,node),null==handlers||null===(_handlers$onNodeVisit=handlers.onNodeVisit)||void 0===_handlers$onNodeVisit||_handlers$onNodeVisit.call(handlers,node),branchKey=this._mapNodeValue(nodeValue),this._root=null!==(_this$_root=this._root)&&void 0!==_this$_root?_this$_root:node}const oldLeaf=node?null===(_node2=node)||void 0===_node2?void 0:_node2.branches.get(branchKey):this._root;if(null!=oldLeaf&&("leaf"!==oldLeaf.type||oldLeaf.branchKey!==branchKey))throw this.invalidCacheError();const leafNode={type:"leaf",value,parent:node,branchKey};null===(_node3=node)||void 0===_node3||_node3.branches.set(branchKey,leafNode),this._root=null!==(_this$_root2=this._root)&&void 0!==_this$_root2?_this$_root2:leafNode,this._numLeafs++,this._onSet(leafNode),null==handlers||null===(_handlers$onNodeVisit2=handlers.onNodeVisit)||void 0===_handlers$onNodeVisit2||_handlers$onNodeVisit2.call(handlers,leafNode)};try{addLeaf()}catch(error){if(!(error instanceof ChangedPathError))throw error;this.clear(),addLeaf()}}delete(leaf){const root=this.root();if(!root)return!1;if(leaf===root)return this._root=null,this._numLeafs=0,!0;let node=leaf.parent,branchKey=leaf.branchKey;for(;node;){var _node4;if(node.branches.delete(branchKey),node===root)return 0===node.branches.size?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(node.branches.size>0)break;branchKey=null===(_node4=node)||void 0===_node4?void 0:_node4.branchKey,node=node.parent}for(;node!==root;node=node.parent)if(null==node)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const CHANGED_PATH_ERROR_MESSAGE=isFastRefreshEnabled$2()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw Recoil_recoverableViolation(CHANGED_PATH_ERROR_MESSAGE+(null!=this._name?` - ${this._name}`:"")),new ChangedPathError}},Recoil_TreeCache$1=Object.freeze({__proto__:null,TreeCache:Recoil_TreeCache_1});var Recoil_LRUCache_1=class LRUCache{constructor(options){var _options$mapKey;_defineProperty(this,"_maxSize",void 0),_defineProperty(this,"_size",void 0),_defineProperty(this,"_head",void 0),_defineProperty(this,"_tail",void 0),_defineProperty(this,"_map",void 0),_defineProperty(this,"_keyMapper",void 0),this._maxSize=options.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=null!==(_options$mapKey=options.mapKey)&&void 0!==_options$mapKey?_options$mapKey:v=>v}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(key){return this._map.has(this._keyMapper(key))}get(key){const mappedKey=this._keyMapper(key),node=this._map.get(mappedKey);if(node)return this.set(key,node.value),node.value}set(key,val){const mappedKey=this._keyMapper(key);this._map.get(mappedKey)&&this.delete(key);const head=this.head(),node={key,right:head,left:null,value:val};head?head.left=node:this._tail=node,this._map.set(mappedKey,node),this._head=node,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const tail=this.tail();tail&&this.delete(tail.key)}delete(key){const mappedKey=this._keyMapper(key);if(!this._size||!this._map.has(mappedKey))return;const node=Recoil_nullthrows(this._map.get(mappedKey)),right=node.right,left=node.left;right&&(right.left=node.left),left&&(left.right=node.right),node===this.head()&&(this._head=right),node===this.tail()&&(this._tail=left),this._map.delete(mappedKey),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}},Recoil_LRUCache$1=Object.freeze({__proto__:null,LRUCache:Recoil_LRUCache_1});const{LRUCache:LRUCache$1}=Recoil_LRUCache$1,{TreeCache:TreeCache$1}=Recoil_TreeCache$1;var Recoil_treeCacheLRU=function treeCacheLRU({name,maxSize,mapNodeValue=v=>v}){const lruCache=new LRUCache$1({maxSize}),cache=new TreeCache$1({name,mapNodeValue,onHit:node=>{lruCache.set(node,!0)},onSet:node=>{const lruNode=lruCache.tail();lruCache.set(node,!0),lruNode&&cache.size()>maxSize&&cache.delete(lruNode.key)}});return cache};function stringify(x,opt,key){if("string"==typeof x&&!x.includes('"')&&!x.includes("\\"))return`"${x}"`;switch(typeof x){case"undefined":return"";case"boolean":return x?"true":"false";case"number":case"symbol":return String(x);case"string":return JSON.stringify(x);case"function":if(!0!==(null==opt?void 0:opt.allowFunctions))throw Recoil_err("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${x.name})__`}if(null===x)return"null";var _JSON$stringify;if("object"!=typeof x)return null!==(_JSON$stringify=JSON.stringify(x))&&void 0!==_JSON$stringify?_JSON$stringify:"";if(Recoil_isPromise(x))return"__PROMISE__";if(Array.isArray(x))return`[${x.map(((v,i)=>stringify(v,opt,i.toString())))}]`;if("function"==typeof x.toJSON)return stringify(x.toJSON(key),opt,key);if(x instanceof Map){const obj={};for(const[k,v]of x)obj["string"==typeof k?k:stringify(k,opt)]=v;return stringify(obj,opt,key)}return x instanceof Set?stringify(Array.from(x).sort(((a,b)=>stringify(a,opt).localeCompare(stringify(b,opt)))),opt,key):void 0!==Symbol&&null!=x[Symbol.iterator]&&"function"==typeof x[Symbol.iterator]?stringify(Array.from(x),opt,key):`{${Object.keys(x).filter((k=>void 0!==x[k])).sort().map((k=>`${stringify(k,opt)}:${stringify(x[k],opt,k)}`)).join(",")}}`}var Recoil_stableStringify=function stableStringify(x,opt={allowFunctions:!1}){return stringify(x,opt)};const{TreeCache:TreeCache$2}=Recoil_TreeCache$1,defaultPolicy={equality:"reference",eviction:"keep-all",maxSize:1/0};var Recoil_treeCacheFromPolicy=function treeCacheFromPolicy({equality=defaultPolicy.equality,eviction=defaultPolicy.eviction,maxSize=defaultPolicy.maxSize}=defaultPolicy,name){const valueMapper=function getValueMapper(equality){switch(equality){case"reference":return val=>val;case"value":return val=>Recoil_stableStringify(val)}throw Recoil_err(`Unrecognized equality policy ${equality}`)}(equality);return function getTreeCache(eviction,maxSize,mapNodeValue,name){switch(eviction){case"keep-all":return new TreeCache$2({name,mapNodeValue});case"lru":return Recoil_treeCacheLRU({name,maxSize:Recoil_nullthrows(maxSize),mapNodeValue});case"most-recent":return Recoil_treeCacheLRU({name,maxSize:1,mapNodeValue})}throw Recoil_err(`Unrecognized eviction policy ${eviction}`)}(eviction,maxSize,valueMapper,name)};const{isReactNative:isReactNative$1,isWindow:isWindow$1}=Recoil_Environment;var Recoil_PerformanceTimings={startPerfBlock:function startPerfBlock(_id){return()=>null}};const{isLoadable:isLoadable$1,loadableWithError:loadableWithError$1,loadableWithPromise:loadableWithPromise$1,loadableWithValue:loadableWithValue$2}=Recoil_Loadable$1,{WrappedValue:WrappedValue$1}=Recoil_Wrapper$1,{getNodeLoadable:getNodeLoadable$2,peekNodeLoadable:peekNodeLoadable$1,setNodeValue:setNodeValue$3}=Recoil_FunctionalCore,{saveDepsToStore:saveDepsToStore$1}=Recoil_Graph,{DEFAULT_VALUE:DEFAULT_VALUE$6,RecoilValueNotReady:RecoilValueNotReady$2,getConfigDeletionHandler:getConfigDeletionHandler$1,getNode:getNode$6,registerNode:registerNode$1}=Recoil_Node,{isRecoilValue:isRecoilValue$3}=Recoil_RecoilValue$1,{markRecoilValueModified:markRecoilValueModified$1}=Recoil_RecoilValueInterface,{retainedByOptionWithDefault:retainedByOptionWithDefault$1}=Recoil_Retention,{recoilCallback:recoilCallback$1}=Recoil_useRecoilCallback,{startPerfBlock:startPerfBlock$1}=Recoil_PerformanceTimings;class Canceled{}const CANCELED=new Canceled,dependencyStack=[],waitingStores=new Map,getNewExecutionID=(()=>{let executionID=0;return()=>executionID++})();function selector(options){let recoilValue=null;const{key,get,cachePolicy_UNSTABLE:cachePolicy}=options,set=null!=options.set?options.set:void 0;const discoveredDependencyNodeKeys=new Set,cache=Recoil_treeCacheFromPolicy(null!=cachePolicy?cachePolicy:{equality:"reference",eviction:"keep-all"},key),retainedBy=retainedByOptionWithDefault$1(options.retainedBy_UNSTABLE),executionInfoMap=new Map;let liveStoresCount=0;function selectorIsLive(){return!Recoil_gkx("recoil_memory_managament_2020")||liveStoresCount>0}function selectorInit(store){return store.getState().knownSelectors.add(key),liveStoresCount++,()=>{liveStoresCount--}}function selectorShouldDeleteConfigOnRelease(){return void 0!==getConfigDeletionHandler$1(key)&&!selectorIsLive()}function resolveAsync(store,state,executionID,loadable,depValues){setCache(state,loadable,depValues),notifyStoresOfResolvedAsync(store,executionID)}function notifyStoresOfResolvedAsync(store,executionID){isLatestExecution(store,executionID)&&clearExecutionInfo(store),notifyWaitingStores(executionID,!0)}function notifyWaitingStores(executionID,clearWaitlist){const stores=waitingStores.get(executionID);if(null!=stores){for(const waitingStore of stores)markRecoilValueModified$1(waitingStore,Recoil_nullthrows(recoilValue));clearWaitlist&&waitingStores.delete(executionID)}}function markStoreWaitingForResolvedAsync(store,executionID){let stores=waitingStores.get(executionID);null==stores&&waitingStores.set(executionID,stores=new Set),stores.add(store)}function wrapPendingDependencyPromise(store,promise,state,existingDeps,executionID,loadingDepsState){return promise.then((resolvedDep=>{if(!selectorIsLive())throw clearExecutionInfo(store),CANCELED;null!=loadingDepsState.loadingDepKey&&loadingDepsState.loadingDepPromise===promise?state.atomValues.set(loadingDepsState.loadingDepKey,loadableWithValue$2(resolvedDep)):store.getState().knownSelectors.forEach((nodeKey=>{state.atomValues.delete(nodeKey)}));const cachedLoadable=getLoadableFromCacheAndUpdateDeps(store,state);if(cachedLoadable&&"loading"!==cachedLoadable.state){if((isLatestExecution(store,executionID)||null==getExecutionInfo(store))&¬ifyStoresOfResolvedAsync(store,executionID),"hasValue"===cachedLoadable.state)return cachedLoadable.contents;throw cachedLoadable.contents}if(!isLatestExecution(store,executionID)){const executionInfo=getInProgressExecutionInfo(store,state);if(null!=executionInfo)return executionInfo.loadingLoadable.contents}const[loadable,depValues]=evaluateSelectorGetter(store,state,executionID);if("loading"!==loadable.state&&resolveAsync(store,state,executionID,loadable,depValues),"hasError"===loadable.state)throw loadable.contents;return loadable.contents})).catch((error=>{if(error instanceof Canceled)throw CANCELED;if(!selectorIsLive())throw clearExecutionInfo(store),CANCELED;const loadable=loadableWithError$1(error);throw resolveAsync(store,state,executionID,loadable,existingDeps),error}))}function updateDeps(store,state,deps,executionID){var _store$getState,_store$getState$curre,_store$getState2,_store$getState2$next,_store$getState$nextT,_store$getState3,_store$getState3$next;(isLatestExecution(store,executionID)||state.version===(null===(_store$getState=store.getState())||void 0===_store$getState||null===(_store$getState$curre=_store$getState.currentTree)||void 0===_store$getState$curre?void 0:_store$getState$curre.version)||state.version===(null===(_store$getState2=store.getState())||void 0===_store$getState2||null===(_store$getState2$next=_store$getState2.nextTree)||void 0===_store$getState2$next?void 0:_store$getState2$next.version))&&saveDepsToStore$1(key,deps,store,null!==(_store$getState$nextT=null===(_store$getState3=store.getState())||void 0===_store$getState3||null===(_store$getState3$next=_store$getState3.nextTree)||void 0===_store$getState3$next?void 0:_store$getState3$next.version)&&void 0!==_store$getState$nextT?_store$getState$nextT:store.getState().currentTree.version);for(const nodeKey of deps)discoveredDependencyNodeKeys.add(nodeKey)}function evaluateSelectorGetter(store,state,executionID){const endPerfBlock=startPerfBlock$1(key);let duringSynchronousExecution=!0,duringAsynchronousExecution=!0;const finishEvaluation=()=>{endPerfBlock(),duringAsynchronousExecution=!1};let result,loadable,resultIsError=!1;const loadingDepsState={loadingDepKey:null,loadingDepPromise:null},depValues=new Map;function getRecoilValue({key:depKey}){const depLoadable=getNodeLoadable$2(store,state,depKey);switch(depValues.set(depKey,depLoadable),duringSynchronousExecution||(updateDeps(store,state,new Set(depValues.keys()),executionID),function notifyStoresOfNewAsyncDep(store,executionID){isLatestExecution(store,executionID)&&(Recoil_nullthrows(getExecutionInfo(store)).stateVersions.clear(),notifyWaitingStores(executionID,!1))}(store,executionID)),depLoadable.state){case"hasValue":return depLoadable.contents;case"hasError":throw depLoadable.contents;case"loading":throw loadingDepsState.loadingDepKey=depKey,loadingDepsState.loadingDepPromise=depLoadable.contents,depLoadable.contents}throw Recoil_err("Invalid Loadable state")}const getCallback=fn=>(...args)=>{if(duringAsynchronousExecution)throw Recoil_err("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return null==recoilValue&&Recoil_invariant(!1),recoilCallback$1(store,fn,args,{node:recoilValue})};try{result=get({get:getRecoilValue,getCallback}),result=isRecoilValue$3(result)?getRecoilValue(result):result,isLoadable$1(result)&&("hasError"===result.state&&(resultIsError=!0),result=result.contents),Recoil_isPromise(result)?result=function wrapResultPromise(store,promise,state,depValues,executionID,loadingDepsState){return promise.then((value=>{if(!selectorIsLive())throw clearExecutionInfo(store),CANCELED;const loadable=loadableWithValue$2(value);return resolveAsync(store,state,executionID,loadable,depValues),value})).catch((errorOrPromise=>{if(!selectorIsLive())throw clearExecutionInfo(store),CANCELED;if(Recoil_isPromise(errorOrPromise))return wrapPendingDependencyPromise(store,errorOrPromise,state,depValues,executionID,loadingDepsState);const loadable=loadableWithError$1(errorOrPromise);throw resolveAsync(store,state,executionID,loadable,depValues),errorOrPromise}))}(store,result,state,depValues,executionID,loadingDepsState).finally(finishEvaluation):finishEvaluation(),result=result instanceof WrappedValue$1?result.value:result}catch(errorOrDepPromise){result=errorOrDepPromise,Recoil_isPromise(result)?result=wrapPendingDependencyPromise(store,result,state,depValues,executionID,loadingDepsState).finally(finishEvaluation):(resultIsError=!0,finishEvaluation())}return loadable=resultIsError?loadableWithError$1(result):Recoil_isPromise(result)?loadableWithPromise$1(result):loadableWithValue$2(result),duringSynchronousExecution=!1,function updateExecutionInfoDepValues(store,executionID,depValues){if(isLatestExecution(store,executionID)){const executionInfo=getExecutionInfo(store);null!=executionInfo&&(executionInfo.depValuesDiscoveredSoFarDuringAsyncWork=depValues)}}(store,executionID,depValues),updateDeps(store,state,new Set(depValues.keys()),executionID),[loadable,depValues]}function getLoadableFromCacheAndUpdateDeps(store,state){let cachedLoadable=state.atomValues.get(key);if(null!=cachedLoadable)return cachedLoadable;const depsAfterCacheLookup=new Set;try{cachedLoadable=cache.get((nodeKey=>("string"!=typeof nodeKey&&Recoil_invariant(!1),getNodeLoadable$2(store,state,nodeKey).contents)),{onNodeVisit:node=>{"branch"===node.type&&node.nodeKey!==key&&depsAfterCacheLookup.add(node.nodeKey)}})}catch(error){throw Recoil_err(`Problem with cache lookup for selector "${key}": ${error.message}`)}var _getExecutionInfo;cachedLoadable&&(state.atomValues.set(key,cachedLoadable),updateDeps(store,state,depsAfterCacheLookup,null===(_getExecutionInfo=getExecutionInfo(store))||void 0===_getExecutionInfo?void 0:_getExecutionInfo.executionID));return cachedLoadable}function getSelectorLoadableAndUpdateDeps(store,state){const cachedVal=getLoadableFromCacheAndUpdateDeps(store,state);if(null!=cachedVal)return clearExecutionInfo(store),cachedVal;const inProgressExecutionInfo=getInProgressExecutionInfo(store,state);var _inProgressExecutionI;if(null!=inProgressExecutionInfo)return"loading"===(null===(_inProgressExecutionI=inProgressExecutionInfo.loadingLoadable)||void 0===_inProgressExecutionI?void 0:_inProgressExecutionI.state)&&markStoreWaitingForResolvedAsync(store,inProgressExecutionInfo.executionID),inProgressExecutionInfo.loadingLoadable;const newExecutionID=getNewExecutionID(),[loadable,newDepValues]=evaluateSelectorGetter(store,state,newExecutionID);return"loading"===loadable.state?(!function setExecutionInfo(store,newExecutionID,loadable,depValues,state){executionInfoMap.set(store,{depValuesDiscoveredSoFarDuringAsyncWork:depValues,executionID:newExecutionID,loadingLoadable:loadable,stateVersions:new Map([[state.version,!0]])})}(store,newExecutionID,loadable,newDepValues,state),markStoreWaitingForResolvedAsync(store,newExecutionID)):(clearExecutionInfo(store),setCache(state,loadable,newDepValues)),loadable}function getInProgressExecutionInfo(store,state){const pendingExecutions=Recoil_concatIterables([executionInfoMap.has(store)?[Recoil_nullthrows(executionInfoMap.get(store))]:[],Recoil_mapIterable(Recoil_filterIterable(executionInfoMap,(([s])=>s!==store)),(([,execInfo])=>execInfo))]);function anyDepChanged(execDepValues){for(const[depKey,execLoadable]of execDepValues)if(!getNodeLoadable$2(store,state,depKey).is(execLoadable))return!0;return!1}for(const execInfo of pendingExecutions){if(execInfo.stateVersions.get(state.version)||!anyDepChanged(execInfo.depValuesDiscoveredSoFarDuringAsyncWork))return execInfo.stateVersions.set(state.version,!0),execInfo;execInfo.stateVersions.set(state.version,!1)}}function getExecutionInfo(store){return executionInfoMap.get(store)}function clearExecutionInfo(store){executionInfoMap.delete(store)}function isLatestExecution(store,executionID){var _getExecutionInfo2;return executionID===(null===(_getExecutionInfo2=getExecutionInfo(store))||void 0===_getExecutionInfo2?void 0:_getExecutionInfo2.executionID)}function setCache(state,loadable,depValues){state.atomValues.set(key,loadable);try{cache.set(function depValuesToDepRoute(depValues){return Array.from(depValues.entries()).map((([depKey,valLoadable])=>[depKey,valLoadable.contents]))}(depValues),loadable)}catch(error){throw Recoil_err(`Problem with setting cache for selector "${key}": ${error.message}`)}}function selectorPeek(store,state){const cachedLoadable=state.atomValues.get(key);return null!=cachedLoadable?cachedLoadable:cache.get((nodeKey=>{var _peekNodeLoadable;return"string"!=typeof nodeKey&&Recoil_invariant(!1),null===(_peekNodeLoadable=peekNodeLoadable$1(store,state,nodeKey))||void 0===_peekNodeLoadable?void 0:_peekNodeLoadable.contents}))}function selectorGet(store,state){return function detectCircularDependencies(fn){if(dependencyStack.includes(key)){const message=`Recoil selector has circular dependencies: ${dependencyStack.slice(dependencyStack.indexOf(key)).join(" → ")}`;return loadableWithError$1(Recoil_err(message))}dependencyStack.push(key);try{return fn()}finally{dependencyStack.pop()}}((()=>getSelectorLoadableAndUpdateDeps(store,state)))}function invalidateSelector(state){state.atomValues.delete(key)}function clearSelectorCache(store,treeState){null==recoilValue&&Recoil_invariant(!1);for(const nodeKey of discoveredDependencyNodeKeys){var _node$clearCache;const node=getNode$6(nodeKey);null===(_node$clearCache=node.clearCache)||void 0===_node$clearCache||_node$clearCache.call(node,store,treeState)}discoveredDependencyNodeKeys.clear(),invalidateSelector(treeState),cache.clear(),markRecoilValueModified$1(store,recoilValue)}if(null!=set){return recoilValue=registerNode$1({key,nodeType:"selector",peek:selectorPeek,get:selectorGet,set:(store,state,newValue)=>{let syncSelectorSetFinished=!1;const writes=new Map;function getRecoilValue({key:depKey}){if(syncSelectorSetFinished)throw Recoil_err("Recoil: Async selector sets are not currently supported.");const loadable=getNodeLoadable$2(store,state,depKey);if("hasValue"===loadable.state)return loadable.contents;throw"loading"===loadable.state?new RecoilValueNotReady$2(depKey):loadable.contents}function setRecoilState(recoilState,valueOrUpdater){if(syncSelectorSetFinished)throw Recoil_err("Recoil: Async selector sets are not currently supported.");const setValue="function"==typeof valueOrUpdater?valueOrUpdater(getRecoilValue(recoilState)):valueOrUpdater;setNodeValue$3(store,state,recoilState.key,setValue).forEach(((v,k)=>writes.set(k,v)))}const ret=set({set:setRecoilState,get:getRecoilValue,reset:function resetRecoilState(recoilState){setRecoilState(recoilState,DEFAULT_VALUE$6)}},newValue);if(void 0!==ret)throw Recoil_isPromise(ret)?Recoil_err("Recoil: Async selector sets are not currently supported."):Recoil_err("Recoil: selector set should be a void function.");return syncSelectorSetFinished=!0,writes},init:selectorInit,invalidate:invalidateSelector,clearCache:clearSelectorCache,shouldDeleteConfigOnRelease:selectorShouldDeleteConfigOnRelease,dangerouslyAllowMutability:options.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy})}return recoilValue=registerNode$1({key,nodeType:"selector",peek:selectorPeek,get:selectorGet,init:selectorInit,invalidate:invalidateSelector,clearCache:clearSelectorCache,shouldDeleteConfigOnRelease:selectorShouldDeleteConfigOnRelease,dangerouslyAllowMutability:options.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy})}selector.value=value=>new WrappedValue$1(value);var Recoil_selector=selector;const{isLoadable:isLoadable$2,loadableWithError:loadableWithError$2,loadableWithPromise:loadableWithPromise$2,loadableWithValue:loadableWithValue$3}=Recoil_Loadable$1,{WrappedValue:WrappedValue$2}=Recoil_Wrapper$1,{peekNodeInfo:peekNodeInfo$3}=Recoil_FunctionalCore,{DEFAULT_VALUE:DEFAULT_VALUE$7,DefaultValue:DefaultValue$2,getConfigDeletionHandler:getConfigDeletionHandler$2,registerNode:registerNode$2,setConfigDeletionHandler:setConfigDeletionHandler$1}=Recoil_Node,{isRecoilValue:isRecoilValue$4}=Recoil_RecoilValue$1,{getRecoilValueAsLoadable:getRecoilValueAsLoadable$4,markRecoilValueModified:markRecoilValueModified$2,setRecoilValue:setRecoilValue$4,setRecoilValueLoadable:setRecoilValueLoadable$2}=Recoil_RecoilValueInterface,{retainedByOptionWithDefault:retainedByOptionWithDefault$2}=Recoil_Retention;function baseAtom(options){const{key,persistence_UNSTABLE:persistence}=options,retainedBy=retainedByOptionWithDefault$2(options.retainedBy_UNSTABLE);let liveStoresCount=0;function unwrapPromise(promise){return loadableWithPromise$2(promise.then((value=>(defaultLoadable=loadableWithValue$3(value),value))).catch((error=>{throw defaultLoadable=loadableWithError$2(error),error})))}let cachedAnswerForUnvalidatedValue,defaultLoadable=Recoil_isPromise(options.default)?unwrapPromise(options.default):isLoadable$2(options.default)?"loading"===options.default.state?unwrapPromise(options.default.contents):options.default:loadableWithValue$3(options.default instanceof WrappedValue$2?options.default.value:options.default);maybeFreezeValueOrPromise(defaultLoadable.contents);const cleanupEffectsByStore=new Map;function maybeFreezeValueOrPromise(valueOrPromise){return valueOrPromise}function peekAtom(_store,state){var _ref,_state$atomValues$get3;return null!==(_ref=null!==(_state$atomValues$get3=state.atomValues.get(key))&&void 0!==_state$atomValues$get3?_state$atomValues$get3:cachedAnswerForUnvalidatedValue)&&void 0!==_ref?_ref:defaultLoadable}const node=registerNode$2({key,nodeType:"atom",peek:peekAtom,get:function getAtom(_store,state){if(state.atomValues.has(key))return Recoil_nullthrows(state.atomValues.get(key));if(state.nonvalidatedAtoms.has(key)){if(null!=cachedAnswerForUnvalidatedValue)return cachedAnswerForUnvalidatedValue;if(null==persistence)return Recoil_expectationViolation(`Tried to restore a persisted value for atom ${key} but it has no persistence settings.`),defaultLoadable;const nonvalidatedValue=state.nonvalidatedAtoms.get(key),validatorResult=persistence.validator(nonvalidatedValue,DEFAULT_VALUE$7),validatedValueLoadable=validatorResult instanceof DefaultValue$2?defaultLoadable:loadableWithValue$3(validatorResult);return cachedAnswerForUnvalidatedValue=validatedValueLoadable,cachedAnswerForUnvalidatedValue}return defaultLoadable},set:function setAtom(_store,state,newValue){if(state.atomValues.has(key)){const existing=Recoil_nullthrows(state.atomValues.get(key));if("hasValue"===existing.state&&newValue===existing.contents)return new Map}else if(!state.nonvalidatedAtoms.has(key)&&newValue instanceof DefaultValue$2)return new Map;return cachedAnswerForUnvalidatedValue=void 0,(new Map).set(key,loadableWithValue$3(newValue))},init:function initAtom(store,initState,trigger){var _options$effects;if(liveStoresCount++,store.getState().knownAtoms.add(key),"loading"===defaultLoadable.state){const notifyDefaultSubscribers=()=>{var _store$getState$nextT3;(null!==(_store$getState$nextT3=store.getState().nextTree)&&void 0!==_store$getState$nextT3?_store$getState$nextT3:store.getState().currentTree).atomValues.has(key)||markRecoilValueModified$2(store,node)};defaultLoadable.contents.finally(notifyDefaultSubscribers)}const effects=null!==(_options$effects=options.effects)&&void 0!==_options$effects?_options$effects:options.effects_UNSTABLE;if(null!=effects){let duringInit=!0,initValue=DEFAULT_VALUE$7,isInitError=!1,pendingSetSelf=null;function getLoadable(recoilValue){if(duringInit&&recoilValue.key===key){const retValue=initValue;return retValue instanceof DefaultValue$2?peekAtom(store,initState):Recoil_isPromise(retValue)?loadableWithPromise$2(retValue.then((v=>v instanceof DefaultValue$2?defaultLoadable.toPromise():v))):loadableWithValue$3(retValue)}return getRecoilValueAsLoadable$4(store,recoilValue)}function getPromise(recoilValue){return getLoadable(recoilValue).toPromise()}function getInfo_UNSTABLE(recoilValue){var _store$getState$nextT4;const info=peekNodeInfo$3(store,null!==(_store$getState$nextT4=store.getState().nextTree)&&void 0!==_store$getState$nextT4?_store$getState$nextT4:store.getState().currentTree,recoilValue.key);return!duringInit||recoilValue.key!==key||initValue instanceof DefaultValue$2?info:{...info,isSet:!0,loadable:getLoadable(recoilValue)}}const setSelf=effect=>valueOrUpdater=>{if(duringInit){const currentLoadable=getLoadable(node),currentValue="hasValue"===currentLoadable.state?currentLoadable.contents:DEFAULT_VALUE$7;initValue="function"==typeof valueOrUpdater?valueOrUpdater(currentValue):valueOrUpdater,Recoil_isPromise(initValue)&&(initValue=initValue.then((value=>(pendingSetSelf={effect,value},value))))}else{if(Recoil_isPromise(valueOrUpdater))throw Recoil_err("Setting atoms to async values is not implemented.");"function"!=typeof valueOrUpdater&&(pendingSetSelf={effect,value:valueOrUpdater}),setRecoilValue$4(store,node,"function"==typeof valueOrUpdater?currentValue=>{const newValue=valueOrUpdater(currentValue);return pendingSetSelf={effect,value:newValue},newValue}:valueOrUpdater)}},resetSelf=effect=>()=>setSelf(effect)(DEFAULT_VALUE$7),onSet=effect=>handler=>{var _cleanupEffectsByStor2;const{release}=store.subscribeToTransactions((currentStore=>{var _currentTree$atomValu;let{currentTree,previousTree}=currentStore.getState();previousTree||(Recoil_recoverableViolation("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),previousTree=currentTree);const newLoadable=null!==(_currentTree$atomValu=currentTree.atomValues.get(key))&&void 0!==_currentTree$atomValu?_currentTree$atomValu:defaultLoadable;if("hasValue"===newLoadable.state){var _previousTree$atomVal,_pendingSetSelf,_pendingSetSelf2,_pendingSetSelf3;const newValue=newLoadable.contents,oldLoadable=null!==(_previousTree$atomVal=previousTree.atomValues.get(key))&&void 0!==_previousTree$atomVal?_previousTree$atomVal:defaultLoadable,oldValue="hasValue"===oldLoadable.state?oldLoadable.contents:DEFAULT_VALUE$7;(null===(_pendingSetSelf=pendingSetSelf)||void 0===_pendingSetSelf?void 0:_pendingSetSelf.effect)!==effect||(null===(_pendingSetSelf2=pendingSetSelf)||void 0===_pendingSetSelf2?void 0:_pendingSetSelf2.value)!==newValue?handler(newValue,oldValue,!currentTree.atomValues.has(key)):(null===(_pendingSetSelf3=pendingSetSelf)||void 0===_pendingSetSelf3?void 0:_pendingSetSelf3.effect)===effect&&(pendingSetSelf=null)}}),key);cleanupEffectsByStore.set(store,[...null!==(_cleanupEffectsByStor2=cleanupEffectsByStore.get(store))&&void 0!==_cleanupEffectsByStor2?_cleanupEffectsByStor2:[],release])};for(const effect of effects)try{const cleanup=effect({node,storeID:store.storeID,trigger,setSelf:setSelf(effect),resetSelf:resetSelf(effect),onSet:onSet(effect),getPromise,getLoadable,getInfo_UNSTABLE});var _cleanupEffectsByStor3;if(null!=cleanup)cleanupEffectsByStore.set(store,[...null!==(_cleanupEffectsByStor3=cleanupEffectsByStore.get(store))&&void 0!==_cleanupEffectsByStor3?_cleanupEffectsByStor3:[],cleanup])}catch(error){initValue=error,isInitError=!0}if(duringInit=!1,!(initValue instanceof DefaultValue$2)){var _store$getState$nextT5;const frozenInitValue=initValue,initLoadable=isInitError?loadableWithError$2(initValue):Recoil_isPromise(frozenInitValue)?loadableWithPromise$2(function wrapPendingPromise(store,promise){const wrappedPromise=promise.then((value=>{var _store$getState$nextT,_state$atomValues$get;return(null===(_state$atomValues$get=(null!==(_store$getState$nextT=store.getState().nextTree)&&void 0!==_store$getState$nextT?_store$getState$nextT:store.getState().currentTree).atomValues.get(key))||void 0===_state$atomValues$get?void 0:_state$atomValues$get.contents)===wrappedPromise&&setRecoilValue$4(store,node,value),value})).catch((error=>{var _store$getState$nextT2,_state$atomValues$get2;throw(null===(_state$atomValues$get2=(null!==(_store$getState$nextT2=store.getState().nextTree)&&void 0!==_store$getState$nextT2?_store$getState$nextT2:store.getState().currentTree).atomValues.get(key))||void 0===_state$atomValues$get2?void 0:_state$atomValues$get2.contents)===wrappedPromise&&setRecoilValueLoadable$2(store,node,loadableWithError$2(error)),error}));return wrappedPromise}(store,frozenInitValue)):loadableWithValue$3(frozenInitValue);initState.atomValues.set(key,initLoadable),null===(_store$getState$nextT5=store.getState().nextTree)||void 0===_store$getState$nextT5||_store$getState$nextT5.atomValues.set(key,initLoadable)}}return()=>{var _cleanupEffectsByStor;liveStoresCount--,null===(_cleanupEffectsByStor=cleanupEffectsByStore.get(store))||void 0===_cleanupEffectsByStor||_cleanupEffectsByStor.forEach((cleanup=>cleanup())),cleanupEffectsByStore.delete(store)}},invalidate:function invalidateAtom(){cachedAnswerForUnvalidatedValue=void 0},shouldDeleteConfigOnRelease:function shouldDeleteConfigOnReleaseAtom(){return void 0!==getConfigDeletionHandler$2(key)&&liveStoresCount<=0},dangerouslyAllowMutability:options.dangerouslyAllowMutability,persistence_UNSTABLE:options.persistence_UNSTABLE?{type:options.persistence_UNSTABLE.type,backButton:options.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy});return node}function atom(options){const{...restOptions}=options,optionsDefault="default"in options?options.default:new Promise((()=>{}));return isRecoilValue$4(optionsDefault)?function atomWithFallback(options){const base=atom({...options,default:DEFAULT_VALUE$7,persistence_UNSTABLE:void 0===options.persistence_UNSTABLE?void 0:{...options.persistence_UNSTABLE,validator:storedValue=>storedValue instanceof DefaultValue$2?storedValue:Recoil_nullthrows(options.persistence_UNSTABLE).validator(storedValue,DEFAULT_VALUE$7)},effects:options.effects,effects_UNSTABLE:options.effects_UNSTABLE}),sel=Recoil_selector({key:`${options.key}__withFallback`,get:({get})=>{const baseValue=get(base);return baseValue instanceof DefaultValue$2?options.default:baseValue},set:({set},newValue)=>set(base,newValue),dangerouslyAllowMutability:options.dangerouslyAllowMutability});return setConfigDeletionHandler$1(sel.key,getConfigDeletionHandler$2(options.key)),sel}({...restOptions,default:optionsDefault}):baseAtom({...restOptions,default:optionsDefault})}atom.value=value=>new WrappedValue$2(value);var Recoil_atom=atom;var Recoil_MapCache_1=class MapCache{constructor(options){var _options$mapKey;_defineProperty(this,"_map",void 0),_defineProperty(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=null!==(_options$mapKey=null==options?void 0:options.mapKey)&&void 0!==_options$mapKey?_options$mapKey:v=>v}size(){return this._map.size}has(key){return this._map.has(this._keyMapper(key))}get(key){return this._map.get(this._keyMapper(key))}set(key,val){this._map.set(this._keyMapper(key),val)}delete(key){this._map.delete(this._keyMapper(key))}clear(){this._map.clear()}},Recoil_MapCache$1=Object.freeze({__proto__:null,MapCache:Recoil_MapCache_1});const{LRUCache:LRUCache$2}=Recoil_LRUCache$1,{MapCache:MapCache$1}=Recoil_MapCache$1,defaultPolicy$1={equality:"reference",eviction:"none",maxSize:1/0};var Recoil_cacheFromPolicy=function cacheFromPolicy({equality=defaultPolicy$1.equality,eviction=defaultPolicy$1.eviction,maxSize=defaultPolicy$1.maxSize}=defaultPolicy$1){const valueMapper=function getValueMapper$1(equality){switch(equality){case"reference":return val=>val;case"value":return val=>Recoil_stableStringify(val)}throw Recoil_err(`Unrecognized equality policy ${equality}`)}(equality),cache=function getCache(eviction,maxSize,mapKey){switch(eviction){case"keep-all":return new MapCache$1({mapKey});case"lru":return new LRUCache$2({mapKey,maxSize:Recoil_nullthrows(maxSize)});case"most-recent":return new LRUCache$2({mapKey,maxSize:1})}throw Recoil_err(`Unrecognized eviction policy ${eviction}`)}(eviction,maxSize,valueMapper);return cache};const{setConfigDeletionHandler:setConfigDeletionHandler$2}=Recoil_Node;var Recoil_atomFamily=function atomFamily(options){var _options$cachePolicyF,_options$cachePolicyF2;const atomCache=Recoil_cacheFromPolicy({equality:null!==(_options$cachePolicyF=null===(_options$cachePolicyF2=options.cachePolicyForParams_UNSTABLE)||void 0===_options$cachePolicyF2?void 0:_options$cachePolicyF2.equality)&&void 0!==_options$cachePolicyF?_options$cachePolicyF:"value",eviction:"keep-all"});return params=>{var _stableStringify,_options$effects;const cachedAtom=atomCache.get(params);if(null!=cachedAtom)return cachedAtom;const{cachePolicyForParams_UNSTABLE,...atomOptions}=options,optionsDefault="default"in options?options.default:new Promise((()=>{})),newAtom=Recoil_atom({...atomOptions,key:`${options.key}__${null!==(_stableStringify=Recoil_stableStringify(params))&&void 0!==_stableStringify?_stableStringify:"void"}`,default:"function"==typeof optionsDefault?optionsDefault(params):optionsDefault,retainedBy_UNSTABLE:"function"==typeof options.retainedBy_UNSTABLE?options.retainedBy_UNSTABLE(params):options.retainedBy_UNSTABLE,effects:"function"==typeof options.effects?options.effects(params):"function"==typeof options.effects_UNSTABLE?options.effects_UNSTABLE(params):null!==(_options$effects=options.effects)&&void 0!==_options$effects?_options$effects:options.effects_UNSTABLE});return atomCache.set(params,newAtom),setConfigDeletionHandler$2(newAtom.key,(()=>{atomCache.delete(params)})),newAtom}};const{setConfigDeletionHandler:setConfigDeletionHandler$3}=Recoil_Node;let nextIndex=0;var Recoil_selectorFamily=function selectorFamily(options){var _options$cachePolicyF,_options$cachePolicyF2;const selectorCache=Recoil_cacheFromPolicy({equality:null!==(_options$cachePolicyF=null===(_options$cachePolicyF2=options.cachePolicyForParams_UNSTABLE)||void 0===_options$cachePolicyF2?void 0:_options$cachePolicyF2.equality)&&void 0!==_options$cachePolicyF?_options$cachePolicyF:"value",eviction:"keep-all"});return params=>{var _stableStringify;let cachedSelector;try{cachedSelector=selectorCache.get(params)}catch(error){throw Recoil_err(`Problem with cache lookup for selector ${options.key}: ${error.message}`)}if(null!=cachedSelector)return cachedSelector;const myKey=`${options.key}__selectorFamily/${null!==(_stableStringify=Recoil_stableStringify(params,{allowFunctions:!0}))&&void 0!==_stableStringify?_stableStringify:"void"}/${nextIndex++}`,myGet=callbacks=>options.get(params)(callbacks),myCachePolicy=options.cachePolicy_UNSTABLE,retainedBy="function"==typeof options.retainedBy_UNSTABLE?options.retainedBy_UNSTABLE(params):options.retainedBy_UNSTABLE;let newSelector;if(null!=options.set){const set=options.set;newSelector=Recoil_selector({key:myKey,get:myGet,set:(callbacks,newValue)=>set(params)(callbacks,newValue),cachePolicy_UNSTABLE:myCachePolicy,dangerouslyAllowMutability:options.dangerouslyAllowMutability,retainedBy_UNSTABLE:retainedBy})}else newSelector=Recoil_selector({key:myKey,get:myGet,cachePolicy_UNSTABLE:myCachePolicy,dangerouslyAllowMutability:options.dangerouslyAllowMutability,retainedBy_UNSTABLE:retainedBy});return selectorCache.set(params,newSelector),setConfigDeletionHandler$3(newSelector.key,(()=>{selectorCache.delete(params)})),newSelector}};const constantSelector=Recoil_selectorFamily({key:"__constant",get:constant=>()=>constant,cachePolicyForParams_UNSTABLE:{equality:"reference"}});var Recoil_constSelector=function constSelector(constant){return constantSelector(constant)};const throwingSelector=Recoil_selectorFamily({key:"__error",get:message=>()=>{throw Recoil_err(message)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});var Recoil_errorSelector=function errorSelector(message){return throwingSelector(message)};var Recoil_readOnlySelector=function readOnlySelector(atom){return atom};const{loadableWithError:loadableWithError$3,loadableWithPromise:loadableWithPromise$3,loadableWithValue:loadableWithValue$4}=Recoil_Loadable$1;function concurrentRequests(getRecoilValue,deps){const results=Array(deps.length).fill(void 0),exceptions=Array(deps.length).fill(void 0);for(const[i,dep]of deps.entries())try{results[i]=getRecoilValue(dep)}catch(e){exceptions[i]=e}return[results,exceptions]}function isError(exp){return null!=exp&&!Recoil_isPromise(exp)}function unwrapDependencies(dependencies){return Array.isArray(dependencies)?dependencies:Object.getOwnPropertyNames(dependencies).map((key=>dependencies[key]))}function wrapResults(dependencies,results){return Array.isArray(dependencies)?results:Object.getOwnPropertyNames(dependencies).reduce(((out,key,idx)=>({...out,[key]:results[idx]})),{})}function wrapLoadables(dependencies,results,exceptions){return wrapResults(dependencies,exceptions.map(((exception,idx)=>null==exception?loadableWithValue$4(results[idx]):Recoil_isPromise(exception)?loadableWithPromise$3(exception):loadableWithError$3(exception))))}var Recoil_WaitFor={waitForNone:Recoil_selectorFamily({key:"__waitForNone",get:dependencies=>({get})=>{const deps=unwrapDependencies(dependencies),[results,exceptions]=concurrentRequests(get,deps);return wrapLoadables(dependencies,results,exceptions)},dangerouslyAllowMutability:!0}),waitForAny:Recoil_selectorFamily({key:"__waitForAny",get:dependencies=>({get})=>{const deps=unwrapDependencies(dependencies),[results,exceptions]=concurrentRequests(get,deps);return exceptions.some((exp=>!Recoil_isPromise(exp)))?wrapLoadables(dependencies,results,exceptions):new Promise((resolve=>{for(const[i,exp]of exceptions.entries())Recoil_isPromise(exp)&&exp.then((result=>{results[i]=result,exceptions[i]=void 0,resolve(wrapLoadables(dependencies,results,exceptions))})).catch((error=>{exceptions[i]=error,resolve(wrapLoadables(dependencies,results,exceptions))}))}))},dangerouslyAllowMutability:!0}),waitForAll:Recoil_selectorFamily({key:"__waitForAll",get:dependencies=>({get})=>{const deps=unwrapDependencies(dependencies),[results,exceptions]=concurrentRequests(get,deps);if(exceptions.every((exp=>null==exp)))return wrapResults(dependencies,results);const error=exceptions.find(isError);if(null!=error)throw error;return Promise.all(exceptions).then((exceptionResults=>wrapResults(dependencies,function combineAsyncResultsWithSyncResults(syncResults,asyncResults){return asyncResults.map(((result,idx)=>void 0===result?syncResults[idx]:result))}(results,exceptionResults))))},dangerouslyAllowMutability:!0}),waitForAllSettled:Recoil_selectorFamily({key:"__waitForAllSettled",get:dependencies=>({get})=>{const deps=unwrapDependencies(dependencies),[results,exceptions]=concurrentRequests(get,deps);return exceptions.every((exp=>!Recoil_isPromise(exp)))?wrapLoadables(dependencies,results,exceptions):Promise.all(exceptions.map(((exp,i)=>Recoil_isPromise(exp)?exp.then((result=>{results[i]=result,exceptions[i]=void 0})).catch((error=>{results[i]=void 0,exceptions[i]=error})):null))).then((()=>wrapLoadables(dependencies,results,exceptions)))},dangerouslyAllowMutability:!0}),noWait:Recoil_selectorFamily({key:"__noWait",get:dependency=>({get})=>{try{return Recoil_selector.value(loadableWithValue$4(get(dependency)))}catch(exception){return Recoil_selector.value(Recoil_isPromise(exception)?loadableWithPromise$3(exception):loadableWithError$3(exception))}},dangerouslyAllowMutability:!0})};const{RecoilLoadable}=Recoil_Loadable$1,{DefaultValue:DefaultValue$3}=Recoil_Node,{RecoilRoot:RecoilRoot$2,useRecoilStoreID:useRecoilStoreID$1}=Recoil_RecoilRoot,{isRecoilValue:isRecoilValue$5}=Recoil_RecoilValue$1,{retentionZone:retentionZone$1}=Recoil_RetentionZone,{freshSnapshot:freshSnapshot$2}=Recoil_Snapshot$1,{useRecoilState:useRecoilState$1,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:useRecoilState_TRANSITION_SUPPORT_UNSTABLE$1,useRecoilStateLoadable:useRecoilStateLoadable$1,useRecoilValue:useRecoilValue$1,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:useRecoilValue_TRANSITION_SUPPORT_UNSTABLE$1,useRecoilValueLoadable:useRecoilValueLoadable$1,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE$1,useResetRecoilState:useResetRecoilState$1,useSetRecoilState:useSetRecoilState$1}=Recoil_Hooks,{useGotoRecoilSnapshot:useGotoRecoilSnapshot$1,useRecoilSnapshot:useRecoilSnapshot$1,useRecoilTransactionObserver:useRecoilTransactionObserver$1}=Recoil_SnapshotHooks,{useRecoilCallback:useRecoilCallback$1}=Recoil_useRecoilCallback,{noWait:noWait$1,waitForAll:waitForAll$1,waitForAllSettled:waitForAllSettled$1,waitForAny:waitForAny$1,waitForNone:waitForNone$1}=Recoil_WaitFor;var Recoil_index={DefaultValue:DefaultValue$3,isRecoilValue:isRecoilValue$5,RecoilLoadable,RecoilRoot:RecoilRoot$2,useRecoilStoreID:useRecoilStoreID$1,useRecoilBridgeAcrossReactRoots_UNSTABLE:Recoil_useRecoilBridgeAcrossReactRoots,atom:Recoil_atom,selector:Recoil_selector,atomFamily:Recoil_atomFamily,selectorFamily:Recoil_selectorFamily,constSelector:Recoil_constSelector,errorSelector:Recoil_errorSelector,readOnlySelector:Recoil_readOnlySelector,noWait:noWait$1,waitForNone:waitForNone$1,waitForAny:waitForAny$1,waitForAll:waitForAll$1,waitForAllSettled:waitForAllSettled$1,useRecoilValue:useRecoilValue$1,useRecoilValueLoadable:useRecoilValueLoadable$1,useRecoilState:useRecoilState$1,useRecoilStateLoadable:useRecoilStateLoadable$1,useSetRecoilState:useSetRecoilState$1,useResetRecoilState:useResetRecoilState$1,useGetRecoilValueInfo_UNSTABLE:Recoil_useGetRecoilValueInfo,useRecoilRefresher_UNSTABLE:Recoil_useRecoilRefresher,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE$1,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:useRecoilValue_TRANSITION_SUPPORT_UNSTABLE$1,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:useRecoilState_TRANSITION_SUPPORT_UNSTABLE$1,useRecoilCallback:useRecoilCallback$1,useRecoilTransaction_UNSTABLE:Recoil_useRecoilTransaction,useGotoRecoilSnapshot:useGotoRecoilSnapshot$1,useRecoilSnapshot:useRecoilSnapshot$1,useRecoilTransactionObserver_UNSTABLE:useRecoilTransactionObserver$1,snapshot_UNSTABLE:freshSnapshot$2,useRetain:Recoil_useRetain,retentionZone:retentionZone$1},Recoil_index_4=Recoil_index.RecoilRoot,Recoil_index_7=Recoil_index.atom,Recoil_index_19=Recoil_index.useRecoilValue,Recoil_index_21=Recoil_index.useRecoilState,Recoil_index_23=Recoil_index.useSetRecoilState},"./node_modules/regenerator-runtime/runtime.js":module=>{var runtime=function(exports){"use strict";var Op=Object.prototype,hasOwn=Op.hasOwnProperty,$Symbol="function"==typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}),obj[key]}try{define({},"")}catch(err){define=function(obj,key,value){return obj[key]=value}}function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator,generator=Object.create(protoGenerator.prototype),context=new Context(tryLocsList||[]);return generator._invoke=function makeInvokeMethod(innerFn,self,context){var state="suspendedStart";return function invoke(method,arg){if("executing"===state)throw new Error("Generator is already running");if("completed"===state){if("throw"===method)throw arg;return doneResult()}for(context.method=method,context.arg=arg;;){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if("suspendedStart"===state)throw state="completed",context.arg;context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state="executing";var record=tryCatch(innerFn,self,context);if("normal"===record.type){if(state=context.done?"completed":"suspendedYield",record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}"throw"===record.type&&(state="completed",context.method="throw",context.arg=record.arg)}}}(innerFn,self,context),generator}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}exports.wrap=wrap;var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};define(IteratorPrototype,iteratorSymbol,(function(){return this}));var getProto=Object.getPrototypeOf,NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);function defineIteratorMethods(prototype){["next","throw","return"].forEach((function(method){define(prototype,method,(function(arg){return this._invoke(method,arg)}))}))}function AsyncIterator(generator,PromiseImpl){function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if("throw"!==record.type){var result=record.arg,value=result.value;return value&&"object"==typeof value&&hasOwn.call(value,"__await")?PromiseImpl.resolve(value.__await).then((function(value){invoke("next",value,resolve,reject)}),(function(err){invoke("throw",err,resolve,reject)})):PromiseImpl.resolve(value).then((function(unwrapped){result.value=unwrapped,resolve(result)}),(function(error){return invoke("throw",error,resolve,reject)}))}reject(record.arg)}var previousPromise;this._invoke=function enqueue(method,arg){function callInvokeWithMethodAndArg(){return new PromiseImpl((function(resolve,reject){invoke(method,arg,resolve,reject)}))}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(delegate,context){var method=delegate.iterator[context.method];if(undefined===method){if(context.delegate=null,"throw"===context.method){if(delegate.iterator.return&&(context.method="return",context.arg=undefined,maybeInvokeDelegate(delegate,context),"throw"===context.method))return ContinueSentinel;context.method="throw",context.arg=new TypeError("The iterator does not provide a 'throw' method")}return ContinueSentinel}var record=tryCatch(method,delegate.iterator,context.arg);if("throw"===record.type)return context.method="throw",context.arg=record.arg,context.delegate=null,ContinueSentinel;var info=record.arg;return info?info.done?(context[delegate.resultName]=info.value,context.next=delegate.nextLoc,"return"!==context.method&&(context.method="next",context.arg=undefined),context.delegate=null,ContinueSentinel):info:(context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel)}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]),2 in locs&&(entry.finallyLoc=locs[2],entry.afterLoc=locs[3]),this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal",delete record.arg,entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}],tryLocsList.forEach(pushTryEntry,this),this.reset(!0)}function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"==typeof iterable.next)return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next(){for(;++i<iterable.length;)if(hasOwn.call(iterable,i))return next.value=iterable[i],next.done=!1,next;return next.value=undefined,next.done=!0,next};return next.next=next}}return{next:doneResult}}function doneResult(){return{value:undefined,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(Gp,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,toStringTagSymbol,"GeneratorFunction"),exports.isGeneratorFunction=function(genFun){var ctor="function"==typeof genFun&&genFun.constructor;return!!ctor&&(ctor===GeneratorFunction||"GeneratorFunction"===(ctor.displayName||ctor.name))},exports.mark=function(genFun){return Object.setPrototypeOf?Object.setPrototypeOf(genFun,GeneratorFunctionPrototype):(genFun.__proto__=GeneratorFunctionPrototype,define(genFun,toStringTagSymbol,"GeneratorFunction")),genFun.prototype=Object.create(Gp),genFun},exports.awrap=function(arg){return{__await:arg}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,asyncIteratorSymbol,(function(){return this})),exports.AsyncIterator=AsyncIterator,exports.async=function(innerFn,outerFn,self,tryLocsList,PromiseImpl){void 0===PromiseImpl&&(PromiseImpl=Promise);var iter=new AsyncIterator(wrap(innerFn,outerFn,self,tryLocsList),PromiseImpl);return exports.isGeneratorFunction(outerFn)?iter:iter.next().then((function(result){return result.done?result.value:iter.next()}))},defineIteratorMethods(Gp),define(Gp,toStringTagSymbol,"Generator"),define(Gp,iteratorSymbol,(function(){return this})),define(Gp,"toString",(function(){return"[object Generator]"})),exports.keys=function(object){var keys=[];for(var key in object)keys.push(key);return keys.reverse(),function next(){for(;keys.length;){var key=keys.pop();if(key in object)return next.value=key,next.done=!1,next}return next.done=!0,next}},exports.values=values,Context.prototype={constructor:Context,reset:function(skipTempReset){if(this.prev=0,this.next=0,this.sent=this._sent=undefined,this.done=!1,this.delegate=null,this.method="next",this.arg=undefined,this.tryEntries.forEach(resetTryEntry),!skipTempReset)for(var name in this)"t"===name.charAt(0)&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=undefined)},stop:function(){this.done=!0;var rootRecord=this.tryEntries[0].completion;if("throw"===rootRecord.type)throw rootRecord.arg;return this.rval},dispatchException:function(exception){if(this.done)throw exception;var context=this;function handle(loc,caught){return record.type="throw",record.arg=exception,context.next=loc,caught&&(context.method="next",context.arg=undefined),!!caught}for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0)}else{if(!hasFinally)throw new Error("try statement without catch or finally");if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}}}},abrupt:function(type,arg){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev<entry.finallyLoc){var finallyEntry=entry;break}}finallyEntry&&("break"===type||"continue"===type)&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc&&(finallyEntry=null);var record=finallyEntry?finallyEntry.completion:{};return record.type=type,record.arg=arg,finallyEntry?(this.method="next",this.next=finallyEntry.finallyLoc,ContinueSentinel):this.complete(record)},complete:function(record,afterLoc){if("throw"===record.type)throw record.arg;return"break"===record.type||"continue"===record.type?this.next=record.arg:"return"===record.type?(this.rval=this.arg=record.arg,this.method="return",this.next="end"):"normal"===record.type&&afterLoc&&(this.next=afterLoc),ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName,nextLoc},"next"===this.method&&(this.arg=undefined),ContinueSentinel}},exports}(module.exports);try{regeneratorRuntime=runtime}catch(accidentalStrictMode){"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)}},"./node_modules/regexp.prototype.flags/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var functionsHaveConfigurableNames=__webpack_require__("./node_modules/functions-have-names/index.js").functionsHaveConfigurableNames(),$Object=Object,$TypeError=TypeError;module.exports=function flags(){if(null!=this&&this!==$Object(this))throw new $TypeError("RegExp.prototype.flags getter called on non-object");var result="";return this.hasIndices&&(result+="d"),this.global&&(result+="g"),this.ignoreCase&&(result+="i"),this.multiline&&(result+="m"),this.dotAll&&(result+="s"),this.unicode&&(result+="u"),this.sticky&&(result+="y"),result},functionsHaveConfigurableNames&&Object.defineProperty&&Object.defineProperty(module.exports,"name",{value:"get flags"})},"./node_modules/regexp.prototype.flags/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),implementation=__webpack_require__("./node_modules/regexp.prototype.flags/implementation.js"),getPolyfill=__webpack_require__("./node_modules/regexp.prototype.flags/polyfill.js"),shim=__webpack_require__("./node_modules/regexp.prototype.flags/shim.js"),flagsBound=callBind(getPolyfill());define(flagsBound,{getPolyfill,implementation,shim}),module.exports=flagsBound},"./node_modules/regexp.prototype.flags/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/regexp.prototype.flags/implementation.js"),supportsDescriptors=__webpack_require__("./node_modules/define-properties/index.js").supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module.exports=function getPolyfill(){if(supportsDescriptors&&"gim"===/a/gim.flags){var descriptor=$gOPD(RegExp.prototype,"flags");if(descriptor&&"function"==typeof descriptor.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var calls="",o={};if(Object.defineProperty(o,"hasIndices",{get:function(){calls+="d"}}),Object.defineProperty(o,"sticky",{get:function(){calls+="y"}}),"dy"===calls)return descriptor.get}}return implementation}},"./node_modules/regexp.prototype.flags/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var supportsDescriptors=__webpack_require__("./node_modules/define-properties/index.js").supportsDescriptors,getPolyfill=__webpack_require__("./node_modules/regexp.prototype.flags/polyfill.js"),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module.exports=function shimFlags(){if(!supportsDescriptors||!getProto)throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var polyfill=getPolyfill(),proto=getProto(regex),descriptor=gOPD(proto,"flags");return descriptor&&descriptor.get===polyfill||defineProperty(proto,"flags",{configurable:!0,enumerable:!1,get:polyfill}),polyfill}},"./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var MapShim=function(){if("undefined"!=typeof Map)return Map;function getIndex(arr,key){var result=-1;return arr.some((function(entry,index){return entry[0]===key&&(result=index,!0)})),result}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(key){var index=getIndex(this.__entries__,key),entry=this.__entries__[index];return entry&&entry[1]},class_1.prototype.set=function(key,value){var index=getIndex(this.__entries__,key);~index?this.__entries__[index][1]=value:this.__entries__.push([key,value])},class_1.prototype.delete=function(key){var entries=this.__entries__,index=getIndex(entries,key);~index&&entries.splice(index,1)},class_1.prototype.has=function(key){return!!~getIndex(this.__entries__,key)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(callback,ctx){void 0===ctx&&(ctx=null);for(var _i=0,_a=this.__entries__;_i<_a.length;_i++){var entry=_a[_i];callback.call(ctx,entry[1],entry[0])}},class_1}()}(),isBrowser="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,global$1=void 0!==__webpack_require__.g&&__webpack_require__.g.Math===Math?__webpack_require__.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),requestAnimationFrame$1="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(global$1):function(callback){return setTimeout((function(){return callback(Date.now())}),1e3/60)};var transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported="undefined"!=typeof MutationObserver,ResizeObserverController=function(){function ResizeObserverController(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function throttle(callback,delay){var leadingCall=!1,trailingCall=!1,lastCallTime=0;function resolvePending(){leadingCall&&(leadingCall=!1,callback()),trailingCall&&proxy()}function timeoutCallback(){requestAnimationFrame$1(resolvePending)}function proxy(){var timeStamp=Date.now();if(leadingCall){if(timeStamp-lastCallTime<2)return;trailingCall=!0}else leadingCall=!0,trailingCall=!1,setTimeout(timeoutCallback,delay);lastCallTime=timeStamp}return proxy}(this.refresh.bind(this),20)}return ResizeObserverController.prototype.addObserver=function(observer){~this.observers_.indexOf(observer)||this.observers_.push(observer),this.connected_||this.connect_()},ResizeObserverController.prototype.removeObserver=function(observer){var observers=this.observers_,index=observers.indexOf(observer);~index&&observers.splice(index,1),!observers.length&&this.connected_&&this.disconnect_()},ResizeObserverController.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ResizeObserverController.prototype.updateObservers_=function(){var activeObservers=this.observers_.filter((function(observer){return observer.gatherActive(),observer.hasActive()}));return activeObservers.forEach((function(observer){return observer.broadcastActive()})),activeObservers.length>0},ResizeObserverController.prototype.connect_=function(){isBrowser&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){isBrowser&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(_a){var _b=_a.propertyName,propertyName=void 0===_b?"":_b;transitionKeys.some((function(key){return!!~propertyName.indexOf(key)}))&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(target,props){for(var _i=0,_a=Object.keys(props);_i<_a.length;_i++){var key=_a[_i];Object.defineProperty(target,key,{value:props[key],enumerable:!1,writable:!1,configurable:!0})}return target},getWindowOf=function(target){return target&&target.ownerDocument&&target.ownerDocument.defaultView||global$1},emptyRect=createRectInit(0,0,0,0);function toFloat(value){return parseFloat(value)||0}function getBordersSize(styles){for(var positions=[],_i=1;_i<arguments.length;_i++)positions[_i-1]=arguments[_i];return positions.reduce((function(size,position){return size+toFloat(styles["border-"+position+"-width"])}),0)}function getHTMLElementContentRect(target){var clientWidth=target.clientWidth,clientHeight=target.clientHeight;if(!clientWidth&&!clientHeight)return emptyRect;var styles=getWindowOf(target).getComputedStyle(target),paddings=function getPaddings(styles){for(var paddings={},_i=0,positions_1=["top","right","bottom","left"];_i<positions_1.length;_i++){var position=positions_1[_i],value=styles["padding-"+position];paddings[position]=toFloat(value)}return paddings}(styles),horizPad=paddings.left+paddings.right,vertPad=paddings.top+paddings.bottom,width=toFloat(styles.width),height=toFloat(styles.height);if("border-box"===styles.boxSizing&&(Math.round(width+horizPad)!==clientWidth&&(width-=getBordersSize(styles,"left","right")+horizPad),Math.round(height+vertPad)!==clientHeight&&(height-=getBordersSize(styles,"top","bottom")+vertPad)),!function isDocumentElement(target){return target===getWindowOf(target).document.documentElement}(target)){var vertScrollbar=Math.round(width+horizPad)-clientWidth,horizScrollbar=Math.round(height+vertPad)-clientHeight;1!==Math.abs(vertScrollbar)&&(width-=vertScrollbar),1!==Math.abs(horizScrollbar)&&(height-=horizScrollbar)}return createRectInit(paddings.left,paddings.top,width,height)}var isSVGGraphicsElement="undefined"!=typeof SVGGraphicsElement?function(target){return target instanceof getWindowOf(target).SVGGraphicsElement}:function(target){return target instanceof getWindowOf(target).SVGElement&&"function"==typeof target.getBBox};function getContentRect(target){return isBrowser?isSVGGraphicsElement(target)?function getSVGContentRect(target){var bbox=target.getBBox();return createRectInit(0,0,bbox.width,bbox.height)}(target):getHTMLElementContentRect(target):emptyRect}function createRectInit(x,y,width,height){return{x,y,width,height}}var ResizeObservation=function(){function ResizeObservation(target){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=target}return ResizeObservation.prototype.isActive=function(){var rect=getContentRect(this.target);return this.contentRect_=rect,rect.width!==this.broadcastWidth||rect.height!==this.broadcastHeight},ResizeObservation.prototype.broadcastRect=function(){var rect=this.contentRect_;return this.broadcastWidth=rect.width,this.broadcastHeight=rect.height,rect},ResizeObservation}(),ResizeObserverEntry=function ResizeObserverEntry(target,rectInit){var contentRect=function createReadOnlyRect(_a){var x=_a.x,y=_a.y,width=_a.width,height=_a.height,Constr="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,rect=Object.create(Constr.prototype);return defineConfigurable(rect,{x,y,width,height,top:y,right:x+width,bottom:height+y,left:x}),rect}(rectInit);defineConfigurable(this,{target,contentRect})},ResizeObserverSPI=function(){function ResizeObserverSPI(callback,controller,callbackCtx){if(this.activeObservations_=[],this.observations_=new MapShim,"function"!=typeof callback)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=callback,this.controller_=controller,this.callbackCtx_=callbackCtx}return ResizeObserverSPI.prototype.observe=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;observations.has(target)||(observations.set(target,new ResizeObservation(target)),this.controller_.addObserver(this),this.controller_.refresh())}},ResizeObserverSPI.prototype.unobserve=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;observations.has(target)&&(observations.delete(target),observations.size||this.controller_.removeObserver(this))}},ResizeObserverSPI.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ResizeObserverSPI.prototype.gatherActive=function(){var _this=this;this.clearActive(),this.observations_.forEach((function(observation){observation.isActive()&&_this.activeObservations_.push(observation)}))},ResizeObserverSPI.prototype.broadcastActive=function(){if(this.hasActive()){var ctx=this.callbackCtx_,entries=this.activeObservations_.map((function(observation){return new ResizeObserverEntry(observation.target,observation.broadcastRect())}));this.callback_.call(ctx,entries,ctx),this.clearActive()}},ResizeObserverSPI.prototype.clearActive=function(){this.activeObservations_.splice(0)},ResizeObserverSPI.prototype.hasActive=function(){return this.activeObservations_.length>0},ResizeObserverSPI}(),observers="undefined"!=typeof WeakMap?new WeakMap:new MapShim,ResizeObserver=function ResizeObserver(callback){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var controller=ResizeObserverController.getInstance(),observer=new ResizeObserverSPI(callback,controller,this);observers.set(this,observer)};["observe","unobserve","disconnect"].forEach((function(method){ResizeObserver.prototype[method]=function(){var _a;return(_a=observers.get(this))[method].apply(_a,arguments)}}));const __WEBPACK_DEFAULT_EXPORT__=void 0!==global$1.ResizeObserver?global$1.ResizeObserver:ResizeObserver},"./node_modules/safe-json-parse/tuple.js":module=>{module.exports=function SafeParseTuple(obj,reviver){var json,error=null;try{json=JSON.parse(obj,reviver)}catch(err){error=err}return[error,json]}},"./node_modules/scheduler/cjs/scheduler.production.min.js":(__unused_webpack_module,exports)=>{"use strict";var f,g,h,k;if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var t=null,u=null,w=function(){if(null!==t)try{var a=exports.unstable_now();t(!0,a),t=null}catch(b){throw setTimeout(w,0),b}};f=function(a){null!==t?setTimeout(f,0,a):(t=a,setTimeout(w,0))},g=function(a,b){u=setTimeout(a,b)},h=function(){clearTimeout(u)},exports.unstable_shouldYield=function(){return!1},k=exports.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,y=window.clearTimeout;if("undefined"!=typeof console){var z=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof z&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var A=!1,B=null,C=-1,D=5,E=0;exports.unstable_shouldYield=function(){return exports.unstable_now()>=E},k=function(){},exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<a?Math.floor(1e3/a):5};var F=new MessageChannel,G=F.port2;F.port1.onmessage=function(){if(null!==B){var a=exports.unstable_now();E=a+D;try{B(!0,a)?G.postMessage(null):(A=!1,B=null)}catch(b){throw G.postMessage(null),b}}else A=!1},f=function(a){B=a,A||(A=!0,G.postMessage(null))},g=function(a,b){C=x((function(){a(exports.unstable_now())}),b)},h=function(){y(C),C=-1}}function H(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(!(void 0!==e&&0<I(e,b)))break a;a[d]=b,a[c]=e,c=d}}function J(a){return void 0===(a=a[0])?null:a}function K(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>I(n,c))void 0!==r&&0>I(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else{if(!(void 0!==r&&0>I(r,c)))break a;a[d]=r,a[v]=c,d=v}}}return b}return null}function I(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var L=[],M=[],N=1,O=null,P=3,Q=!1,R=!1,S=!1;function T(a){for(var b=J(M);null!==b;){if(null===b.callback)K(M);else{if(!(b.startTime<=a))break;K(M),b.sortIndex=b.expirationTime,H(L,b)}b=J(M)}}function U(a){if(S=!1,T(a),!R)if(null!==J(L))R=!0,f(V);else{var b=J(M);null!==b&&g(U,b.startTime-a)}}function V(a,b){R=!1,S&&(S=!1,h()),Q=!0;var c=P;try{for(T(b),O=J(L);null!==O&&(!(O.expirationTime>b)||a&&!exports.unstable_shouldYield());){var d=O.callback;if("function"==typeof d){O.callback=null,P=O.priorityLevel;var e=d(O.expirationTime<=b);b=exports.unstable_now(),"function"==typeof e?O.callback=e:O===J(L)&&K(L),T(b)}else K(L);O=J(L)}if(null!==O)var m=!0;else{var n=J(M);null!==n&&g(U,n.startTime-b),m=!1}return m}finally{O=null,P=c,Q=!1}}var W=k;exports.unstable_IdlePriority=5,exports.unstable_ImmediatePriority=1,exports.unstable_LowPriority=4,exports.unstable_NormalPriority=3,exports.unstable_Profiling=null,exports.unstable_UserBlockingPriority=2,exports.unstable_cancelCallback=function(a){a.callback=null},exports.unstable_continueExecution=function(){R||Q||(R=!0,f(V))},exports.unstable_getCurrentPriorityLevel=function(){return P},exports.unstable_getFirstCallbackNode=function(){return J(L)},exports.unstable_next=function(a){switch(P){case 1:case 2:case 3:var b=3;break;default:b=P}var c=P;P=b;try{return a()}finally{P=c}},exports.unstable_pauseExecution=function(){},exports.unstable_requestPaint=W,exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=P;P=a;try{return b()}finally{P=c}},exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();switch("object"==typeof c&&null!==c?c="number"==typeof(c=c.delay)&&0<c?d+c:d:c=d,a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1e4;break;default:e=5e3}return a={id:N++,callback:b,priorityLevel:a,startTime:c,expirationTime:e=c+e,sortIndex:-1},c>d?(a.sortIndex=c,H(M,a),null===J(L)&&a===J(M)&&(S?h():S=!0,g(U,c-d))):(a.sortIndex=e,H(L,a),R||Q||(R=!0,f(V))),a},exports.unstable_wrapCallback=function(a){var b=P;return function(){var c=P;P=b;try{return a.apply(this,arguments)}finally{P=c}}}},"./node_modules/scheduler/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/scheduler/cjs/scheduler.production.min.js")},"./node_modules/scroll-into-view-if-needed/es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function t(t){return"object"==typeof t&&null!=t&&1===t.nodeType}function e(t,e){return(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function n(t,n){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var r=getComputedStyle(t,null);return e(r.overflowY,n)||e(r.overflowX,n)||function(t){var e=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)}(t)}return!1}function r(t,e,n,r,i,o,l,d){return o<t&&l>e||o>t&&l<e?0:o<=t&&d<=n||l>=e&&d>=n?o-t-r:l>e&&d<n||o<t&&d>n?l-e+i:0}function index_module(e,i){var o=window,l=i.scrollMode,d=i.block,u=i.inline,h=i.boundary,a=i.skipOverflowHiddenElements,c="function"==typeof h?h:function(t){return t!==h};if(!t(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,s=[],p=e;t(p)&&c(p);){if((p=p.parentElement)===f){s.push(p);break}null!=p&&p===document.body&&n(p)&&!n(document.documentElement)||null!=p&&n(p,a)&&s.push(p)}for(var m=o.visualViewport?o.visualViewport.width:innerWidth,g=o.visualViewport?o.visualViewport.height:innerHeight,w=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,W=e.getBoundingClientRect(),b=W.height,H=W.width,y=W.top,E=W.right,M=W.bottom,V=W.left,x="start"===d||"nearest"===d?y:"end"===d?M:y+b/2,I="center"===u?V+H/2:"end"===u?E:V,C=[],T=0;T<s.length;T++){var k=s[T],B=k.getBoundingClientRect(),D=B.height,O=B.width,R=B.top,X=B.right,Y=B.bottom,L=B.left;if("if-needed"===l&&y>=0&&V>=0&&M<=g&&E<=m&&y>=R&&M<=Y&&V>=L&&E<=X)return C;var S=getComputedStyle(k),j=parseInt(S.borderLeftWidth,10),q=parseInt(S.borderTopWidth,10),z=parseInt(S.borderRightWidth,10),A=parseInt(S.borderBottomWidth,10),F=0,G=0,J="offsetWidth"in k?k.offsetWidth-k.clientWidth-j-z:0,K="offsetHeight"in k?k.offsetHeight-k.clientHeight-q-A:0;if(f===k)F="start"===d?x:"end"===d?x-g:"nearest"===d?r(v,v+g,g,q,A,v+x,v+x+b,b):x-g/2,G="start"===u?I:"center"===u?I-m/2:"end"===u?I-m:r(w,w+m,m,j,z,w+I,w+I+H,H),F=Math.max(0,F+v),G=Math.max(0,G+w);else{F="start"===d?x-R-q:"end"===d?x-Y+A+K:"nearest"===d?r(R,Y,D,q,A+K,x,x+b,b):x-(R+D/2)+K/2,G="start"===u?I-L-j:"center"===u?I-(L+O/2)+J/2:"end"===u?I-X+z+J:r(L,X,O,j,z+J,I,I+H,H);var N=k.scrollLeft,P=k.scrollTop;x+=P-(F=Math.max(0,Math.min(P+F,k.scrollHeight-D+K))),I+=N-(G=Math.max(0,Math.min(N+G,k.scrollWidth-O+J)))}C.push({el:k,top:F,left:G})}return C}function isOptionsObject(options){return options===Object(options)&&0!==Object.keys(options).length}__webpack_require__.d(__webpack_exports__,{Z:()=>es});const es=function scrollIntoView(target,options){var isTargetAttached=target.isConnected||target.ownerDocument.documentElement.contains(target);if(isOptionsObject(options)&&"function"==typeof options.behavior)return options.behavior(isTargetAttached?index_module(target,options):[]);if(isTargetAttached){var computeOptions=function getOptions(options){return!1===options?{block:"end",inline:"nearest"}:isOptionsObject(options)?options:{block:"start",inline:"nearest"}}(options);return function defaultBehavior(actions,behavior){void 0===behavior&&(behavior="auto");var canSmoothScroll="scrollBehavior"in document.body.style;actions.forEach((function(_ref){var el=_ref.el,top=_ref.top,left=_ref.left;el.scroll&&canSmoothScroll?el.scroll({top,left,behavior}):(el.scrollTop=top,el.scrollLeft=left)}))}(index_module(target,computeOptions),computeOptions.behavior)}}},"./node_modules/shallowequal/index.js":module=>{module.exports=function shallowEqual(objA,objB,compare,compareContext){var ret=compare?compare.call(compareContext,objA,objB):void 0;if(void 0!==ret)return!!ret;if(objA===objB)return!0;if("object"!=typeof objA||!objA||"object"!=typeof objB||!objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var bHasOwnProperty=Object.prototype.hasOwnProperty.bind(objB),idx=0;idx<keysA.length;idx++){var key=keysA[idx];if(!bHasOwnProperty(key))return!1;var valueA=objA[key],valueB=objB[key];if(!1===(ret=compare?compare.call(compareContext,valueA,valueB,key):void 0)||void 0===ret&&valueA!==valueB)return!1}return!0}},"./node_modules/side-channel/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),inspect=__webpack_require__("./node_modules/object-inspect/index.js"),$TypeError=GetIntrinsic("%TypeError%"),$WeakMap=GetIntrinsic("%WeakMap%",!0),$Map=GetIntrinsic("%Map%",!0),$weakMapGet=callBound("WeakMap.prototype.get",!0),$weakMapSet=callBound("WeakMap.prototype.set",!0),$weakMapHas=callBound("WeakMap.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSet=callBound("Map.prototype.set",!0),$mapHas=callBound("Map.prototype.has",!0),listGetNode=function(list,key){for(var curr,prev=list;null!==(curr=prev.next);prev=curr)if(curr.key===key)return prev.next=curr.next,curr.next=list.next,list.next=curr,curr};module.exports=function getSideChannel(){var $wm,$m,$o,channel={assert:function(key){if(!channel.has(key))throw new $TypeError("Side channel does not contain "+inspect(key))},get:function(key){if($WeakMap&&key&&("object"==typeof key||"function"==typeof key)){if($wm)return $weakMapGet($wm,key)}else if($Map){if($m)return $mapGet($m,key)}else if($o)return function(objects,key){var node=listGetNode(objects,key);return node&&node.value}($o,key)},has:function(key){if($WeakMap&&key&&("object"==typeof key||"function"==typeof key)){if($wm)return $weakMapHas($wm,key)}else if($Map){if($m)return $mapHas($m,key)}else if($o)return function(objects,key){return!!listGetNode(objects,key)}($o,key);return!1},set:function(key,value){$WeakMap&&key&&("object"==typeof key||"function"==typeof key)?($wm||($wm=new $WeakMap),$weakMapSet($wm,key,value)):$Map?($m||($m=new $Map),$mapSet($m,key,value)):($o||($o={key:{},next:null}),function(objects,key,value){var node=listGetNode(objects,key);node?node.value=value:objects.next={key,next:objects.next,value}}($o,key,value))}};return channel}},"./node_modules/slate-react/dist/index.es.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{BU:()=>withReact,CX:()=>Editable,mH:()=>Slate});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),slate__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/slate/dist/index.es.js"),direction__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/direction/index.js"),direction__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(direction__WEBPACK_IMPORTED_MODULE_1__),lodash_debounce__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lodash/debounce.js"),lodash_debounce__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(lodash_debounce__WEBPACK_IMPORTED_MODULE_2__),lodash_throttle__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/lodash/throttle.js"),lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_3__),scroll_into_view_if_needed__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/scroll-into-view-if-needed/es/index.js"),is_hotkey__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/is-hotkey/lib/index.js"),react_dom__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react-dom/index.js");function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var IS_REACT_VERSION_17_OR_ABOVE=parseInt(react__WEBPACK_IMPORTED_MODULE_0__.version.split(".")[0],10)>=17,IS_IOS="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,IS_APPLE="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),IS_ANDROID="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),IS_FIREFOX="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),IS_SAFARI="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),IS_EDGE_LEGACY="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),IS_CHROME="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),IS_CHROME_LEGACY="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),IS_FIREFOX_LEGACY="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),IS_QQBROWSER="undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),IS_UC_MOBILE="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),IS_WECHATBROWSER="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent),CAN_USE_DOM=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),HAS_BEFORE_INPUT_SUPPORT=!IS_CHROME_LEGACY&&!IS_EDGE_LEGACY&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,useIsomorphicLayoutEffect=CAN_USE_DOM?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect,String=props=>{var{isLast,leaf,parent,text}=props,editor=useSlateStatic(),path=ReactEditor.findPath(editor,text),parentPath=slate__WEBPACK_IMPORTED_MODULE_6__.y$.parent(path);return editor.isVoid(parent)?react__WEBPACK_IMPORTED_MODULE_0__.createElement(ZeroWidthString,{length:slate__WEBPACK_IMPORTED_MODULE_6__.NB.string(parent).length}):""!==leaf.text||parent.children[parent.children.length-1]!==text||editor.isInline(parent)||""!==slate__WEBPACK_IMPORTED_MODULE_6__.ML.string(editor,parentPath)?""===leaf.text?react__WEBPACK_IMPORTED_MODULE_0__.createElement(ZeroWidthString,null):isLast&&"\n"===leaf.text.slice(-1)?react__WEBPACK_IMPORTED_MODULE_0__.createElement(TextString,{isTrailing:!0,text:leaf.text}):react__WEBPACK_IMPORTED_MODULE_0__.createElement(TextString,{text:leaf.text}):react__WEBPACK_IMPORTED_MODULE_0__.createElement(ZeroWidthString,{isLineBreak:!0})},TextString=props=>{var{text,isTrailing=!1}=props,ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),getTextContent=()=>"".concat(null!=text?text:"").concat(isTrailing?"\n":"");return useIsomorphicLayoutEffect((()=>{var textWithTrailing=getTextContent();ref.current&&ref.current.textContent!==textWithTrailing&&(ref.current.textContent=textWithTrailing)})),ref.current?react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{"data-slate-string":!0,ref}):react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{"data-slate-string":!0,ref},getTextContent())},ZeroWidthString=props=>{var{length=0,isLineBreak=!1}=props;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{"data-slate-zero-width":isLineBreak?"n":"z","data-slate-length":length},"\ufeff",isLineBreak?react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null):null)},NODE_TO_INDEX=new WeakMap,NODE_TO_PARENT=new WeakMap,EDITOR_TO_WINDOW=new WeakMap,EDITOR_TO_ELEMENT=new WeakMap,ELEMENT_TO_NODE=new WeakMap,NODE_TO_ELEMENT=new WeakMap,NODE_TO_KEY=new WeakMap,EDITOR_TO_KEY_TO_ELEMENT=new WeakMap,IS_READ_ONLY=new WeakMap,IS_FOCUSED=new WeakMap,IS_COMPOSING=new WeakMap,IS_ON_COMPOSITION_END=new WeakMap,EDITOR_TO_USER_SELECTION=new WeakMap,EDITOR_ON_COMPOSITION_TEXT=new WeakMap,EDITOR_TO_ON_CHANGE=new WeakMap,NODE_TO_RESTORE_DOM=new WeakMap,PLACEHOLDER_SYMBOL=Symbol("placeholder"),Leaf=props=>{var{leaf,isLast,text,parent,renderPlaceholder,renderLeaf=props=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(DefaultLeaf,Object.assign({},props))}=props,placeholderRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{var placeholderEl=null==placeholderRef?void 0:placeholderRef.current,editorEl=document.querySelector('[data-slate-editor="true"]');if(placeholderEl&&editorEl)return editorEl.style.minHeight="".concat(placeholderEl.clientHeight,"px"),()=>{editorEl.style.minHeight="auto"}}),[placeholderRef,leaf]);var children=react__WEBPACK_IMPORTED_MODULE_0__.createElement(String,{isLast,leaf,parent,text});if(leaf[PLACEHOLDER_SYMBOL]){var placeholderProps={children:leaf.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none"},contentEditable:!1,ref:placeholderRef}};children=react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,renderPlaceholder(placeholderProps),children)}return renderLeaf({attributes:{"data-slate-leaf":!0},children,leaf,text})},MemoizedLeaf=react__WEBPACK_IMPORTED_MODULE_0__.memo(Leaf,((prev,next)=>next.parent===prev.parent&&next.isLast===prev.isLast&&next.renderLeaf===prev.renderLeaf&&next.renderPlaceholder===prev.renderPlaceholder&&next.text===prev.text&&slate__WEBPACK_IMPORTED_MODULE_6__.xv.equals(next.leaf,prev.leaf)&&next.leaf[PLACEHOLDER_SYMBOL]===prev.leaf[PLACEHOLDER_SYMBOL])),DefaultLeaf=props=>{var{attributes,children}=props;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",Object.assign({},attributes),children)},_excluded$3=["anchor","focus"],_excluded2=["anchor","focus"],shallowCompare=(obj1,obj2)=>Object.keys(obj1).length===Object.keys(obj2).length&&Object.keys(obj1).every((key=>obj2.hasOwnProperty(key)&&obj1[key]===obj2[key])),isDecoratorRangeListEqual=(list,another)=>{if(list.length!==another.length)return!1;for(var i=0;i<list.length;i++){var range=list[i],other=another[i],rangeOwnProps=_objectWithoutProperties(range,_excluded$3),otherOwnProps=_objectWithoutProperties(other,_excluded2);if(!slate__WEBPACK_IMPORTED_MODULE_6__.e6.equals(range,other)||range[PLACEHOLDER_SYMBOL]!==other[PLACEHOLDER_SYMBOL]||!shallowCompare(rangeOwnProps,otherOwnProps))return!1}return!0};function useContentKey(node){var contentKeyRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(0),updateAnimationFrameRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),[,setForceRerenderCounter]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>(NODE_TO_RESTORE_DOM.set(node,(()=>{updateAnimationFrameRef.current||(updateAnimationFrameRef.current=requestAnimationFrame((()=>{setForceRerenderCounter((state=>state+1)),updateAnimationFrameRef.current=null})),contentKeyRef.current++)})),()=>{NODE_TO_RESTORE_DOM.delete(node)})),[node]),updateAnimationFrameRef.current&&(cancelAnimationFrame(updateAnimationFrameRef.current),updateAnimationFrameRef.current=null),contentKeyRef.current}var Text=props=>{for(var{decorations,isLast,parent,renderPlaceholder,renderLeaf,text}=props,editor=useSlateStatic(),ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),leaves=slate__WEBPACK_IMPORTED_MODULE_6__.xv.decorations(text,decorations),key=ReactEditor.findKey(editor,text),children=[],i=0;i<leaves.length;i++){var leaf=leaves[i];children.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement(MemoizedLeaf,{isLast:isLast&&i===leaves.length-1,key:"".concat(key.id,"-").concat(i),renderPlaceholder,leaf,text,parent,renderLeaf}))}useIsomorphicLayoutEffect((()=>{var KEY_TO_ELEMENT=EDITOR_TO_KEY_TO_ELEMENT.get(editor);ref.current?(null==KEY_TO_ELEMENT||KEY_TO_ELEMENT.set(key,ref.current),NODE_TO_ELEMENT.set(text,ref.current),ELEMENT_TO_NODE.set(ref.current,text)):(null==KEY_TO_ELEMENT||KEY_TO_ELEMENT.delete(key),NODE_TO_ELEMENT.delete(text))}));var contentKey=IS_ANDROID?useContentKey(text):void 0;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{"data-slate-node":"text",ref,key:contentKey},children)},MemoizedText=react__WEBPACK_IMPORTED_MODULE_0__.memo(Text,((prev,next)=>next.parent===prev.parent&&next.isLast===prev.isLast&&next.renderLeaf===prev.renderLeaf&&next.text===prev.text&&isDecoratorRangeListEqual(next.decorations,prev.decorations))),Element=props=>{var{decorations,element,renderElement=p=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(DefaultElement,Object.assign({},p)),renderPlaceholder,renderLeaf,selection}=props,ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),editor=useSlateStatic(),readOnly=useReadOnly(),isInline=editor.isInline(element),key=ReactEditor.findKey(editor,element),children=useChildren({decorations,node:element,renderElement,renderPlaceholder,renderLeaf,selection}),attributes={"data-slate-node":"element",ref};if(isInline&&(attributes["data-slate-inline"]=!0),!isInline&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.hasInlines(editor,element)){var text=slate__WEBPACK_IMPORTED_MODULE_6__.NB.string(element),dir=direction__WEBPACK_IMPORTED_MODULE_1___default()(text);"rtl"===dir&&(attributes.dir=dir)}if(slate__WEBPACK_IMPORTED_MODULE_6__.ML.isVoid(editor,element)){attributes["data-slate-void"]=!0,!readOnly&&isInline&&(attributes.contentEditable=!1);var Tag=isInline?"span":"div",[[_text]]=slate__WEBPACK_IMPORTED_MODULE_6__.NB.texts(element);children=react__WEBPACK_IMPORTED_MODULE_0__.createElement(Tag,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},react__WEBPACK_IMPORTED_MODULE_0__.createElement(MemoizedText,{renderPlaceholder,decorations:[],isLast:!1,parent:element,text:_text})),NODE_TO_INDEX.set(_text,0),NODE_TO_PARENT.set(_text,element)}useIsomorphicLayoutEffect((()=>{var KEY_TO_ELEMENT=EDITOR_TO_KEY_TO_ELEMENT.get(editor);ref.current?(null==KEY_TO_ELEMENT||KEY_TO_ELEMENT.set(key,ref.current),NODE_TO_ELEMENT.set(element,ref.current),ELEMENT_TO_NODE.set(ref.current,element)):(null==KEY_TO_ELEMENT||KEY_TO_ELEMENT.delete(key),NODE_TO_ELEMENT.delete(element))}));var content=renderElement({attributes,children,element});if(IS_ANDROID){var contentKey=useContentKey(element);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{key:contentKey},content)}return content},MemoizedElement=react__WEBPACK_IMPORTED_MODULE_0__.memo(Element,((prev,next)=>prev.element===next.element&&prev.renderElement===next.renderElement&&prev.renderLeaf===next.renderLeaf&&isDecoratorRangeListEqual(prev.decorations,next.decorations)&&(prev.selection===next.selection||!!prev.selection&&!!next.selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.equals(prev.selection,next.selection)))),DefaultElement=props=>{var{attributes,children,element}=props,Tag=useSlateStatic().isInline(element)?"span":"div";return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Tag,Object.assign({},attributes,{style:{position:"relative"}}),children)},EditorContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null),useSlateStatic=()=>{var editor=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(EditorContext);if(!editor)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return editor},SelectedContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(!1),useChildren=props=>{for(var{decorations,node,renderElement,renderPlaceholder,renderLeaf,selection}=props,editor=useSlateStatic(),path=ReactEditor.findPath(editor,node),children=[],isLeafBlock=slate__WEBPACK_IMPORTED_MODULE_6__.W_.isElement(node)&&!editor.isInline(node)&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.hasInlines(editor,node),_loop=function _loop(i){var p=path.concat(i),n=node.children[i],key=ReactEditor.findKey(editor,n),range=slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,p),sel=selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.intersection(range,selection),ds=decorations.reduce(((acc,dec)=>{var intersection=slate__WEBPACK_IMPORTED_MODULE_6__.e6.intersection(dec,range);return intersection&&acc.push(intersection),acc}),[]);slate__WEBPACK_IMPORTED_MODULE_6__.W_.isElement(n)?children.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement(SelectedContext.Provider,{key:"provider-".concat(key.id),value:!!sel},react__WEBPACK_IMPORTED_MODULE_0__.createElement(MemoizedElement,{decorations:ds,element:n,key:key.id,renderElement,renderPlaceholder,renderLeaf,selection:sel}))):children.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement(MemoizedText,{decorations:ds,key:key.id,isLast:isLeafBlock&&i===node.children.length-1,parent:node,renderPlaceholder,renderLeaf,text:n})),NODE_TO_INDEX.set(n,i),NODE_TO_PARENT.set(n,node)},i=0;i<node.children.length;i++)_loop(i);return children},HOTKEYS={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},APPLE_HOTKEYS={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},WINDOWS_HOTKEYS={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},create=key=>{var generic=HOTKEYS[key],apple=APPLE_HOTKEYS[key],windows=WINDOWS_HOTKEYS[key],isGeneric=generic&&(0,is_hotkey__WEBPACK_IMPORTED_MODULE_4__.TB)(generic),isApple=apple&&(0,is_hotkey__WEBPACK_IMPORTED_MODULE_4__.TB)(apple),isWindows=windows&&(0,is_hotkey__WEBPACK_IMPORTED_MODULE_4__.TB)(windows);return event=>!(!isGeneric||!isGeneric(event))||(!!(IS_APPLE&&isApple&&isApple(event))||!(IS_APPLE||!isWindows||!isWindows(event)))},Hotkeys={isBold:create("bold"),isCompose:create("compose"),isMoveBackward:create("moveBackward"),isMoveForward:create("moveForward"),isDeleteBackward:create("deleteBackward"),isDeleteForward:create("deleteForward"),isDeleteLineBackward:create("deleteLineBackward"),isDeleteLineForward:create("deleteLineForward"),isDeleteWordBackward:create("deleteWordBackward"),isDeleteWordForward:create("deleteWordForward"),isExtendBackward:create("extendBackward"),isExtendForward:create("extendForward"),isExtendLineBackward:create("extendLineBackward"),isExtendLineForward:create("extendLineForward"),isItalic:create("italic"),isMoveLineBackward:create("moveLineBackward"),isMoveLineForward:create("moveLineForward"),isMoveWordBackward:create("moveWordBackward"),isMoveWordForward:create("moveWordForward"),isRedo:create("redo"),isSoftBreak:create("insertSoftBreak"),isSplitBlock:create("splitBlock"),isTransposeCharacter:create("transposeCharacter"),isUndo:create("undo")},ReadOnlyContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(!1),useReadOnly=()=>(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ReadOnlyContext),SlateContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null),useSlate=()=>{var context=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(SlateContext);if(!context)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var[editor]=context;return editor},DecorateContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)((()=>[])),getDefaultView=value=>value&&value.ownerDocument&&value.ownerDocument.defaultView||null,isDOMElement=value=>isDOMNode(value)&&1===value.nodeType,isDOMNode=value=>{var window=getDefaultView(value);return!!window&&value instanceof window.Node},isDOMSelection=value=>{var window=value&&value.anchorNode&&getDefaultView(value.anchorNode);return!!window&&value instanceof window.Selection},isDOMText=value=>isDOMNode(value)&&3===value.nodeType,getEditableChildAndIndex=(parent,index,direction)=>{for(var value,{childNodes}=parent,child=childNodes[index],i=index,triedForward=!1,triedBackward=!1;(isDOMNode(value=child)&&8===value.nodeType||isDOMElement(child)&&0===child.childNodes.length||isDOMElement(child)&&"false"===child.getAttribute("contenteditable"))&&(!triedForward||!triedBackward);)i>=childNodes.length?(triedForward=!0,i=index-1,direction="backward"):i<0?(triedBackward=!0,i=index+1,direction="forward"):(child=childNodes[i],index=i,i+="forward"===direction?1:-1);return[child,index]},getEditableChild=(parent,index,direction)=>{var[child]=getEditableChildAndIndex(parent,index,direction);return child},getPlainText=domNode=>{var text="";if(isDOMText(domNode)&&domNode.nodeValue)return domNode.nodeValue;if(isDOMElement(domNode)){for(var childNode of Array.from(domNode.childNodes))text+=getPlainText(childNode);var display=getComputedStyle(domNode).getPropertyValue("display");"block"!==display&&"list"!==display&&"BR"!==domNode.tagName||(text+="\n")}return text},catchSlateFragment=/data-slate-fragment="(.+?)"/m,getSlateFragmentAttribute=dataTransfer=>{var htmlData=dataTransfer.getData("text/html"),[,fragment]=htmlData.match(catchSlateFragment)||[];return fragment},_excluded$2=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as"];function ownKeys$1(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$1(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$1(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$1(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var Children=props=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,useChildren(props)),DefaultPlaceholder=_ref2=>{var{attributes,children}=_ref2;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",Object.assign({},attributes),children)},defaultDecorate=()=>[],defaultScrollSelectionIntoView=(editor,domRange)=>{if(!editor.selection||editor.selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(editor.selection)){var leafEl=domRange.startContainer.parentElement;leafEl.getBoundingClientRect=domRange.getBoundingClientRect.bind(domRange),(0,scroll_into_view_if_needed__WEBPACK_IMPORTED_MODULE_7__.Z)(leafEl,{scrollMode:"if-needed"}),delete leafEl.getBoundingClientRect}},hasTarget=(editor,target)=>isDOMNode(target)&&ReactEditor.hasDOMNode(editor,target),hasEditableTarget=(editor,target)=>isDOMNode(target)&&ReactEditor.hasDOMNode(editor,target,{editable:!0}),isTargetInsideNonReadonlyVoid=(editor,target)=>{if(IS_READ_ONLY.get(editor))return!1;var slateNode=hasTarget(editor,target)&&ReactEditor.toSlateNode(editor,target);return slate__WEBPACK_IMPORTED_MODULE_6__.ML.isVoid(editor,slateNode)},isEventHandled=(event,handler)=>{if(!handler)return!1;var shouldTreatEventAsHandled=handler(event);return null!=shouldTreatEventAsHandled?shouldTreatEventAsHandled:event.isDefaultPrevented()||event.isPropagationStopped()},isDOMEventHandled=(event,handler)=>{if(!handler)return!1;var shouldTreatEventAsHandled=handler(event);return null!=shouldTreatEventAsHandled?shouldTreatEventAsHandled:event.defaultPrevented};function getDiffOffsets(prev,next){if(prev===next)return null;var start=function getDiffStart(prev,next){for(var length=Math.min(prev.length,next.length),i=0;i<length;i++)if(prev.charAt(i)!==next.charAt(i))return i;return prev.length!==next.length?length:null}(prev,next);if(null===start)return null;var end=function getDiffEnd(prev,next,max){for(var prevLength=prev.length,nextLength=next.length,length=Math.min(prevLength,nextLength,max),i=0;i<length;i++)if(prev.charAt(prevLength-i-1)!==next.charAt(nextLength-i-1))return i;return prev.length!==next.length?length:null}(prev,next,Math.min(prev.length-start,next.length-start));return null===end?null:{start,end}}function sliceText(text,offsets){return text.slice(offsets.start,text.length-offsets.end)}function getTextInsertion(editor,domNode){var node=ReactEditor.toSlateNode(editor,domNode);if(slate__WEBPACK_IMPORTED_MODULE_6__.xv.isText(node)){var prevText=node.text,nextText=domNode.textContent;if(nextText.endsWith("\n")&&(nextText=nextText.slice(0,nextText.length-1)),nextText!==prevText){var textDiff=function diffText(prev,next){if(void 0===prev||void 0===next)return null;var offsets=getDiffOffsets(prev,next);if(null==offsets)return null;var insertText=sliceText(next,offsets),removeText=sliceText(prev,offsets);return{start:offsets.start,end:prev.length-offsets.end,insertText,removeText}}(prevText,nextText);if(null!==textDiff)return{text:textDiff,path:ReactEditor.findPath(editor,node)}}}}function normalizeTextInsertionRange(editor,range,_ref2){var{path,text}=_ref2,insertionRange={anchor:{path,offset:text.start},focus:{path,offset:text.end}};if(!range||!slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(range))return insertionRange;var{insertText,removeText}=text;if((1===insertText.length||1===removeText.length)&&slate__WEBPACK_IMPORTED_MODULE_6__.y$.equals(range.anchor.path,path)){var[_text]=Array.from(slate__WEBPACK_IMPORTED_MODULE_6__.ML.nodes(editor,{at:range,match:slate__WEBPACK_IMPORTED_MODULE_6__.xv.isText}));if(_text){var[node]=_text,{anchor}=range,characterBeforeAnchor=node.text[anchor.offset-1],characterAfterAnchor=node.text[anchor.offset];if(1===insertText.length&&insertText===characterAfterAnchor)return range;if(1===removeText.length&&removeText===characterBeforeAnchor)return{anchor:{path,offset:anchor.offset-1},focus:{path,offset:anchor.offset}}}}return insertionRange}var n=0;class Key{constructor(){this.id="".concat(n++)}}var ReactEditor={isComposing:editor=>!!IS_COMPOSING.get(editor),getWindow(editor){var window=EDITOR_TO_WINDOW.get(editor);if(!window)throw new Error("Unable to find a host window element for this editor");return window},findKey(editor,node){var key=NODE_TO_KEY.get(node);return key||(key=new Key,NODE_TO_KEY.set(node,key)),key},findPath(editor,node){for(var path=[],child=node;;){var parent=NODE_TO_PARENT.get(child);if(null==parent){if(slate__WEBPACK_IMPORTED_MODULE_6__.ML.isEditor(child))return path;break}var i=NODE_TO_INDEX.get(child);if(null==i)break;path.unshift(i),child=parent}throw new Error("Unable to find the path for Slate node: ".concat(JSON.stringify(node)))},findDocumentOrShadowRoot(editor){var el=ReactEditor.toDOMNode(editor,editor),root=el.getRootNode();return(root instanceof Document||root instanceof ShadowRoot)&&null!=root.getSelection?root:el.ownerDocument},isFocused:editor=>!!IS_FOCUSED.get(editor),isReadOnly:editor=>!!IS_READ_ONLY.get(editor),blur(editor){var el=ReactEditor.toDOMNode(editor,editor),root=ReactEditor.findDocumentOrShadowRoot(editor);IS_FOCUSED.set(editor,!1),root.activeElement===el&&el.blur()},focus(editor){var el=ReactEditor.toDOMNode(editor,editor),root=ReactEditor.findDocumentOrShadowRoot(editor);IS_FOCUSED.set(editor,!0),root.activeElement!==el&&el.focus({preventScroll:!0})},deselect(editor){ReactEditor.toDOMNode(editor,editor);var{selection}=editor,domSelection=ReactEditor.findDocumentOrShadowRoot(editor).getSelection();domSelection&&domSelection.rangeCount>0&&domSelection.removeAllRanges(),selection&&slate__WEBPACK_IMPORTED_MODULE_6__.YR.deselect(editor)},hasDOMNode(editor,target){var targetEl,options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable=!1}=options,editorEl=ReactEditor.toDOMNode(editor,editor);try{targetEl=isDOMElement(target)?target:target.parentElement}catch(err){if(!err.message.includes('Permission denied to access property "nodeType"'))throw err}return!!targetEl&&!(targetEl.closest("[data-slate-editor]")!==editorEl||editable&&!targetEl.isContentEditable&&("boolean"!=typeof targetEl.isContentEditable||targetEl.closest('[contenteditable="false"]')!==editorEl)&&!targetEl.getAttribute("data-slate-zero-width"))},insertData(editor,data){editor.insertData(data)},insertFragmentData:(editor,data)=>editor.insertFragmentData(data),insertTextData:(editor,data)=>editor.insertTextData(data),setFragmentData(editor,data,originEvent){editor.setFragmentData(data,originEvent)},toDOMNode(editor,node){var KEY_TO_ELEMENT=EDITOR_TO_KEY_TO_ELEMENT.get(editor),domNode=slate__WEBPACK_IMPORTED_MODULE_6__.ML.isEditor(node)?EDITOR_TO_ELEMENT.get(editor):null==KEY_TO_ELEMENT?void 0:KEY_TO_ELEMENT.get(ReactEditor.findKey(editor,node));if(!domNode)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(JSON.stringify(node)));return domNode},toDOMPoint(editor,point){var domPoint,[node]=slate__WEBPACK_IMPORTED_MODULE_6__.ML.node(editor,point.path),el=ReactEditor.toDOMNode(editor,node);slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(editor,{at:point})&&(point={path:point.path,offset:0});var texts=Array.from(el.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),start=0;for(var text of texts){var domNode=text.childNodes[0];if(null!=domNode&&null!=domNode.textContent){var{length}=domNode.textContent,attr=text.getAttribute("data-slate-length"),end=start+(null==attr?length:parseInt(attr,10));if(point.offset<=end){domPoint=[domNode,Math.min(length,Math.max(0,point.offset-start))];break}start=end}}if(!domPoint)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(JSON.stringify(point)));return domPoint},toDOMRange(editor,range){var{anchor,focus}=range,isBackward=slate__WEBPACK_IMPORTED_MODULE_6__.e6.isBackward(range),domAnchor=ReactEditor.toDOMPoint(editor,anchor),domFocus=slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(range)?domAnchor:ReactEditor.toDOMPoint(editor,focus),domRange=ReactEditor.getWindow(editor).document.createRange(),[startNode,startOffset]=isBackward?domFocus:domAnchor,[endNode,endOffset]=isBackward?domAnchor:domFocus,isStartAtZeroWidth=!!(isDOMElement(startNode)?startNode:startNode.parentElement).getAttribute("data-slate-zero-width"),isEndAtZeroWidth=!!(isDOMElement(endNode)?endNode:endNode.parentElement).getAttribute("data-slate-zero-width");return domRange.setStart(startNode,isStartAtZeroWidth?1:startOffset),domRange.setEnd(endNode,isEndAtZeroWidth?1:endOffset),domRange},toSlateNode(editor,domNode){var domEl=isDOMElement(domNode)?domNode:domNode.parentElement;domEl&&!domEl.hasAttribute("data-slate-node")&&(domEl=domEl.closest("[data-slate-node]"));var node=domEl?ELEMENT_TO_NODE.get(domEl):null;if(!node)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(domEl));return node},findEventRange(editor,event){"nativeEvent"in event&&(event=event.nativeEvent);var{clientX:x,clientY:y,target}=event;if(null==x||null==y)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(event));var domRange,node=ReactEditor.toSlateNode(editor,event.target),path=ReactEditor.findPath(editor,node);if(slate__WEBPACK_IMPORTED_MODULE_6__.ML.isVoid(editor,node)){var rect=target.getBoundingClientRect(),isPrev=editor.isInline(node)?x-rect.left<rect.left+rect.width-x:y-rect.top<rect.top+rect.height-y,edge=slate__WEBPACK_IMPORTED_MODULE_6__.ML.point(editor,path,{edge:isPrev?"start":"end"}),point=isPrev?slate__WEBPACK_IMPORTED_MODULE_6__.ML.before(editor,edge):slate__WEBPACK_IMPORTED_MODULE_6__.ML.after(editor,edge);if(point)return slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,point)}var{document}=ReactEditor.getWindow(editor);if(document.caretRangeFromPoint)domRange=document.caretRangeFromPoint(x,y);else{var position=document.caretPositionFromPoint(x,y);position&&((domRange=document.createRange()).setStart(position.offsetNode,position.offset),domRange.setEnd(position.offsetNode,position.offset))}if(!domRange)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(event));return ReactEditor.toSlateRange(editor,domRange,{exactMatch:!1,suppressThrow:!1})},toSlatePoint(editor,domPoint,options){var{exactMatch,suppressThrow}=options,[nearestNode,nearestOffset]=exactMatch?domPoint:(domPoint=>{var[node,offset]=domPoint;if(isDOMElement(node)&&node.childNodes.length){var isLast=offset===node.childNodes.length,index=isLast?offset-1:offset;for([node,index]=getEditableChildAndIndex(node,index,isLast?"backward":"forward"),isLast=index<offset;isDOMElement(node)&&node.childNodes.length;){var i=isLast?node.childNodes.length-1:0;node=getEditableChild(node,i,isLast?"backward":"forward")}offset=isLast&&null!=node.textContent?node.textContent.length:0}return[node,offset]})(domPoint),parentNode=nearestNode.parentNode,textNode=null,offset=0;if(parentNode){var _domNode$textContent,editorEl=ReactEditor.toDOMNode(editor,editor),potentialVoidNode=parentNode.closest('[data-slate-void="true"]'),voidNode=potentialVoidNode&&editorEl.contains(potentialVoidNode)?potentialVoidNode:null,leafNode=parentNode.closest("[data-slate-leaf]"),domNode=null;if(leafNode){if(textNode=leafNode.closest('[data-slate-node="text"]')){var range=ReactEditor.getWindow(editor).document.createRange();range.setStart(textNode,0),range.setEnd(nearestNode,nearestOffset);var contents=range.cloneContents();[...Array.prototype.slice.call(contents.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(contents.querySelectorAll("[contenteditable=false]"))].forEach((el=>{el.parentNode.removeChild(el)})),offset=contents.textContent.length,domNode=textNode}}else voidNode&&((leafNode=voidNode.querySelector("[data-slate-leaf]"))?(textNode=leafNode.closest('[data-slate-node="text"]'),offset=(domNode=leafNode).textContent.length,domNode.querySelectorAll("[data-slate-zero-width]").forEach((el=>{offset-=el.textContent.length}))):offset=1);domNode&&offset===domNode.textContent.length&&(parentNode.hasAttribute("data-slate-zero-width")||IS_FIREFOX&&null!==(_domNode$textContent=domNode.textContent)&&void 0!==_domNode$textContent&&_domNode$textContent.endsWith("\n\n"))&&offset--}if(!textNode){if(suppressThrow)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(domPoint))}var slateNode=ReactEditor.toSlateNode(editor,textNode);return{path:ReactEditor.findPath(editor,slateNode),offset}},toSlateRange(editor,domRange,options){var anchorNode,anchorOffset,focusNode,focusOffset,isCollapsed,{exactMatch,suppressThrow}=options;if((isDOMSelection(domRange)?domRange.anchorNode:domRange.startContainer)&&(isDOMSelection(domRange)?(anchorNode=domRange.anchorNode,anchorOffset=domRange.anchorOffset,focusNode=domRange.focusNode,focusOffset=domRange.focusOffset,isCollapsed=IS_CHROME&&window.document.activeElement&&window.document.activeElement.shadowRoot?domRange.anchorNode===domRange.focusNode&&domRange.anchorOffset===domRange.focusOffset:domRange.isCollapsed):(anchorNode=domRange.startContainer,anchorOffset=domRange.startOffset,focusNode=domRange.endContainer,focusOffset=domRange.endOffset,isCollapsed=domRange.collapsed)),null==anchorNode||null==focusNode||null==anchorOffset||null==focusOffset)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(domRange));var anchor=ReactEditor.toSlatePoint(editor,[anchorNode,anchorOffset],{exactMatch,suppressThrow});if(!anchor)return null;var focus=isCollapsed?anchor:ReactEditor.toSlatePoint(editor,[focusNode,focusOffset],{exactMatch,suppressThrow});if(!focus)return null;var range={anchor,focus};return slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(range)&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isForward(range)&&isDOMElement(focusNode)&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(editor,{at:range.focus,mode:"highest"})&&(range=slate__WEBPACK_IMPORTED_MODULE_6__.ML.unhangRange(editor,range,{voids:!0})),range},hasRange(editor,range){var{anchor,focus}=range;return slate__WEBPACK_IMPORTED_MODULE_6__.ML.hasPath(editor,anchor.path)&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.hasPath(editor,focus.path)}};class AndroidInputManager{constructor(editor,restoreDOM){this.editor=editor,this.restoreDOM=restoreDOM,this.flush=mutations=>{try{this.reconcileMutations(mutations)}catch(err){console.error(err),this.restoreDOM()}},this.reconcileMutations=mutations=>{var mutationData=function gatherMutationData(editor,mutations){var addedNodes=[],removedNodes=[],insertedText=[],characterDataMutations=[];return mutations.forEach((mutation=>{switch(mutation.type){case"childList":mutation.addedNodes.length&&mutation.addedNodes.forEach((addedNode=>{addedNodes.push(addedNode)})),mutation.removedNodes.forEach((removedNode=>{removedNodes.push(removedNode)}));break;case"characterData":characterDataMutations.push(mutation);var{parentNode}=mutation.target;if(!parentNode)return;var textInsertion=getTextInsertion(editor,parentNode);if(!textInsertion)return;if(insertedText.some((_ref=>{var{path}=_ref;return slate__WEBPACK_IMPORTED_MODULE_6__.y$.equals(path,textInsertion.path)})))return;insertedText.push(textInsertion)}})),{addedNodes,removedNodes,insertedText,characterDataMutations}}(this.editor,mutations),{insertedText,removedNodes}=mutationData;if(((_ref4,_ref5)=>{var{selection}=_ref4,{removedNodes}=_ref5;return!!selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)&&removedNodes.length>0})(this.editor,mutationData)){var text=function combineInsertedText(insertedText){return insertedText.reduce(((acc,_ref)=>{var{text}=_ref;return"".concat(acc).concat(text.insertText)}),"")}(insertedText);this.replaceExpandedSelection(text)}else((editor,_ref2)=>{var{addedNodes}=_ref2,{selection}=editor,parentNode=selection?slate__WEBPACK_IMPORTED_MODULE_6__.NB.parent(editor,selection.anchor.path):null,parentDOMNode=parentNode?ReactEditor.toDOMNode(editor,parentNode):null;return!!parentDOMNode&&addedNodes.some((addedNode=>addedNode instanceof HTMLElement&&addedNode.tagName===(null==parentDOMNode?void 0:parentDOMNode.tagName)))})(this.editor,mutationData)?this.insertBreak():((_,_ref7)=>{var{addedNodes,characterDataMutations,removedNodes}=_ref7;return removedNodes.length>0&&0===addedNodes.length&&characterDataMutations.length>0})(this.editor,mutationData)?this.removeLeafNodes(removedNodes):((_,_ref3)=>{var{removedNodes}=_ref3;return removedNodes.length>0})(this.editor,mutationData)?this.deleteBackward():((_,_ref6)=>{var{insertedText}=_ref6;return insertedText.length>0})(this.editor,mutationData)&&this.insertText(insertedText)},this.insertText=insertedText=>{var{selection}=this.editor;if(ReactEditor.isComposing(this.editor)||IS_ON_COMPOSITION_END.get(this.editor))return EDITOR_ON_COMPOSITION_TEXT.set(this.editor,insertedText),void IS_ON_COMPOSITION_END.set(this.editor,!1);insertedText.forEach((insertion=>{var text=insertion.text.insertText,at=normalizeTextInsertionRange(this.editor,selection,insertion);slate__WEBPACK_IMPORTED_MODULE_6__.YR.setSelection(this.editor,at),slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertText(this.editor,text)}))},this.insertBreak=()=>{var{selection}=this.editor;slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertBreak(this.editor),this.restoreDOM(),selection&&setTimeout((()=>{this.editor.selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.equals(selection,this.editor.selection)&&slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(this.editor)}),100)},this.replaceExpandedSelection=text=>{slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(this.editor),text.length&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertText(this.editor,text),this.restoreDOM()},this.deleteBackward=()=>{slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(this.editor),ReactEditor.focus(this.editor),this.restoreDOM()},this.removeLeafNodes=nodes=>{for(var node of nodes){var slateNode=ReactEditor.toSlateNode(this.editor,node);if(slateNode){var path=ReactEditor.findPath(this.editor,slateNode);slate__WEBPACK_IMPORTED_MODULE_6__.YR.delete(this.editor,{at:path}),this.restoreDOM()}}},this.editor=editor,this.restoreDOM=restoreDOM}}function useMutationObserver(node,callback,options){var[mutationObserver]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)((()=>new MutationObserver(callback)));useIsomorphicLayoutEffect((()=>{mutationObserver.disconnect()})),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(!node.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return mutationObserver.observe(node.current,options),mutationObserver.disconnect.bind(mutationObserver)}))}var MUTATION_OBSERVER_CONFIG$1={childList:!0,characterData:!0,subtree:!0};function findClosestKnowSlateNode(domNode){var _domEl,domEl=isDOMElement(domNode)?domNode:domNode.parentElement;domEl&&!domEl.hasAttribute("data-slate-node")&&(domEl=domEl.closest("[data-slate-node]"));var slateNode=domEl&&ELEMENT_TO_NODE.get(domEl);return slateNode||(null!==(_domEl=domEl)&&void 0!==_domEl&&_domEl.parentElement?findClosestKnowSlateNode(domEl.parentElement):null)}function useRestoreDom(node,receivedUserInput){var editor=useSlateStatic(),mutatedNodes=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(new Set);useMutationObserver(node,(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((mutations=>{receivedUserInput.current&&mutations.forEach((_ref=>{var{target}=_ref,slateNode=findClosestKnowSlateNode(target);if(slateNode)return mutatedNodes.current.add(slateNode)}))}),[]),MUTATION_OBSERVER_CONFIG$1),mutatedNodes.current.clear();var restore=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((()=>{var mutated=Array.from(mutatedNodes.current.values()),nodesToRestore=mutated.filter((n=>!mutated.some((m=>slate__WEBPACK_IMPORTED_MODULE_6__.y$.isParent(ReactEditor.findPath(editor,m),ReactEditor.findPath(editor,n))))));nodesToRestore.forEach((n=>{var _NODE_TO_RESTORE_DOM$;null===(_NODE_TO_RESTORE_DOM$=NODE_TO_RESTORE_DOM.get(n))||void 0===_NODE_TO_RESTORE_DOM$||_NODE_TO_RESTORE_DOM$()})),mutatedNodes.current.clear()}),[]);return restore}var MUTATION_OBSERVER_CONFIG={childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0};function useAndroidInputManager(node){var editor=useSlateStatic(),{receivedUserInput,onUserInput}=function useTrackUserInput(){var editor=useSlateStatic(),receivedUserInput=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),animationFrameRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),onUserInput=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((()=>{if(!1===receivedUserInput.current){var window=ReactEditor.getWindow(editor);receivedUserInput.current=!0,animationFrameRef.current&&window.cancelAnimationFrame(animationFrameRef.current),animationFrameRef.current=window.requestAnimationFrame((()=>{receivedUserInput.current=!1,animationFrameRef.current=null}))}}),[]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{receivedUserInput.current&&(receivedUserInput.current=!1)})),{receivedUserInput,onUserInput}}(),restoreDom=useRestoreDom(node,receivedUserInput),inputManager=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>new AndroidInputManager(editor,restoreDom)),[restoreDom,editor]),timeoutId=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),isReconciling=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1);return useMutationObserver(node,(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((mutations=>{receivedUserInput.current&&(isReconciling.current=!0,inputManager.flush(mutations),timeoutId.current&&clearTimeout(timeoutId.current),timeoutId.current=setTimeout((()=>{isReconciling.current=!1,timeoutId.current=null}),250))}),[]),MUTATION_OBSERVER_CONFIG),{isReconciling,onUserInput}}var _excluded$1=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","style","as"];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var FocusedContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(!1);var SlateSelectorContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({});var _excluded=["editor","children","onChange","value"],Slate=props=>{var{editor,children,onChange,value}=props,rest=_objectWithoutProperties(props,_excluded),unmountRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),[context,setContext]=react__WEBPACK_IMPORTED_MODULE_0__.useState((()=>{if(!slate__WEBPACK_IMPORTED_MODULE_6__.NB.isNodeList(value))throw new Error("[Slate] value is invalid! Expected a list of elements"+"but got: ".concat(JSON.stringify(value)));if(!slate__WEBPACK_IMPORTED_MODULE_6__.ML.isEditor(editor))throw new Error("[Slate] editor is invalid! you passed:"+"".concat(JSON.stringify(editor)));return editor.children=value,Object.assign(editor,rest),[editor]})),{selectorContext,onChange:handleSelectorChange}=function getSelectorContext(editor){var eventListeners=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)([]).current,slateRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({editor}).current,onChange=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((editor=>{slateRef.editor=editor,eventListeners.forEach((listener=>listener(editor)))}),[]);return{selectorContext:(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({getSlate:()=>slateRef.editor,addEventListener:callback=>(eventListeners.push(callback),()=>{eventListeners.splice(eventListeners.indexOf(callback),1)})})),[eventListeners,slateRef]),onChange}}(editor),onContextChange=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((()=>{onChange&&onChange(editor.children),setContext([editor]),handleSelectorChange(editor)}),[onChange]);EDITOR_TO_ON_CHANGE.set(editor,onContextChange),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>()=>{EDITOR_TO_ON_CHANGE.set(editor,(()=>{})),unmountRef.current=!0}),[]);var[isFocused,setIsFocused]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(ReactEditor.isFocused(editor));return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{setIsFocused(ReactEditor.isFocused(editor))})),useIsomorphicLayoutEffect((()=>{var fn=()=>setIsFocused(ReactEditor.isFocused(editor));return IS_REACT_VERSION_17_OR_ABOVE?(document.addEventListener("focusin",fn),document.addEventListener("focusout",fn),()=>{document.removeEventListener("focusin",fn),document.removeEventListener("focusout",fn)}):(document.addEventListener("focus",fn,!0),document.addEventListener("blur",fn,!0),()=>{document.removeEventListener("focus",fn,!0),document.removeEventListener("blur",fn,!0)})}),[]),react__WEBPACK_IMPORTED_MODULE_0__.createElement(SlateSelectorContext.Provider,{value:selectorContext},react__WEBPACK_IMPORTED_MODULE_0__.createElement(SlateContext.Provider,{value:context},react__WEBPACK_IMPORTED_MODULE_0__.createElement(EditorContext.Provider,{value:editor},react__WEBPACK_IMPORTED_MODULE_0__.createElement(FocusedContext.Provider,{value:isFocused},children))))},doRectsIntersect=(rect,compareRect)=>{var middle=(compareRect.top+compareRect.bottom)/2;return rect.top<=middle&&rect.bottom>=middle},areRangesSameLine=(editor,range1,range2)=>{var rect1=ReactEditor.toDOMRange(editor,range1).getBoundingClientRect(),rect2=ReactEditor.toDOMRange(editor,range2).getBoundingClientRect();return doRectsIntersect(rect1,rect2)&&doRectsIntersect(rect2,rect1)},withReact=editor=>{var e=editor,{apply,onChange,deleteBackward}=e;return EDITOR_TO_KEY_TO_ELEMENT.set(e,new WeakMap),e.deleteBackward=unit=>{if("line"!==unit)return deleteBackward(unit);if(editor.selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(editor.selection)){var parentBlockEntry=slate__WEBPACK_IMPORTED_MODULE_6__.ML.above(editor,{match:n=>slate__WEBPACK_IMPORTED_MODULE_6__.ML.isBlock(editor,n),at:editor.selection});if(parentBlockEntry){var[,parentBlockPath]=parentBlockEntry,parentElementRange=slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,parentBlockPath,editor.selection.anchor),currentLineRange=((editor,parentRange)=>{var parentRangeBoundary=slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,slate__WEBPACK_IMPORTED_MODULE_6__.e6.end(parentRange)),positions=Array.from(slate__WEBPACK_IMPORTED_MODULE_6__.ML.positions(editor,{at:parentRange})),left=0,right=positions.length,middle=Math.floor(right/2);if(areRangesSameLine(editor,slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,positions[left]),parentRangeBoundary))return slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,positions[left],parentRangeBoundary);if(positions.length<2)return slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,positions[positions.length-1],parentRangeBoundary);for(;middle!==positions.length&&middle!==left;)areRangesSameLine(editor,slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,positions[middle]),parentRangeBoundary)?right=middle:left=middle,middle=Math.floor((left+right)/2);return slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,positions[right],parentRangeBoundary)})(e,parentElementRange);slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(currentLineRange)||slate__WEBPACK_IMPORTED_MODULE_6__.YR.delete(editor,{at:currentLineRange})}}},e.apply=op=>{var matches=[];switch(op.type){case"insert_text":case"remove_text":case"set_node":case"split_node":matches.push(...getMatches(e,op.path));break;case"set_selection":var _EDITOR_TO_USER_SELEC;null===(_EDITOR_TO_USER_SELEC=EDITOR_TO_USER_SELECTION.get(editor))||void 0===_EDITOR_TO_USER_SELEC||_EDITOR_TO_USER_SELEC.unref(),EDITOR_TO_USER_SELECTION.delete(editor);break;case"insert_node":case"remove_node":matches.push(...getMatches(e,slate__WEBPACK_IMPORTED_MODULE_6__.y$.parent(op.path)));break;case"merge_node":var prevPath=slate__WEBPACK_IMPORTED_MODULE_6__.y$.previous(op.path);matches.push(...getMatches(e,prevPath));break;case"move_node":var commonPath=slate__WEBPACK_IMPORTED_MODULE_6__.y$.common(slate__WEBPACK_IMPORTED_MODULE_6__.y$.parent(op.path),slate__WEBPACK_IMPORTED_MODULE_6__.y$.parent(op.newPath));matches.push(...getMatches(e,commonPath))}for(var[path,key]of(apply(op),matches)){var[node]=slate__WEBPACK_IMPORTED_MODULE_6__.ML.node(e,path);NODE_TO_KEY.set(node,key)}},e.setFragmentData=data=>{var{selection}=e;if(selection){var[start,end]=slate__WEBPACK_IMPORTED_MODULE_6__.e6.edges(selection),startVoid=slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(e,{at:start.path}),endVoid=slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(e,{at:end.path});if(!slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(selection)||startVoid){var domRange=ReactEditor.toDOMRange(e,selection),contents=domRange.cloneContents(),attach=contents.childNodes[0];if(contents.childNodes.forEach((node=>{node.textContent&&""!==node.textContent.trim()&&(attach=node)})),endVoid){var[voidNode]=endVoid,r=domRange.cloneRange(),domNode=ReactEditor.toDOMNode(e,voidNode);r.setEndAfter(domNode),contents=r.cloneContents()}if(startVoid&&(attach=contents.querySelector("[data-slate-spacer]")),Array.from(contents.querySelectorAll("[data-slate-zero-width]")).forEach((zw=>{var isNewline="n"===zw.getAttribute("data-slate-zero-width");zw.textContent=isNewline?"\n":""})),isDOMText(attach)){var span=attach.ownerDocument.createElement("span");span.style.whiteSpace="pre",span.appendChild(attach),contents.appendChild(span),attach=span}var fragment=e.getFragment(),string=JSON.stringify(fragment),encoded=window.btoa(encodeURIComponent(string));attach.setAttribute("data-slate-fragment",encoded),data.setData("application/x-slate-fragment",encoded);var div=contents.ownerDocument.createElement("div");return div.appendChild(contents),div.setAttribute("hidden","true"),contents.ownerDocument.body.appendChild(div),data.setData("text/html",div.innerHTML),data.setData("text/plain",getPlainText(div)),contents.ownerDocument.body.removeChild(div),data}}},e.insertData=data=>{e.insertFragmentData(data)||e.insertTextData(data)},e.insertFragmentData=data=>{var fragment=data.getData("application/x-slate-fragment")||getSlateFragmentAttribute(data);if(fragment){var decoded=decodeURIComponent(window.atob(fragment)),parsed=JSON.parse(decoded);return e.insertFragment(parsed),!0}return!1},e.insertTextData=data=>{var text=data.getData("text/plain");if(text){var lines=text.split(/\r\n|\r|\n/),split=!1;for(var line of lines)split&&slate__WEBPACK_IMPORTED_MODULE_6__.YR.splitNodes(e,{always:!0}),e.insertText(line),split=!0;return!0}return!1},e.onChange=()=>{react_dom__WEBPACK_IMPORTED_MODULE_5__.unstable_batchedUpdates((()=>{var onContextChange=EDITOR_TO_ON_CHANGE.get(e);onContextChange&&onContextChange(),onChange()}))},e},getMatches=(e,path)=>{var matches=[];for(var[n,p]of slate__WEBPACK_IMPORTED_MODULE_6__.ML.levels(e,{at:path})){var key=ReactEditor.findKey(e,n);matches.push([p,key])}return matches},Editable=IS_ANDROID?props=>{var{autoFocus,decorate=defaultDecorate,onDOMBeforeInput:propsOnDOMBeforeInput,placeholder,readOnly=!1,renderElement,renderLeaf,renderPlaceholder=props=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(DefaultPlaceholder,Object.assign({},props)),style={},as:Component="div"}=props,attributes=_objectWithoutProperties(props,_excluded$1),editor=useSlate(),[isComposing,setIsComposing]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),inputManager=useAndroidInputManager(ref);IS_READ_ONLY.set(editor,readOnly);var state=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({isComposing:!1,isUpdatingSelection:!1,latestElement:null})),[]),contentKey=useContentKey(editor);useIsomorphicLayoutEffect((()=>{var window;ref.current&&(window=getDefaultView(ref.current))?(EDITOR_TO_WINDOW.set(editor,window),EDITOR_TO_ELEMENT.set(editor,ref.current),NODE_TO_ELEMENT.set(editor,ref.current),ELEMENT_TO_NODE.set(ref.current,editor)):NODE_TO_ELEMENT.delete(editor);try{var{selection}=editor,domSelection=ReactEditor.findDocumentOrShadowRoot(editor).getSelection();if(state.isComposing||!domSelection||!ReactEditor.isFocused(editor))return;var hasDomSelection="None"!==domSelection.type;if(!selection&&!hasDomSelection)return;var editorElement=EDITOR_TO_ELEMENT.get(editor),hasDomSelectionInEditor=!1;if(editorElement.contains(domSelection.anchorNode)&&editorElement.contains(domSelection.focusNode)&&(hasDomSelectionInEditor=!0),hasDomSelection&&hasDomSelectionInEditor&&selection){var slateRange=ReactEditor.toSlateRange(editor,domSelection,{exactMatch:!0,suppressThrow:!0});if(slateRange&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.equals(slateRange,selection))return}if(selection&&!ReactEditor.hasRange(editor,selection))return void(editor.selection=ReactEditor.toSlateRange(editor,domSelection,{exactMatch:!1,suppressThrow:!1}));var el=ReactEditor.toDOMNode(editor,editor);state.isUpdatingSelection=!0;var newDomRange=selection&&ReactEditor.toDOMRange(editor,selection);if(newDomRange){slate__WEBPACK_IMPORTED_MODULE_6__.e6.isBackward(selection)?domSelection.setBaseAndExtent(newDomRange.endContainer,newDomRange.endOffset,newDomRange.startContainer,newDomRange.startOffset):domSelection.setBaseAndExtent(newDomRange.startContainer,newDomRange.startOffset,newDomRange.endContainer,newDomRange.endOffset);var leafEl=newDomRange.startContainer.parentElement;leafEl.getBoundingClientRect=newDomRange.getBoundingClientRect.bind(newDomRange),(0,scroll_into_view_if_needed__WEBPACK_IMPORTED_MODULE_7__.Z)(leafEl,{scrollMode:"if-needed",boundary:el}),delete leafEl.getBoundingClientRect}else domSelection.removeAllRanges();setTimeout((()=>{state.isUpdatingSelection=!1}))}catch(_unused){state.isUpdatingSelection=!1}})),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{ref.current&&autoFocus&&ref.current.focus()}),[autoFocus]);var onDOMSelectionChange=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default()((()=>{try{if(!state.isComposing&&!state.isUpdatingSelection&&!inputManager.isReconciling.current){var root=ReactEditor.findDocumentOrShadowRoot(editor),{activeElement}=root,el=ReactEditor.toDOMNode(editor,editor),domSelection=root.getSelection();if(activeElement===el?(state.latestElement=activeElement,IS_FOCUSED.set(editor,!0)):IS_FOCUSED.delete(editor),!domSelection)return slate__WEBPACK_IMPORTED_MODULE_6__.YR.deselect(editor);var{anchorNode,focusNode}=domSelection,anchorNodeSelectable=hasEditableTarget(editor,anchorNode)||isTargetInsideNonReadonlyVoid(editor,anchorNode),focusNodeSelectable=hasEditableTarget(editor,focusNode)||isTargetInsideNonReadonlyVoid(editor,focusNode);if(anchorNodeSelectable&&focusNodeSelectable){var range=ReactEditor.toSlateRange(editor,domSelection,{exactMatch:!1,suppressThrow:!1});slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,range)}else slate__WEBPACK_IMPORTED_MODULE_6__.YR.deselect(editor)}}catch(_unused2){}}),100),[readOnly]),scheduleOnDOMSelectionChange=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>lodash_debounce__WEBPACK_IMPORTED_MODULE_2___default()(onDOMSelectionChange,0)),[onDOMSelectionChange]),onDOMBeforeInput=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{readOnly||!hasEditableTarget(editor,event.target)||isDOMEventHandled(event,propsOnDOMBeforeInput)||(scheduleOnDOMSelectionChange.flush(),inputManager.onUserInput())}),[readOnly,propsOnDOMBeforeInput]);useIsomorphicLayoutEffect((()=>{var node=ref.current;return null==node||node.addEventListener("beforeinput",onDOMBeforeInput),()=>null==node?void 0:node.removeEventListener("beforeinput",onDOMBeforeInput)}),[contentKey,propsOnDOMBeforeInput]),useIsomorphicLayoutEffect((()=>{var window=ReactEditor.getWindow(editor);return window.document.addEventListener("selectionchange",scheduleOnDOMSelectionChange),()=>{window.document.removeEventListener("selectionchange",scheduleOnDOMSelectionChange)}}),[scheduleOnDOMSelectionChange]);var decorations=decorate([editor,[]]);if(placeholder&&1===editor.children.length&&1===Array.from(slate__WEBPACK_IMPORTED_MODULE_6__.NB.texts(editor)).length&&""===slate__WEBPACK_IMPORTED_MODULE_6__.NB.string(editor)&&!isComposing){var start=slate__WEBPACK_IMPORTED_MODULE_6__.ML.start(editor,[]);decorations.push({[PLACEHOLDER_SYMBOL]:!0,placeholder,anchor:start,focus:start})}return react__WEBPACK_IMPORTED_MODULE_0__.createElement(ReadOnlyContext.Provider,{value:readOnly},react__WEBPACK_IMPORTED_MODULE_0__.createElement(DecorateContext.Provider,{value:decorate},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,Object.assign({key:contentKey,role:readOnly?void 0:"textbox"},attributes,{spellCheck:attributes.spellCheck,autoCorrect:attributes.autoCorrect,autoCapitalize:attributes.autoCapitalize,"data-slate-editor":!0,"data-slate-node":"value",contentEditable:!readOnly||void 0,suppressContentEditableWarning:!0,ref,style:_objectSpread({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},style),onCopy:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCopy)&&(event.preventDefault(),ReactEditor.setFragmentData(editor,event.clipboardData,"copy"))}),[attributes.onCopy]),onCut:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCut)){event.preventDefault(),ReactEditor.setFragmentData(editor,event.clipboardData,"cut");var{selection}=editor;if(selection)if(slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection))slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor);else{var node=slate__WEBPACK_IMPORTED_MODULE_6__.NB.parent(editor,selection.anchor.path);slate__WEBPACK_IMPORTED_MODULE_6__.ML.isVoid(editor,node)&&slate__WEBPACK_IMPORTED_MODULE_6__.YR.delete(editor)}}}),[readOnly,attributes.onCut]),onFocus:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&!state.isUpdatingSelection&&hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onFocus)){var root=ReactEditor.findDocumentOrShadowRoot(editor);state.latestElement=root.activeElement,IS_FOCUSED.set(editor,!0)}}),[readOnly,attributes.onFocus]),onBlur:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&!state.isUpdatingSelection&&hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onBlur)){var root=ReactEditor.findDocumentOrShadowRoot(editor);if(state.latestElement!==root.activeElement){var{relatedTarget}=event;if(!(relatedTarget===ReactEditor.toDOMNode(editor,editor)||isDOMElement(relatedTarget)&&relatedTarget.hasAttribute("data-slate-spacer"))){if(null!=relatedTarget&&isDOMNode(relatedTarget)&&ReactEditor.hasDOMNode(editor,relatedTarget)){var node=ReactEditor.toSlateNode(editor,relatedTarget);if(slate__WEBPACK_IMPORTED_MODULE_6__.W_.isElement(node)&&!editor.isVoid(node))return}IS_FOCUSED.delete(editor)}}}}),[readOnly,attributes.onBlur]),onClick:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&hasTarget(editor,event.target)&&!isEventHandled(event,attributes.onClick)&&isDOMNode(event.target)){var node=ReactEditor.toSlateNode(editor,event.target),path=ReactEditor.findPath(editor,node);if(slate__WEBPACK_IMPORTED_MODULE_6__.ML.hasPath(editor,path))if(slate__WEBPACK_IMPORTED_MODULE_6__.NB.get(editor,path)===node){var _start=slate__WEBPACK_IMPORTED_MODULE_6__.ML.start(editor,path),end=slate__WEBPACK_IMPORTED_MODULE_6__.ML.end(editor,path),startVoid=slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(editor,{at:_start}),endVoid=slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(editor,{at:end});if(startVoid&&endVoid&&slate__WEBPACK_IMPORTED_MODULE_6__.y$.equals(startVoid[1],endVoid[1])){var range=slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,_start);slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,range)}}}}),[readOnly,attributes.onClick]),onCompositionEnd:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCompositionEnd)&&(scheduleOnDOMSelectionChange.flush(),setTimeout((()=>{state.isComposing&&setIsComposing(!1),state.isComposing=!1,IS_COMPOSING.set(editor,!1),IS_ON_COMPOSITION_END.set(editor,!0);var insertedText=EDITOR_ON_COMPOSITION_TEXT.get(editor)||[];if(insertedText.length){EDITOR_ON_COMPOSITION_TEXT.set(editor,[]);var{selection}=editor;insertedText.forEach((insertion=>{var text=insertion.text.insertText,at=normalizeTextInsertionRange(editor,selection,insertion);slate__WEBPACK_IMPORTED_MODULE_6__.YR.setSelection(editor,at),slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertText(editor,text)}))}}),20))}),[attributes.onCompositionEnd]),onCompositionUpdate:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCompositionUpdate)&&(!state.isComposing&&setIsComposing(!0),state.isComposing=!0,IS_COMPOSING.set(editor,!0))}),[attributes.onCompositionUpdate]),onCompositionStart:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCompositionStart)&&(!state.isComposing&&setIsComposing(!0),state.isComposing=!0,IS_COMPOSING.set(editor,!0))}),[attributes.onCompositionStart]),onPaste:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{event.clipboardData=(dataTransfer=>{if(!dataTransfer.getData("application/x-slate-fragment")){var fragment=getSlateFragmentAttribute(dataTransfer);if(fragment){var clipboardData=new DataTransfer;return dataTransfer.types.forEach((type=>{clipboardData.setData(type,dataTransfer.getData(type))})),clipboardData.setData("application/x-slate-fragment",fragment),clipboardData}}return dataTransfer})(event.clipboardData),!hasEditableTarget(editor,event.target)||isEventHandled(event,attributes.onPaste)||readOnly||(event.preventDefault(),ReactEditor.insertData(editor,event.clipboardData))}),[readOnly,attributes.onPaste])}),useChildren({decorations,node:editor,renderElement,renderPlaceholder,renderLeaf,selection:editor.selection}))))}:props=>{var{autoFocus,decorate=defaultDecorate,onDOMBeforeInput:propsOnDOMBeforeInput,placeholder,readOnly=!1,renderElement,renderLeaf,renderPlaceholder=props=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(DefaultPlaceholder,Object.assign({},props)),scrollSelectionIntoView=defaultScrollSelectionIntoView,style={},as:Component="div"}=props,attributes=_objectWithoutProperties(props,_excluded$2),editor=useSlate(),[isComposing,setIsComposing]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),deferredOperations=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)([]);IS_READ_ONLY.set(editor,readOnly);var state=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({hasInsertPrefixInCompositon:!1,isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null})),[]);useIsomorphicLayoutEffect((()=>{var window;ref.current&&(window=getDefaultView(ref.current))?(EDITOR_TO_WINDOW.set(editor,window),EDITOR_TO_ELEMENT.set(editor,ref.current),NODE_TO_ELEMENT.set(editor,ref.current),ELEMENT_TO_NODE.set(ref.current,editor)):NODE_TO_ELEMENT.delete(editor);var{selection}=editor,domSelection=ReactEditor.findDocumentOrShadowRoot(editor).getSelection();if(!ReactEditor.isComposing(editor)&&domSelection&&ReactEditor.isFocused(editor)){var hasDomSelection="None"!==domSelection.type;if(selection||hasDomSelection){var editorElement=EDITOR_TO_ELEMENT.get(editor),hasDomSelectionInEditor=!1;if(editorElement.contains(domSelection.anchorNode)&&editorElement.contains(domSelection.focusNode)&&(hasDomSelectionInEditor=!0),hasDomSelection&&hasDomSelectionInEditor&&selection){var slateRange=ReactEditor.toSlateRange(editor,domSelection,{exactMatch:!0,suppressThrow:!0});if(slateRange&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.equals(slateRange,selection))return}if(!selection||ReactEditor.hasRange(editor,selection)){state.isUpdatingSelection=!0;var newDomRange=selection&&ReactEditor.toDOMRange(editor,selection);newDomRange?(slate__WEBPACK_IMPORTED_MODULE_6__.e6.isBackward(selection)?domSelection.setBaseAndExtent(newDomRange.endContainer,newDomRange.endOffset,newDomRange.startContainer,newDomRange.startOffset):domSelection.setBaseAndExtent(newDomRange.startContainer,newDomRange.startOffset,newDomRange.endContainer,newDomRange.endOffset),scrollSelectionIntoView(editor,newDomRange)):domSelection.removeAllRanges(),setTimeout((()=>{newDomRange&&IS_FIREFOX&&ReactEditor.toDOMNode(editor,editor).focus();state.isUpdatingSelection=!1}))}else editor.selection=ReactEditor.toSlateRange(editor,domSelection,{exactMatch:!1,suppressThrow:!1})}}})),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{ref.current&&autoFocus&&ref.current.focus()}),[autoFocus]);var onDOMSelectionChange=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default()((()=>{if(!ReactEditor.isComposing(editor)&&!state.isUpdatingSelection&&!state.isDraggingInternally){var root=ReactEditor.findDocumentOrShadowRoot(editor),{activeElement}=root,el=ReactEditor.toDOMNode(editor,editor),domSelection=root.getSelection();if(activeElement===el?(state.latestElement=activeElement,IS_FOCUSED.set(editor,!0)):IS_FOCUSED.delete(editor),!domSelection)return slate__WEBPACK_IMPORTED_MODULE_6__.YR.deselect(editor);var{anchorNode,focusNode}=domSelection,anchorNodeSelectable=hasEditableTarget(editor,anchorNode)||isTargetInsideNonReadonlyVoid(editor,anchorNode),focusNodeSelectable=hasEditableTarget(editor,focusNode)||isTargetInsideNonReadonlyVoid(editor,focusNode);if(anchorNodeSelectable&&focusNodeSelectable){var range=ReactEditor.toSlateRange(editor,domSelection,{exactMatch:!1,suppressThrow:!1});slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,range)}}}),100),[readOnly]),scheduleOnDOMSelectionChange=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>lodash_debounce__WEBPACK_IMPORTED_MODULE_2___default()(onDOMSelectionChange,0)),[onDOMSelectionChange]),onDOMBeforeInput=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&hasEditableTarget(editor,event.target)&&!isDOMEventHandled(event,propsOnDOMBeforeInput)){var _EDITOR_TO_USER_SELEC;scheduleOnDOMSelectionChange.flush(),onDOMSelectionChange.flush();var{selection}=editor,{inputType:type}=event,data=event.dataTransfer||event.data||void 0;if("insertCompositionText"===type||"deleteCompositionText"===type)return;var native=!1;if("insertText"===type&&selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(selection)&&event.data&&1===event.data.length&&/[a-z ]/i.test(event.data)&&0!==selection.anchor.offset){var _node$parentElement;native=!0,editor.marks&&(native=!1);var{anchor}=selection,[node,offset]=ReactEditor.toDOMPoint(editor,anchor),anchorNode=null===(_node$parentElement=node.parentElement)||void 0===_node$parentElement?void 0:_node$parentElement.closest("a");if(anchorNode&&ReactEditor.hasDOMNode(editor,anchorNode)){var _lastText$textContent,{document}=ReactEditor.getWindow(editor),lastText=document.createTreeWalker(anchorNode,NodeFilter.SHOW_TEXT).lastChild();lastText===node&&(null===(_lastText$textContent=lastText.textContent)||void 0===_lastText$textContent?void 0:_lastText$textContent.length)===offset&&(native=!1)}}if(!type.startsWith("delete")||type.startsWith("deleteBy")){var[targetRange]=event.getTargetRanges();if(targetRange){var range=ReactEditor.toSlateRange(editor,targetRange,{exactMatch:!1,suppressThrow:!1});if(!selection||!slate__WEBPACK_IMPORTED_MODULE_6__.e6.equals(selection,range)){native=!1;var selectionRef=editor.selection&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.rangeRef(editor,editor.selection);slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,range),selectionRef&&EDITOR_TO_USER_SELECTION.set(editor,selectionRef)}}}if(native||event.preventDefault(),selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)&&type.startsWith("delete")){var direction=type.endsWith("Backward")?"backward":"forward";return void slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor,{direction})}switch(type){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor);break;case"deleteContent":case"deleteContentForward":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteForward(editor);break;case"deleteContentBackward":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor);break;case"deleteEntireSoftLine":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor,{unit:"line"}),slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteForward(editor,{unit:"line"});break;case"deleteHardLineBackward":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor,{unit:"block"});break;case"deleteSoftLineBackward":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor,{unit:"line"});break;case"deleteHardLineForward":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteForward(editor,{unit:"block"});break;case"deleteSoftLineForward":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteForward(editor,{unit:"line"});break;case"deleteWordBackward":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor,{unit:"word"});break;case"deleteWordForward":slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteForward(editor,{unit:"word"});break;case"insertLineBreak":slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertSoftBreak(editor);break;case"insertParagraph":slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertBreak(editor);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":var{selection:_selection}=editor;_selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(_selection)&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor),"insertFromComposition"===type&&ReactEditor.isComposing(editor)&&(setIsComposing(!1),IS_COMPOSING.set(editor,!1)),"DataTransfer"===(null==data?void 0:data.constructor.name)?ReactEditor.insertData(editor,data):"string"==typeof data&&(native?deferredOperations.current.push((()=>slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertText(editor,data))):slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertText(editor,data))}var toRestore=null===(_EDITOR_TO_USER_SELEC=EDITOR_TO_USER_SELECTION.get(editor))||void 0===_EDITOR_TO_USER_SELEC?void 0:_EDITOR_TO_USER_SELEC.unref();EDITOR_TO_USER_SELECTION.delete(editor),!toRestore||editor.selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.equals(editor.selection,toRestore)||slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,toRestore)}}),[readOnly,propsOnDOMBeforeInput]);useIsomorphicLayoutEffect((()=>(ref.current&&HAS_BEFORE_INPUT_SUPPORT&&ref.current.addEventListener("beforeinput",onDOMBeforeInput),()=>{ref.current&&HAS_BEFORE_INPUT_SUPPORT&&ref.current.removeEventListener("beforeinput",onDOMBeforeInput)})),[onDOMBeforeInput]),useIsomorphicLayoutEffect((()=>{var window=ReactEditor.getWindow(editor);return window.document.addEventListener("selectionchange",scheduleOnDOMSelectionChange),()=>{window.document.removeEventListener("selectionchange",scheduleOnDOMSelectionChange)}}),[scheduleOnDOMSelectionChange]);var decorations=[...slate__WEBPACK_IMPORTED_MODULE_6__.NB.nodes(editor)].flatMap((_ref=>{var[n,p]=_ref;return decorate([n,p])}));if(placeholder&&1===editor.children.length&&1===Array.from(slate__WEBPACK_IMPORTED_MODULE_6__.NB.texts(editor)).length&&""===slate__WEBPACK_IMPORTED_MODULE_6__.NB.string(editor)&&!isComposing){var start=slate__WEBPACK_IMPORTED_MODULE_6__.ML.start(editor,[]);decorations.push({[PLACEHOLDER_SYMBOL]:!0,placeholder,anchor:start,focus:start})}return react__WEBPACK_IMPORTED_MODULE_0__.createElement(ReadOnlyContext.Provider,{value:readOnly},react__WEBPACK_IMPORTED_MODULE_0__.createElement(DecorateContext.Provider,{value:decorate},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,Object.assign({role:readOnly?void 0:"textbox"},attributes,{spellCheck:!(!HAS_BEFORE_INPUT_SUPPORT&&CAN_USE_DOM)&&attributes.spellCheck,autoCorrect:HAS_BEFORE_INPUT_SUPPORT||!CAN_USE_DOM?attributes.autoCorrect:"false",autoCapitalize:HAS_BEFORE_INPUT_SUPPORT||!CAN_USE_DOM?attributes.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!readOnly,zindex:-1,suppressContentEditableWarning:!0,ref,style:_objectSpread$1({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},style),onBeforeInput:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!HAS_BEFORE_INPUT_SUPPORT&&!readOnly&&!isEventHandled(event,attributes.onBeforeInput)&&hasEditableTarget(editor,event.target)&&(event.preventDefault(),!ReactEditor.isComposing(editor))){var text=event.data;slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertText(editor,text)}}),[readOnly]),onInput:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{for(var op of deferredOperations.current)op();deferredOperations.current=[]}),[]),onBlur:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&!state.isUpdatingSelection&&hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onBlur)){var root=ReactEditor.findDocumentOrShadowRoot(editor);if(state.latestElement!==root.activeElement){var{relatedTarget}=event;if(!(relatedTarget===ReactEditor.toDOMNode(editor,editor)||isDOMElement(relatedTarget)&&relatedTarget.hasAttribute("data-slate-spacer"))){if(null!=relatedTarget&&isDOMNode(relatedTarget)&&ReactEditor.hasDOMNode(editor,relatedTarget)){var node=ReactEditor.toSlateNode(editor,relatedTarget);if(slate__WEBPACK_IMPORTED_MODULE_6__.W_.isElement(node)&&!editor.isVoid(node))return}if(IS_SAFARI){var domSelection=root.getSelection();null==domSelection||domSelection.removeAllRanges()}IS_FOCUSED.delete(editor)}}}}),[readOnly,attributes.onBlur]),onClick:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(hasTarget(editor,event.target)&&!isEventHandled(event,attributes.onClick)&&isDOMNode(event.target)){var node=ReactEditor.toSlateNode(editor,event.target),path=ReactEditor.findPath(editor,node);if(!slate__WEBPACK_IMPORTED_MODULE_6__.ML.hasPath(editor,path)||slate__WEBPACK_IMPORTED_MODULE_6__.NB.get(editor,path)!==node)return;if(3===event.detail&&path.length>=1){var blockPath=path;if(!slate__WEBPACK_IMPORTED_MODULE_6__.ML.isBlock(editor,node)){var _block$,block=slate__WEBPACK_IMPORTED_MODULE_6__.ML.above(editor,{match:n=>slate__WEBPACK_IMPORTED_MODULE_6__.ML.isBlock(editor,n),at:path});blockPath=null!==(_block$=null==block?void 0:block[1])&&void 0!==_block$?_block$:path.slice(0,1)}var range=slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,blockPath);return void slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,range)}if(readOnly)return;var _start=slate__WEBPACK_IMPORTED_MODULE_6__.ML.start(editor,path),end=slate__WEBPACK_IMPORTED_MODULE_6__.ML.end(editor,path),startVoid=slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(editor,{at:_start}),endVoid=slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(editor,{at:end});if(startVoid&&endVoid&&slate__WEBPACK_IMPORTED_MODULE_6__.y$.equals(startVoid[1],endVoid[1])){var _range=slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,_start);slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,_range)}}}),[readOnly,attributes.onClick]),onCompositionEnd:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCompositionEnd)&&(ReactEditor.isComposing(editor)&&(setIsComposing(!1),IS_COMPOSING.set(editor,!1)),IS_SAFARI||IS_FIREFOX_LEGACY||IS_IOS||IS_QQBROWSER||IS_WECHATBROWSER||IS_UC_MOBILE||!event.data||slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertText(editor,event.data),editor.selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(editor.selection))){var leafPath=editor.selection.anchor.path,currentTextNode=slate__WEBPACK_IMPORTED_MODULE_6__.NB.leaf(editor,leafPath);state.hasInsertPrefixInCompositon&&(state.hasInsertPrefixInCompositon=!1,slate__WEBPACK_IMPORTED_MODULE_6__.ML.withoutNormalizing(editor,(()=>{var text=currentTextNode.text.replace(/^\uFEFF/,"");slate__WEBPACK_IMPORTED_MODULE_6__.YR.delete(editor,{distance:currentTextNode.text.length,reverse:!0}),slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertText(editor,text)})))}}),[attributes.onCompositionEnd]),onCompositionUpdate:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCompositionUpdate)&&(ReactEditor.isComposing(editor)||(setIsComposing(!0),IS_COMPOSING.set(editor,!0)))}),[attributes.onCompositionUpdate]),onCompositionStart:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCompositionStart)){var{selection,marks}=editor;if(selection){if(slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection))return void slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor);var inline=slate__WEBPACK_IMPORTED_MODULE_6__.ML.above(editor,{match:n=>slate__WEBPACK_IMPORTED_MODULE_6__.ML.isInline(editor,n),mode:"highest"});if(inline){var[,inlinePath]=inline;if(slate__WEBPACK_IMPORTED_MODULE_6__.ML.isEnd(editor,selection.anchor,inlinePath)){var point=slate__WEBPACK_IMPORTED_MODULE_6__.ML.after(editor,inlinePath);slate__WEBPACK_IMPORTED_MODULE_6__.YR.setSelection(editor,{anchor:point,focus:point})}}marks&&(state.hasInsertPrefixInCompositon=!0,slate__WEBPACK_IMPORTED_MODULE_6__.YR.insertNodes(editor,_objectSpread$1({text:"\ufeff"},marks),{select:!0}))}}}),[attributes.onCompositionStart]),onCopy:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCopy)&&(event.preventDefault(),ReactEditor.setFragmentData(editor,event.clipboardData,"copy"))}),[attributes.onCopy]),onCut:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onCut)){event.preventDefault(),ReactEditor.setFragmentData(editor,event.clipboardData,"cut");var{selection}=editor;if(selection)if(slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection))slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor);else{var node=slate__WEBPACK_IMPORTED_MODULE_6__.NB.parent(editor,selection.anchor.path);slate__WEBPACK_IMPORTED_MODULE_6__.ML.isVoid(editor,node)&&slate__WEBPACK_IMPORTED_MODULE_6__.YR.delete(editor)}}}),[readOnly,attributes.onCut]),onDragOver:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(hasTarget(editor,event.target)&&!isEventHandled(event,attributes.onDragOver)){var node=ReactEditor.toSlateNode(editor,event.target);slate__WEBPACK_IMPORTED_MODULE_6__.ML.isVoid(editor,node)&&event.preventDefault()}}),[attributes.onDragOver]),onDragStart:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&hasTarget(editor,event.target)&&!isEventHandled(event,attributes.onDragStart)){var node=ReactEditor.toSlateNode(editor,event.target),path=ReactEditor.findPath(editor,node);if(slate__WEBPACK_IMPORTED_MODULE_6__.ML.isVoid(editor,node)||slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(editor,{at:path,voids:!0})){var range=slate__WEBPACK_IMPORTED_MODULE_6__.ML.range(editor,path);slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,range)}state.isDraggingInternally=!0,ReactEditor.setFragmentData(editor,event.dataTransfer,"drag")}}),[readOnly,attributes.onDragStart]),onDrop:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&hasTarget(editor,event.target)&&!isEventHandled(event,attributes.onDrop)){event.preventDefault();var draggedRange=editor.selection,range=ReactEditor.findEventRange(editor,event),data=event.dataTransfer;slate__WEBPACK_IMPORTED_MODULE_6__.YR.select(editor,range),state.isDraggingInternally&&(!draggedRange||slate__WEBPACK_IMPORTED_MODULE_6__.e6.equals(draggedRange,range)||slate__WEBPACK_IMPORTED_MODULE_6__.ML.void(editor,{at:range,voids:!0})||slate__WEBPACK_IMPORTED_MODULE_6__.YR.delete(editor,{at:draggedRange})),ReactEditor.insertData(editor,data),ReactEditor.isFocused(editor)||ReactEditor.focus(editor)}state.isDraggingInternally=!1}),[readOnly,attributes.onDrop]),onDragEnd:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{!readOnly&&state.isDraggingInternally&&attributes.onDragEnd&&hasTarget(editor,event.target)&&attributes.onDragEnd(event),state.isDraggingInternally=!1}),[readOnly,attributes.onDragEnd]),onFocus:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&!state.isUpdatingSelection&&hasEditableTarget(editor,event.target)&&!isEventHandled(event,attributes.onFocus)){var el=ReactEditor.toDOMNode(editor,editor),root=ReactEditor.findDocumentOrShadowRoot(editor);if(state.latestElement=root.activeElement,IS_FIREFOX&&event.target!==el)return void el.focus();IS_FOCUSED.set(editor,!0)}}),[readOnly,attributes.onFocus]),onKeyDown:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{if(!readOnly&&hasEditableTarget(editor,event.target)){var{nativeEvent}=event;if(ReactEditor.isComposing(editor)&&!1===nativeEvent.isComposing&&(IS_COMPOSING.set(editor,!1),setIsComposing(!1)),isEventHandled(event,attributes.onKeyDown)||ReactEditor.isComposing(editor))return;var{selection}=editor,element=editor.children[null!==selection?selection.focus.path[0]:0],isRTL="rtl"===direction__WEBPACK_IMPORTED_MODULE_1___default()(slate__WEBPACK_IMPORTED_MODULE_6__.NB.string(element));if(Hotkeys.isRedo(nativeEvent)){event.preventDefault();var maybeHistoryEditor=editor;return void("function"==typeof maybeHistoryEditor.redo&&maybeHistoryEditor.redo())}if(Hotkeys.isUndo(nativeEvent)){event.preventDefault();var _maybeHistoryEditor=editor;return void("function"==typeof _maybeHistoryEditor.undo&&_maybeHistoryEditor.undo())}if(Hotkeys.isMoveLineBackward(nativeEvent))return event.preventDefault(),void slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(editor,{unit:"line",reverse:!0});if(Hotkeys.isMoveLineForward(nativeEvent))return event.preventDefault(),void slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(editor,{unit:"line"});if(Hotkeys.isExtendLineBackward(nativeEvent))return event.preventDefault(),void slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(editor,{unit:"line",edge:"focus",reverse:!0});if(Hotkeys.isExtendLineForward(nativeEvent))return event.preventDefault(),void slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(editor,{unit:"line",edge:"focus"});if(Hotkeys.isMoveBackward(nativeEvent))return event.preventDefault(),void(selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(selection)?slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(editor,{reverse:!isRTL}):slate__WEBPACK_IMPORTED_MODULE_6__.YR.collapse(editor,{edge:"start"}));if(Hotkeys.isMoveForward(nativeEvent))return event.preventDefault(),void(selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(selection)?slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(editor,{reverse:isRTL}):slate__WEBPACK_IMPORTED_MODULE_6__.YR.collapse(editor,{edge:"end"}));if(Hotkeys.isMoveWordBackward(nativeEvent))return event.preventDefault(),selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)&&slate__WEBPACK_IMPORTED_MODULE_6__.YR.collapse(editor,{edge:"focus"}),void slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(editor,{unit:"word",reverse:!isRTL});if(Hotkeys.isMoveWordForward(nativeEvent))return event.preventDefault(),selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)&&slate__WEBPACK_IMPORTED_MODULE_6__.YR.collapse(editor,{edge:"focus"}),void slate__WEBPACK_IMPORTED_MODULE_6__.YR.move(editor,{unit:"word",reverse:isRTL});if(HAS_BEFORE_INPUT_SUPPORT){if((IS_CHROME||IS_SAFARI)&&selection&&(Hotkeys.isDeleteBackward(nativeEvent)||Hotkeys.isDeleteForward(nativeEvent))&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isCollapsed(selection)){var currentNode=slate__WEBPACK_IMPORTED_MODULE_6__.NB.parent(editor,selection.anchor.path);if(slate__WEBPACK_IMPORTED_MODULE_6__.W_.isElement(currentNode)&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.isVoid(editor,currentNode)&&slate__WEBPACK_IMPORTED_MODULE_6__.ML.isInline(editor,currentNode))return event.preventDefault(),void slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor,{unit:"block"})}}else{if(Hotkeys.isBold(nativeEvent)||Hotkeys.isItalic(nativeEvent)||Hotkeys.isTransposeCharacter(nativeEvent))return void event.preventDefault();if(Hotkeys.isSoftBreak(nativeEvent))return event.preventDefault(),void slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertSoftBreak(editor);if(Hotkeys.isSplitBlock(nativeEvent))return event.preventDefault(),void slate__WEBPACK_IMPORTED_MODULE_6__.ML.insertBreak(editor);if(Hotkeys.isDeleteBackward(nativeEvent))return event.preventDefault(),void(selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)?slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor,{direction:"backward"}):slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor));if(Hotkeys.isDeleteForward(nativeEvent))return event.preventDefault(),void(selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)?slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor,{direction:"forward"}):slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteForward(editor));if(Hotkeys.isDeleteLineBackward(nativeEvent))return event.preventDefault(),void(selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)?slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor,{direction:"backward"}):slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor,{unit:"line"}));if(Hotkeys.isDeleteLineForward(nativeEvent))return event.preventDefault(),void(selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)?slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor,{direction:"forward"}):slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteForward(editor,{unit:"line"}));if(Hotkeys.isDeleteWordBackward(nativeEvent))return event.preventDefault(),void(selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)?slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor,{direction:"backward"}):slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteBackward(editor,{unit:"word"}));if(Hotkeys.isDeleteWordForward(nativeEvent))return event.preventDefault(),void(selection&&slate__WEBPACK_IMPORTED_MODULE_6__.e6.isExpanded(selection)?slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteFragment(editor,{direction:"forward"}):slate__WEBPACK_IMPORTED_MODULE_6__.ML.deleteForward(editor,{unit:"word"}))}}}),[readOnly,attributes.onKeyDown]),onPaste:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event=>{readOnly||!hasEditableTarget(editor,event.target)||isEventHandled(event,attributes.onPaste)||HAS_BEFORE_INPUT_SUPPORT&&!(event=>event.clipboardData&&""!==event.clipboardData.getData("text/plain")&&1===event.clipboardData.types.length)(event.nativeEvent)||(event.preventDefault(),ReactEditor.insertData(editor,event.clipboardData))}),[readOnly,attributes.onPaste])}),react__WEBPACK_IMPORTED_MODULE_0__.createElement(Children,{decorations,node:editor,renderElement,renderPlaceholder,renderLeaf,selection:editor.selection}))))}},"./node_modules/slate/dist/index.es.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function isObject(o){return"[object Object]"===Object.prototype.toString.call(o)}function isPlainObject(o){var ctor,prot;return!1!==isObject(o)&&(void 0===(ctor=o.constructor)||!1!==isObject(prot=ctor.prototype)&&!1!==prot.hasOwnProperty("isPrototypeOf"))}function n(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];throw Error("[Immer] minified error nr: "+n+(t.length?" "+t.map((function(n){return"'"+n+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(n){return!!n&&!!n[Q]}function t(n){return!!n&&(function(n){if(!n||"object"!=typeof n)return!1;var r=Object.getPrototypeOf(n);if(null===r)return!0;var t=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return t===Object||"function"==typeof t&&Function.toString.call(t)===Z}(n)||Array.isArray(n)||!!n[L]||!!n.constructor[L]||s(n)||v(n))}function i(n,r,t){void 0===t&&(t=!1),0===o(n)?(t?Object.keys:nn)(n).forEach((function(e){t&&"symbol"==typeof e||r(e,n[e],n)})):n.forEach((function(t,e){return r(e,t,n)}))}function o(n){var r=n[Q];return r?r.i>3?r.i-4:r.i:Array.isArray(n)?1:s(n)?2:v(n)?3:0}function u(n,r){return 2===o(n)?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function a(n,r){return 2===o(n)?n.get(r):n[r]}function f(n,r,t){var e=o(n);2===e?n.set(r,t):3===e?(n.delete(r),n.add(t)):n[r]=t}function c(n,r){return n===r?0!==n||1/n==1/r:n!=n&&r!=r}function s(n){return X&&n instanceof Map}function v(n){return q&&n instanceof Set}function p(n){return n.o||n.t}function l(n){if(Array.isArray(n))return Array.prototype.slice.call(n);var r=rn(n);delete r[Q];for(var t=nn(r),e=0;e<t.length;e++){var i=t[e],o=r[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:n[i]})}return Object.create(Object.getPrototypeOf(n),r)}function d(n,e){return void 0===e&&(e=!1),y(n)||r(n)||!t(n)||(o(n)>1&&(n.set=n.add=n.clear=n.delete=h),Object.freeze(n),e&&i(n,(function(n,r){return d(r,!0)}),!0)),n}function h(){n(2)}function y(n){return null==n||"object"!=typeof n||Object.isFrozen(n)}function b(r){var t=tn[r];return t||n(18,r),t}function _(){return U}function j(n,r){r&&(b("Patches"),n.u=[],n.s=[],n.v=r)}function O(n){g(n),n.p.forEach(S),n.p=null}function g(n){n===U&&(U=n.l)}function w(n){return U={p:[],l:U,h:n,m:!0,_:0}}function S(n){var r=n[Q];0===r.i||1===r.i?r.j():r.O=!0}function P(r,e){e._=e.p.length;var i=e.p[0],o=void 0!==r&&r!==i;return e.h.g||b("ES5").S(e,r,o),o?(i[Q].P&&(O(e),n(4)),t(r)&&(r=M(e,r),e.l||x(e,r)),e.u&&b("Patches").M(i[Q].t,r,e.u,e.s)):r=M(e,i,[]),O(e),e.u&&e.v(e.u,e.s),r!==H?r:void 0}function M(n,r,t){if(y(r))return r;var e=r[Q];if(!e)return i(r,(function(i,o){return A(n,e,r,i,o,t)}),!0),r;if(e.A!==n)return r;if(!e.P)return x(n,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var o=4===e.i||5===e.i?e.o=l(e.k):e.o;i(3===e.i?new Set(o):o,(function(r,i){return A(n,e,o,r,i,t)})),x(n,o,!1),t&&n.u&&b("Patches").R(e,t,n.u,n.s)}return e.o}function A(e,i,o,a,c,s){if(r(c)){var v=M(e,c,s&&i&&3!==i.i&&!u(i.D,a)?s.concat(a):void 0);if(f(o,a,v),!r(v))return;e.m=!1}if(t(c)&&!y(c)){if(!e.h.F&&e._<1)return;M(e,c),i&&i.A.l||x(e,c)}}function x(n,r,t){void 0===t&&(t=!1),n.h.F&&n.m&&d(r,t)}function z(n,r){var t=n[Q];return(t?p(t):n)[r]}function I(n,r){if(r in n)for(var t=Object.getPrototypeOf(n);t;){var e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}}function k(n){n.P||(n.P=!0,n.l&&k(n.l))}function E(n){n.o||(n.o=l(n.t))}function R(n,r,t){var e=s(r)?b("MapSet").N(r,t):v(r)?b("MapSet").T(r,t):n.g?function(n,r){var t=Array.isArray(n),e={i:t?1:0,A:r?r.A:_(),P:!1,I:!1,D:{},l:r,t:n,k:null,o:null,j:null,C:!1},i=e,o=en;t&&(i=[e],o=on);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(r,t):b("ES5").J(r,t);return(t?t.A:_()).p.push(e),e}function D(e){return r(e)||n(22,e),function n(r){if(!t(r))return r;var e,u=r[Q],c=o(r);if(u){if(!u.P&&(u.i<4||!b("ES5").K(u)))return u.t;u.I=!0,e=F(r,c),u.I=!1}else e=F(r,c);return i(e,(function(r,t){u&&a(u.t,r)===t||f(e,r,n(t))})),3===c?new Set(e):e}(e)}function F(n,r){switch(r){case 2:return new Map(n);case 3:return Array.from(n)}return l(n)}__webpack_require__.d(__webpack_exports__,{ML:()=>Editor,W_:()=>Element,NB:()=>Node,y$:()=>Path,e6:()=>Range,xv:()=>Text,YR:()=>Transforms,Jh:()=>createEditor});var G,U,W="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),X="undefined"!=typeof Map,q="undefined"!=typeof Set,B="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=W?Symbol.for("immer-nothing"):((G={})["immer-nothing"]=!0,G),L=W?Symbol.for("immer-draftable"):"__$immer_draftable",Q=W?Symbol.for("immer-state"):"__$immer_state",Z=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),nn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames,rn=Object.getOwnPropertyDescriptors||function(n){var r={};return nn(n).forEach((function(t){r[t]=Object.getOwnPropertyDescriptor(n,t)})),r},tn={},en={get:function(n,r){if(r===Q)return n;var e=p(n);if(!u(e,r))return function(n,r,t){var e,i=I(r,t);return i?"value"in i?i.value:null===(e=i.get)||void 0===e?void 0:e.call(n.k):void 0}(n,e,r);var i=e[r];return n.I||!t(i)?i:i===z(n.t,r)?(E(n),n.o[r]=R(n.A.h,i,n)):i},has:function(n,r){return r in p(n)},ownKeys:function(n){return Reflect.ownKeys(p(n))},set:function(n,r,t){var e=I(p(n),r);if(null==e?void 0:e.set)return e.set.call(n.k,t),!0;if(!n.P){var i=z(p(n),r),o=null==i?void 0:i[Q];if(o&&o.t===t)return n.o[r]=t,n.D[r]=!1,!0;if(c(t,i)&&(void 0!==t||u(n.t,r)))return!0;E(n),k(n)}return n.o[r]===t&&"number"!=typeof t&&(void 0!==t||r in n.o)||(n.o[r]=t,n.D[r]=!0,!0)},deleteProperty:function(n,r){return void 0!==z(n.t,r)||r in n.t?(n.D[r]=!1,E(n),k(n)):delete n.D[r],n.o&&delete n.o[r],!0},getOwnPropertyDescriptor:function(n,r){var t=p(n),e=Reflect.getOwnPropertyDescriptor(t,r);return e?{writable:!0,configurable:1!==n.i||"length"!==r,enumerable:e.enumerable,value:t[r]}:e},defineProperty:function(){n(11)},getPrototypeOf:function(n){return Object.getPrototypeOf(n.t)},setPrototypeOf:function(){n(12)}},on={};i(en,(function(n,r){on[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}})),on.deleteProperty=function(r,t){return on.set.call(this,r,t,void 0)},on.set=function(r,t,e){return en.set.call(this,r[0],t,e,r[0])};var un=function(){function e(r){var e=this;this.g=B,this.F=!0,this.produce=function(r,i,o){if("function"==typeof r&&"function"!=typeof i){var u=i;i=r;var a=e;return function(n){var r=this;void 0===n&&(n=u);for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return a.produce(n,(function(n){var t;return(t=i).call.apply(t,[r,n].concat(e))}))}}var f;if("function"!=typeof i&&n(6),void 0!==o&&"function"!=typeof o&&n(7),t(r)){var c=w(e),s=R(e,r,void 0),v=!0;try{f=i(s),v=!1}finally{v?O(c):g(c)}return"undefined"!=typeof Promise&&f instanceof Promise?f.then((function(n){return j(c,o),P(n,c)}),(function(n){throw O(c),n})):(j(c,o),P(f,c))}if(!r||"object"!=typeof r){if(void 0===(f=i(r))&&(f=r),f===H&&(f=void 0),e.F&&d(f,!0),o){var p=[],l=[];b("Patches").M(r,f,p,l),o(p,l)}return f}n(21,r)},this.produceWithPatches=function(n,r){if("function"==typeof n)return function(r){for(var t=arguments.length,i=Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return e.produceWithPatches(r,(function(r){return n.apply(void 0,[r].concat(i))}))};var t,i,o=e.produce(n,r,(function(n,r){t=n,i=r}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(n){return[n,t,i]})):[o,t,i]},"boolean"==typeof(null==r?void 0:r.useProxies)&&this.setUseProxies(r.useProxies),"boolean"==typeof(null==r?void 0:r.autoFreeze)&&this.setAutoFreeze(r.autoFreeze)}var i=e.prototype;return i.createDraft=function(e){t(e)||n(8),r(e)&&(e=D(e));var i=w(this),o=R(this,e,void 0);return o[Q].C=!0,g(i),o},i.finishDraft=function(r,t){var i=(r&&r[Q]).A;return j(i,t),P(void 0,i)},i.setAutoFreeze=function(n){this.F=n},i.setUseProxies=function(r){r&&!B&&n(20),this.g=r},i.applyPatches=function(n,t){var e;for(e=t.length-1;e>=0;e--){var i=t[e];if(0===i.path.length&&"replace"===i.op){n=i.value;break}}e>-1&&(t=t.slice(e+1));var o=b("Patches").$;return r(n)?o(n,t):this.produce(n,(function(n){return o(n,t)}))},e}(),an=new un,fn=an.produce,ln=(an.produceWithPatches.bind(an),an.setAutoFreeze.bind(an),an.setUseProxies.bind(an),an.applyPatches.bind(an),an.createDraft.bind(an)),dn=an.finishDraft.bind(an);function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var DIRTY_PATHS=new WeakMap,DIRTY_PATH_KEYS=new WeakMap,FLUSHING=new WeakMap,NORMALIZING=new WeakMap,PATH_REFS=new WeakMap,POINT_REFS=new WeakMap,RANGE_REFS=new WeakMap;function ownKeys$9(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$9(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$9(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$9(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var createEditor=()=>{var editor={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:op=>{for(var ref of Editor.pathRefs(editor))PathRef.transform(ref,op);for(var _ref of Editor.pointRefs(editor))PointRef.transform(_ref,op);for(var _ref2 of Editor.rangeRefs(editor))RangeRef.transform(_ref2,op);var dirtyPaths,dirtyPathKeys,oldDirtyPaths=DIRTY_PATHS.get(editor)||[],oldDirtyPathKeys=DIRTY_PATH_KEYS.get(editor)||new Set,add=path=>{if(path){var key=path.join(",");dirtyPathKeys.has(key)||(dirtyPathKeys.add(key),dirtyPaths.push(path))}};if(Path.operationCanTransformPath(op))for(var path of(dirtyPaths=[],dirtyPathKeys=new Set,oldDirtyPaths)){add(Path.transform(path,op))}else dirtyPaths=oldDirtyPaths,dirtyPathKeys=oldDirtyPathKeys;var newDirtyPaths=getDirtyPaths(op);for(var _path of newDirtyPaths)add(_path);DIRTY_PATHS.set(editor,dirtyPaths),DIRTY_PATH_KEYS.set(editor,dirtyPathKeys),Transforms.transform(editor,op),editor.operations.push(op),Editor.normalize(editor),"set_selection"===op.type&&(editor.marks=null),FLUSHING.get(editor)||(FLUSHING.set(editor,!0),Promise.resolve().then((()=>{FLUSHING.set(editor,!1),editor.onChange(),editor.operations=[]})))},addMark:(key,value)=>{var{selection}=editor;if(selection)if(Range.isExpanded(selection))Transforms.setNodes(editor,{[key]:value},{match:Text.isText,split:!0});else{var marks=_objectSpread$9(_objectSpread$9({},Editor.marks(editor)||{}),{},{[key]:value});editor.marks=marks,FLUSHING.get(editor)||editor.onChange()}},deleteBackward:unit=>{var{selection}=editor;selection&&Range.isCollapsed(selection)&&Transforms.delete(editor,{unit,reverse:!0})},deleteForward:unit=>{var{selection}=editor;selection&&Range.isCollapsed(selection)&&Transforms.delete(editor,{unit})},deleteFragment:direction=>{var{selection}=editor;selection&&Range.isExpanded(selection)&&Transforms.delete(editor,{reverse:"backward"===direction})},getFragment:()=>{var{selection}=editor;return selection?Node.fragment(editor,selection):[]},insertBreak:()=>{Transforms.splitNodes(editor,{always:!0})},insertSoftBreak:()=>{Transforms.splitNodes(editor,{always:!0})},insertFragment:fragment=>{Transforms.insertFragment(editor,fragment)},insertNode:node=>{Transforms.insertNodes(editor,node)},insertText:text=>{var{selection,marks}=editor;if(selection){if(marks){var node=_objectSpread$9({text},marks);Transforms.insertNodes(editor,node)}else Transforms.insertText(editor,text);editor.marks=null}},normalizeNode:entry=>{var[node,path]=entry;if(!Text.isText(node))if(Element.isElement(node)&&0===node.children.length){Transforms.insertNodes(editor,{text:""},{at:path.concat(0),voids:!0})}else for(var shouldHaveInlines=!Editor.isEditor(node)&&(Element.isElement(node)&&(editor.isInline(node)||0===node.children.length||Text.isText(node.children[0])||editor.isInline(node.children[0]))),n=0,i=0;i<node.children.length;i++,n++){var currentNode=Node.get(editor,path);if(!Text.isText(currentNode)){var _child=node.children[i],prev=currentNode.children[n-1],isLast=i===node.children.length-1;if((Text.isText(_child)||Element.isElement(_child)&&editor.isInline(_child))!==shouldHaveInlines)Transforms.removeNodes(editor,{at:path.concat(n),voids:!0}),n--;else if(Element.isElement(_child)){if(editor.isInline(_child))if(null!=prev&&Text.isText(prev)){if(isLast){Transforms.insertNodes(editor,{text:""},{at:path.concat(n+1),voids:!0}),n++}}else{Transforms.insertNodes(editor,{text:""},{at:path.concat(n),voids:!0}),n++}}else null!=prev&&Text.isText(prev)&&(Text.equals(_child,prev,{loose:!0})?(Transforms.mergeNodes(editor,{at:path.concat(n),voids:!0}),n--):""===prev.text?(Transforms.removeNodes(editor,{at:path.concat(n-1),voids:!0}),n--):""===_child.text&&(Transforms.removeNodes(editor,{at:path.concat(n),voids:!0}),n--))}}},removeMark:key=>{var{selection}=editor;if(selection)if(Range.isExpanded(selection))Transforms.unsetNodes(editor,key,{match:Text.isText,split:!0});else{var marks=_objectSpread$9({},Editor.marks(editor)||{});delete marks[key],editor.marks=marks,FLUSHING.get(editor)||editor.onChange()}}};return editor},getDirtyPaths=op=>{switch(op.type){case"insert_text":case"remove_text":case"set_node":var{path}=op;return Path.levels(path);case"insert_node":var{node,path:_path2}=op,levels=Path.levels(_path2),descendants=Text.isText(node)?[]:Array.from(Node.nodes(node),(_ref3=>{var[,p]=_ref3;return _path2.concat(p)}));return[...levels,...descendants];case"merge_node":var{path:_path3}=op;return[...Path.ancestors(_path3),Path.previous(_path3)];case"move_node":var{path:_path4,newPath}=op;if(Path.equals(_path4,newPath))return[];var oldAncestors=[],newAncestors=[];for(var ancestor of Path.ancestors(_path4)){var p=Path.transform(ancestor,op);oldAncestors.push(p)}for(var _ancestor of Path.ancestors(newPath)){var _p=Path.transform(_ancestor,op);newAncestors.push(_p)}var newParent=newAncestors[newAncestors.length-1],newIndex=newPath[newPath.length-1],resultPath=newParent.concat(newIndex);return[...oldAncestors,...newAncestors,resultPath];case"remove_node":var{path:_path5}=op;return[...Path.ancestors(_path5)];case"split_node":var{path:_path6}=op;return[...Path.levels(_path6),Path.next(_path6)];default:return[]}};function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var CodepointType,getCharacterDistance=function getCharacterDistance(str){var isRTL=arguments.length>1&&void 0!==arguments[1]&&arguments[1],isLTR=!isRTL,codepoints=isRTL?codepointsIteratorRTL(str):str,left=CodepointType.None,right=CodepointType.None,distance=0,gb12Or13=null;for(var char of codepoints){var code=char.codePointAt(0);if(!code)break;var type=getCodepointType(char,code);if([left,right]=isLTR?[right,type]:[type,left],intersects(left,CodepointType.ZWJ)&&intersects(right,CodepointType.ExtPict)&&!endsWithEmojiZWJ(isLTR?str.substring(0,distance):str.substring(0,str.length-distance)))break;if(intersects(left,CodepointType.RI)&&intersects(right,CodepointType.RI)&&!(gb12Or13=null!==gb12Or13?!gb12Or13:!!isLTR||endsWithOddNumberOfRIs(str.substring(0,str.length-distance))))break;if(left!==CodepointType.None&&right!==CodepointType.None&&isBoundaryPair(left,right))break;distance+=char.length}return distance||1},SPACE=/\s/,PUNCTUATION=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,CHAMELEON=/['\u2018\u2019]/,splitByCharacterDistance=(str,dist,isRTL)=>{if(isRTL){var at=str.length-dist;return[str.slice(at,str.length),str.slice(0,at)]}return[str.slice(0,dist),str.slice(dist)]},isWordCharacter=function isWordCharacter(char,remaining){var isRTL=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(SPACE.test(char))return!1;if(CHAMELEON.test(char)){var charDist=getCharacterDistance(remaining,isRTL),[nextChar,nextRemaining]=splitByCharacterDistance(remaining,charDist,isRTL);if(isWordCharacter(nextChar,nextRemaining,isRTL))return!0}return!PUNCTUATION.test(char)},codepointsIteratorRTL=function*codepointsIteratorRTL(str){for(var end=str.length-1,i=0;i<str.length;i++){var char1=str.charAt(end-i);if(isLowSurrogate(char1.charCodeAt(0))){var char2=str.charAt(end-i-1);if(isHighSurrogate(char2.charCodeAt(0))){yield char2+char1,i++;continue}}yield char1}},isHighSurrogate=charCode=>charCode>=55296&&charCode<=56319,isLowSurrogate=charCode=>charCode>=56320&&charCode<=57343;!function(CodepointType){CodepointType[CodepointType.None=0]="None",CodepointType[CodepointType.Extend=1]="Extend",CodepointType[CodepointType.ZWJ=2]="ZWJ",CodepointType[CodepointType.RI=4]="RI",CodepointType[CodepointType.Prepend=8]="Prepend",CodepointType[CodepointType.SpacingMark=16]="SpacingMark",CodepointType[CodepointType.L=32]="L",CodepointType[CodepointType.V=64]="V",CodepointType[CodepointType.T=128]="T",CodepointType[CodepointType.LV=256]="LV",CodepointType[CodepointType.LVT=512]="LVT",CodepointType[CodepointType.ExtPict=1024]="ExtPict",CodepointType[CodepointType.Any=2048]="Any"}(CodepointType||(CodepointType={}));var reExtend=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,rePrepend=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,reSpacingMark=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,reL=/^[\u1100-\u115F\uA960-\uA97C]$/,reV=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,reT=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,reLV=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,reLVT=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,reExtPict=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,getCodepointType=(char,code)=>{var type=CodepointType.Any;return-1!==char.search(reExtend)&&(type|=CodepointType.Extend),8205===code&&(type|=CodepointType.ZWJ),code>=127462&&code<=127487&&(type|=CodepointType.RI),-1!==char.search(rePrepend)&&(type|=CodepointType.Prepend),-1!==char.search(reSpacingMark)&&(type|=CodepointType.SpacingMark),-1!==char.search(reL)&&(type|=CodepointType.L),-1!==char.search(reV)&&(type|=CodepointType.V),-1!==char.search(reT)&&(type|=CodepointType.T),-1!==char.search(reLV)&&(type|=CodepointType.LV),-1!==char.search(reLVT)&&(type|=CodepointType.LVT),-1!==char.search(reExtPict)&&(type|=CodepointType.ExtPict),type};function intersects(x,y){return 0!=(x&y)}var NonBoundaryPairs=[[CodepointType.L,CodepointType.L|CodepointType.V|CodepointType.LV|CodepointType.LVT],[CodepointType.LV|CodepointType.V,CodepointType.V|CodepointType.T],[CodepointType.LVT|CodepointType.T,CodepointType.T],[CodepointType.Any,CodepointType.Extend|CodepointType.ZWJ],[CodepointType.Any,CodepointType.SpacingMark],[CodepointType.Prepend,CodepointType.Any],[CodepointType.ZWJ,CodepointType.ExtPict],[CodepointType.RI,CodepointType.RI]];function isBoundaryPair(left,right){return-1===NonBoundaryPairs.findIndex((r=>intersects(left,r[0])&&intersects(right,r[1])))}var endingEmojiZWJ=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,endsWithEmojiZWJ=str=>-1!==str.search(endingEmojiZWJ),endingRIs=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,endsWithOddNumberOfRIs=str=>{var match=str.match(endingRIs);return null!==match&&match[0].length/2%2==1},isElement=value=>isPlainObject(value)&&Node.isNodeList(value.children)&&!Editor.isEditor(value),Element={isAncestor:value=>isPlainObject(value)&&Node.isNodeList(value.children),isElement,isElementList:value=>Array.isArray(value)&&value.every((val=>Element.isElement(val))),isElementProps:props=>void 0!==props.children,isElementType:function isElementType(value,elementVal){var elementKey=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return isElement(value)&&value[elementKey]===elementVal},matches(element,props){for(var key in props)if("children"!==key&&element[key]!==props[key])return!1;return!0}},_excluded$4=["text"],_excluded2$3=["text"];function ownKeys$8(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$8(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$8(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$8(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var IS_EDITOR_CACHE=new WeakMap,Editor={above(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids=!1,mode="lowest",at=editor.selection,match}=options;if(at){var path=Editor.path(editor,at),reverse="lowest"===mode;for(var[n,p]of Editor.levels(editor,{at:path,voids,match,reverse}))if(!Text.isText(n)&&!Path.equals(path,p))return[n,p]}},addMark(editor,key,value){editor.addMark(key,value)},after(editor,at){var target,options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},range={anchor:Editor.point(editor,at,{edge:"end"}),focus:Editor.end(editor,[])},{distance=1}=options,d=0;for(var p of Editor.positions(editor,_objectSpread$8(_objectSpread$8({},options),{},{at:range}))){if(d>distance)break;0!==d&&(target=p),d++}return target},before(editor,at){var target,options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},range={anchor:Editor.start(editor,[]),focus:Editor.point(editor,at,{edge:"start"})},{distance=1}=options,d=0;for(var p of Editor.positions(editor,_objectSpread$8(_objectSpread$8({},options),{},{at:range,reverse:!0}))){if(d>distance)break;0!==d&&(target=p),d++}return target},deleteBackward(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit="character"}=options;editor.deleteBackward(unit)},deleteForward(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit="character"}=options;editor.deleteForward(unit)},deleteFragment(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction="forward"}=options;editor.deleteFragment(direction)},edges:(editor,at)=>[Editor.start(editor,at),Editor.end(editor,at)],end:(editor,at)=>Editor.point(editor,at,{edge:"end"}),first(editor,at){var path=Editor.path(editor,at,{edge:"start"});return Editor.node(editor,path)},fragment(editor,at){var range=Editor.range(editor,at);return Node.fragment(editor,range)},hasBlocks:(editor,element)=>element.children.some((n=>Editor.isBlock(editor,n))),hasInlines:(editor,element)=>element.children.some((n=>Text.isText(n)||Editor.isInline(editor,n))),hasTexts:(editor,element)=>element.children.every((n=>Text.isText(n))),insertBreak(editor){editor.insertBreak()},insertSoftBreak(editor){editor.insertSoftBreak()},insertFragment(editor,fragment){editor.insertFragment(fragment)},insertNode(editor,node){editor.insertNode(node)},insertText(editor,text){editor.insertText(text)},isBlock:(editor,value)=>Element.isElement(value)&&!editor.isInline(value),isEditor(value){if(!isPlainObject(value))return!1;var cachedIsEditor=IS_EDITOR_CACHE.get(value);if(void 0!==cachedIsEditor)return cachedIsEditor;var isEditor="function"==typeof value.addMark&&"function"==typeof value.apply&&"function"==typeof value.deleteBackward&&"function"==typeof value.deleteForward&&"function"==typeof value.deleteFragment&&"function"==typeof value.insertBreak&&"function"==typeof value.insertSoftBreak&&"function"==typeof value.insertFragment&&"function"==typeof value.insertNode&&"function"==typeof value.insertText&&"function"==typeof value.isInline&&"function"==typeof value.isVoid&&"function"==typeof value.normalizeNode&&"function"==typeof value.onChange&&"function"==typeof value.removeMark&&(null===value.marks||isPlainObject(value.marks))&&(null===value.selection||Range.isRange(value.selection))&&Node.isNodeList(value.children)&&Operation.isOperationList(value.operations);return IS_EDITOR_CACHE.set(value,isEditor),isEditor},isEnd(editor,point,at){var end=Editor.end(editor,at);return Point.equals(point,end)},isEdge:(editor,point,at)=>Editor.isStart(editor,point,at)||Editor.isEnd(editor,point,at),isEmpty(editor,element){var{children}=element,[first]=children;return 0===children.length||1===children.length&&Text.isText(first)&&""===first.text&&!editor.isVoid(element)},isInline:(editor,value)=>Element.isElement(value)&&editor.isInline(value),isNormalizing(editor){var isNormalizing=NORMALIZING.get(editor);return void 0===isNormalizing||isNormalizing},isStart(editor,point,at){if(0!==point.offset)return!1;var start=Editor.start(editor,at);return Point.equals(point,start)},isVoid:(editor,value)=>Element.isElement(value)&&editor.isVoid(value),last(editor,at){var path=Editor.path(editor,at,{edge:"end"});return Editor.node(editor,path)},leaf(editor,at){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},path=Editor.path(editor,at,options);return[Node.leaf(editor,path),path]},*levels(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at=editor.selection,reverse=!1,voids=!1}=options,{match}=options;if(null==match&&(match=()=>!0),at){var levels=[],path=Editor.path(editor,at);for(var[n,p]of Node.levels(editor,path))if(match(n,p)&&(levels.push([n,p]),!voids&&Editor.isVoid(editor,n)))break;reverse&&levels.reverse(),yield*levels}},marks(editor){var{marks,selection}=editor;if(!selection)return null;if(marks)return marks;if(Range.isExpanded(selection)){var[match]=Editor.nodes(editor,{match:Text.isText});if(match){var[_node]=match;return _objectWithoutProperties(_node,_excluded$4)}return{}}var{anchor}=selection,{path}=anchor,[node]=Editor.leaf(editor,path);if(0===anchor.offset){var prev=Editor.previous(editor,{at:path,match:Text.isText}),block=Editor.above(editor,{match:n=>Editor.isBlock(editor,n)});if(prev&&block){var[prevNode,prevPath]=prev,[,blockPath]=block;Path.isAncestor(blockPath,prevPath)&&(node=prevNode)}}return _objectWithoutProperties(node,_excluded2$3)},next(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode="lowest",voids=!1}=options,{match,at=editor.selection}=options;if(at){var pointAfterLocation=Editor.after(editor,at,{voids});if(pointAfterLocation){var[,to]=Editor.last(editor,[]),span=[pointAfterLocation.path,to];if(Path.isPath(at)&&0===at.length)throw new Error("Cannot get the next node from the root node!");if(null==match)if(Path.isPath(at)){var[parent]=Editor.parent(editor,at);match=n=>parent.children.includes(n)}else match=()=>!0;var[next]=Editor.nodes(editor,{at:span,match,mode,voids});return next}}},node(editor,at){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},path=Editor.path(editor,at,options);return[Node.get(editor,path),path]},*nodes(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at=editor.selection,mode="all",universal=!1,reverse=!1,voids=!1}=options,{match}=options;if(match||(match=()=>!0),at){var from,to;if(Span.isSpan(at))from=at[0],to=at[1];else{var first=Editor.path(editor,at,{edge:"start"}),last=Editor.path(editor,at,{edge:"end"});from=reverse?last:first,to=reverse?first:last}var hit,nodeEntries=Node.nodes(editor,{reverse,from,to,pass:_ref=>{var[n]=_ref;return!voids&&Editor.isVoid(editor,n)}}),matches=[];for(var[node,path]of nodeEntries){var isLower=hit&&0===Path.compare(path,hit[1]);if("highest"!==mode||!isLower)if(match(node,path))if("lowest"===mode&&isLower)hit=[node,path];else{var emit="lowest"===mode?hit:[node,path];emit&&(universal?matches.push(emit):yield emit),hit=[node,path]}else if(universal&&!isLower&&Text.isText(node))return}"lowest"===mode&&hit&&(universal?matches.push(hit):yield hit),universal&&(yield*matches)}},normalize(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force=!1}=options,getDirtyPaths=editor=>DIRTY_PATHS.get(editor)||[],popDirtyPath=editor=>{var path=getDirtyPaths(editor).pop(),key=path.join(",");return(editor=>DIRTY_PATH_KEYS.get(editor)||new Set)(editor).delete(key),path};if(Editor.isNormalizing(editor)){if(force){var allPaths=Array.from(Node.nodes(editor),(_ref2=>{var[,p]=_ref2;return p})),allPathKeys=new Set(allPaths.map((p=>p.join(","))));DIRTY_PATHS.set(editor,allPaths),DIRTY_PATH_KEYS.set(editor,allPathKeys)}0!==getDirtyPaths(editor).length&&Editor.withoutNormalizing(editor,(()=>{for(var dirtyPath of getDirtyPaths(editor))if(Node.has(editor,dirtyPath)){var entry=Editor.node(editor,dirtyPath),[node,_]=entry;Element.isElement(node)&&0===node.children.length&&editor.normalizeNode(entry)}for(var max=42*getDirtyPaths(editor).length,m=0;0!==getDirtyPaths(editor).length;){if(m>max)throw new Error("\n Could not completely normalize the editor after ".concat(max," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var _dirtyPath=popDirtyPath(editor);if(Node.has(editor,_dirtyPath)){var _entry=Editor.node(editor,_dirtyPath);editor.normalizeNode(_entry)}m++}}))}},parent(editor,at){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},path=Editor.path(editor,at,options),parentPath=Path.parent(path);return Editor.node(editor,parentPath)},path(editor,at){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth,edge}=options;if(Path.isPath(at))if("start"===edge){var[,firstPath]=Node.first(editor,at);at=firstPath}else if("end"===edge){var[,lastPath]=Node.last(editor,at);at=lastPath}return Range.isRange(at)&&(at="start"===edge?Range.start(at):"end"===edge?Range.end(at):Path.common(at.anchor.path,at.focus.path)),Point.isPoint(at)&&(at=at.path),null!=depth&&(at=at.slice(0,depth)),at},hasPath:(editor,path)=>Node.has(editor,path),pathRef(editor,path){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity="forward"}=options,ref={current:path,affinity,unref(){var{current}=ref;return Editor.pathRefs(editor).delete(ref),ref.current=null,current}};return Editor.pathRefs(editor).add(ref),ref},pathRefs(editor){var refs=PATH_REFS.get(editor);return refs||(refs=new Set,PATH_REFS.set(editor,refs)),refs},point(editor,at){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge="start"}=options;if(Path.isPath(at)){var path;if("end"===edge){var[,lastPath]=Node.last(editor,at);path=lastPath}else{var[,firstPath]=Node.first(editor,at);path=firstPath}var node=Node.get(editor,path);if(!Text.isText(node))throw new Error("Cannot get the ".concat(edge," point in the node at path [").concat(at,"] because it has no ").concat(edge," text node."));return{path,offset:"end"===edge?node.text.length:0}}if(Range.isRange(at)){var[start,end]=Range.edges(at);return"start"===edge?start:end}return at},pointRef(editor,point){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity="forward"}=options,ref={current:point,affinity,unref(){var{current}=ref;return Editor.pointRefs(editor).delete(ref),ref.current=null,current}};return Editor.pointRefs(editor).add(ref),ref},pointRefs(editor){var refs=POINT_REFS.get(editor);return refs||(refs=new Set,POINT_REFS.set(editor,refs)),refs},*positions(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at=editor.selection,unit="offset",reverse=!1,voids=!1}=options;if(at){var range=Editor.range(editor,at),[start,end]=Range.edges(range),first=reverse?end:start,isNewBlock=!1,blockText="",distance=0,leafTextRemaining=0,leafTextOffset=0;for(var[node,path]of Editor.nodes(editor,{at,reverse,voids})){if(Element.isElement(node)){if(!voids&&editor.isVoid(node)){yield Editor.start(editor,path),isNewBlock=!1;continue}if(editor.isInline(node))continue;if(Editor.hasInlines(editor,node)){var e=Path.isAncestor(path,end.path)?end:Editor.end(editor,path),s=Path.isAncestor(path,start.path)?start:Editor.start(editor,path);blockText=Editor.string(editor,{anchor:s,focus:e},{voids}),isNewBlock=!0}}if(Text.isText(node)){var isFirst=Path.equals(path,first.path);for(isFirst?(leafTextRemaining=reverse?first.offset:node.text.length-first.offset,leafTextOffset=first.offset):(leafTextRemaining=node.text.length,leafTextOffset=reverse?leafTextRemaining:0),(isFirst||isNewBlock||"offset"===unit)&&(yield{path,offset:leafTextOffset},isNewBlock=!1);;){if(0===distance){if(""===blockText)break;distance=calcDistance(blockText,unit,reverse),blockText=splitByCharacterDistance(blockText,distance,reverse)[1]}if(leafTextOffset=reverse?leafTextOffset-distance:leafTextOffset+distance,(leafTextRemaining-=distance)<0){distance=-leafTextRemaining;break}distance=0,yield{path,offset:leafTextOffset}}}}}function calcDistance(text,unit,reverse){return"character"===unit?getCharacterDistance(text,reverse):"word"===unit?function getWordDistance(text){for(var isRTL=arguments.length>1&&void 0!==arguments[1]&&arguments[1],dist=0,started=!1;text.length>0;){var charDist=getCharacterDistance(text,isRTL),[char,remaining]=splitByCharacterDistance(text,charDist,isRTL);if(isWordCharacter(char,remaining,isRTL))started=!0,dist+=charDist;else{if(started)break;dist+=charDist}text=remaining}return dist}(text,reverse):"line"===unit||"block"===unit?text.length:1}},previous(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode="lowest",voids=!1}=options,{match,at=editor.selection}=options;if(at){var pointBeforeLocation=Editor.before(editor,at,{voids});if(pointBeforeLocation){var[,to]=Editor.first(editor,[]),span=[pointBeforeLocation.path,to];if(Path.isPath(at)&&0===at.length)throw new Error("Cannot get the previous node from the root node!");if(null==match)if(Path.isPath(at)){var[parent]=Editor.parent(editor,at);match=n=>parent.children.includes(n)}else match=()=>!0;var[previous]=Editor.nodes(editor,{reverse:!0,at:span,match,mode,voids});return previous}}},range:(editor,at,to)=>Range.isRange(at)&&!to?at:{anchor:Editor.start(editor,at),focus:Editor.end(editor,to||at)},rangeRef(editor,range){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity="forward"}=options,ref={current:range,affinity,unref(){var{current}=ref;return Editor.rangeRefs(editor).delete(ref),ref.current=null,current}};return Editor.rangeRefs(editor).add(ref),ref},rangeRefs(editor){var refs=RANGE_REFS.get(editor);return refs||(refs=new Set,RANGE_REFS.set(editor,refs)),refs},removeMark(editor,key){editor.removeMark(key)},setNormalizing(editor,isNormalizing){NORMALIZING.set(editor,isNormalizing)},start:(editor,at)=>Editor.point(editor,at,{edge:"start"}),string(editor,at){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids=!1}=options,range=Editor.range(editor,at),[start,end]=Range.edges(range),text="";for(var[node,path]of Editor.nodes(editor,{at:range,match:Text.isText,voids})){var t=node.text;Path.equals(path,end.path)&&(t=t.slice(0,end.offset)),Path.equals(path,start.path)&&(t=t.slice(start.offset)),text+=t}return text},unhangRange(editor,range){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids=!1}=options,[start,end]=Range.edges(range);if(0!==start.offset||0!==end.offset||Range.isCollapsed(range))return range;var endBlock=Editor.above(editor,{at:end,match:n=>Editor.isBlock(editor,n)}),blockPath=endBlock?endBlock[1]:[],before={anchor:Editor.start(editor,start),focus:end},skip=!0;for(var[node,path]of Editor.nodes(editor,{at:before,match:Text.isText,reverse:!0,voids}))if(skip)skip=!1;else if(""!==node.text||Path.isBefore(path,blockPath)){end={path,offset:node.text.length};break}return{anchor:start,focus:end}},void(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Editor.above(editor,_objectSpread$8(_objectSpread$8({},options),{},{match:n=>Editor.isVoid(editor,n)}))},withoutNormalizing(editor,fn){var value=Editor.isNormalizing(editor);Editor.setNormalizing(editor,!1);try{fn()}finally{Editor.setNormalizing(editor,value)}Editor.normalize(editor)}},Span={isSpan:value=>Array.isArray(value)&&2===value.length&&value.every(Path.isPath)},_excluded$3=["children"],_excluded2$2=["text"],IS_NODE_LIST_CACHE=new WeakMap,Node={ancestor(root,path){var node=Node.get(root,path);if(Text.isText(node))throw new Error("Cannot get the ancestor node at path [".concat(path,"] because it refers to a text node instead: ").concat(node));return node},*ancestors(root,path){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var p of Path.ancestors(path,options)){var entry=[Node.ancestor(root,p),p];yield entry}},child(root,index){if(Text.isText(root))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(root)));var c=root.children[index];if(null==c)throw new Error("Cannot get child at index `".concat(index,"` in node: ").concat(JSON.stringify(root)));return c},*children(root,path){for(var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse=!1}=options,ancestor=Node.ancestor(root,path),{children}=ancestor,index=reverse?children.length-1:0;reverse?index>=0:index<children.length;){var child=Node.child(ancestor,index),childPath=path.concat(index);yield[child,childPath],index=reverse?index-1:index+1}},common(root,path,another){var p=Path.common(path,another);return[Node.get(root,p),p]},descendant(root,path){var node=Node.get(root,path);if(Editor.isEditor(node))throw new Error("Cannot get the descendant node at path [".concat(path,"] because it refers to the root editor node instead: ").concat(node));return node},*descendants(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[node,path]of Node.nodes(root,options))0!==path.length&&(yield[node,path])},*elements(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[node,path]of Node.nodes(root,options))Element.isElement(node)&&(yield[node,path])},extractProps:node=>Element.isAncestor(node)?_objectWithoutProperties(node,_excluded$3):_objectWithoutProperties(node,_excluded2$2),first(root,path){for(var p=path.slice(),n=Node.get(root,p);n&&!Text.isText(n)&&0!==n.children.length;)n=n.children[0],p.push(0);return[n,p]},fragment(root,range){if(Text.isText(root))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(root)));var newRoot=fn({children:root.children},(r=>{var[start,end]=Range.edges(range),nodeEntries=Node.nodes(r,{reverse:!0,pass:_ref=>{var[,path]=_ref;return!Range.includes(range,path)}});for(var[,path]of nodeEntries){if(!Range.includes(range,path)){var parent=Node.parent(r,path),index=path[path.length-1];parent.children.splice(index,1)}if(Path.equals(path,end.path)){var leaf=Node.leaf(r,path);leaf.text=leaf.text.slice(0,end.offset)}if(Path.equals(path,start.path)){var _leaf=Node.leaf(r,path);_leaf.text=_leaf.text.slice(start.offset)}}Editor.isEditor(r)&&(r.selection=null)}));return newRoot.children},get(root,path){for(var node=root,i=0;i<path.length;i++){var p=path[i];if(Text.isText(node)||!node.children[p])throw new Error("Cannot find a descendant at path [".concat(path,"] in node: ").concat(JSON.stringify(root)));node=node.children[p]}return node},has(root,path){for(var node=root,i=0;i<path.length;i++){var p=path[i];if(Text.isText(node)||!node.children[p])return!1;node=node.children[p]}return!0},isNode:value=>Text.isText(value)||Element.isElement(value)||Editor.isEditor(value),isNodeList(value){if(!Array.isArray(value))return!1;var cachedResult=IS_NODE_LIST_CACHE.get(value);if(void 0!==cachedResult)return cachedResult;var isNodeList=value.every((val=>Node.isNode(val)));return IS_NODE_LIST_CACHE.set(value,isNodeList),isNodeList},last(root,path){for(var p=path.slice(),n=Node.get(root,p);n&&!Text.isText(n)&&0!==n.children.length;){var i=n.children.length-1;n=n.children[i],p.push(i)}return[n,p]},leaf(root,path){var node=Node.get(root,path);if(!Text.isText(node))throw new Error("Cannot get the leaf node at path [".concat(path,"] because it refers to a non-leaf node: ").concat(node));return node},*levels(root,path){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var p of Path.levels(path,options)){var n=Node.get(root,p);yield[n,p]}},matches:(node,props)=>Element.isElement(node)&&Element.isElementProps(props)&&Element.matches(node,props)||Text.isText(node)&&Text.isTextProps(props)&&Text.matches(node,props),*nodes(root){for(var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass,reverse=!1}=options,{from=[],to}=options,visited=new Set,p=[],n=root;!to||!(reverse?Path.isBefore(p,to):Path.isAfter(p,to));)if(visited.has(n)||(yield[n,p]),visited.has(n)||Text.isText(n)||0===n.children.length||null!=pass&&!1!==pass([n,p])){if(0===p.length)break;if(!reverse){var newPath=Path.next(p);if(Node.has(root,newPath)){p=newPath,n=Node.get(root,p);continue}}if(reverse&&0!==p[p.length-1])p=Path.previous(p),n=Node.get(root,p);else p=Path.parent(p),n=Node.get(root,p),visited.add(n)}else{visited.add(n);var nextIndex=reverse?n.children.length-1:0;Path.isAncestor(p,from)&&(nextIndex=from[p.length]),p=p.concat(nextIndex),n=Node.get(root,p)}},parent(root,path){var parentPath=Path.parent(path),p=Node.get(root,parentPath);if(Text.isText(p))throw new Error("Cannot get the parent of path [".concat(path,"] because it does not exist in the root."));return p},string:node=>Text.isText(node)?node.text:node.children.map(Node.string).join(""),*texts(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[node,path]of Node.nodes(root,options))Text.isText(node)&&(yield[node,path])}};function ownKeys$7(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$7(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$7(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$7(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var Operation={isNodeOperation:value=>Operation.isOperation(value)&&value.type.endsWith("_node"),isOperation(value){if(!isPlainObject(value))return!1;switch(value.type){case"insert_node":case"remove_node":return Path.isPath(value.path)&&Node.isNode(value.node);case"insert_text":case"remove_text":return"number"==typeof value.offset&&"string"==typeof value.text&&Path.isPath(value.path);case"merge_node":return"number"==typeof value.position&&Path.isPath(value.path)&&isPlainObject(value.properties);case"move_node":return Path.isPath(value.path)&&Path.isPath(value.newPath);case"set_node":return Path.isPath(value.path)&&isPlainObject(value.properties)&&isPlainObject(value.newProperties);case"set_selection":return null===value.properties&&Range.isRange(value.newProperties)||null===value.newProperties&&Range.isRange(value.properties)||isPlainObject(value.properties)&&isPlainObject(value.newProperties);case"split_node":return Path.isPath(value.path)&&"number"==typeof value.position&&isPlainObject(value.properties);default:return!1}},isOperationList:value=>Array.isArray(value)&&value.every((val=>Operation.isOperation(val))),isSelectionOperation:value=>Operation.isOperation(value)&&value.type.endsWith("_selection"),isTextOperation:value=>Operation.isOperation(value)&&value.type.endsWith("_text"),inverse(op){switch(op.type){case"insert_node":return _objectSpread$7(_objectSpread$7({},op),{},{type:"remove_node"});case"insert_text":return _objectSpread$7(_objectSpread$7({},op),{},{type:"remove_text"});case"merge_node":return _objectSpread$7(_objectSpread$7({},op),{},{type:"split_node",path:Path.previous(op.path)});case"move_node":var{newPath,path}=op;if(Path.equals(newPath,path))return op;if(Path.isSibling(path,newPath))return _objectSpread$7(_objectSpread$7({},op),{},{path:newPath,newPath:path});var inversePath=Path.transform(path,op),inverseNewPath=Path.transform(Path.next(path),op);return _objectSpread$7(_objectSpread$7({},op),{},{path:inversePath,newPath:inverseNewPath});case"remove_node":return _objectSpread$7(_objectSpread$7({},op),{},{type:"insert_node"});case"remove_text":return _objectSpread$7(_objectSpread$7({},op),{},{type:"insert_text"});case"set_node":var{properties,newProperties}=op;return _objectSpread$7(_objectSpread$7({},op),{},{properties:newProperties,newProperties:properties});case"set_selection":var{properties:_properties,newProperties:_newProperties}=op;return _objectSpread$7(_objectSpread$7({},op),{},null==_properties?{properties:_newProperties,newProperties:null}:null==_newProperties?{properties:null,newProperties:_properties}:{properties:_newProperties,newProperties:_properties});case"split_node":return _objectSpread$7(_objectSpread$7({},op),{},{type:"merge_node",path:Path.next(op.path)})}}},Path={ancestors(path){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse=!1}=options,paths=Path.levels(path,options);return paths=reverse?paths.slice(1):paths.slice(0,-1)},common(path,another){for(var common=[],i=0;i<path.length&&i<another.length;i++){var av=path[i];if(av!==another[i])break;common.push(av)}return common},compare(path,another){for(var min=Math.min(path.length,another.length),i=0;i<min;i++){if(path[i]<another[i])return-1;if(path[i]>another[i])return 1}return 0},endsAfter(path,another){var i=path.length-1,as=path.slice(0,i),bs=another.slice(0,i),av=path[i],bv=another[i];return Path.equals(as,bs)&&av>bv},endsAt(path,another){var i=path.length,as=path.slice(0,i),bs=another.slice(0,i);return Path.equals(as,bs)},endsBefore(path,another){var i=path.length-1,as=path.slice(0,i),bs=another.slice(0,i),av=path[i],bv=another[i];return Path.equals(as,bs)&&av<bv},equals:(path,another)=>path.length===another.length&&path.every(((n,i)=>n===another[i])),hasPrevious:path=>path[path.length-1]>0,isAfter:(path,another)=>1===Path.compare(path,another),isAncestor:(path,another)=>path.length<another.length&&0===Path.compare(path,another),isBefore:(path,another)=>-1===Path.compare(path,another),isChild:(path,another)=>path.length===another.length+1&&0===Path.compare(path,another),isCommon:(path,another)=>path.length<=another.length&&0===Path.compare(path,another),isDescendant:(path,another)=>path.length>another.length&&0===Path.compare(path,another),isParent:(path,another)=>path.length+1===another.length&&0===Path.compare(path,another),isPath:value=>Array.isArray(value)&&(0===value.length||"number"==typeof value[0]),isSibling(path,another){if(path.length!==another.length)return!1;var as=path.slice(0,-1),bs=another.slice(0,-1);return path[path.length-1]!==another[another.length-1]&&Path.equals(as,bs)},levels(path){for(var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse=!1}=options,list=[],i=0;i<=path.length;i++)list.push(path.slice(0,i));return reverse&&list.reverse(),list},next(path){if(0===path.length)throw new Error("Cannot get the next path of a root path [".concat(path,"], because it has no next index."));var last=path[path.length-1];return path.slice(0,-1).concat(last+1)},operationCanTransformPath(operation){switch(operation.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(path){if(0===path.length)throw new Error("Cannot get the parent path of the root path [".concat(path,"]."));return path.slice(0,-1)},previous(path){if(0===path.length)throw new Error("Cannot get the previous path of a root path [".concat(path,"], because it has no previous index."));var last=path[path.length-1];if(last<=0)throw new Error("Cannot get the previous path of a first child path [".concat(path,"] because it would result in a negative index."));return path.slice(0,-1).concat(last-1)},relative(path,ancestor){if(!Path.isAncestor(ancestor,path)&&!Path.equals(path,ancestor))throw new Error("Cannot get the relative path of [".concat(path,"] inside ancestor [").concat(ancestor,"], because it is not above or equal to the path."));return path.slice(ancestor.length)},transform(path,operation){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return fn(path,(p=>{var{affinity="forward"}=options;if(path&&0!==(null==path?void 0:path.length)){if(null===p)return null;switch(operation.type){case"insert_node":var{path:op}=operation;(Path.equals(op,p)||Path.endsBefore(op,p)||Path.isAncestor(op,p))&&(p[op.length-1]+=1);break;case"remove_node":var{path:_op}=operation;if(Path.equals(_op,p)||Path.isAncestor(_op,p))return null;Path.endsBefore(_op,p)&&(p[_op.length-1]-=1);break;case"merge_node":var{path:_op2,position}=operation;Path.equals(_op2,p)||Path.endsBefore(_op2,p)?p[_op2.length-1]-=1:Path.isAncestor(_op2,p)&&(p[_op2.length-1]-=1,p[_op2.length]+=position);break;case"split_node":var{path:_op3,position:_position}=operation;if(Path.equals(_op3,p)){if("forward"===affinity)p[p.length-1]+=1;else if("backward"!==affinity)return null}else Path.endsBefore(_op3,p)?p[_op3.length-1]+=1:Path.isAncestor(_op3,p)&&path[_op3.length]>=_position&&(p[_op3.length-1]+=1,p[_op3.length]-=_position);break;case"move_node":var{path:_op4,newPath:onp}=operation;if(Path.equals(_op4,onp))return;if(Path.isAncestor(_op4,p)||Path.equals(_op4,p)){var copy=onp.slice();return Path.endsBefore(_op4,onp)&&_op4.length<onp.length&&(copy[_op4.length-1]-=1),copy.concat(p.slice(_op4.length))}Path.isSibling(_op4,onp)&&(Path.isAncestor(onp,p)||Path.equals(onp,p))?Path.endsBefore(_op4,p)?p[_op4.length-1]-=1:p[_op4.length-1]+=1:Path.endsBefore(onp,p)||Path.equals(onp,p)||Path.isAncestor(onp,p)?(Path.endsBefore(_op4,p)&&(p[_op4.length-1]-=1),p[onp.length-1]+=1):Path.endsBefore(_op4,p)&&(Path.equals(onp,p)&&(p[onp.length-1]+=1),p[_op4.length-1]-=1)}}}))}},PathRef={transform(ref,op){var{current,affinity}=ref;if(null!=current){var path=Path.transform(current,op,{affinity});ref.current=path,null==path&&ref.unref()}}};function ownKeys$6(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$6(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$6(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$6(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var Point={compare(point,another){var result=Path.compare(point.path,another.path);return 0===result?point.offset<another.offset?-1:point.offset>another.offset?1:0:result},isAfter:(point,another)=>1===Point.compare(point,another),isBefore:(point,another)=>-1===Point.compare(point,another),equals:(point,another)=>point.offset===another.offset&&Path.equals(point.path,another.path),isPoint:value=>isPlainObject(value)&&"number"==typeof value.offset&&Path.isPath(value.path),transform(point,op){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return fn(point,(p=>{if(null===p)return null;var{affinity="forward"}=options,{path,offset}=p;switch(op.type){case"insert_node":case"move_node":p.path=Path.transform(path,op,options);break;case"insert_text":Path.equals(op.path,path)&&(op.offset<offset||op.offset===offset&&"forward"===affinity)&&(p.offset+=op.text.length);break;case"merge_node":Path.equals(op.path,path)&&(p.offset+=op.position),p.path=Path.transform(path,op,options);break;case"remove_text":Path.equals(op.path,path)&&op.offset<=offset&&(p.offset-=Math.min(offset-op.offset,op.text.length));break;case"remove_node":if(Path.equals(op.path,path)||Path.isAncestor(op.path,path))return null;p.path=Path.transform(path,op,options);break;case"split_node":if(Path.equals(op.path,path)){if(op.position===offset&&null==affinity)return null;(op.position<offset||op.position===offset&&"forward"===affinity)&&(p.offset-=op.position,p.path=Path.transform(path,op,_objectSpread$6(_objectSpread$6({},options),{},{affinity:"forward"})))}else p.path=Path.transform(path,op,options)}}))}},PointRef={transform(ref,op){var{current,affinity}=ref;if(null!=current){var point=Point.transform(current,op,{affinity});ref.current=point,null==point&&ref.unref()}}},_excluded$2=["anchor","focus"];function ownKeys$5(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}var Range={edges(range){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse=!1}=options,{anchor,focus}=range;return Range.isBackward(range)===reverse?[anchor,focus]:[focus,anchor]},end(range){var[,end]=Range.edges(range);return end},equals:(range,another)=>Point.equals(range.anchor,another.anchor)&&Point.equals(range.focus,another.focus),includes(range,target){if(Range.isRange(target)){if(Range.includes(range,target.anchor)||Range.includes(range,target.focus))return!0;var[rs,re]=Range.edges(range),[ts,te]=Range.edges(target);return Point.isBefore(rs,ts)&&Point.isAfter(re,te)}var[start,end]=Range.edges(range),isAfterStart=!1,isBeforeEnd=!1;return Point.isPoint(target)?(isAfterStart=Point.compare(target,start)>=0,isBeforeEnd=Point.compare(target,end)<=0):(isAfterStart=Path.compare(target,start.path)>=0,isBeforeEnd=Path.compare(target,end.path)<=0),isAfterStart&&isBeforeEnd},intersection(range,another){var rest=_objectWithoutProperties(range,_excluded$2),[s1,e1]=Range.edges(range),[s2,e2]=Range.edges(another),start=Point.isBefore(s1,s2)?s2:s1,end=Point.isBefore(e1,e2)?e1:e2;return Point.isBefore(end,start)?null:function _objectSpread$5(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$5(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$5(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({anchor:start,focus:end},rest)},isBackward(range){var{anchor,focus}=range;return Point.isAfter(anchor,focus)},isCollapsed(range){var{anchor,focus}=range;return Point.equals(anchor,focus)},isExpanded:range=>!Range.isCollapsed(range),isForward:range=>!Range.isBackward(range),isRange:value=>isPlainObject(value)&&Point.isPoint(value.anchor)&&Point.isPoint(value.focus),*points(range){yield[range.anchor,"anchor"],yield[range.focus,"focus"]},start(range){var[start]=Range.edges(range);return start},transform(range,op){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return fn(range,(r=>{if(null===r)return null;var affinityAnchor,affinityFocus,{affinity="inward"}=options;if("inward"===affinity){var isCollapsed=Range.isCollapsed(r);Range.isForward(r)?(affinityAnchor="forward",affinityFocus=isCollapsed?affinityAnchor:"backward"):(affinityAnchor="backward",affinityFocus=isCollapsed?affinityAnchor:"forward")}else"outward"===affinity?Range.isForward(r)?(affinityAnchor="backward",affinityFocus="forward"):(affinityAnchor="forward",affinityFocus="backward"):(affinityAnchor=affinity,affinityFocus=affinity);var anchor=Point.transform(r.anchor,op,{affinity:affinityAnchor}),focus=Point.transform(r.focus,op,{affinity:affinityFocus});if(!anchor||!focus)return null;r.anchor=anchor,r.focus=focus}))}},RangeRef={transform(ref,op){var{current,affinity}=ref;if(null!=current){var path=Range.transform(current,op,{affinity});ref.current=path,null==path&&ref.unref()}}},isDeepEqual=(node,another)=>{for(var key in node){var a=node[key],b=another[key];if(isPlainObject(a)&&isPlainObject(b)){if(!isDeepEqual(a,b))return!1}else if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;for(var i=0;i<a.length;i++)if(a[i]!==b[i])return!1}else if(a!==b)return!1}for(var _key in another)if(void 0===node[_key]&&void 0!==another[_key])return!1;return!0},_excluded$1=["text"],_excluded2$1=["anchor","focus"];function ownKeys$4(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$4(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$4(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$4(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var Text={equals(text,another){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose=!1}=options;function omitText(obj){return _objectWithoutProperties(obj,_excluded$1)}return isDeepEqual(loose?omitText(text):text,loose?omitText(another):another)},isText:value=>isPlainObject(value)&&"string"==typeof value.text,isTextList:value=>Array.isArray(value)&&value.every((val=>Text.isText(val))),isTextProps:props=>void 0!==props.text,matches(text,props){for(var key in props)if("text"!==key&&(!text.hasOwnProperty(key)||text[key]!==props[key]))return!1;return!0},decorations(node,decorations){var leaves=[_objectSpread$4({},node)];for(var dec of decorations){var rest=_objectWithoutProperties(dec,_excluded2$1),[start,end]=Range.edges(dec),next=[],o=0;for(var leaf of leaves){var{length}=leaf.text,offset=o;if(o+=length,start.offset<=offset&&end.offset>=o)Object.assign(leaf,rest),next.push(leaf);else if(start.offset!==end.offset&&(start.offset===o||end.offset===offset)||start.offset>o||end.offset<offset||end.offset===offset&&0!==offset)next.push(leaf);else{var middle=leaf,before=void 0,after=void 0;if(end.offset<o){var off=end.offset-offset;after=_objectSpread$4(_objectSpread$4({},middle),{},{text:middle.text.slice(off)}),middle=_objectSpread$4(_objectSpread$4({},middle),{},{text:middle.text.slice(0,off)})}if(start.offset>offset){var _off=start.offset-offset;before=_objectSpread$4(_objectSpread$4({},middle),{},{text:middle.text.slice(0,_off)}),middle=_objectSpread$4(_objectSpread$4({},middle),{},{text:middle.text.slice(_off)})}Object.assign(middle,rest),before&&next.push(before),next.push(middle),after&&next.push(after)}}leaves=next}return leaves}};function ownKeys$3(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$3(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$3(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$3(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var GeneralTransforms={transform(editor,op){editor.children=ln(editor.children);var selection=editor.selection&&ln(editor.selection);try{selection=((editor,selection,op)=>{switch(op.type){case"insert_node":var{path,node}=op,parent=Node.parent(editor,path),index=path[path.length-1];if(index>parent.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(path,"] because the destination is past the end of the node."));if(parent.children.splice(index,0,node),selection)for(var[point,key]of Range.points(selection))selection[key]=Point.transform(point,op);break;case"insert_text":var{path:_path,offset,text}=op;if(0===text.length)break;var _node=Node.leaf(editor,_path),before=_node.text.slice(0,offset),after=_node.text.slice(offset);if(_node.text=before+text+after,selection)for(var[_point,_key]of Range.points(selection))selection[_key]=Point.transform(_point,op);break;case"merge_node":var{path:_path2}=op,_node2=Node.get(editor,_path2),prevPath=Path.previous(_path2),prev=Node.get(editor,prevPath),_parent=Node.parent(editor,_path2),_index=_path2[_path2.length-1];if(Text.isText(_node2)&&Text.isText(prev))prev.text+=_node2.text;else{if(Text.isText(_node2)||Text.isText(prev))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(_path2,"] to nodes of different interfaces: ").concat(_node2," ").concat(prev));prev.children.push(..._node2.children)}if(_parent.children.splice(_index,1),selection)for(var[_point2,_key2]of Range.points(selection))selection[_key2]=Point.transform(_point2,op);break;case"move_node":var{path:_path3,newPath}=op;if(Path.isAncestor(_path3,newPath))throw new Error("Cannot move a path [".concat(_path3,"] to new path [").concat(newPath,"] because the destination is inside itself."));var _node3=Node.get(editor,_path3),_parent2=Node.parent(editor,_path3),_index2=_path3[_path3.length-1];_parent2.children.splice(_index2,1);var truePath=Path.transform(_path3,op),newParent=Node.get(editor,Path.parent(truePath)),newIndex=truePath[truePath.length-1];if(newParent.children.splice(newIndex,0,_node3),selection)for(var[_point3,_key3]of Range.points(selection))selection[_key3]=Point.transform(_point3,op);break;case"remove_node":var{path:_path4}=op,_index3=_path4[_path4.length-1];if(Node.parent(editor,_path4).children.splice(_index3,1),selection)for(var[_point4,_key4]of Range.points(selection)){var result=Point.transform(_point4,op);if(null!=selection&&null!=result)selection[_key4]=result;else{var _prev=void 0,next=void 0;for(var[n,p]of Node.texts(editor)){if(-1!==Path.compare(p,_path4)){next=[n,p];break}_prev=[n,p]}var preferNext=!1;_prev&&next&&(preferNext=Path.equals(next[1],_path4)?!Path.hasPrevious(next[1]):Path.common(_prev[1],_path4).length<Path.common(next[1],_path4).length),_prev&&!preferNext?(_point4.path=_prev[1],_point4.offset=_prev[0].text.length):next?(_point4.path=next[1],_point4.offset=0):selection=null}}break;case"remove_text":var{path:_path5,offset:_offset,text:_text}=op;if(0===_text.length)break;var _node4=Node.leaf(editor,_path5),_before=_node4.text.slice(0,_offset),_after=_node4.text.slice(_offset+_text.length);if(_node4.text=_before+_after,selection)for(var[_point5,_key5]of Range.points(selection))selection[_key5]=Point.transform(_point5,op);break;case"set_node":var{path:_path6,properties,newProperties}=op;if(0===_path6.length)throw new Error("Cannot set properties on the root node!");var _node5=Node.get(editor,_path6);for(var _key6 in newProperties){if("children"===_key6||"text"===_key6)throw new Error('Cannot set the "'.concat(_key6,'" property of nodes!'));var value=newProperties[_key6];null==value?delete _node5[_key6]:_node5[_key6]=value}for(var _key7 in properties)newProperties.hasOwnProperty(_key7)||delete _node5[_key7];break;case"set_selection":var{newProperties:_newProperties}=op;if(null==_newProperties)selection=_newProperties;else{if(null==selection){if(!Range.isRange(_newProperties))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(_newProperties)," when there is no current selection."));selection=_objectSpread$3({},_newProperties)}for(var _key8 in _newProperties){var _value=_newProperties[_key8];if(null==_value){if("anchor"===_key8||"focus"===_key8)throw new Error('Cannot remove the "'.concat(_key8,'" selection property'));delete selection[_key8]}else selection[_key8]=_value}}break;case"split_node":var{path:_path7,position,properties:_properties}=op;if(0===_path7.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(_path7,"] because the root node cannot be split."));var newNode,_node6=Node.get(editor,_path7),_parent4=Node.parent(editor,_path7),_index4=_path7[_path7.length-1];if(Text.isText(_node6)){var _before2=_node6.text.slice(0,position),_after2=_node6.text.slice(position);_node6.text=_before2,newNode=_objectSpread$3(_objectSpread$3({},_properties),{},{text:_after2})}else{var _before3=_node6.children.slice(0,position),_after3=_node6.children.slice(position);_node6.children=_before3,newNode=_objectSpread$3(_objectSpread$3({},_properties),{},{children:_after3})}if(_parent4.children.splice(_index4+1,0,newNode),selection)for(var[_point6,_key9]of Range.points(selection))selection[_key9]=Point.transform(_point6,op)}return selection})(editor,selection,op)}finally{editor.children=dn(editor.children),editor.selection=selection?r(selection)?dn(selection):selection:null}}},_excluded=["text"],_excluded2=["children"];function ownKeys$2(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$2(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$2(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var NodeTransforms={insertNodes(editor,nodes){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Editor.withoutNormalizing(editor,(()=>{var{hanging=!1,voids=!1,mode="lowest"}=options,{at,match,select}=options;if(Node.isNode(nodes)&&(nodes=[nodes]),0!==nodes.length){var[node]=nodes;if(at||(at=editor.selection?editor.selection:editor.children.length>0?Editor.end(editor,[]):[0],select=!0),null==select&&(select=!1),Range.isRange(at))if(hanging||(at=Editor.unhangRange(editor,at)),Range.isCollapsed(at))at=at.anchor;else{var[,end]=Range.edges(at),pointRef=Editor.pointRef(editor,end);Transforms.delete(editor,{at}),at=pointRef.unref()}if(Point.isPoint(at)){null==match&&(match=Text.isText(node)?n=>Text.isText(n):editor.isInline(node)?n=>Text.isText(n)||Editor.isInline(editor,n):n=>Editor.isBlock(editor,n));var[entry]=Editor.nodes(editor,{at:at.path,match,mode,voids});if(!entry)return;var[,_matchPath]=entry,pathRef=Editor.pathRef(editor,_matchPath),isAtEnd=Editor.isEnd(editor,at,_matchPath);Transforms.splitNodes(editor,{at,match,mode,voids});var path=pathRef.unref();at=isAtEnd?Path.next(path):path}var parentPath=Path.parent(at),index=at[at.length-1];if(voids||!Editor.void(editor,{at:parentPath})){for(var _node of nodes){var _path=parentPath.concat(index);index++,editor.apply({type:"insert_node",path:_path,node:_node}),at=Path.next(at)}if(at=Path.previous(at),select){var point=Editor.end(editor,at);point&&Transforms.select(editor,point)}}}}))},liftNodes(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Editor.withoutNormalizing(editor,(()=>{var{at=editor.selection,mode="lowest",voids=!1}=options,{match}=options;if(null==match&&(match=Path.isPath(at)?matchPath(editor,at):n=>Editor.isBlock(editor,n)),at){var matches=Editor.nodes(editor,{at,match,mode,voids}),pathRefs=Array.from(matches,(_ref=>{var[,p]=_ref;return Editor.pathRef(editor,p)}));for(var pathRef of pathRefs){var path=pathRef.unref();if(path.length<2)throw new Error("Cannot lift node at a path [".concat(path,"] because it has a depth of less than `2`."));var parentNodeEntry=Editor.node(editor,Path.parent(path)),[parent,parentPath]=parentNodeEntry,index=path[path.length-1],{length}=parent.children;if(1===length){var toPath=Path.next(parentPath);Transforms.moveNodes(editor,{at:path,to:toPath,voids}),Transforms.removeNodes(editor,{at:parentPath,voids})}else if(0===index)Transforms.moveNodes(editor,{at:path,to:parentPath,voids});else if(index===length-1){var _toPath=Path.next(parentPath);Transforms.moveNodes(editor,{at:path,to:_toPath,voids})}else{var splitPath=Path.next(path),_toPath2=Path.next(parentPath);Transforms.splitNodes(editor,{at:splitPath,voids}),Transforms.moveNodes(editor,{at:path,to:_toPath2,voids})}}}}))},mergeNodes(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Editor.withoutNormalizing(editor,(()=>{var{match,at=editor.selection}=options,{hanging=!1,voids=!1,mode="lowest"}=options;if(at){if(null==match)if(Path.isPath(at)){var[parent]=Editor.parent(editor,at);match=n=>parent.children.includes(n)}else match=n=>Editor.isBlock(editor,n);if(!hanging&&Range.isRange(at)&&(at=Editor.unhangRange(editor,at)),Range.isRange(at))if(Range.isCollapsed(at))at=at.anchor;else{var[,end]=Range.edges(at),pointRef=Editor.pointRef(editor,end);Transforms.delete(editor,{at}),at=pointRef.unref(),null==options.at&&Transforms.select(editor,at)}var[current]=Editor.nodes(editor,{at,match,voids,mode}),prev=Editor.previous(editor,{at,match,voids,mode});if(current&&prev){var[node,path]=current,[prevNode,prevPath]=prev;if(0!==path.length&&0!==prevPath.length){var properties,position,newPath=Path.next(prevPath),commonPath=Path.common(path,prevPath),isPreviousSibling=Path.isSibling(path,prevPath),levels=Array.from(Editor.levels(editor,{at:path}),(_ref2=>{var[n]=_ref2;return n})).slice(commonPath.length).slice(0,-1),emptyAncestor=Editor.above(editor,{at:path,mode:"highest",match:n=>levels.includes(n)&&hasSingleChildNest(editor,n)}),emptyRef=emptyAncestor&&Editor.pathRef(editor,emptyAncestor[1]);if(Text.isText(node)&&Text.isText(prevNode)){var rest=_objectWithoutProperties(node,_excluded);position=prevNode.text.length,properties=rest}else{if(!Element.isElement(node)||!Element.isElement(prevNode))throw new Error("Cannot merge the node at path [".concat(path,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(node)," ").concat(JSON.stringify(prevNode)));rest=_objectWithoutProperties(node,_excluded2);position=prevNode.children.length,properties=rest}isPreviousSibling||Transforms.moveNodes(editor,{at:path,to:newPath,voids}),emptyRef&&Transforms.removeNodes(editor,{at:emptyRef.current,voids}),Element.isElement(prevNode)&&Editor.isEmpty(editor,prevNode)||Text.isText(prevNode)&&""===prevNode.text&&0!==prevPath[prevPath.length-1]?Transforms.removeNodes(editor,{at:prevPath,voids}):editor.apply({type:"merge_node",path:newPath,position,properties}),emptyRef&&emptyRef.unref()}}}}))},moveNodes(editor,options){Editor.withoutNormalizing(editor,(()=>{var{to,at=editor.selection,mode="lowest",voids=!1}=options,{match}=options;if(at){null==match&&(match=Path.isPath(at)?matchPath(editor,at):n=>Editor.isBlock(editor,n));var toRef=Editor.pathRef(editor,to),targets=Editor.nodes(editor,{at,match,mode,voids}),pathRefs=Array.from(targets,(_ref3=>{var[,p]=_ref3;return Editor.pathRef(editor,p)}));for(var pathRef of pathRefs){var path=pathRef.unref(),newPath=toRef.current;0!==path.length&&editor.apply({type:"move_node",path,newPath}),toRef.current&&Path.isSibling(newPath,path)&&Path.isAfter(newPath,path)&&(toRef.current=Path.next(toRef.current))}toRef.unref()}}))},removeNodes(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Editor.withoutNormalizing(editor,(()=>{var{hanging=!1,voids=!1,mode="lowest"}=options,{at=editor.selection,match}=options;if(at){null==match&&(match=Path.isPath(at)?matchPath(editor,at):n=>Editor.isBlock(editor,n)),!hanging&&Range.isRange(at)&&(at=Editor.unhangRange(editor,at));var depths=Editor.nodes(editor,{at,match,mode,voids}),pathRefs=Array.from(depths,(_ref4=>{var[,p]=_ref4;return Editor.pathRef(editor,p)}));for(var pathRef of pathRefs){var path=pathRef.unref();if(path){var[node]=Editor.node(editor,path);editor.apply({type:"remove_node",path,node})}}}}))},setNodes(editor,props){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Editor.withoutNormalizing(editor,(()=>{var{match,at=editor.selection,compare,merge}=options,{hanging=!1,mode="lowest",split=!1,voids=!1}=options;if(at){if(null==match&&(match=Path.isPath(at)?matchPath(editor,at):n=>Editor.isBlock(editor,n)),!hanging&&Range.isRange(at)&&(at=Editor.unhangRange(editor,at)),split&&Range.isRange(at)){if(Range.isCollapsed(at)&&Editor.leaf(editor,at.anchor)[0].text.length>0)return;var rangeRef=Editor.rangeRef(editor,at,{affinity:"inward"}),[start,end]=Range.edges(at),splitMode="lowest"===mode?"lowest":"highest",endAtEndOfNode=Editor.isEnd(editor,end,end.path);Transforms.splitNodes(editor,{at:end,match,mode:splitMode,voids,always:!endAtEndOfNode});var startAtStartOfNode=Editor.isStart(editor,start,start.path);Transforms.splitNodes(editor,{at:start,match,mode:splitMode,voids,always:!startAtStartOfNode}),at=rangeRef.unref(),null==options.at&&Transforms.select(editor,at)}for(var[node,path]of(compare||(compare=(prop,nodeProp)=>prop!==nodeProp),Editor.nodes(editor,{at,match,mode,voids}))){var properties={},newProperties={};if(0!==path.length){var hasChanges=!1;for(var k in props)"children"!==k&&"text"!==k&&compare(props[k],node[k])&&(hasChanges=!0,node.hasOwnProperty(k)&&(properties[k]=node[k]),merge?null!=props[k]&&(newProperties[k]=merge(node[k],props[k])):null!=props[k]&&(newProperties[k]=props[k]));hasChanges&&editor.apply({type:"set_node",path,properties,newProperties})}}}}))},splitNodes(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Editor.withoutNormalizing(editor,(()=>{var{mode="lowest",voids=!1}=options,{match,at=editor.selection,height=0,always=!1}=options;if(null==match&&(match=n=>Editor.isBlock(editor,n)),Range.isRange(at)&&(at=deleteRange(editor,at)),Path.isPath(at)){var path=at,point=Editor.point(editor,path),[parent]=Editor.parent(editor,path);match=n=>n===parent,height=point.path.length-path.length+1,at=point,always=!0}if(at){var afterRef,beforeRef=Editor.pointRef(editor,at,{affinity:"backward"});try{var[highest]=Editor.nodes(editor,{at,match,mode,voids});if(!highest)return;var voidMatch=Editor.void(editor,{at,mode:"highest"});if(!voids&&voidMatch){var[voidNode,voidPath]=voidMatch;if(Element.isElement(voidNode)&&editor.isInline(voidNode)){var after=Editor.after(editor,voidPath);if(!after){var afterPath=Path.next(voidPath);Transforms.insertNodes(editor,{text:""},{at:afterPath,voids}),after=Editor.point(editor,afterPath)}at=after,always=!0}height=at.path.length-voidPath.length+1,always=!0}afterRef=Editor.pointRef(editor,at);var depth=at.path.length-height,[,highestPath]=highest,lowestPath=at.path.slice(0,depth),position=0===height?at.offset:at.path[depth]+0;for(var[node,_path2]of Editor.levels(editor,{at:lowestPath,reverse:!0,voids})){var split=!1;if(_path2.length<highestPath.length||0===_path2.length||!voids&&Editor.isVoid(editor,node))break;var _point=beforeRef.current,isEnd=Editor.isEnd(editor,_point,_path2);if(always||!beforeRef||!Editor.isEdge(editor,_point,_path2)){split=!0;var properties=Node.extractProps(node);editor.apply({type:"split_node",path:_path2,position,properties})}position=_path2[_path2.length-1]+(split||isEnd?1:0)}if(null==options.at){var _point2=afterRef.current||Editor.end(editor,[]);Transforms.select(editor,_point2)}}finally{var _afterRef;beforeRef.unref(),null===(_afterRef=afterRef)||void 0===_afterRef||_afterRef.unref()}}}))},unsetNodes(editor,props){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(props)||(props=[props]);var obj={};for(var key of props)obj[key]=null;Transforms.setNodes(editor,obj,options)},unwrapNodes(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Editor.withoutNormalizing(editor,(()=>{var{mode="lowest",split=!1,voids=!1}=options,{at=editor.selection,match}=options;if(at){null==match&&(match=Path.isPath(at)?matchPath(editor,at):n=>Editor.isBlock(editor,n)),Path.isPath(at)&&(at=Editor.range(editor,at));var rangeRef=Range.isRange(at)?Editor.rangeRef(editor,at):null,matches=Editor.nodes(editor,{at,match,mode,voids}),pathRefs=Array.from(matches,(_ref5=>{var[,p]=_ref5;return Editor.pathRef(editor,p)})).reverse(),_loop=function _loop(pathRef){var path=pathRef.unref(),[node]=Editor.node(editor,path),range=Editor.range(editor,path);split&&rangeRef&&(range=Range.intersection(rangeRef.current,range)),Transforms.liftNodes(editor,{at:range,match:n=>Element.isAncestor(node)&&node.children.includes(n),voids})};for(var pathRef of pathRefs)_loop(pathRef);rangeRef&&rangeRef.unref()}}))},wrapNodes(editor,element){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Editor.withoutNormalizing(editor,(()=>{var{mode="lowest",split=!1,voids=!1}=options,{match,at=editor.selection}=options;if(at){if(null==match&&(match=Path.isPath(at)?matchPath(editor,at):editor.isInline(element)?n=>Editor.isInline(editor,n)||Text.isText(n):n=>Editor.isBlock(editor,n)),split&&Range.isRange(at)){var[start,end]=Range.edges(at),rangeRef=Editor.rangeRef(editor,at,{affinity:"inward"});Transforms.splitNodes(editor,{at:end,match,voids}),Transforms.splitNodes(editor,{at:start,match,voids}),at=rangeRef.unref(),null==options.at&&Transforms.select(editor,at)}var roots=Array.from(Editor.nodes(editor,{at,match:editor.isInline(element)?n=>Editor.isBlock(editor,n):n=>Editor.isEditor(n),mode:"lowest",voids}));for(var[,rootPath]of roots){var a=Range.isRange(at)?Range.intersection(at,Editor.range(editor,rootPath)):at;if(a){var matches=Array.from(Editor.nodes(editor,{at:a,match,mode,voids}));if(matches.length>0){var _ret=function(){var[first]=matches,last=matches[matches.length-1],[,firstPath]=first,[,lastPath]=last;if(0===firstPath.length&&0===lastPath.length)return"continue";var commonPath=Path.equals(firstPath,lastPath)?Path.parent(firstPath):Path.common(firstPath,lastPath),range=Editor.range(editor,firstPath,lastPath),commonNodeEntry=Editor.node(editor,commonPath),[commonNode]=commonNodeEntry,depth=commonPath.length+1,wrapperPath=Path.next(lastPath.slice(0,depth)),wrapper=_objectSpread$2(_objectSpread$2({},element),{},{children:[]});Transforms.insertNodes(editor,wrapper,{at:wrapperPath,voids}),Transforms.moveNodes(editor,{at:range,match:n=>Element.isAncestor(commonNode)&&commonNode.children.includes(n),to:wrapperPath.concat(0),voids})}();if("continue"===_ret)continue}}}}}))}},hasSingleChildNest=(editor,node)=>{if(Element.isElement(node)){var element=node;return!!Editor.isVoid(editor,node)||1===element.children.length&&hasSingleChildNest(editor,element.children[0])}return!Editor.isEditor(node)},deleteRange=(editor,range)=>{if(Range.isCollapsed(range))return range.anchor;var[,end]=Range.edges(range),pointRef=Editor.pointRef(editor,end);return Transforms.delete(editor,{at:range}),pointRef.unref()},matchPath=(editor,path)=>{var[node]=Editor.node(editor,path);return n=>n===node};function ownKeys$1(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread$1(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$1(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$1(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var SelectionTransforms={collapse(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge="anchor"}=options,{selection}=editor;if(selection)if("anchor"===edge)Transforms.select(editor,selection.anchor);else if("focus"===edge)Transforms.select(editor,selection.focus);else if("start"===edge){var[start]=Range.edges(selection);Transforms.select(editor,start)}else if("end"===edge){var[,end]=Range.edges(selection);Transforms.select(editor,end)}},deselect(editor){var{selection}=editor;selection&&editor.apply({type:"set_selection",properties:selection,newProperties:null})},move(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection}=editor,{distance=1,unit="character",reverse=!1}=options,{edge=null}=options;if(selection){"start"===edge&&(edge=Range.isBackward(selection)?"focus":"anchor"),"end"===edge&&(edge=Range.isBackward(selection)?"anchor":"focus");var{anchor,focus}=selection,opts={distance,unit},props={};if(null==edge||"anchor"===edge){var point=reverse?Editor.before(editor,anchor,opts):Editor.after(editor,anchor,opts);point&&(props.anchor=point)}if(null==edge||"focus"===edge){var _point=reverse?Editor.before(editor,focus,opts):Editor.after(editor,focus,opts);_point&&(props.focus=_point)}Transforms.setSelection(editor,props)}},select(editor,target){var{selection}=editor;if(target=Editor.range(editor,target),selection)Transforms.setSelection(editor,target);else{if(!Range.isRange(target))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(target)));editor.apply({type:"set_selection",properties:selection,newProperties:target})}},setPoint(editor,props){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection}=editor,{edge="both"}=options;if(selection){"start"===edge&&(edge=Range.isBackward(selection)?"focus":"anchor"),"end"===edge&&(edge=Range.isBackward(selection)?"anchor":"focus");var{anchor,focus}=selection,point="anchor"===edge?anchor:focus;Transforms.setSelection(editor,{["anchor"===edge?"anchor":"focus"]:_objectSpread$1(_objectSpread$1({},point),props)})}},setSelection(editor,props){var{selection}=editor,oldProps={},newProps={};if(selection){for(var k in props)("anchor"===k&&null!=props.anchor&&!Point.equals(props.anchor,selection.anchor)||"focus"===k&&null!=props.focus&&!Point.equals(props.focus,selection.focus)||"anchor"!==k&&"focus"!==k&&props[k]!==selection[k])&&(oldProps[k]=selection[k],newProps[k]=props[k]);Object.keys(oldProps).length>0&&editor.apply({type:"set_selection",properties:oldProps,newProperties:newProps})}}},TextTransforms={delete(editor){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Editor.withoutNormalizing(editor,(()=>{var{reverse=!1,unit="character",distance=1,voids=!1}=options,{at=editor.selection,hanging=!1}=options;if(at){if(Range.isRange(at)&&Range.isCollapsed(at)&&(at=at.anchor),Point.isPoint(at)){var furthestVoid=Editor.void(editor,{at,mode:"highest"});if(!voids&&furthestVoid){var[,voidPath]=furthestVoid;at=voidPath}else{var opts={unit,distance};at={anchor:at,focus:reverse?Editor.before(editor,at,opts)||Editor.start(editor,[]):Editor.after(editor,at,opts)||Editor.end(editor,[])},hanging=!0}}if(Path.isPath(at))Transforms.removeNodes(editor,{at,voids});else if(!Range.isCollapsed(at)){if(!hanging){var[,_end]=Range.edges(at),endOfDoc=Editor.end(editor,[]);Point.equals(_end,endOfDoc)||(at=Editor.unhangRange(editor,at,{voids}))}var[start,end]=Range.edges(at),startBlock=Editor.above(editor,{match:n=>Editor.isBlock(editor,n),at:start,voids}),endBlock=Editor.above(editor,{match:n=>Editor.isBlock(editor,n),at:end,voids}),isAcrossBlocks=startBlock&&endBlock&&!Path.equals(startBlock[1],endBlock[1]),isSingleText=Path.equals(start.path,end.path),startVoid=voids?null:Editor.void(editor,{at:start,mode:"highest"}),endVoid=voids?null:Editor.void(editor,{at:end,mode:"highest"});if(startVoid){var before=Editor.before(editor,start);before&&startBlock&&Path.isAncestor(startBlock[1],before.path)&&(start=before)}if(endVoid){var after=Editor.after(editor,end);after&&endBlock&&Path.isAncestor(endBlock[1],after.path)&&(end=after)}var lastPath,matches=[];for(var entry of Editor.nodes(editor,{at,voids})){var[node,path]=entry;lastPath&&0===Path.compare(path,lastPath)||(!voids&&Editor.isVoid(editor,node)||!Path.isCommon(path,start.path)&&!Path.isCommon(path,end.path))&&(matches.push(entry),lastPath=path)}var pathRefs=Array.from(matches,(_ref=>{var[,p]=_ref;return Editor.pathRef(editor,p)})),startRef=Editor.pointRef(editor,start),endRef=Editor.pointRef(editor,end);if(!isSingleText&&!startVoid){var _point=startRef.current,[_node]=Editor.leaf(editor,_point),{path:_path}=_point,{offset}=start,text=_node.text.slice(offset);text.length>0&&editor.apply({type:"remove_text",path:_path,offset,text})}for(var pathRef of pathRefs){var _path2=pathRef.unref();Transforms.removeNodes(editor,{at:_path2,voids})}if(!endVoid){var _point2=endRef.current,[_node2]=Editor.leaf(editor,_point2),{path:_path3}=_point2,_offset=isSingleText?start.offset:0,_text=_node2.text.slice(_offset,end.offset);_text.length>0&&editor.apply({type:"remove_text",path:_path3,offset:_offset,text:_text})}!isSingleText&&isAcrossBlocks&&endRef.current&&startRef.current&&Transforms.mergeNodes(editor,{at:endRef.current,hanging:!0,voids});var startUnref=startRef.unref(),endUnref=endRef.unref(),point=reverse?startUnref||endUnref:endUnref||startUnref;null==options.at&&point&&Transforms.select(editor,point)}}}))},insertFragment(editor,fragment){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Editor.withoutNormalizing(editor,(()=>{var{hanging=!1,voids=!1}=options,{at=editor.selection}=options;if(fragment.length&&at){if(Range.isRange(at))if(hanging||(at=Editor.unhangRange(editor,at)),Range.isCollapsed(at))at=at.anchor;else{var[,end]=Range.edges(at);if(!voids&&Editor.void(editor,{at:end}))return;var pointRef=Editor.pointRef(editor,end);Transforms.delete(editor,{at}),at=pointRef.unref()}else Path.isPath(at)&&(at=Editor.start(editor,at));if(voids||!Editor.void(editor,{at})){var inlineElementMatch=Editor.above(editor,{at,match:n=>Editor.isInline(editor,n),mode:"highest",voids});if(inlineElementMatch){var[,_inlinePath]=inlineElementMatch;if(Editor.isEnd(editor,at,_inlinePath))at=Editor.after(editor,_inlinePath);else if(Editor.isStart(editor,at,_inlinePath)){at=Editor.before(editor,_inlinePath)}}var blockMatch=Editor.above(editor,{match:n=>Editor.isBlock(editor,n),at,voids}),[,blockPath]=blockMatch,isBlockStart=Editor.isStart(editor,at,blockPath),isBlockEnd=Editor.isEnd(editor,at,blockPath),isBlockEmpty=isBlockStart&&isBlockEnd,mergeStart=!isBlockStart||isBlockStart&&isBlockEnd,mergeEnd=!isBlockEnd,[,firstPath]=Node.first({children:fragment},[]),[,lastPath]=Node.last({children:fragment},[]),matches=[],matcher=_ref2=>{var[n,p]=_ref2;return!(0===p.length)&&(!!isBlockEmpty||!(mergeStart&&Path.isAncestor(p,firstPath)&&Element.isElement(n)&&!editor.isVoid(n)&&!editor.isInline(n))&&!(mergeEnd&&Path.isAncestor(p,lastPath)&&Element.isElement(n)&&!editor.isVoid(n)&&!editor.isInline(n)))};for(var entry of Node.nodes({children:fragment},{pass:matcher}))matcher(entry)&&matches.push(entry);var starts=[],middles=[],ends=[],starting=!0,hasBlocks=!1;for(var[node]of matches)Element.isElement(node)&&!editor.isInline(node)?(starting=!1,hasBlocks=!0,middles.push(node)):starting?starts.push(node):ends.push(node);var[inlineMatch]=Editor.nodes(editor,{at,match:n=>Text.isText(n)||Editor.isInline(editor,n),mode:"highest",voids}),[,inlinePath]=inlineMatch,isInlineStart=Editor.isStart(editor,at,inlinePath),isInlineEnd=Editor.isEnd(editor,at,inlinePath),middleRef=Editor.pathRef(editor,isBlockEnd?Path.next(blockPath):blockPath),endRef=Editor.pathRef(editor,isInlineEnd?Path.next(inlinePath):inlinePath),blockPathRef=Editor.pathRef(editor,blockPath);Transforms.splitNodes(editor,{at,match:n=>hasBlocks?Editor.isBlock(editor,n):Text.isText(n)||Editor.isInline(editor,n),mode:hasBlocks?"lowest":"highest",voids});var startRef=Editor.pathRef(editor,!isInlineStart||isInlineStart&&isInlineEnd?Path.next(inlinePath):inlinePath);if(Transforms.insertNodes(editor,starts,{at:startRef.current,match:n=>Text.isText(n)||Editor.isInline(editor,n),mode:"highest",voids}),isBlockEmpty&&middles.length&&Transforms.delete(editor,{at:blockPathRef.unref(),voids}),Transforms.insertNodes(editor,middles,{at:middleRef.current,match:n=>Editor.isBlock(editor,n),mode:"lowest",voids}),Transforms.insertNodes(editor,ends,{at:endRef.current,match:n=>Text.isText(n)||Editor.isInline(editor,n),mode:"highest",voids}),!options.at){var path;path=ends.length>0?Path.previous(endRef.current):middles.length>0?Path.previous(middleRef.current):Path.previous(startRef.current);var _end2=Editor.end(editor,path);Transforms.select(editor,_end2)}startRef.unref(),middleRef.unref(),endRef.unref()}}}))},insertText(editor,text){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Editor.withoutNormalizing(editor,(()=>{var{voids=!1}=options,{at=editor.selection}=options;if(at){if(Path.isPath(at)&&(at=Editor.range(editor,at)),Range.isRange(at))if(Range.isCollapsed(at))at=at.anchor;else{var end=Range.end(at);if(!voids&&Editor.void(editor,{at:end}))return;var pointRef=Editor.pointRef(editor,end);Transforms.delete(editor,{at,voids}),at=pointRef.unref(),Transforms.setSelection(editor,{anchor:at,focus:at})}if(voids||!Editor.void(editor,{at})){var{path,offset}=at;text.length>0&&editor.apply({type:"insert_text",path,offset,text})}}}))}};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var Transforms=_objectSpread(_objectSpread(_objectSpread(_objectSpread({},GeneralTransforms),NodeTransforms),SelectionTransforms),TextTransforms)},"./node_modules/stable/stable.js":function(module){module.exports=function(){"use strict";var stable=function(arr,comp){return exec(arr.slice(),comp)};function exec(arr,comp){"function"!=typeof comp&&(comp=function(a,b){return String(a).localeCompare(b)});var len=arr.length;if(len<=1)return arr;for(var buffer=new Array(len),chk=1;chk<len;chk*=2){pass(arr,comp,chk,buffer);var tmp=arr;arr=buffer,buffer=tmp}return arr}stable.inplace=function(arr,comp){var result=exec(arr,comp);return result!==arr&&pass(result,null,arr.length,arr),arr};var pass=function(arr,comp,chk,result){var l,r,e,li,ri,len=arr.length,i=0,dbl=2*chk;for(l=0;l<len;l+=dbl)for(e=(r=l+chk)+chk,r>len&&(r=len),e>len&&(e=len),li=l,ri=r;;)if(li<r&&ri<e)comp(arr[li],arr[ri])<=0?result[i++]=arr[li++]:result[i++]=arr[ri++];else if(li<r)result[i++]=arr[li++];else{if(!(ri<e))break;result[i++]=arr[ri++]}};return stable}()},"./node_modules/string.prototype.matchall/auto.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/string.prototype.matchall/shim.js")()},"./node_modules/string.prototype.matchall/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var Call=__webpack_require__("./node_modules/es-abstract/2021/Call.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),GetMethod=__webpack_require__("./node_modules/es-abstract/2021/GetMethod.js"),IsRegExp=__webpack_require__("./node_modules/es-abstract/2021/IsRegExp.js"),ToString=__webpack_require__("./node_modules/es-abstract/2021/ToString.js"),RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),flagsGetter=__webpack_require__("./node_modules/regexp.prototype.flags/index.js"),$indexOf=callBound("String.prototype.indexOf"),regexpMatchAllPolyfill=__webpack_require__("./node_modules/string.prototype.matchall/polyfill-regexp-matchall.js"),getMatcher=function getMatcher(regexp){var matcherPolyfill=regexpMatchAllPolyfill();if(hasSymbols&&"symbol"==typeof Symbol.matchAll){var matcher=GetMethod(regexp,Symbol.matchAll);return matcher===RegExp.prototype[Symbol.matchAll]&&matcher!==matcherPolyfill?matcherPolyfill:matcher}if(IsRegExp(regexp))return matcherPolyfill};module.exports=function matchAll(regexp){var O=RequireObjectCoercible(this);if(null!=regexp){if(IsRegExp(regexp)){var flags="flags"in regexp?Get(regexp,"flags"):flagsGetter(regexp);if(RequireObjectCoercible(flags),$indexOf(ToString(flags),"g")<0)throw new TypeError("matchAll requires a global regular expression")}var matcher=getMatcher(regexp);if(void 0!==matcher)return Call(matcher,regexp,[O])}var S=ToString(O),rx=new RegExp(regexp,"g");return Call(getMatcher(rx),rx,[S])}},"./node_modules/string.prototype.matchall/polyfill-regexp-matchall.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),regexpMatchAll=__webpack_require__("./node_modules/string.prototype.matchall/regexp-matchall.js");module.exports=function getRegExpMatchAllPolyfill(){return hasSymbols&&"symbol"==typeof Symbol.matchAll&&"function"==typeof RegExp.prototype[Symbol.matchAll]?RegExp.prototype[Symbol.matchAll]:regexpMatchAll}},"./node_modules/string.prototype.matchall/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/string.prototype.matchall/implementation.js");module.exports=function getPolyfill(){if(String.prototype.matchAll)try{"".matchAll(RegExp.prototype)}catch(e){return String.prototype.matchAll}return implementation}},"./node_modules/string.prototype.matchall/regexp-matchall.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var CreateRegExpStringIterator=__webpack_require__("./node_modules/es-abstract/2021/CreateRegExpStringIterator.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),Set=__webpack_require__("./node_modules/es-abstract/2021/Set.js"),SpeciesConstructor=__webpack_require__("./node_modules/es-abstract/2021/SpeciesConstructor.js"),ToLength=__webpack_require__("./node_modules/es-abstract/2021/ToLength.js"),ToString=__webpack_require__("./node_modules/es-abstract/2021/ToString.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),flagsGetter=__webpack_require__("./node_modules/regexp.prototype.flags/index.js"),$indexOf=__webpack_require__("./node_modules/call-bind/callBound.js")("String.prototype.indexOf"),OrigRegExp=RegExp,supportsConstructingWithFlags="flags"in RegExp.prototype,regexMatchAll=function SymbolMatchAll(string){var R=this;if("Object"!==Type(R))throw new TypeError('"this" value must be an Object');var S=ToString(string),tmp=function constructRegex(C,R){var flags="flags"in R?Get(R,"flags"):ToString(flagsGetter(R));return{flags,matcher:new C(supportsConstructingWithFlags&&"string"==typeof flags?R:C===OrigRegExp?R.source:R,flags)}}(SpeciesConstructor(R,OrigRegExp),R),flags=tmp.flags,matcher=tmp.matcher,lastIndex=ToLength(Get(R,"lastIndex"));Set(matcher,"lastIndex",lastIndex,!0);var global=$indexOf(flags,"g")>-1,fullUnicode=$indexOf(flags,"u")>-1;return CreateRegExpStringIterator(matcher,S,global,fullUnicode)},defineP=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor;if(defineP&&gOPD){var desc=gOPD(regexMatchAll,"name");desc&&desc.configurable&&defineP(regexMatchAll,"name",{value:"[Symbol.matchAll]"})}module.exports=regexMatchAll},"./node_modules/string.prototype.matchall/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),getPolyfill=__webpack_require__("./node_modules/string.prototype.matchall/polyfill.js"),regexpMatchAllPolyfill=__webpack_require__("./node_modules/string.prototype.matchall/polyfill-regexp-matchall.js"),defineP=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor;module.exports=function shimMatchAll(){var polyfill=getPolyfill();if(define(String.prototype,{matchAll:polyfill},{matchAll:function(){return String.prototype.matchAll!==polyfill}}),hasSymbols){var symbol=Symbol.matchAll||(Symbol.for?Symbol.for("Symbol.matchAll"):Symbol("Symbol.matchAll"));if(define(Symbol,{matchAll:symbol},{matchAll:function(){return Symbol.matchAll!==symbol}}),defineP&&gOPD){var desc=gOPD(Symbol,symbol);desc&&!desc.configurable||defineP(Symbol,symbol,{configurable:!1,enumerable:!1,value:symbol,writable:!1})}var regexpMatchAll=regexpMatchAllPolyfill(),func={};func[symbol]=regexpMatchAll;var predicate={};predicate[symbol]=function(){return RegExp.prototype[symbol]!==regexpMatchAll},define(RegExp.prototype,func,predicate)}return polyfill}},"./node_modules/string.prototype.padend/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ToLength=__webpack_require__("./node_modules/es-abstract/2021/ToLength.js"),ToString=__webpack_require__("./node_modules/es-abstract/2021/ToString.js"),RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js"),$slice=__webpack_require__("./node_modules/call-bind/callBound.js")("String.prototype.slice");module.exports=function padEnd(maxLength){var fillString,O=RequireObjectCoercible(this),S=ToString(O),stringLength=ToLength(S.length);arguments.length>1&&(fillString=arguments[1]);var filler=void 0===fillString?"":ToString(fillString);""===filler&&(filler=" ");var intMaxLength=ToLength(maxLength);if(intMaxLength<=stringLength)return S;for(var fillLen=intMaxLength-stringLength;filler.length<fillLen;){var fLen=filler.length,remainingCodeUnits=fillLen-fLen;filler+=fLen>remainingCodeUnits?$slice(filler,0,remainingCodeUnits):filler}var truncatedStringFiller=filler.length>fillLen?$slice(filler,0,fillLen):filler;return S+truncatedStringFiller}},"./node_modules/string.prototype.padend/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/string.prototype.padend/implementation.js");module.exports=function getPolyfill(){return"function"==typeof String.prototype.padEnd?String.prototype.padEnd:implementation}},"./node_modules/string.prototype.padend/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/string.prototype.padend/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimPadEnd(){var polyfill=getPolyfill();return define(String.prototype,{padEnd:polyfill},{padEnd:function testPadEnd(){return String.prototype.padEnd!==polyfill}}),polyfill}},"./node_modules/string.prototype.padstart/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ToLength=__webpack_require__("./node_modules/es-abstract/2021/ToLength.js"),ToString=__webpack_require__("./node_modules/es-abstract/2021/ToString.js"),RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js"),$slice=__webpack_require__("./node_modules/call-bind/callBound.js")("String.prototype.slice");module.exports=function padStart(maxLength){var fillString,O=RequireObjectCoercible(this),S=ToString(O),stringLength=ToLength(S.length);arguments.length>1&&(fillString=arguments[1]);var filler=void 0===fillString?"":ToString(fillString);""===filler&&(filler=" ");var intMaxLength=ToLength(maxLength);if(intMaxLength<=stringLength)return S;for(var fillLen=intMaxLength-stringLength;filler.length<fillLen;){var fLen=filler.length,remainingCodeUnits=fillLen-fLen;filler+=fLen>remainingCodeUnits?$slice(filler,0,remainingCodeUnits):filler}var truncatedStringFiller=filler.length>fillLen?$slice(filler,0,fillLen):filler;return truncatedStringFiller+S}},"./node_modules/string.prototype.padstart/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/string.prototype.padstart/implementation.js");module.exports=function getPolyfill(){return"function"==typeof String.prototype.padStart?String.prototype.padStart:implementation}},"./node_modules/string.prototype.padstart/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/string.prototype.padstart/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimPadStart(){var polyfill=getPolyfill();return define(String.prototype,{padStart:polyfill},{padStart:function testPadStart(){return String.prototype.padStart!==polyfill}}),polyfill}},"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isOldIE=function isOldIE(){var memo;return function memorize(){return void 0===memo&&(memo=Boolean(window&&document&&document.all&&!window.atob)),memo}}(),getTarget=function getTarget(){var memo={};return function memorize(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}}(),stylesInDom=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i<stylesInDom.length;i++)if(stylesInDom[i].identifier===identifier){result=i;break}return result}function modulesToDom(list,options){for(var idCountMap={},identifiers=[],i=0;i<list.length;i++){var item=list[i],id=options.base?item[0]+options.base:item[0],count=idCountMap[id]||0,identifier="".concat(id," ").concat(count);idCountMap[id]=count+1;var index=getIndexByIdentifier(identifier),obj={css:item[1],media:item[2],sourceMap:item[3]};-1!==index?(stylesInDom[index].references++,stylesInDom[index].updater(obj)):stylesInDom.push({identifier,updater:addStyle(obj,options),references:1}),identifiers.push(identifier)}return identifiers}function insertStyleElement(options){var style=document.createElement("style"),attributes=options.attributes||{};if(void 0===attributes.nonce){var nonce=__webpack_require__.nc;nonce&&(attributes.nonce=nonce)}if(Object.keys(attributes).forEach((function(key){style.setAttribute(key,attributes[key])})),"function"==typeof options.insert)options.insert(style);else{var target=getTarget(options.insert||"head");if(!target)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");target.appendChild(style)}return style}var replaceText=function replaceText(){var textStore=[];return function replace(index,replacement){return textStore[index]=replacement,textStore.filter(Boolean).join("\n")}}();function applyToSingletonTag(style,index,remove,obj){var css=remove?"":obj.media?"@media ".concat(obj.media," {").concat(obj.css,"}"):obj.css;if(style.styleSheet)style.styleSheet.cssText=replaceText(index,css);else{var cssNode=document.createTextNode(css),childNodes=style.childNodes;childNodes[index]&&style.removeChild(childNodes[index]),childNodes.length?style.insertBefore(cssNode,childNodes[index]):style.appendChild(cssNode)}}function applyToTag(style,options,obj){var css=obj.css,media=obj.media,sourceMap=obj.sourceMap;if(media?style.setAttribute("media",media):style.removeAttribute("media"),sourceMap&&"undefined"!=typeof btoa&&(css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")),style.styleSheet)style.styleSheet.cssText=css;else{for(;style.firstChild;)style.removeChild(style.firstChild);style.appendChild(document.createTextNode(css))}}var singleton=null,singletonCounter=0;function addStyle(obj,options){var style,update,remove;if(options.singleton){var styleIndex=singletonCounter++;style=singleton||(singleton=insertStyleElement(options)),update=applyToSingletonTag.bind(null,style,styleIndex,!1),remove=applyToSingletonTag.bind(null,style,styleIndex,!0)}else style=insertStyleElement(options),update=applyToTag.bind(null,style,options),remove=function remove(){!function removeStyleElement(style){if(null===style.parentNode)return!1;style.parentNode.removeChild(style)}(style)};return update(obj),function updateStyle(newObj){if(newObj){if(newObj.css===obj.css&&newObj.media===obj.media&&newObj.sourceMap===obj.sourceMap)return;update(obj=newObj)}else remove()}}module.exports=function(list,options){(options=options||{}).singleton||"boolean"==typeof options.singleton||(options.singleton=isOldIE());var lastIdentifiers=modulesToDom(list=list||[],options);return function update(newList){if(newList=newList||[],"[object Array]"===Object.prototype.toString.call(newList)){for(var i=0;i<lastIdentifiers.length;i++){var index=getIndexByIdentifier(lastIdentifiers[i]);stylesInDom[index].references--}for(var newLastIdentifiers=modulesToDom(newList,options),_i=0;_i<lastIdentifiers.length;_i++){var _index=getIndexByIdentifier(lastIdentifiers[_i]);0===stylesInDom[_index].references&&(stylesInDom[_index].updater(),stylesInDom.splice(_index,1))}lastIdentifiers=newLastIdentifiers}}}},"./node_modules/symbol.prototype.description/auto.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/symbol.prototype.description/shim.js")()},"./node_modules/symbol.prototype.description/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getSymbolDescription=__webpack_require__("./node_modules/get-symbol-description/index.js");module.exports=function description(){return getSymbolDescription(this)}},"./node_modules/symbol.prototype.description/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),implementation=__webpack_require__("./node_modules/symbol.prototype.description/implementation.js"),gOPD=Object.getOwnPropertyDescriptor;module.exports=function descriptionPolyfill(){if(!hasSymbols||"function"!=typeof gOPD)return null;var desc=gOPD(Symbol.prototype,"description");if(!desc||"function"!=typeof desc.get)return implementation;var emptySymbolDesc=desc.get.call(Symbol());return(void 0===emptySymbolDesc||""===emptySymbolDesc)&&"a"===desc.get.call(Symbol("a"))?desc.get:implementation}},"./node_modules/symbol.prototype.description/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),polyfill=__webpack_require__("./node_modules/symbol.prototype.description/polyfill.js"),getInferredName=__webpack_require__("./node_modules/get-symbol-description/getInferredName.js"),gOPD=Object.getOwnPropertyDescriptor,gOPDs=__webpack_require__("./node_modules/object.getownpropertydescriptors/polyfill.js")(),dP=Object.defineProperty,dPs=Object.defineProperties,setProto=Object.setPrototypeOf,define=function defineGetter(getter){dP(Symbol.prototype,"description",{configurable:!0,enumerable:!1,get:getter})};module.exports=function shimSymbolDescription(){if(!hasSymbols)return!1;var desc=gOPD(Symbol.prototype,"description"),getter=polyfill(),isMissing=!desc||"function"!=typeof desc.get,isBroken=!isMissing&&(void 0!==Symbol().description||""!==Symbol("").description);if(isMissing||isBroken){if(!getInferredName)return function shimGlobalSymbol(getter){var origSym=Function.apply.bind(Symbol),emptyStrings=Object.create?Object.create(null):{},SymNew=function Symbol(){var sym=origSym(this,arguments);return arguments.length>0&&""===arguments[0]&&(emptyStrings[sym]=!0),sym};SymNew.prototype=Symbol.prototype,setProto(SymNew,Symbol);var props=gOPDs(Symbol);delete props.length,delete props.arguments,delete props.caller,dPs(SymNew,props),Symbol=SymNew;var boundGetter=Function.call.bind(getter),wrappedGetter=function description(){var symbolDescription=boundGetter(this);return emptyStrings[this]?"":symbolDescription};return define(wrappedGetter),wrappedGetter}(getter);define(getter)}return getter}},"./node_modules/synchronous-promise/index.js":module=>{"use strict";function makeArrayFrom(obj){return Array.prototype.slice.apply(obj)}function SynchronousPromise(handler){this.status="pending",this._continuations=[],this._parent=null,this._paused=!1,handler&&handler.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function looksLikeAPromise(obj){return obj&&"function"==typeof obj.then}function passThrough(value){return value}function createAggregateErrorFrom(errors){return"undefined"!=typeof window&&"AggregateError"in window?new window.AggregateError(errors):{errors}}if(SynchronousPromise.prototype={then:function(nextFn,catchFn){var next=SynchronousPromise.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:next,nextFn,catchFn}),next;if(catchFn)try{var catchResult=catchFn(this._error);return looksLikeAPromise(catchResult)?(this._chainPromiseData(catchResult,next),next):SynchronousPromise.resolve(catchResult)._setParent(this)}catch(e){return SynchronousPromise.reject(e)._setParent(this)}return SynchronousPromise.reject(this._error)._setParent(this)}return this._continuations.push({promise:next,nextFn,catchFn}),this._runResolutions(),next},catch:function(handler){if(this._isResolved())return SynchronousPromise.resolve(this._data)._setParent(this);var next=SynchronousPromise.unresolved()._setParent(this);return this._continuations.push({promise:next,catchFn:handler}),this._runRejections(),next},finally:function(callback){var ran=!1;function runFinally(result,err){if(!ran){ran=!0,callback||(callback=passThrough);var callbackResult=callback(result);return looksLikeAPromise(callbackResult)?callbackResult.then((function(){if(err)throw err;return result})):result}}return this.then((function(result){return runFinally(result)})).catch((function(err){return runFinally(null,err)}))},pause:function(){return this._paused=!0,this},resume:function(){var firstPaused=this._findFirstPaused();return firstPaused&&(firstPaused._paused=!1,firstPaused._runResolutions(),firstPaused._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(acc,cur){if(cur.promise){var node={promise:cur.promise,children:cur.promise._findAncestry()};acc.push(node)}return acc}),[])},_setParent:function(parent){if(this._parent)throw new Error("parent already set");return this._parent=parent,this},_continueWith:function(data){var firstPending=this._findFirstPending();firstPending&&(firstPending._data=data,firstPending._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(test){return test._isPending&&test._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(test){return test._paused}))},_findFirstAncestor:function(matching){for(var result,test=this;test;)matching(test)&&(result=test),test=test._parent;return result},_failWith:function(error){var firstRejected=this._findFirstPending();firstRejected&&(firstRejected._error=error,firstRejected._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var error=this._error,continuations=this._takeContinuations(),self=this;continuations.forEach((function(cont){if(cont.catchFn)try{var catchResult=cont.catchFn(error);self._handleUserFunctionResult(catchResult,cont.promise)}catch(e){cont.promise.reject(e)}else cont.promise.reject(error)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var continuations=this._takeContinuations();if(looksLikeAPromise(this._data))return this._handleWhenResolvedDataIsPromise(this._data);var data=this._data,self=this;continuations.forEach((function(cont){if(cont.nextFn)try{var result=cont.nextFn(data);self._handleUserFunctionResult(result,cont.promise)}catch(e){self._handleResolutionError(e,cont)}else cont.promise&&cont.promise.resolve(data)}))}},_handleResolutionError:function(e,continuation){if(this._setRejected(),continuation.catchFn)try{return void continuation.catchFn(e)}catch(e2){e=e2}continuation.promise&&continuation.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(data){var self=this;return data.then((function(result){self._data=result,self._runResolutions()})).catch((function(error){self._error=error,self._setRejected(),self._runRejections()}))},_handleUserFunctionResult:function(data,nextSynchronousPromise){looksLikeAPromise(data)?this._chainPromiseData(data,nextSynchronousPromise):nextSynchronousPromise.resolve(data)},_chainPromiseData:function(promiseData,nextSynchronousPromise){promiseData.then((function(newData){nextSynchronousPromise.resolve(newData)})).catch((function(newError){nextSynchronousPromise.reject(newError)}))},_setResolved:function(){this.status="resolved",this._paused||this._runResolutions()},_setRejected:function(){this.status="rejected",this._paused||this._runRejections()},_isPending:function(){return"pending"===this.status},_isResolved:function(){return"resolved"===this.status},_isRejected:function(){return"rejected"===this.status}},SynchronousPromise.resolve=function(result){return new SynchronousPromise((function(resolve,reject){looksLikeAPromise(result)?result.then((function(newResult){resolve(newResult)})).catch((function(error){reject(error)})):resolve(result)}))},SynchronousPromise.reject=function(result){return new SynchronousPromise((function(resolve,reject){reject(result)}))},SynchronousPromise.unresolved=function(){return new SynchronousPromise((function(resolve,reject){this.resolve=resolve,this.reject=reject}))},SynchronousPromise.all=function(){var args=makeArrayFrom(arguments);return Array.isArray(args[0])&&(args=args[0]),args.length?new SynchronousPromise((function(resolve,reject){var allData=[],numResolved=0,rejected=!1;args.forEach((function(arg,idx){SynchronousPromise.resolve(arg).then((function(thisResult){allData[idx]=thisResult,(numResolved+=1)===args.length&&resolve(allData)})).catch((function(err){!function(err){rejected||(rejected=!0,reject(err))}(err)}))}))})):SynchronousPromise.resolve([])},SynchronousPromise.any=function(){var args=makeArrayFrom(arguments);return Array.isArray(args[0])&&(args=args[0]),args.length?new SynchronousPromise((function(resolve,reject){var allErrors=[],numRejected=0,resolved=!1;args.forEach((function(arg,idx){SynchronousPromise.resolve(arg).then((function(thisResult){var result;result=thisResult,resolved||(resolved=!0,resolve(result))})).catch((function(err){allErrors[idx]=err,(numRejected+=1)===args.length&&reject(createAggregateErrorFrom(allErrors))}))}))})):SynchronousPromise.reject(createAggregateErrorFrom([]))},SynchronousPromise.allSettled=function(){var args=makeArrayFrom(arguments);return Array.isArray(args[0])&&(args=args[0]),args.length?new SynchronousPromise((function(resolve){var allData=[],numSettled=0,doSettled=function(){(numSettled+=1)===args.length&&resolve(allData)};args.forEach((function(arg,idx){SynchronousPromise.resolve(arg).then((function(thisResult){allData[idx]={status:"fulfilled",value:thisResult},doSettled()})).catch((function(err){allData[idx]={status:"rejected",reason:err},doSettled()}))}))})):SynchronousPromise.resolve([])},Promise===SynchronousPromise)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var RealPromise=Promise;SynchronousPromise.installGlobally=function(__awaiter){if(Promise===SynchronousPromise)return __awaiter;var result=function patchAwaiterIfRequired(__awaiter){if(void 0===__awaiter||__awaiter.__patched)return __awaiter;var originalAwaiter=__awaiter;return __awaiter=function(){originalAwaiter.apply(this,makeArrayFrom(arguments))},__awaiter.__patched=!0,__awaiter}(__awaiter);return Promise=SynchronousPromise,result},SynchronousPromise.uninstallGlobally=function(){Promise===SynchronousPromise&&(Promise=RealPromise)},module.exports={SynchronousPromise}},"./node_modules/telejson/dist/esm/dom-event.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{_:()=>extractEventHiddenProperties});var eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(event){var rebuildEvent=eventProperties.filter((function(value){return void 0!==event[value]})).reduce((function(acc,value){return _objectSpread(_objectSpread({},acc),{},_defineProperty({},value,event[value]))}),{});return event instanceof CustomEvent&&customEventSpecificProperties.filter((function(value){return void 0!==event[value]})).forEach((function(value){rebuildEvent[value]=event[value]})),rebuildEvent}},"./node_modules/telejson/dist/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Pz:()=>stringify,Qc:()=>parse,pM:()=>isJSON});var is_regex__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/is-regex/index.js"),is_regex__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(is_regex__WEBPACK_IMPORTED_MODULE_0__),is_function__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/is-function/index.js"),is_function__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(is_function__WEBPACK_IMPORTED_MODULE_1__),is_symbol__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/is-symbol/index.js"),is_symbol__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(is_symbol__WEBPACK_IMPORTED_MODULE_2__),isobject__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/telejson/node_modules/isobject/index.js"),lodash_get__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/lodash/get.js"),lodash_get__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_3__),memoizerific__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_4__),_dom_event__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/telejson/dist/esm/dom-event.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _iterableToArrayLimit(arr,i){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}var isRunningInBrowser="undefined"!=typeof window&&void 0!==window.document,isObject=isobject__WEBPACK_IMPORTED_MODULE_5__.Z,removeCodeComments=function removeCodeComments(code){var inQuoteChar=null,inBlockComment=!1,inLineComment=!1,inRegexLiteral=!1,newCode="";if(code.indexOf("//")>=0||code.indexOf("/*")>=0)for(var i=0;i<code.length;i+=1)inQuoteChar||inBlockComment||inLineComment||inRegexLiteral?(inQuoteChar&&(code[i]===inQuoteChar&&"\\"!==code[i-1]||"\n"===code[i]&&"`"!==inQuoteChar)&&(inQuoteChar=null),inRegexLiteral&&("/"===code[i]&&"\\"!==code[i-1]||"\n"===code[i])&&(inRegexLiteral=!1),inBlockComment&&"/"===code[i-1]&&"*"===code[i-2]&&(inBlockComment=!1),inLineComment&&"\n"===code[i]&&(inLineComment=!1)):'"'===code[i]||"'"===code[i]||"`"===code[i]?inQuoteChar=code[i]:"/"===code[i]&&"*"===code[i+1]?inBlockComment=!0:"/"===code[i]&&"/"===code[i+1]?inLineComment=!0:"/"===code[i]&&"/"!==code[i+1]&&(inRegexLiteral=!0),inBlockComment||inLineComment||(newCode+=code[i]);else newCode=code;return newCode},cleanCode=memoizerific__WEBPACK_IMPORTED_MODULE_4___default()(1e4)((function(code){return removeCodeComments(code).replace(/\n\s*/g,"").trim()})),convertShorthandMethods=function convertShorthandMethods(key,stringified){var fnHead=stringified.slice(0,stringified.indexOf("{")),fnBody=stringified.slice(stringified.indexOf("{"));if(fnHead.includes("=>"))return stringified;if(fnHead.includes("function"))return stringified;var modifiedHead=fnHead;return(modifiedHead=modifiedHead.replace(key,"function"))+fnBody},dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=function isJSON(input){return input.match(/^[\[\{\"\}].*[\]\}\"]$/)};function convertUnconventionalData(data){return isRunningInBrowser&&data instanceof Event?(0,_dom_event__WEBPACK_IMPORTED_MODULE_6__._)(data):data}var replacer=function replacer(options){var objects,stack,keys;return function replace(key,value){try{if(""===key)return keys=[],objects=new Map([[value,"[]"]]),stack=[],value;for(;stack.length&&this!==stack[0];)stack.shift(),keys.pop();if("boolean"==typeof value)return value;if(void 0===value){if(!options.allowUndefined)return;return"_undefined_"}if("number"==typeof value)return value===-1/0?"_-Infinity_":value===1/0?"_Infinity_":Number.isNaN(value)?"_NaN_":value;if("bigint"==typeof value)return"_bigint_".concat(value.toString());if("string"==typeof value){if(dateFormat.test(value)){if(!options.allowDate)return;return"_date_".concat(value)}return value}if(is_regex__WEBPACK_IMPORTED_MODULE_0___default()(value)){if(!options.allowRegExp)return;return"_regexp_".concat(value.flags,"|").concat(value.source)}if(is_function__WEBPACK_IMPORTED_MODULE_1___default()(value)){if(!options.allowFunction)return;var name=value.name,stringified=value.toString();return stringified.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?"_function_".concat(name,"|").concat(function(){}.toString()):"_function_".concat(name,"|").concat(cleanCode(convertShorthandMethods(key,stringified)))}if(is_symbol__WEBPACK_IMPORTED_MODULE_2___default()(value)){if(!options.allowSymbol)return;var globalRegistryKey=Symbol.keyFor(value);return void 0!==globalRegistryKey?"_gsymbol_".concat(globalRegistryKey):"_symbol_".concat(value.toString().slice(7,-1))}if(stack.length>=options.maxDepth)return Array.isArray(value)?"[Array(".concat(value.length,")]"):"[Object]";var found=objects.get(value);if(!found){if(value&&isObject(value)&&value.constructor&&value.constructor.name&&"Object"!==value.constructor.name){if(!options.allowClass)return;try{Object.assign(value,{"_constructor-name_":value.constructor.name})}catch(e){}}return keys.push(key),stack.unshift(value),objects.set(value,JSON.stringify(keys)),convertUnconventionalData(value)}return"_duplicate_".concat(found)}catch(e){return}}},reviver=function reviver(options){var refs=[],root;return function revive(key,value){if(""===key&&(root=value,refs.forEach((function(_ref){var target=_ref.target,container=_ref.container,replacement=_ref.replacement,replacementArr=isJSON(replacement)?JSON.parse(replacement):replacement.split(".");0===replacementArr.length?container[target]=root:container[target]=lodash_get__WEBPACK_IMPORTED_MODULE_3___default()(root,replacementArr)}))),"_constructor-name_"===key)return value;if(isObject(value)&&value["_constructor-name_"]){var name=value["_constructor-name_"];if("Object"!==name){var Fn=new Function("return function ".concat(name,"(){}"))();Object.setPrototypeOf(value,new Fn)}return delete value["_constructor-name_"],value}if("string"==typeof value&&value.startsWith("_function_")){var _ref2=value.match(/_function_([^|]*)\|(.*)/)||[],_ref3=_slicedToArray(_ref2,3),_name=_ref3[1],source=_ref3[2],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval("(".concat(sourceSanitized,")"));var result=function result(){var f=eval("(".concat(sourceSanitized,")"));return f.apply(void 0,arguments)};return Object.defineProperty(result,"toString",{value:function value(){return sourceSanitized}}),Object.defineProperty(result,"name",{value:_name}),result}if("string"==typeof value&&value.startsWith("_regexp_")){var _ref4=value.match(/_regexp_([^|]*)\|(.*)/)||[],_ref5=_slicedToArray(_ref4,3),flags=_ref5[1],_source=_ref5[2];return new RegExp(_source,flags)}return"string"==typeof value&&value.startsWith("_date_")?new Date(value.replace("_date_","")):"string"==typeof value&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):"string"==typeof value&&value.startsWith("_symbol_")?Symbol(value.replace("_symbol_","")):"string"==typeof value&&value.startsWith("_gsymbol_")?Symbol.for(value.replace("_gsymbol_","")):"string"==typeof value&&"_-Infinity_"===value?-1/0:"string"==typeof value&&"_Infinity_"===value?1/0:"string"==typeof value&&"_NaN_"===value?NaN:"string"==typeof value&&value.startsWith("_bigint_")&&"function"==typeof BigInt?BigInt(value.replace("_bigint_","")):value}},defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=function stringify(data){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},mergedOptions=_objectSpread(_objectSpread({},defaultOptions),options);return JSON.stringify(convertUnconventionalData(data),replacer(mergedOptions),options.space)},mutator=function mutator(){var mutated=new Map;return function mutateUndefined(value){isObject(value)&&Object.entries(value).forEach((function(_ref6){var _ref7=_slicedToArray(_ref6,2),k=_ref7[0],v=_ref7[1];"_undefined_"===v?value[k]=void 0:mutated.get(v)||(mutated.set(v,!0),mutateUndefined(v))})),Array.isArray(value)&&value.forEach((function(v,index){mutated.set(v,!0),mutateUndefined(v),"_undefined_"===v&&(mutated.set(v,!0),value[index]=void 0)}))}},parse=function parse(data){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},mergedOptions=_objectSpread(_objectSpread({},defaultOptions),options),result=JSON.parse(data,reviver(mergedOptions));return mutator()(result),result}},"./node_modules/telejson/node_modules/isobject/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function isObject(val){return null!=val&&"object"==typeof val&&!1===Array.isArray(val)}__webpack_require__.d(__webpack_exports__,{Z:()=>isObject})},"./node_modules/ts-dedent/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function dedent(templ){for(var values=[],_i=1;_i<arguments.length;_i++)values[_i-1]=arguments[_i];var strings=Array.from("string"==typeof templ?[templ]:templ);strings[strings.length-1]=strings[strings.length-1].replace(/\r?\n([\t ]*)$/,"");var indentLengths=strings.reduce((function(arr,str){var matches=str.match(/\n([\t ]+|(?!\s).)/g);return matches?arr.concat(matches.map((function(match){var _a,_b;return null!==(_b=null===(_a=match.match(/[\t ]/g))||void 0===_a?void 0:_a.length)&&void 0!==_b?_b:0}))):arr}),[]);if(indentLengths.length){var pattern_1=new RegExp("\n[\t ]{"+Math.min.apply(Math,indentLengths)+"}","g");strings=strings.map((function(str){return str.replace(pattern_1,"\n")}))}strings[0]=strings[0].replace(/^\r?\n/,"");var string=strings[0];return values.forEach((function(value,i){var endentations=string.match(/(?:^|\n)( *)$/),endentation=endentations?endentations[1]:"",indentedValue=value;"string"==typeof value&&value.includes("\n")&&(indentedValue=String(value).split("\n").map((function(str,i){return 0===i?str:""+endentation+str})).join("\n")),string+=indentedValue+strings[i+1]})),string}},"./node_modules/url-toolkit/src/url-toolkit.js":function(module){var URL_REGEX,FIRST_SEGMENT_REGEX,SLASH_DOT_REGEX,SLASH_DOT_DOT_REGEX,URLToolkit;URL_REGEX=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,FIRST_SEGMENT_REGEX=/^(?=([^\/?#]*))\1([^]*)$/,SLASH_DOT_REGEX=/(?:\/|^)\.(?=\/)/g,SLASH_DOT_DOT_REGEX=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,URLToolkit={buildAbsoluteURL:function(baseURL,relativeURL,opts){if(opts=opts||{},baseURL=baseURL.trim(),!(relativeURL=relativeURL.trim())){if(!opts.alwaysNormalize)return baseURL;var basePartsForNormalise=URLToolkit.parseURL(baseURL);if(!basePartsForNormalise)throw new Error("Error trying to parse base URL.");return basePartsForNormalise.path=URLToolkit.normalizePath(basePartsForNormalise.path),URLToolkit.buildURLFromParts(basePartsForNormalise)}var relativeParts=URLToolkit.parseURL(relativeURL);if(!relativeParts)throw new Error("Error trying to parse relative URL.");if(relativeParts.scheme)return opts.alwaysNormalize?(relativeParts.path=URLToolkit.normalizePath(relativeParts.path),URLToolkit.buildURLFromParts(relativeParts)):relativeURL;var baseParts=URLToolkit.parseURL(baseURL);if(!baseParts)throw new Error("Error trying to parse base URL.");if(!baseParts.netLoc&&baseParts.path&&"/"!==baseParts.path[0]){var pathParts=FIRST_SEGMENT_REGEX.exec(baseParts.path);baseParts.netLoc=pathParts[1],baseParts.path=pathParts[2]}baseParts.netLoc&&!baseParts.path&&(baseParts.path="/");var builtParts={scheme:baseParts.scheme,netLoc:relativeParts.netLoc,path:null,params:relativeParts.params,query:relativeParts.query,fragment:relativeParts.fragment};if(!relativeParts.netLoc&&(builtParts.netLoc=baseParts.netLoc,"/"!==relativeParts.path[0]))if(relativeParts.path){var baseURLPath=baseParts.path,newPath=baseURLPath.substring(0,baseURLPath.lastIndexOf("/")+1)+relativeParts.path;builtParts.path=URLToolkit.normalizePath(newPath)}else builtParts.path=baseParts.path,relativeParts.params||(builtParts.params=baseParts.params,relativeParts.query||(builtParts.query=baseParts.query));return null===builtParts.path&&(builtParts.path=opts.alwaysNormalize?URLToolkit.normalizePath(relativeParts.path):relativeParts.path),URLToolkit.buildURLFromParts(builtParts)},parseURL:function(url){var parts=URL_REGEX.exec(url);return parts?{scheme:parts[1]||"",netLoc:parts[2]||"",path:parts[3]||"",params:parts[4]||"",query:parts[5]||"",fragment:parts[6]||""}:null},normalizePath:function(path){for(path=path.split("").reverse().join("").replace(SLASH_DOT_REGEX,"");path.length!==(path=path.replace(SLASH_DOT_DOT_REGEX,"")).length;);return path.split("").reverse().join("")},buildURLFromParts:function(parts){return parts.scheme+parts.netLoc+parts.path+parts.params+parts.query+parts.fragment}},module.exports=URLToolkit},"./node_modules/util-deprecate/browser.js":(module,__unused_webpack_exports,__webpack_require__)=>{function config(name){try{if(!__webpack_require__.g.localStorage)return!1}catch(_){return!1}var val=__webpack_require__.g.localStorage[name];return null!=val&&"true"===String(val).toLowerCase()}module.exports=function deprecate(fn,msg){if(config("noDeprecation"))return fn;var warned=!1;return function deprecated(){if(!warned){if(config("throwDeprecation"))throw new Error(msg);config("traceDeprecation")?console.trace(msg):console.warn(msg),warned=!0}return fn.apply(this,arguments)}}},"./node_modules/uuid-browser/lib/bytesToUuid.js":module=>{for(var byteToHex=[],i=0;i<256;++i)byteToHex[i]=(i+256).toString(16).substr(1);module.exports=function bytesToUuid(buf,offset){var i=offset||0,bth=byteToHex;return bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]}},"./node_modules/uuid-browser/lib/rng-browser.js":(module,__unused_webpack_exports,__webpack_require__)=>{var rng,crypto=void 0!==__webpack_require__.g&&(__webpack_require__.g.crypto||__webpack_require__.g.msCrypto);if(crypto&&crypto.getRandomValues){var rnds8=new Uint8Array(16);rng=function whatwgRNG(){return crypto.getRandomValues(rnds8),rnds8}}if(!rng){var rnds=new Array(16);rng=function(){for(var r,i=0;i<16;i++)0==(3&i)&&(r=4294967296*Math.random()),rnds[i]=r>>>((3&i)<<3)&255;return rnds}}module.exports=rng},"./node_modules/uuid-browser/v4.js":(module,__unused_webpack_exports,__webpack_require__)=>{var rng=__webpack_require__("./node_modules/uuid-browser/lib/rng-browser.js"),bytesToUuid=__webpack_require__("./node_modules/uuid-browser/lib/bytesToUuid.js");module.exports=function v4(options,buf,offset){var i=buf&&offset||0;"string"==typeof options&&(buf="binary"==options?new Array(16):null,options=null);var rnds=(options=options||{}).random||(options.rng||rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf)for(var ii=0;ii<16;++ii)buf[i+ii]=rnds[ii];return buf||bytesToUuid(rnds)}},"./node_modules/video.js/dist/video.es.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>video_es});var global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),global_document=__webpack_require__("./node_modules/global/document.js"),document_default=__webpack_require__.n(global_document),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),keycode=__webpack_require__("./node_modules/keycode/index.js"),keycode_default=__webpack_require__.n(keycode),assertThisInitialized=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),inheritsLoose=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"),tuple=__webpack_require__("./node_modules/safe-json-parse/tuple.js"),tuple_default=__webpack_require__.n(tuple),lib=__webpack_require__("./node_modules/@videojs/xhr/lib/index.js"),lib_default=__webpack_require__.n(lib),browser_index=__webpack_require__("./node_modules/videojs-vtt.js/lib/browser-index.js"),browser_index_default=__webpack_require__.n(browser_index),construct=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/construct.js"),inherits=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),url_toolkit=__webpack_require__("./node_modules/url-toolkit/src/url-toolkit.js"),url_toolkit_default=__webpack_require__.n(url_toolkit);const resolve_url=function resolveUrl(baseUrl,relativeUrl){if(/^[a-z]+:/i.test(relativeUrl))return relativeUrl;/^data:/.test(baseUrl)&&(baseUrl=window_default().location&&window_default().location.href||"");var nativeURL="function"==typeof window_default().URL,protocolLess=/^\/\//.test(baseUrl),removeLocation=!window_default().location&&!/\/\//i.test(baseUrl);if(nativeURL?baseUrl=new(window_default().URL)(baseUrl,window_default().location||"http://example.com"):/\/\//i.test(baseUrl)||(baseUrl=url_toolkit_default().buildAbsoluteURL(window_default().location&&window_default().location.href||"",baseUrl)),nativeURL){var newUrl=new URL(relativeUrl,baseUrl);return removeLocation?newUrl.href.slice("http://example.com".length):protocolLess?newUrl.href.slice(newUrl.protocol.length):newUrl.href}return url_toolkit_default().buildAbsoluteURL(baseUrl,relativeUrl)};var Stream=function(){function Stream(){this.listeners={}}var _proto=Stream.prototype;return _proto.on=function on(type,listener){this.listeners[type]||(this.listeners[type]=[]),this.listeners[type].push(listener)},_proto.off=function off(type,listener){if(!this.listeners[type])return!1;var index=this.listeners[type].indexOf(listener);return this.listeners[type]=this.listeners[type].slice(0),this.listeners[type].splice(index,1),index>-1},_proto.trigger=function trigger(type){var callbacks=this.listeners[type];if(callbacks)if(2===arguments.length)for(var length=callbacks.length,i=0;i<length;++i)callbacks[i].call(this,arguments[1]);else for(var args=Array.prototype.slice.call(arguments,1),_length=callbacks.length,_i=0;_i<_length;++_i)callbacks[_i].apply(this,args)},_proto.dispose=function dispose(){this.listeners={}},_proto.pipe=function pipe(destination){this.on("data",(function(data){destination.push(data)}))},Stream}();function decodeB64ToUint8Array(b64Text){for(var decodedString=function atob(s){return window_default().atob?window_default().atob(s):Buffer.from(s,"base64").toString("binary")}(b64Text),array=new Uint8Array(decodedString.length),i=0;i<decodedString.length;i++)array[i]=decodedString.charCodeAt(i);return array}var a,b,DESCRIPTORS,LineStream=function(_Stream){function LineStream(){var _this;return(_this=_Stream.call(this)||this).buffer="",_this}return(0,inheritsLoose.Z)(LineStream,_Stream),LineStream.prototype.push=function push(data){var nextNewline;for(this.buffer+=data,nextNewline=this.buffer.indexOf("\n");nextNewline>-1;nextNewline=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,nextNewline)),this.buffer=this.buffer.substring(nextNewline+1)},LineStream}(Stream),TAB=String.fromCharCode(9),parseByterange=function parseByterange(byterangeString){var match=/([0-9.]*)?@?([0-9.]*)?/.exec(byterangeString||""),result={};return match[1]&&(result.length=parseInt(match[1],10)),match[2]&&(result.offset=parseInt(match[2],10)),result},parseAttributes=function parseAttributes(attributes){for(var attr,attrs=attributes.split(function attributeSeparator(){return new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')}()),result={},i=attrs.length;i--;)""!==attrs[i]&&((attr=/([^=]*)=(.*)/.exec(attrs[i]).slice(1))[0]=attr[0].replace(/^\s+|\s+$/g,""),attr[1]=attr[1].replace(/^\s+|\s+$/g,""),attr[1]=attr[1].replace(/^['"](.*)['"]$/g,"$1"),result[attr[0]]=attr[1]);return result},ParseStream=function(_Stream){function ParseStream(){var _this;return(_this=_Stream.call(this)||this).customParsers=[],_this.tagMappers=[],_this}(0,inheritsLoose.Z)(ParseStream,_Stream);var _proto=ParseStream.prototype;return _proto.push=function push(line){var match,event,_this2=this;0!==(line=line.trim()).length&&("#"===line[0]?this.tagMappers.reduce((function(acc,mapper){var mappedLine=mapper(line);return mappedLine===line?acc:acc.concat([mappedLine])}),[line]).forEach((function(newLine){for(var i=0;i<_this2.customParsers.length;i++)if(_this2.customParsers[i].call(_this2,newLine))return;if(0===newLine.indexOf("#EXT"))if(newLine=newLine.replace("\r",""),match=/^#EXTM3U/.exec(newLine))_this2.trigger("data",{type:"tag",tagType:"m3u"});else{if(match=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(newLine))return event={type:"tag",tagType:"inf"},match[1]&&(event.duration=parseFloat(match[1])),match[2]&&(event.title=match[2]),void _this2.trigger("data",event);if(match=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(newLine))return event={type:"tag",tagType:"targetduration"},match[1]&&(event.duration=parseInt(match[1],10)),void _this2.trigger("data",event);if(match=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(newLine))return event={type:"tag",tagType:"version"},match[1]&&(event.version=parseInt(match[1],10)),void _this2.trigger("data",event);if(match=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(newLine))return event={type:"tag",tagType:"media-sequence"},match[1]&&(event.number=parseInt(match[1],10)),void _this2.trigger("data",event);if(match=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(newLine))return event={type:"tag",tagType:"discontinuity-sequence"},match[1]&&(event.number=parseInt(match[1],10)),void _this2.trigger("data",event);if(match=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(newLine))return event={type:"tag",tagType:"playlist-type"},match[1]&&(event.playlistType=match[1]),void _this2.trigger("data",event);if(match=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(newLine))return event=(0,esm_extends.Z)(parseByterange(match[1]),{type:"tag",tagType:"byterange"}),void _this2.trigger("data",event);if(match=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(newLine))return event={type:"tag",tagType:"allow-cache"},match[1]&&(event.allowed=!/NO/.test(match[1])),void _this2.trigger("data",event);if(match=/^#EXT-X-MAP:?(.*)$/.exec(newLine)){if(event={type:"tag",tagType:"map"},match[1]){var attributes=parseAttributes(match[1]);attributes.URI&&(event.uri=attributes.URI),attributes.BYTERANGE&&(event.byterange=parseByterange(attributes.BYTERANGE))}_this2.trigger("data",event)}else if(match=/^#EXT-X-STREAM-INF:?(.*)$/.exec(newLine)){if(event={type:"tag",tagType:"stream-inf"},match[1]){if(event.attributes=parseAttributes(match[1]),event.attributes.RESOLUTION){var split=event.attributes.RESOLUTION.split("x"),resolution={};split[0]&&(resolution.width=parseInt(split[0],10)),split[1]&&(resolution.height=parseInt(split[1],10)),event.attributes.RESOLUTION=resolution}event.attributes.BANDWIDTH&&(event.attributes.BANDWIDTH=parseInt(event.attributes.BANDWIDTH,10)),event.attributes["PROGRAM-ID"]&&(event.attributes["PROGRAM-ID"]=parseInt(event.attributes["PROGRAM-ID"],10))}_this2.trigger("data",event)}else{if(match=/^#EXT-X-MEDIA:?(.*)$/.exec(newLine))return event={type:"tag",tagType:"media"},match[1]&&(event.attributes=parseAttributes(match[1])),void _this2.trigger("data",event);if(match=/^#EXT-X-ENDLIST/.exec(newLine))_this2.trigger("data",{type:"tag",tagType:"endlist"});else if(match=/^#EXT-X-DISCONTINUITY/.exec(newLine))_this2.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(match=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(newLine))return event={type:"tag",tagType:"program-date-time"},match[1]&&(event.dateTimeString=match[1],event.dateTimeObject=new Date(match[1])),void _this2.trigger("data",event);if(match=/^#EXT-X-KEY:?(.*)$/.exec(newLine))return event={type:"tag",tagType:"key"},match[1]&&(event.attributes=parseAttributes(match[1]),event.attributes.IV&&("0x"===event.attributes.IV.substring(0,2).toLowerCase()&&(event.attributes.IV=event.attributes.IV.substring(2)),event.attributes.IV=event.attributes.IV.match(/.{8}/g),event.attributes.IV[0]=parseInt(event.attributes.IV[0],16),event.attributes.IV[1]=parseInt(event.attributes.IV[1],16),event.attributes.IV[2]=parseInt(event.attributes.IV[2],16),event.attributes.IV[3]=parseInt(event.attributes.IV[3],16),event.attributes.IV=new Uint32Array(event.attributes.IV))),void _this2.trigger("data",event);if(match=/^#EXT-X-START:?(.*)$/.exec(newLine))return event={type:"tag",tagType:"start"},match[1]&&(event.attributes=parseAttributes(match[1]),event.attributes["TIME-OFFSET"]=parseFloat(event.attributes["TIME-OFFSET"]),event.attributes.PRECISE=/YES/.test(event.attributes.PRECISE)),void _this2.trigger("data",event);if(match=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(newLine))return event={type:"tag",tagType:"cue-out-cont"},match[1]?event.data=match[1]:event.data="",void _this2.trigger("data",event);if(match=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(newLine))return event={type:"tag",tagType:"cue-out"},match[1]?event.data=match[1]:event.data="",void _this2.trigger("data",event);if(match=/^#EXT-X-CUE-IN:?(.*)?$/.exec(newLine))return event={type:"tag",tagType:"cue-in"},match[1]?event.data=match[1]:event.data="",void _this2.trigger("data",event);if((match=/^#EXT-X-SKIP:(.*)$/.exec(newLine))&&match[1])return(event={type:"tag",tagType:"skip"}).attributes=parseAttributes(match[1]),event.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(event.attributes["SKIPPED-SEGMENTS"]=parseInt(event.attributes["SKIPPED-SEGMENTS"],10)),event.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(event.attributes["RECENTLY-REMOVED-DATERANGES"]=event.attributes["RECENTLY-REMOVED-DATERANGES"].split(TAB)),void _this2.trigger("data",event);if((match=/^#EXT-X-PART:(.*)$/.exec(newLine))&&match[1])return(event={type:"tag",tagType:"part"}).attributes=parseAttributes(match[1]),["DURATION"].forEach((function(key){event.attributes.hasOwnProperty(key)&&(event.attributes[key]=parseFloat(event.attributes[key]))})),["INDEPENDENT","GAP"].forEach((function(key){event.attributes.hasOwnProperty(key)&&(event.attributes[key]=/YES/.test(event.attributes[key]))})),event.attributes.hasOwnProperty("BYTERANGE")&&(event.attributes.byterange=parseByterange(event.attributes.BYTERANGE)),void _this2.trigger("data",event);if((match=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(newLine))&&match[1])return(event={type:"tag",tagType:"server-control"}).attributes=parseAttributes(match[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(key){event.attributes.hasOwnProperty(key)&&(event.attributes[key]=parseFloat(event.attributes[key]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(key){event.attributes.hasOwnProperty(key)&&(event.attributes[key]=/YES/.test(event.attributes[key]))})),void _this2.trigger("data",event);if((match=/^#EXT-X-PART-INF:(.*)$/.exec(newLine))&&match[1])return(event={type:"tag",tagType:"part-inf"}).attributes=parseAttributes(match[1]),["PART-TARGET"].forEach((function(key){event.attributes.hasOwnProperty(key)&&(event.attributes[key]=parseFloat(event.attributes[key]))})),void _this2.trigger("data",event);if((match=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(newLine))&&match[1])return(event={type:"tag",tagType:"preload-hint"}).attributes=parseAttributes(match[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(key){if(event.attributes.hasOwnProperty(key)){event.attributes[key]=parseInt(event.attributes[key],10);var subkey="BYTERANGE-LENGTH"===key?"length":"offset";event.attributes.byterange=event.attributes.byterange||{},event.attributes.byterange[subkey]=event.attributes[key],delete event.attributes[key]}})),void _this2.trigger("data",event);if((match=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(newLine))&&match[1])return(event={type:"tag",tagType:"rendition-report"}).attributes=parseAttributes(match[1]),["LAST-MSN","LAST-PART"].forEach((function(key){event.attributes.hasOwnProperty(key)&&(event.attributes[key]=parseInt(event.attributes[key],10))})),void _this2.trigger("data",event);_this2.trigger("data",{type:"tag",data:newLine.slice(4)})}}}else _this2.trigger("data",{type:"comment",text:newLine.slice(1)})})):this.trigger("data",{type:"uri",uri:line}))},_proto.addParser=function addParser(_ref){var _this3=this,expression=_ref.expression,customType=_ref.customType,dataParser=_ref.dataParser,segment=_ref.segment;"function"!=typeof dataParser&&(dataParser=function dataParser(line){return line}),this.customParsers.push((function(line){if(expression.exec(line))return _this3.trigger("data",{type:"custom",data:dataParser(line),customType,segment}),!0}))},_proto.addTagMapper=function addTagMapper(_ref2){var expression=_ref2.expression,map=_ref2.map;this.tagMappers.push((function mapFn(line){return expression.test(line)?map(line):line}))},ParseStream}(Stream),camelCaseKeys=function camelCaseKeys(attributes){var result={};return Object.keys(attributes).forEach((function(key){result[function camelCase(str){return str.toLowerCase().replace(/-(\w)/g,(function(a){return a[1].toUpperCase()}))}(key)]=attributes[key]})),result},setHoldBack=function setHoldBack(manifest){var serverControl=manifest.serverControl,targetDuration=manifest.targetDuration,partTargetDuration=manifest.partTargetDuration;if(serverControl){var tag="#EXT-X-SERVER-CONTROL",hb="holdBack",phb="partHoldBack",minTargetDuration=targetDuration&&3*targetDuration,minPartDuration=partTargetDuration&&2*partTargetDuration;targetDuration&&!serverControl.hasOwnProperty(hb)&&(serverControl[hb]=minTargetDuration,this.trigger("info",{message:tag+" defaulting HOLD-BACK to targetDuration * 3 ("+minTargetDuration+")."})),minTargetDuration&&serverControl[hb]<minTargetDuration&&(this.trigger("warn",{message:tag+" clamping HOLD-BACK ("+serverControl[hb]+") to targetDuration * 3 ("+minTargetDuration+")"}),serverControl[hb]=minTargetDuration),partTargetDuration&&!serverControl.hasOwnProperty(phb)&&(serverControl[phb]=3*partTargetDuration,this.trigger("info",{message:tag+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+serverControl[phb]+")."})),partTargetDuration&&serverControl[phb]<minPartDuration&&(this.trigger("warn",{message:tag+" clamping PART-HOLD-BACK ("+serverControl[phb]+") to partTargetDuration * 2 ("+minPartDuration+")."}),serverControl[phb]=minPartDuration)}},Parser=function(_Stream){function Parser(){var _this;(_this=_Stream.call(this)||this).lineStream=new LineStream,_this.parseStream=new ParseStream,_this.lineStream.pipe(_this.parseStream);var currentMap,_key,self=(0,assertThisInitialized.Z)(_this),uris=[],currentUri={},hasParts=!1,noop=function noop(){},defaultMediaGroups={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},currentTimeline=0;_this.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var lastByterangeEnd=0,lastPartByterangeEnd=0;return _this.on("end",(function(){currentUri.uri||!currentUri.parts&&!currentUri.preloadHints||(!currentUri.map&¤tMap&&(currentUri.map=currentMap),!currentUri.key&&_key&&(currentUri.key=_key),currentUri.timeline||"number"!=typeof currentTimeline||(currentUri.timeline=currentTimeline),_this.manifest.preloadSegment=currentUri)})),_this.parseStream.on("data",(function(entry){var mediaGroup,rendition;({tag:function tag(){({version:function version(){entry.version&&(this.manifest.version=entry.version)},"allow-cache":function allowCache(){this.manifest.allowCache=entry.allowed,"allowed"in entry||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function byterange(){var byterange={};"length"in entry&&(currentUri.byterange=byterange,byterange.length=entry.length,"offset"in entry||(entry.offset=lastByterangeEnd)),"offset"in entry&&(currentUri.byterange=byterange,byterange.offset=entry.offset),lastByterangeEnd=byterange.offset+byterange.length},endlist:function endlist(){this.manifest.endList=!0},inf:function inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),entry.duration>0&&(currentUri.duration=entry.duration),0===entry.duration&&(currentUri.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=uris},key:function key(){if(entry.attributes)if("NONE"!==entry.attributes.METHOD)if(entry.attributes.URI){if("com.apple.streamingkeydelivery"===entry.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:entry.attributes});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===entry.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(entry.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===entry.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==entry.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):entry.attributes.KEYID&&"0x"===entry.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:entry.attributes.KEYFORMAT,keyId:entry.attributes.KEYID.substring(2)},pssh:decodeB64ToUint8Array(entry.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}entry.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),_key={method:entry.attributes.METHOD||"AES-128",uri:entry.attributes.URI},void 0!==entry.attributes.IV&&(_key.iv=entry.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else _key=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function mediaSequence(){isFinite(entry.number)?this.manifest.mediaSequence=entry.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+entry.number})},"discontinuity-sequence":function discontinuitySequence(){isFinite(entry.number)?(this.manifest.discontinuitySequence=entry.number,currentTimeline=entry.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+entry.number})},"playlist-type":function playlistType(){/VOD|EVENT/.test(entry.playlistType)?this.manifest.playlistType=entry.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+entry.playlist})},map:function map(){currentMap={},entry.uri&&(currentMap.uri=entry.uri),entry.byterange&&(currentMap.byterange=entry.byterange),_key&&(currentMap.key=_key)},"stream-inf":function streamInf(){this.manifest.playlists=uris,this.manifest.mediaGroups=this.manifest.mediaGroups||defaultMediaGroups,entry.attributes?(currentUri.attributes||(currentUri.attributes={}),(0,esm_extends.Z)(currentUri.attributes,entry.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||defaultMediaGroups,entry.attributes&&entry.attributes.TYPE&&entry.attributes["GROUP-ID"]&&entry.attributes.NAME){var mediaGroupType=this.manifest.mediaGroups[entry.attributes.TYPE];mediaGroupType[entry.attributes["GROUP-ID"]]=mediaGroupType[entry.attributes["GROUP-ID"]]||{},mediaGroup=mediaGroupType[entry.attributes["GROUP-ID"]],(rendition={default:/yes/i.test(entry.attributes.DEFAULT)}).default?rendition.autoselect=!0:rendition.autoselect=/yes/i.test(entry.attributes.AUTOSELECT),entry.attributes.LANGUAGE&&(rendition.language=entry.attributes.LANGUAGE),entry.attributes.URI&&(rendition.uri=entry.attributes.URI),entry.attributes["INSTREAM-ID"]&&(rendition.instreamId=entry.attributes["INSTREAM-ID"]),entry.attributes.CHARACTERISTICS&&(rendition.characteristics=entry.attributes.CHARACTERISTICS),entry.attributes.FORCED&&(rendition.forced=/yes/i.test(entry.attributes.FORCED)),mediaGroup[entry.attributes.NAME]=rendition}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function discontinuity(){currentTimeline+=1,currentUri.discontinuity=!0,this.manifest.discontinuityStarts.push(uris.length)},"program-date-time":function programDateTime(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=entry.dateTimeString,this.manifest.dateTimeObject=entry.dateTimeObject),currentUri.dateTimeString=entry.dateTimeString,currentUri.dateTimeObject=entry.dateTimeObject},targetduration:function targetduration(){!isFinite(entry.duration)||entry.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+entry.duration}):(this.manifest.targetDuration=entry.duration,setHoldBack.call(this,this.manifest))},start:function start(){entry.attributes&&!isNaN(entry.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:entry.attributes["TIME-OFFSET"],precise:entry.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function cueOut(){currentUri.cueOut=entry.data},"cue-out-cont":function cueOutCont(){currentUri.cueOutCont=entry.data},"cue-in":function cueIn(){currentUri.cueIn=entry.data},skip:function skip(){this.manifest.skip=camelCaseKeys(entry.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",entry.attributes,["SKIPPED-SEGMENTS"])},part:function part(){var _this2=this;hasParts=!0;var segmentIndex=this.manifest.segments.length,part=camelCaseKeys(entry.attributes);currentUri.parts=currentUri.parts||[],currentUri.parts.push(part),part.byterange&&(part.byterange.hasOwnProperty("offset")||(part.byterange.offset=lastPartByterangeEnd),lastPartByterangeEnd=part.byterange.offset+part.byterange.length);var partIndex=currentUri.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+partIndex+" for segment #"+segmentIndex,entry.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(r,i){r.hasOwnProperty("lastPart")||_this2.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+i+" lacks required attribute(s): LAST-PART"})}))},"server-control":function serverControl(){var attrs=this.manifest.serverControl=camelCaseKeys(entry.attributes);attrs.hasOwnProperty("canBlockReload")||(attrs.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),setHoldBack.call(this,this.manifest),attrs.canSkipDateranges&&!attrs.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function preloadHint(){var segmentIndex=this.manifest.segments.length,hint=camelCaseKeys(entry.attributes),isPart=hint.type&&"PART"===hint.type;currentUri.preloadHints=currentUri.preloadHints||[],currentUri.preloadHints.push(hint),hint.byterange&&(hint.byterange.hasOwnProperty("offset")||(hint.byterange.offset=isPart?lastPartByterangeEnd:0,isPart&&(lastPartByterangeEnd=hint.byterange.offset+hint.byterange.length)));var index=currentUri.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+index+" for segment #"+segmentIndex,entry.attributes,["TYPE","URI"]),hint.type)for(var i=0;i<currentUri.preloadHints.length-1;i++){var otherHint=currentUri.preloadHints[i];otherHint.type&&(otherHint.type===hint.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+index+" for segment #"+segmentIndex+" has the same TYPE "+hint.type+" as preload hint #"+i}))}},"rendition-report":function renditionReport(){var report=camelCaseKeys(entry.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(report);var index=this.manifest.renditionReports.length-1,required=["LAST-MSN","URI"];hasParts&&required.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+index,entry.attributes,required)},"part-inf":function partInf(){this.manifest.partInf=camelCaseKeys(entry.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",entry.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),setHoldBack.call(this,this.manifest)}}[entry.tagType]||noop).call(self)},uri:function uri(){currentUri.uri=entry.uri,uris.push(currentUri),this.manifest.targetDuration&&!("duration"in currentUri)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),currentUri.duration=this.manifest.targetDuration),_key&&(currentUri.key=_key),currentUri.timeline=currentTimeline,currentMap&&(currentUri.map=currentMap),lastPartByterangeEnd=0,currentUri={}},comment:function comment(){},custom:function custom(){entry.segment?(currentUri.custom=currentUri.custom||{},currentUri.custom[entry.customType]=entry.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[entry.customType]=entry.data)}})[entry.type].call(self)})),_this}(0,inheritsLoose.Z)(Parser,_Stream);var _proto=Parser.prototype;return _proto.warnOnMissingAttributes_=function warnOnMissingAttributes_(identifier,attributes,required){var missing=[];required.forEach((function(key){attributes.hasOwnProperty(key)||missing.push(key)})),missing.length&&this.trigger("warn",{message:identifier+" lacks required attribute(s): "+missing.join(", ")})},_proto.push=function push(chunk){this.lineStream.push(chunk)},_proto.end=function end(){this.lineStream.push("\n"),this.trigger("end")},_proto.addParser=function addParser(options){this.parseStream.addParser(options)},_proto.addTagMapper=function addTagMapper(options){this.parseStream.addTagMapper(options)},Parser}(Stream),regexs={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},mediaTypes=["video","audio","text"],upperMediaTypes=["Video","Audio","Text"],translateLegacyCodec=function translateLegacyCodec(codec){return codec?codec.replace(/avc1\.(\d+)\.(\d+)/i,(function(orig,profile,avcLevel){return"avc1."+("00"+Number(profile).toString(16)).slice(-2)+"00"+("00"+Number(avcLevel).toString(16)).slice(-2)})):codec},parseCodecs=function parseCodecs(codecString){void 0===codecString&&(codecString="");var codecs=codecString.split(","),result=[];return codecs.forEach((function(codec){var codecType;codec=codec.trim(),mediaTypes.forEach((function(name){var match=regexs[name].exec(codec.toLowerCase());if(match&&!(match.length<=1)){codecType=name;var type=codec.substring(0,match[1].length),details=codec.replace(type,"");result.push({type,details,mediaType:name})}})),codecType||result.push({type:codec,details:"",mediaType:"unknown"})})),result},isAudioCodec=function isAudioCodec(codec){return void 0===codec&&(codec=""),regexs.audio.test(codec.trim().toLowerCase())},getMimeForCodec=function getMimeForCodec(codecString){if(codecString&&"string"==typeof codecString){var codecs=codecString.toLowerCase().split(",").map((function(c){return translateLegacyCodec(c.trim())})),type="video";1===codecs.length&&isAudioCodec(codecs[0])?type="audio":1===codecs.length&&function isTextCodec(codec){return void 0===codec&&(codec=""),regexs.text.test(codec.trim().toLowerCase())}(codecs[0])&&(type="application");var container="mp4";return codecs.every((function(c){return regexs.mp4.test(c)}))?container="mp4":codecs.every((function(c){return regexs.webm.test(c)}))?container="webm":codecs.every((function(c){return regexs.ogg.test(c)}))&&(container="ogg"),type+"/"+container+';codecs="'+codecString+'"'}},browserSupportsCodec=function browserSupportsCodec(codecString){return void 0===codecString&&(codecString=""),window_default().MediaSource&&window_default().MediaSource.isTypeSupported&&window_default().MediaSource.isTypeSupported(getMimeForCodec(codecString))||!1},muxerSupportsCodec=function muxerSupportsCodec(codecString){return void 0===codecString&&(codecString=""),codecString.toLowerCase().split(",").every((function(codec){codec=codec.trim();for(var i=0;i<upperMediaTypes.length;i++){if(regexs["muxer"+upperMediaTypes[i]].test(codec))return!0}return!1}))},MPEGURL_REGEX=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,DASH_REGEX=/^application\/dash\+xml/i,simpleTypeFromSourceType=function simpleTypeFromSourceType(type){return MPEGURL_REGEX.test(type)?"hls":DASH_REGEX.test(type)?"dash":"application/vnd.videojs.vhs+json"===type?"vhs-json":null},xmldom_lib=__webpack_require__("./node_modules/@xmldom/xmldom/lib/index.js"),isObject=function isObject(obj){return!!obj&&"object"==typeof obj},merge=function merge(){for(var _len=arguments.length,objects=new Array(_len),_key=0;_key<_len;_key++)objects[_key]=arguments[_key];return objects.reduce((function(result,source){return"object"!=typeof source||Object.keys(source).forEach((function(key){Array.isArray(result[key])&&Array.isArray(source[key])?result[key]=result[key].concat(source[key]):isObject(result[key])&&isObject(source[key])?result[key]=merge(result[key],source[key]):result[key]=source[key]})),result}),{})},values=function values(o){return Object.keys(o).map((function(k){return o[k]}))},flatten=function flatten(lists){return lists.reduce((function(x,y){return x.concat(y)}),[])},from=function from(list){if(!list.length)return[];for(var result=[],i=0;i<list.length;i++)result.push(list[i]);return result},findIndex=function findIndex(list,matchingFunction){for(var i=0;i<list.length;i++)if(matchingFunction(list[i]))return i;return-1},errors_INVALID_NUMBER_OF_PERIOD="INVALID_NUMBER_OF_PERIOD",errors_DASH_EMPTY_MANIFEST="DASH_EMPTY_MANIFEST",errors_DASH_INVALID_XML="DASH_INVALID_XML",errors_NO_BASE_URL="NO_BASE_URL",errors_SEGMENT_TIME_UNSPECIFIED="SEGMENT_TIME_UNSPECIFIED",errors_UNSUPPORTED_UTC_TIMING_SCHEME="UNSUPPORTED_UTC_TIMING_SCHEME",urlTypeToSegment=function urlTypeToSegment(_ref){var _ref$baseUrl=_ref.baseUrl,baseUrl=void 0===_ref$baseUrl?"":_ref$baseUrl,_ref$source=_ref.source,source=void 0===_ref$source?"":_ref$source,_ref$range=_ref.range,range=void 0===_ref$range?"":_ref$range,_ref$indexRange=_ref.indexRange,indexRange=void 0===_ref$indexRange?"":_ref$indexRange,segment={uri:source,resolvedUri:resolve_url(baseUrl||"",source)};if(range||indexRange){var length,ranges=(range||indexRange).split("-"),startRange=window_default().BigInt?window_default().BigInt(ranges[0]):parseInt(ranges[0],10),endRange=window_default().BigInt?window_default().BigInt(ranges[1]):parseInt(ranges[1],10);startRange<Number.MAX_SAFE_INTEGER&&"bigint"==typeof startRange&&(startRange=Number(startRange)),endRange<Number.MAX_SAFE_INTEGER&&"bigint"==typeof endRange&&(endRange=Number(endRange)),"bigint"==typeof(length="bigint"==typeof endRange||"bigint"==typeof startRange?window_default().BigInt(endRange)-window_default().BigInt(startRange)+window_default().BigInt(1):endRange-startRange+1)&&length<Number.MAX_SAFE_INTEGER&&(length=Number(length)),segment.byterange={length,offset:startRange}}return segment},parseEndNumber=function parseEndNumber(endNumber){return endNumber&&"number"!=typeof endNumber&&(endNumber=parseInt(endNumber,10)),isNaN(endNumber)?null:endNumber},segmentRange={static:function _static(attributes){var duration=attributes.duration,_attributes$timescale=attributes.timescale,timescale=void 0===_attributes$timescale?1:_attributes$timescale,sourceDuration=attributes.sourceDuration,periodDuration=attributes.periodDuration,endNumber=parseEndNumber(attributes.endNumber),segmentDuration=duration/timescale;return"number"==typeof endNumber?{start:0,end:endNumber}:"number"==typeof periodDuration?{start:0,end:periodDuration/segmentDuration}:{start:0,end:sourceDuration/segmentDuration}},dynamic:function dynamic(attributes){var NOW=attributes.NOW,clientOffset=attributes.clientOffset,availabilityStartTime=attributes.availabilityStartTime,_attributes$timescale2=attributes.timescale,timescale=void 0===_attributes$timescale2?1:_attributes$timescale2,duration=attributes.duration,_attributes$periodSta=attributes.periodStart,periodStart=void 0===_attributes$periodSta?0:_attributes$periodSta,_attributes$minimumUp=attributes.minimumUpdatePeriod,minimumUpdatePeriod=void 0===_attributes$minimumUp?0:_attributes$minimumUp,_attributes$timeShift=attributes.timeShiftBufferDepth,timeShiftBufferDepth=void 0===_attributes$timeShift?1/0:_attributes$timeShift,endNumber=parseEndNumber(attributes.endNumber),now=(NOW+clientOffset)/1e3,periodStartWC=availabilityStartTime+periodStart,periodDuration=now+minimumUpdatePeriod-periodStartWC,segmentCount=Math.ceil(periodDuration*timescale/duration),availableStart=Math.floor((now-periodStartWC-timeShiftBufferDepth)*timescale/duration),availableEnd=Math.floor((now-periodStartWC)*timescale/duration);return{start:Math.max(0,availableStart),end:"number"==typeof endNumber?endNumber:Math.min(segmentCount,availableEnd)}}},parseByDuration=function parseByDuration(attributes){var type=attributes.type,duration=attributes.duration,_attributes$timescale4=attributes.timescale,timescale=void 0===_attributes$timescale4?1:_attributes$timescale4,periodDuration=attributes.periodDuration,sourceDuration=attributes.sourceDuration,_segmentRange$type=segmentRange[type](attributes),segments=function range(start,end){for(var result=[],i=start;i<end;i++)result.push(i);return result}(_segmentRange$type.start,_segmentRange$type.end).map(function toSegments(attributes){return function(number){var duration=attributes.duration,_attributes$timescale3=attributes.timescale,timescale=void 0===_attributes$timescale3?1:_attributes$timescale3,periodStart=attributes.periodStart,_attributes$startNumb=attributes.startNumber;return{number:(void 0===_attributes$startNumb?1:_attributes$startNumb)+number,duration:duration/timescale,timeline:periodStart,time:number*duration}}}(attributes));if("static"===type){var index=segments.length-1,sectionDuration="number"==typeof periodDuration?periodDuration:sourceDuration;segments[index].duration=sectionDuration-duration/timescale*index}return segments},segmentsFromBase=function segmentsFromBase(attributes){var baseUrl=attributes.baseUrl,_attributes$initializ=attributes.initialization,initialization=void 0===_attributes$initializ?{}:_attributes$initializ,sourceDuration=attributes.sourceDuration,_attributes$indexRang=attributes.indexRange,indexRange=void 0===_attributes$indexRang?"":_attributes$indexRang,periodStart=attributes.periodStart,presentationTime=attributes.presentationTime,_attributes$number=attributes.number,number=void 0===_attributes$number?0:_attributes$number,duration=attributes.duration;if(!baseUrl)throw new Error(errors_NO_BASE_URL);var initSegment=urlTypeToSegment({baseUrl,source:initialization.sourceURL,range:initialization.range}),segment=urlTypeToSegment({baseUrl,source:baseUrl,indexRange});if(segment.map=initSegment,duration){var segmentTimeInfo=parseByDuration(attributes);segmentTimeInfo.length&&(segment.duration=segmentTimeInfo[0].duration,segment.timeline=segmentTimeInfo[0].timeline)}else sourceDuration&&(segment.duration=sourceDuration,segment.timeline=periodStart);return segment.presentationTime=presentationTime||periodStart,segment.number=number,[segment]},addSidxSegmentsToPlaylist$1=function addSidxSegmentsToPlaylist(playlist,sidx,baseUrl){var startIndex,initSegment=playlist.sidx.map?playlist.sidx.map:null,sourceDuration=playlist.sidx.duration,timeline=playlist.timeline||0,sidxByteRange=playlist.sidx.byterange,sidxEnd=sidxByteRange.offset+sidxByteRange.length,timescale=sidx.timescale,mediaReferences=sidx.references.filter((function(r){return 1!==r.referenceType})),segments=[],type=playlist.endList?"static":"dynamic",periodStart=playlist.sidx.timeline,presentationTime=periodStart,number=playlist.mediaSequence||0;startIndex="bigint"==typeof sidx.firstOffset?window_default().BigInt(sidxEnd)+sidx.firstOffset:sidxEnd+sidx.firstOffset;for(var i=0;i<mediaReferences.length;i++){var reference=sidx.references[i],size=reference.referencedSize,duration=reference.subsegmentDuration,endIndex=void 0;endIndex="bigint"==typeof startIndex?startIndex+window_default().BigInt(size)-window_default().BigInt(1):startIndex+size-1;var segment=segmentsFromBase({baseUrl,timescale,timeline,periodStart,presentationTime,number,duration,sourceDuration,indexRange:startIndex+"-"+endIndex,type})[0];initSegment&&(segment.map=initSegment),segments.push(segment),startIndex+="bigint"==typeof startIndex?window_default().BigInt(size):size,presentationTime+=duration/timescale,number++}return playlist.segments=segments,playlist},SUPPORTED_MEDIA_TYPES=["AUDIO","SUBTITLES"],getUniqueTimelineStarts=function getUniqueTimelineStarts(timelineStarts){return function union(lists,keyFunction){return values(lists.reduce((function(acc,list){return list.forEach((function(el){acc[keyFunction(el)]=el})),acc}),{}))}(timelineStarts,(function(_ref){return _ref.timeline})).sort((function(a,b){return a.timeline>b.timeline?1:-1}))},getMediaGroupPlaylists=function getMediaGroupPlaylists(manifest){var mediaGroupPlaylists=[];return function forEachMediaGroup(master,groups,callback){groups.forEach((function(mediaType){for(var groupKey in master.mediaGroups[mediaType])for(var labelKey in master.mediaGroups[mediaType][groupKey]){var mediaProperties=master.mediaGroups[mediaType][groupKey][labelKey];callback(mediaProperties,mediaType,groupKey,labelKey)}}))}(manifest,SUPPORTED_MEDIA_TYPES,(function(properties,type,group,label){mediaGroupPlaylists=mediaGroupPlaylists.concat(properties.playlists||[])})),mediaGroupPlaylists},updateMediaSequenceForPlaylist=function updateMediaSequenceForPlaylist(_ref2){var playlist=_ref2.playlist,mediaSequence=_ref2.mediaSequence;playlist.mediaSequence=mediaSequence,playlist.segments.forEach((function(segment,index){segment.number=playlist.mediaSequence+index}))},positionManifestOnTimeline=function positionManifestOnTimeline(_ref5){var oldManifest=_ref5.oldManifest,newManifest=_ref5.newManifest,oldPlaylists=oldManifest.playlists.concat(getMediaGroupPlaylists(oldManifest)),newPlaylists=newManifest.playlists.concat(getMediaGroupPlaylists(newManifest));return newManifest.timelineStarts=getUniqueTimelineStarts([oldManifest.timelineStarts,newManifest.timelineStarts]),function updateSequenceNumbers(_ref3){var oldPlaylists=_ref3.oldPlaylists,newPlaylists=_ref3.newPlaylists,timelineStarts=_ref3.timelineStarts;newPlaylists.forEach((function(playlist){playlist.discontinuitySequence=findIndex(timelineStarts,(function(_ref4){return _ref4.timeline===playlist.timeline}));var oldPlaylist=function findPlaylistWithName(playlists,name){for(var i=0;i<playlists.length;i++)if(playlists[i].attributes.NAME===name)return playlists[i];return null}(oldPlaylists,playlist.attributes.NAME);if(oldPlaylist&&!playlist.sidx){var firstNewSegment=playlist.segments[0],oldMatchingSegmentIndex=findIndex(oldPlaylist.segments,(function(oldSegment){return Math.abs(oldSegment.presentationTime-firstNewSegment.presentationTime)<.016666666666666666}));if(-1===oldMatchingSegmentIndex)return updateMediaSequenceForPlaylist({playlist,mediaSequence:oldPlaylist.mediaSequence+oldPlaylist.segments.length}),playlist.segments[0].discontinuity=!0,playlist.discontinuityStarts.unshift(0),void((!oldPlaylist.segments.length&&playlist.timeline>oldPlaylist.timeline||oldPlaylist.segments.length&&playlist.timeline>oldPlaylist.segments[oldPlaylist.segments.length-1].timeline)&&playlist.discontinuitySequence--);oldPlaylist.segments[oldMatchingSegmentIndex].discontinuity&&!firstNewSegment.discontinuity&&(firstNewSegment.discontinuity=!0,playlist.discontinuityStarts.unshift(0),playlist.discontinuitySequence--),updateMediaSequenceForPlaylist({playlist,mediaSequence:oldPlaylist.segments[oldMatchingSegmentIndex].number})}}))}({oldPlaylists,newPlaylists,timelineStarts:newManifest.timelineStarts}),newManifest},generateSidxKey=function generateSidxKey(sidx){return sidx&&sidx.uri+"-"+function byteRangeToString(byterange){var endRange;return endRange="bigint"==typeof byterange.offset||"bigint"==typeof byterange.length?window_default().BigInt(byterange.offset)+window_default().BigInt(byterange.length)-window_default().BigInt(1):byterange.offset+byterange.length-1,byterange.offset+"-"+endRange}(sidx.byterange)},mergeDiscontiguousPlaylists=function mergeDiscontiguousPlaylists(playlists){return values(playlists.reduce((function(acc,playlist){var name=playlist.attributes.id+(playlist.attributes.lang||"");if(acc[name]){var _acc$name$segments;if(playlist.segments)playlist.segments[0]&&(playlist.segments[0].discontinuity=!0),(_acc$name$segments=acc[name].segments).push.apply(_acc$name$segments,playlist.segments);playlist.attributes.contentProtection&&(acc[name].attributes.contentProtection=playlist.attributes.contentProtection)}else acc[name]=playlist,acc[name].attributes.timelineStarts=[];return acc[name].attributes.timelineStarts.push({start:playlist.attributes.periodStart,timeline:playlist.attributes.periodStart}),acc}),{})).map((function(playlist){return playlist.discontinuityStarts=function findIndexes(l,key){return l.reduce((function(a,e,i){return e[key]&&a.push(i),a}),[])}(playlist.segments||[],"discontinuity"),playlist}))},addSidxSegmentsToPlaylist=function addSidxSegmentsToPlaylist(playlist,sidxMapping){var sidxKey=generateSidxKey(playlist.sidx),sidxMatch=sidxKey&&sidxMapping[sidxKey]&&sidxMapping[sidxKey].sidx;return sidxMatch&&addSidxSegmentsToPlaylist$1(playlist,sidxMatch,playlist.sidx.resolvedUri),playlist},addSidxSegmentsToPlaylists=function addSidxSegmentsToPlaylists(playlists,sidxMapping){if(void 0===sidxMapping&&(sidxMapping={}),!Object.keys(sidxMapping).length)return playlists;for(var i in playlists)playlists[i]=addSidxSegmentsToPlaylist(playlists[i],sidxMapping);return playlists},formatVideoPlaylist=function formatVideoPlaylist(_ref3){var _attributes2,attributes=_ref3.attributes,segments=_ref3.segments,sidx=_ref3.sidx,discontinuityStarts=_ref3.discontinuityStarts,playlist={attributes:(_attributes2={NAME:attributes.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:attributes.width,height:attributes.height},CODECS:attributes.codecs,BANDWIDTH:attributes.bandwidth},_attributes2["PROGRAM-ID"]=1,_attributes2),uri:"",endList:"static"===attributes.type,timeline:attributes.periodStart,resolvedUri:"",targetDuration:attributes.duration,discontinuityStarts,timelineStarts:attributes.timelineStarts,segments};return attributes.contentProtection&&(playlist.contentProtection=attributes.contentProtection),sidx&&(playlist.sidx=sidx),playlist},videoOnly=function videoOnly(_ref4){var attributes=_ref4.attributes;return"video/mp4"===attributes.mimeType||"video/webm"===attributes.mimeType||"video"===attributes.contentType},audioOnly=function audioOnly(_ref5){var attributes=_ref5.attributes;return"audio/mp4"===attributes.mimeType||"audio/webm"===attributes.mimeType||"audio"===attributes.contentType},vttOnly=function vttOnly(_ref6){var attributes=_ref6.attributes;return"text/vtt"===attributes.mimeType||"text"===attributes.contentType},flattenMediaGroupPlaylists=function flattenMediaGroupPlaylists(mediaGroupObject){return mediaGroupObject?Object.keys(mediaGroupObject).reduce((function(acc,label){var labelContents=mediaGroupObject[label];return acc.concat(labelContents.playlists)}),[]):[]},toM3u8=function toM3u8(_ref8){var _mediaGroups,dashPlaylists=_ref8.dashPlaylists,locations=_ref8.locations,_ref8$sidxMapping=_ref8.sidxMapping,sidxMapping=void 0===_ref8$sidxMapping?{}:_ref8$sidxMapping,previousManifest=_ref8.previousManifest;if(!dashPlaylists.length)return{};var _dashPlaylists$0$attr=dashPlaylists[0].attributes,duration=_dashPlaylists$0$attr.sourceDuration,type=_dashPlaylists$0$attr.type,suggestedPresentationDelay=_dashPlaylists$0$attr.suggestedPresentationDelay,minimumUpdatePeriod=_dashPlaylists$0$attr.minimumUpdatePeriod,videoPlaylists=mergeDiscontiguousPlaylists(dashPlaylists.filter(videoOnly)).map(formatVideoPlaylist),audioPlaylists=mergeDiscontiguousPlaylists(dashPlaylists.filter(audioOnly)),vttPlaylists=mergeDiscontiguousPlaylists(dashPlaylists.filter(vttOnly)),captions=dashPlaylists.map((function(playlist){return playlist.attributes.captionServices})).filter(Boolean),manifest={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(_mediaGroups={AUDIO:{},VIDEO:{}},_mediaGroups["CLOSED-CAPTIONS"]={},_mediaGroups.SUBTITLES={},_mediaGroups),uri:"",duration,playlists:addSidxSegmentsToPlaylists(videoPlaylists,sidxMapping)};minimumUpdatePeriod>=0&&(manifest.minimumUpdatePeriod=1e3*minimumUpdatePeriod),locations&&(manifest.locations=locations),"dynamic"===type&&(manifest.suggestedPresentationDelay=suggestedPresentationDelay);var isAudioOnly=0===manifest.playlists.length,organizedAudioGroup=audioPlaylists.length?function organizeAudioPlaylists(playlists,sidxMapping,isAudioOnly){var mainPlaylist;void 0===sidxMapping&&(sidxMapping={}),void 0===isAudioOnly&&(isAudioOnly=!1);var formattedPlaylists=playlists.reduce((function(a,playlist){var role=playlist.attributes.role&&playlist.attributes.role.value||"",language=playlist.attributes.lang||"",label=playlist.attributes.label||"main";if(language&&!playlist.attributes.label){var roleLabel=role?" ("+role+")":"";label=""+playlist.attributes.lang+roleLabel}a[label]||(a[label]={language,autoselect:!0,default:"main"===role,playlists:[],uri:""});var formatted=addSidxSegmentsToPlaylist(function formatAudioPlaylist(_ref,isAudioOnly){var _attributes,attributes=_ref.attributes,segments=_ref.segments,sidx=_ref.sidx,mediaSequence=_ref.mediaSequence,discontinuitySequence=_ref.discontinuitySequence,discontinuityStarts=_ref.discontinuityStarts,playlist={attributes:(_attributes={NAME:attributes.id,BANDWIDTH:attributes.bandwidth,CODECS:attributes.codecs},_attributes["PROGRAM-ID"]=1,_attributes),uri:"",endList:"static"===attributes.type,timeline:attributes.periodStart,resolvedUri:"",targetDuration:attributes.duration,discontinuitySequence,discontinuityStarts,timelineStarts:attributes.timelineStarts,mediaSequence,segments};return attributes.contentProtection&&(playlist.contentProtection=attributes.contentProtection),sidx&&(playlist.sidx=sidx),isAudioOnly&&(playlist.attributes.AUDIO="audio",playlist.attributes.SUBTITLES="subs"),playlist}(playlist,isAudioOnly),sidxMapping);return a[label].playlists.push(formatted),void 0===mainPlaylist&&"main"===role&&((mainPlaylist=playlist).default=!0),a}),{});return mainPlaylist||(formattedPlaylists[Object.keys(formattedPlaylists)[0]].default=!0),formattedPlaylists}(audioPlaylists,sidxMapping,isAudioOnly):null,organizedVttGroup=vttPlaylists.length?function organizeVttPlaylists(playlists,sidxMapping){return void 0===sidxMapping&&(sidxMapping={}),playlists.reduce((function(a,playlist){var label=playlist.attributes.lang||"text";return a[label]||(a[label]={language:label,default:!1,autoselect:!1,playlists:[],uri:""}),a[label].playlists.push(addSidxSegmentsToPlaylist(function formatVttPlaylist(_ref2){var _m3u8Attributes,attributes=_ref2.attributes,segments=_ref2.segments,mediaSequence=_ref2.mediaSequence,discontinuityStarts=_ref2.discontinuityStarts,discontinuitySequence=_ref2.discontinuitySequence;void 0===segments&&(segments=[{uri:attributes.baseUrl,timeline:attributes.periodStart,resolvedUri:attributes.baseUrl||"",duration:attributes.sourceDuration,number:0}],attributes.duration=attributes.sourceDuration);var m3u8Attributes=((_m3u8Attributes={NAME:attributes.id,BANDWIDTH:attributes.bandwidth})["PROGRAM-ID"]=1,_m3u8Attributes);return attributes.codecs&&(m3u8Attributes.CODECS=attributes.codecs),{attributes:m3u8Attributes,uri:"",endList:"static"===attributes.type,timeline:attributes.periodStart,resolvedUri:attributes.baseUrl||"",targetDuration:attributes.duration,timelineStarts:attributes.timelineStarts,discontinuityStarts,discontinuitySequence,mediaSequence,segments}}(playlist),sidxMapping)),a}),{})}(vttPlaylists,sidxMapping):null,formattedPlaylists=videoPlaylists.concat(flattenMediaGroupPlaylists(organizedAudioGroup),flattenMediaGroupPlaylists(organizedVttGroup)),playlistTimelineStarts=formattedPlaylists.map((function(_ref9){return _ref9.timelineStarts}));return manifest.timelineStarts=getUniqueTimelineStarts(playlistTimelineStarts),function addMediaSequenceValues(playlists,timelineStarts){playlists.forEach((function(playlist){playlist.mediaSequence=0,playlist.discontinuitySequence=findIndex(timelineStarts,(function(_ref7){return _ref7.timeline===playlist.timeline})),playlist.segments&&playlist.segments.forEach((function(segment,index){segment.number=index}))}))}(formattedPlaylists,manifest.timelineStarts),organizedAudioGroup&&(manifest.mediaGroups.AUDIO.audio=organizedAudioGroup),organizedVttGroup&&(manifest.mediaGroups.SUBTITLES.subs=organizedVttGroup),captions.length&&(manifest.mediaGroups["CLOSED-CAPTIONS"].cc=function organizeCaptionServices(captionServices){return captionServices.reduce((function(svcObj,svc){return svc?(svc.forEach((function(service){var channel=service.channel,language=service.language;svcObj[language]={autoselect:!1,default:!1,instreamId:channel,language},service.hasOwnProperty("aspectRatio")&&(svcObj[language].aspectRatio=service.aspectRatio),service.hasOwnProperty("easyReader")&&(svcObj[language].easyReader=service.easyReader),service.hasOwnProperty("3D")&&(svcObj[language]["3D"]=service["3D"])})),svcObj):svcObj}),{})}(captions)),previousManifest?positionManifestOnTimeline({oldManifest:previousManifest,newManifest:manifest}):manifest},getLiveRValue=function getLiveRValue(attributes,time,duration){var NOW=attributes.NOW,clientOffset=attributes.clientOffset,availabilityStartTime=attributes.availabilityStartTime,_attributes$timescale=attributes.timescale,timescale=void 0===_attributes$timescale?1:_attributes$timescale,_attributes$periodSta=attributes.periodStart,periodStart=void 0===_attributes$periodSta?0:_attributes$periodSta,_attributes$minimumUp=attributes.minimumUpdatePeriod,periodDuration=(NOW+clientOffset)/1e3+(void 0===_attributes$minimumUp?0:_attributes$minimumUp)-(availabilityStartTime+periodStart);return Math.ceil((periodDuration*timescale-time)/duration)},parseByTimeline=function parseByTimeline(attributes,segmentTimeline){for(var type=attributes.type,_attributes$minimumUp2=attributes.minimumUpdatePeriod,minimumUpdatePeriod=void 0===_attributes$minimumUp2?0:_attributes$minimumUp2,_attributes$media=attributes.media,media=void 0===_attributes$media?"":_attributes$media,sourceDuration=attributes.sourceDuration,_attributes$timescale2=attributes.timescale,timescale=void 0===_attributes$timescale2?1:_attributes$timescale2,_attributes$startNumb=attributes.startNumber,startNumber=void 0===_attributes$startNumb?1:_attributes$startNumb,timeline=attributes.periodStart,segments=[],time=-1,sIndex=0;sIndex<segmentTimeline.length;sIndex++){var S=segmentTimeline[sIndex],duration=S.d,repeat=S.r||0,segmentTime=S.t||0;time<0&&(time=segmentTime),segmentTime&&segmentTime>time&&(time=segmentTime);var count=void 0;if(repeat<0){var nextS=sIndex+1;count=nextS===segmentTimeline.length?"dynamic"===type&&minimumUpdatePeriod>0&&media.indexOf("$Number$")>0?getLiveRValue(attributes,time,duration):(sourceDuration*timescale-time)/duration:(segmentTimeline[nextS].t-time)/duration}else count=repeat+1;for(var end=startNumber+segments.length+count,number=startNumber+segments.length;number<end;)segments.push({number,duration:duration/timescale,time,timeline}),time+=duration,number++}return segments},identifierPattern=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,constructTemplateUrl=function constructTemplateUrl(url,values){return url.replace(identifierPattern,function identifierReplacement(values){return function(match,identifier,format,width){if("$$"===match)return"$";if(void 0===values[identifier])return match;var value=""+values[identifier];return"RepresentationID"===identifier?value:(width=format?parseInt(width,10):1,value.length>=width?value:""+new Array(width-value.length+1).join("0")+value)}}(values))},segmentsFromTemplate=function segmentsFromTemplate(attributes,segmentTimeline){var templateValues={RepresentationID:attributes.id,Bandwidth:attributes.bandwidth||0},_attributes$initializ=attributes.initialization,initialization=void 0===_attributes$initializ?{sourceURL:"",range:""}:_attributes$initializ,mapSegment=urlTypeToSegment({baseUrl:attributes.baseUrl,source:constructTemplateUrl(initialization.sourceURL,templateValues),range:initialization.range}),segments=function parseTemplateInfo(attributes,segmentTimeline){return attributes.duration||segmentTimeline?attributes.duration?parseByDuration(attributes):parseByTimeline(attributes,segmentTimeline):[{number:attributes.startNumber||1,duration:attributes.sourceDuration,time:0,timeline:attributes.periodStart}]}(attributes,segmentTimeline);return segments.map((function(segment){templateValues.Number=segment.number,templateValues.Time=segment.time;var uri=constructTemplateUrl(attributes.media||"",templateValues),timescale=attributes.timescale||1,presentationTimeOffset=attributes.presentationTimeOffset||0,presentationTime=attributes.periodStart+(segment.time-presentationTimeOffset)/timescale;return{uri,timeline:segment.timeline,duration:segment.duration,resolvedUri:resolve_url(attributes.baseUrl||"",uri),map:mapSegment,number:segment.number,presentationTime}}))},segmentsFromList=function segmentsFromList(attributes,segmentTimeline){var duration=attributes.duration,_attributes$segmentUr=attributes.segmentUrls,segmentUrls=void 0===_attributes$segmentUr?[]:_attributes$segmentUr,periodStart=attributes.periodStart;if(!duration&&!segmentTimeline||duration&&segmentTimeline)throw new Error(errors_SEGMENT_TIME_UNSPECIFIED);var segmentTimeInfo,segmentUrlMap=segmentUrls.map((function(segmentUrlObject){return function SegmentURLToSegmentObject(attributes,segmentUrl){var baseUrl=attributes.baseUrl,_attributes$initializ=attributes.initialization,initialization=void 0===_attributes$initializ?{}:_attributes$initializ,initSegment=urlTypeToSegment({baseUrl,source:initialization.sourceURL,range:initialization.range}),segment=urlTypeToSegment({baseUrl,source:segmentUrl.media,range:segmentUrl.mediaRange});return segment.map=initSegment,segment}(attributes,segmentUrlObject)}));return duration&&(segmentTimeInfo=parseByDuration(attributes)),segmentTimeline&&(segmentTimeInfo=parseByTimeline(attributes,segmentTimeline)),segmentTimeInfo.map((function(segmentTime,index){if(segmentUrlMap[index]){var segment=segmentUrlMap[index],timescale=attributes.timescale||1,presentationTimeOffset=attributes.presentationTimeOffset||0;return segment.timeline=segmentTime.timeline,segment.duration=segmentTime.duration,segment.number=segmentTime.number,segment.presentationTime=periodStart+(segmentTime.time-presentationTimeOffset)/timescale,segment}})).filter((function(segment){return segment}))},generateSegments=function generateSegments(_ref){var segmentAttributes,segmentsFn,attributes=_ref.attributes,segmentInfo=_ref.segmentInfo;segmentInfo.template?(segmentsFn=segmentsFromTemplate,segmentAttributes=merge(attributes,segmentInfo.template)):segmentInfo.base?(segmentsFn=segmentsFromBase,segmentAttributes=merge(attributes,segmentInfo.base)):segmentInfo.list&&(segmentsFn=segmentsFromList,segmentAttributes=merge(attributes,segmentInfo.list));var segmentsInfo={attributes};if(!segmentsFn)return segmentsInfo;var segments=segmentsFn(segmentAttributes,segmentInfo.segmentTimeline);if(segmentAttributes.duration){var _segmentAttributes=segmentAttributes,duration=_segmentAttributes.duration,_segmentAttributes$ti=_segmentAttributes.timescale,timescale=void 0===_segmentAttributes$ti?1:_segmentAttributes$ti;segmentAttributes.duration=duration/timescale}else segments.length?segmentAttributes.duration=segments.reduce((function(max,segment){return Math.max(max,Math.ceil(segment.duration))}),0):segmentAttributes.duration=0;return segmentsInfo.attributes=segmentAttributes,segmentsInfo.segments=segments,segmentInfo.base&&segmentAttributes.indexRange&&(segmentsInfo.sidx=segments[0],segmentsInfo.segments=[]),segmentsInfo},findChildren=function findChildren(element,name){return from(element.childNodes).filter((function(_ref){return _ref.tagName===name}))},getContent=function getContent(element){return element.textContent.trim()},parseDuration=function parseDuration(str){var match=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(str);if(!match)return 0;var _match$slice=match.slice(1),year=_match$slice[0],month=_match$slice[1],day=_match$slice[2],hour=_match$slice[3],minute=_match$slice[4],second=_match$slice[5];return 31536e3*parseFloat(year||0)+2592e3*parseFloat(month||0)+86400*parseFloat(day||0)+3600*parseFloat(hour||0)+60*parseFloat(minute||0)+parseFloat(second||0)},parsers={mediaPresentationDuration:function mediaPresentationDuration(value){return parseDuration(value)},availabilityStartTime:function availabilityStartTime(value){return function parseDate(str){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(str)&&(str+="Z"),Date.parse(str)}(value)/1e3},minimumUpdatePeriod:function minimumUpdatePeriod(value){return parseDuration(value)},suggestedPresentationDelay:function suggestedPresentationDelay(value){return parseDuration(value)},type:function type(value){return value},timeShiftBufferDepth:function timeShiftBufferDepth(value){return parseDuration(value)},start:function start(value){return parseDuration(value)},width:function width(value){return parseInt(value,10)},height:function height(value){return parseInt(value,10)},bandwidth:function bandwidth(value){return parseInt(value,10)},startNumber:function startNumber(value){return parseInt(value,10)},timescale:function timescale(value){return parseInt(value,10)},presentationTimeOffset:function presentationTimeOffset(value){return parseInt(value,10)},duration:function duration(value){var parsedValue=parseInt(value,10);return isNaN(parsedValue)?parseDuration(value):parsedValue},d:function d(value){return parseInt(value,10)},t:function t(value){return parseInt(value,10)},r:function r(value){return parseInt(value,10)},DEFAULT:function DEFAULT(value){return value}},mpd_parser_es_parseAttributes=function parseAttributes(el){return el&&el.attributes?from(el.attributes).reduce((function(a,e){var parseFn=parsers[e.name]||parsers.DEFAULT;return a[e.name]=parseFn(e.value),a}),{}):{}},keySystemsMap={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},buildBaseUrls=function buildBaseUrls(referenceUrls,baseUrlElements){return baseUrlElements.length?flatten(referenceUrls.map((function(reference){return baseUrlElements.map((function(baseUrlElement){return resolve_url(reference,getContent(baseUrlElement))}))}))):referenceUrls},getSegmentInformation=function getSegmentInformation(adaptationSet){var segmentTemplate=findChildren(adaptationSet,"SegmentTemplate")[0],segmentList=findChildren(adaptationSet,"SegmentList")[0],segmentUrls=segmentList&&findChildren(segmentList,"SegmentURL").map((function(s){return merge({tag:"SegmentURL"},mpd_parser_es_parseAttributes(s))})),segmentBase=findChildren(adaptationSet,"SegmentBase")[0],segmentTimelineParentNode=segmentList||segmentTemplate,segmentTimeline=segmentTimelineParentNode&&findChildren(segmentTimelineParentNode,"SegmentTimeline")[0],segmentInitializationParentNode=segmentList||segmentBase||segmentTemplate,segmentInitialization=segmentInitializationParentNode&&findChildren(segmentInitializationParentNode,"Initialization")[0],template=segmentTemplate&&mpd_parser_es_parseAttributes(segmentTemplate);template&&segmentInitialization?template.initialization=segmentInitialization&&mpd_parser_es_parseAttributes(segmentInitialization):template&&template.initialization&&(template.initialization={sourceURL:template.initialization});var segmentInfo={template,segmentTimeline:segmentTimeline&&findChildren(segmentTimeline,"S").map((function(s){return mpd_parser_es_parseAttributes(s)})),list:segmentList&&merge(mpd_parser_es_parseAttributes(segmentList),{segmentUrls,initialization:mpd_parser_es_parseAttributes(segmentInitialization)}),base:segmentBase&&merge(mpd_parser_es_parseAttributes(segmentBase),{initialization:mpd_parser_es_parseAttributes(segmentInitialization)})};return Object.keys(segmentInfo).forEach((function(key){segmentInfo[key]||delete segmentInfo[key]})),segmentInfo},toRepresentations=function toRepresentations(periodAttributes,periodBaseUrls,periodSegmentInfo){return function(adaptationSet){var adaptationSetAttributes=mpd_parser_es_parseAttributes(adaptationSet),adaptationSetBaseUrls=buildBaseUrls(periodBaseUrls,findChildren(adaptationSet,"BaseURL")),role=findChildren(adaptationSet,"Role")[0],roleAttributes={role:mpd_parser_es_parseAttributes(role)},attrs=merge(periodAttributes,adaptationSetAttributes,roleAttributes),accessibility=findChildren(adaptationSet,"Accessibility")[0],captionServices=function parseCaptionServiceMetadata(service){return"urn:scte:dash:cc:cea-608:2015"===service.schemeIdUri?("string"!=typeof service.value?[]:service.value.split(";")).map((function(value){var channel,language;if(language=value,/^CC\d=/.test(value)){var _value$split=value.split("=");channel=_value$split[0],language=_value$split[1]}else/^CC\d$/.test(value)&&(channel=value);return{channel,language}})):"urn:scte:dash:cc:cea-708:2015"===service.schemeIdUri?("string"!=typeof service.value?[]:service.value.split(";")).map((function(value){var flags={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(value)){var _value$split2=value.split("="),channel=_value$split2[0],_value$split2$=_value$split2[1],opts=void 0===_value$split2$?"":_value$split2$;flags.channel=channel,flags.language=value,opts.split(",").forEach((function(opt){var _opt$split=opt.split(":"),name=_opt$split[0],val=_opt$split[1];"lang"===name?flags.language=val:"er"===name?flags.easyReader=Number(val):"war"===name?flags.aspectRatio=Number(val):"3D"===name&&(flags["3D"]=Number(val))}))}else flags.language=value;return flags.channel&&(flags.channel="SERVICE"+flags.channel),flags})):void 0}(mpd_parser_es_parseAttributes(accessibility));captionServices&&(attrs=merge(attrs,{captionServices}));var label=findChildren(adaptationSet,"Label")[0];if(label&&label.childNodes.length){var labelVal=label.childNodes[0].nodeValue.trim();attrs=merge(attrs,{label:labelVal})}var contentProtection=function generateKeySystemInformation(contentProtectionNodes){return contentProtectionNodes.reduce((function(acc,node){var attributes=mpd_parser_es_parseAttributes(node),keySystem=keySystemsMap[attributes.schemeIdUri];if(keySystem){acc[keySystem]={attributes};var psshNode=findChildren(node,"cenc:pssh")[0];if(psshNode){var pssh=getContent(psshNode),psshBuffer=pssh&&decodeB64ToUint8Array(pssh);acc[keySystem].pssh=psshBuffer}}return acc}),{})}(findChildren(adaptationSet,"ContentProtection"));Object.keys(contentProtection).length&&(attrs=merge(attrs,{contentProtection}));var segmentInfo=getSegmentInformation(adaptationSet),representations=findChildren(adaptationSet,"Representation"),adaptationSetSegmentInfo=merge(periodSegmentInfo,segmentInfo);return flatten(representations.map(function inheritBaseUrls(adaptationSetAttributes,adaptationSetBaseUrls,adaptationSetSegmentInfo){return function(representation){var repBaseUrlElements=findChildren(representation,"BaseURL"),repBaseUrls=buildBaseUrls(adaptationSetBaseUrls,repBaseUrlElements),attributes=merge(adaptationSetAttributes,mpd_parser_es_parseAttributes(representation)),representationSegmentInfo=getSegmentInformation(representation);return repBaseUrls.map((function(baseUrl){return{segmentInfo:merge(adaptationSetSegmentInfo,representationSegmentInfo),attributes:merge(attributes,{baseUrl})}}))}}(attrs,adaptationSetBaseUrls,adaptationSetSegmentInfo)))}},toAdaptationSets=function toAdaptationSets(mpdAttributes,mpdBaseUrls){return function(period,index){var periodBaseUrls=buildBaseUrls(mpdBaseUrls,findChildren(period.node,"BaseURL")),periodAttributes=merge(mpdAttributes,{periodStart:period.attributes.start});"number"==typeof period.attributes.duration&&(periodAttributes.periodDuration=period.attributes.duration);var adaptationSets=findChildren(period.node,"AdaptationSet"),periodSegmentInfo=getSegmentInformation(period.node);return flatten(adaptationSets.map(toRepresentations(periodAttributes,periodBaseUrls,periodSegmentInfo)))}},stringToMpdXml=function stringToMpdXml(manifestString){if(""===manifestString)throw new Error(errors_DASH_EMPTY_MANIFEST);var xml,mpd,parser=new xmldom_lib.DOMParser;try{mpd=(xml=parser.parseFromString(manifestString,"application/xml"))&&"MPD"===xml.documentElement.tagName?xml.documentElement:null}catch(e){}if(!mpd||mpd&&mpd.getElementsByTagName("parsererror").length>0)throw new Error(errors_DASH_INVALID_XML);return mpd},parse=function parse(manifestString,options){void 0===options&&(options={});var parsedManifestInfo=function inheritAttributes(mpd,options){void 0===options&&(options={});var _options=options,_options$manifestUri=_options.manifestUri,manifestUri=void 0===_options$manifestUri?"":_options$manifestUri,_options$NOW=_options.NOW,NOW=void 0===_options$NOW?Date.now():_options$NOW,_options$clientOffset=_options.clientOffset,clientOffset=void 0===_options$clientOffset?0:_options$clientOffset,periodNodes=findChildren(mpd,"Period");if(!periodNodes.length)throw new Error(errors_INVALID_NUMBER_OF_PERIOD);var locations=findChildren(mpd,"Location"),mpdAttributes=mpd_parser_es_parseAttributes(mpd),mpdBaseUrls=buildBaseUrls([manifestUri],findChildren(mpd,"BaseURL"));mpdAttributes.type=mpdAttributes.type||"static",mpdAttributes.sourceDuration=mpdAttributes.mediaPresentationDuration||0,mpdAttributes.NOW=NOW,mpdAttributes.clientOffset=clientOffset,locations.length&&(mpdAttributes.locations=locations.map(getContent));var periods=[];return periodNodes.forEach((function(node,index){var attributes=mpd_parser_es_parseAttributes(node),priorPeriod=periods[index-1];attributes.start=function getPeriodStart(_ref){var attributes=_ref.attributes,priorPeriodAttributes=_ref.priorPeriodAttributes,mpdType=_ref.mpdType;return"number"==typeof attributes.start?attributes.start:priorPeriodAttributes&&"number"==typeof priorPeriodAttributes.start&&"number"==typeof priorPeriodAttributes.duration?priorPeriodAttributes.start+priorPeriodAttributes.duration:priorPeriodAttributes||"static"!==mpdType?null:0}({attributes,priorPeriodAttributes:priorPeriod?priorPeriod.attributes:null,mpdType:mpdAttributes.type}),periods.push({node,attributes})})),{locations:mpdAttributes.locations,representationInfo:flatten(periods.map(toAdaptationSets(mpdAttributes,mpdBaseUrls)))}}(stringToMpdXml(manifestString),options),playlists=function toPlaylists(representations){return representations.map(generateSegments)}(parsedManifestInfo.representationInfo);return toM3u8({dashPlaylists:playlists,locations:parsedManifestInfo.locations,sidxMapping:options.sidxMapping,previousManifest:options.previousManifest})},parseUTCTiming=function parseUTCTiming(manifestString){return function parseUTCTimingScheme(mpd){var UTCTimingNode=findChildren(mpd,"UTCTiming")[0];if(!UTCTimingNode)return null;var attributes=mpd_parser_es_parseAttributes(UTCTimingNode);switch(attributes.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":attributes.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":attributes.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":attributes.method="DIRECT",attributes.value=Date.parse(attributes.value);break;default:throw new Error(errors_UNSUPPORTED_UTC_TIMING_SCHEME)}return attributes}(stringToMpdXml(manifestString))},parse_sidx=__webpack_require__("./node_modules/mux.js/lib/tools/parse-sidx.js"),parse_sidx_default=__webpack_require__.n(parse_sidx),isTypedArray=function isTypedArray(obj){return function isArrayBufferView(obj){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(obj):obj&&obj.buffer instanceof ArrayBuffer}(obj)},byte_helpers_toUint8=function toUint8(bytes){return bytes instanceof Uint8Array?bytes:(Array.isArray(bytes)||isTypedArray(bytes)||bytes instanceof ArrayBuffer||(bytes="number"!=typeof bytes||"number"==typeof bytes&&bytes!=bytes?0:[bytes]),new Uint8Array(bytes&&bytes.buffer||bytes,bytes&&bytes.byteOffset||0,bytes&&bytes.byteLength||0))},BigInt=window_default().BigInt||Number,BYTE_TABLE=[BigInt("0x1"),BigInt("0x100"),BigInt("0x10000"),BigInt("0x1000000"),BigInt("0x100000000"),BigInt("0x10000000000"),BigInt("0x1000000000000"),BigInt("0x100000000000000"),BigInt("0x10000000000000000")],byte_helpers_bytesToNumber=(a=new Uint16Array([65484]),255===(b=new Uint8Array(a.buffer,a.byteOffset,a.byteLength))[0]||b[0],function bytesToNumber(bytes,_temp){var _ref=void 0===_temp?{}:_temp,_ref$signed=_ref.signed,signed=void 0!==_ref$signed&&_ref$signed,_ref$le=_ref.le,le=void 0!==_ref$le&&_ref$le;bytes=byte_helpers_toUint8(bytes);var fn=le?"reduce":"reduceRight",number=(bytes[fn]?bytes[fn]:Array.prototype[fn]).call(bytes,(function(total,byte,i){var exponent=le?i:Math.abs(i+1-bytes.length);return total+BigInt(byte)*BYTE_TABLE[exponent]}),BigInt(0));if(signed){var max=BYTE_TABLE[bytes.length]/BigInt(2)-BigInt(1);(number=BigInt(number))>max&&(number-=max,number-=max,number-=BigInt(2))}return Number(number)}),numberToBytes=function numberToBytes(number,_temp2){var _ref2$le=(void 0===_temp2?{}:_temp2).le,le=void 0!==_ref2$le&&_ref2$le;("bigint"!=typeof number&&"number"!=typeof number||"number"==typeof number&&number!=number)&&(number=0);for(var byteCount=function countBytes(x){return Math.ceil(function countBits(x){return x.toString(2).length}(x)/8)}(number=BigInt(number)),bytes=new Uint8Array(new ArrayBuffer(byteCount)),i=0;i<byteCount;i++){var byteIndex=le?i:Math.abs(i+1-bytes.length);bytes[byteIndex]=Number(number/BYTE_TABLE[i]&BigInt(255)),number<0&&(bytes[byteIndex]=Math.abs(~bytes[byteIndex]),bytes[byteIndex]-=0===i?1:2)}return bytes},stringToBytes=function stringToBytes(string,stringIsBytes){if("string"!=typeof string&&string&&"function"==typeof string.toString&&(string=string.toString()),"string"!=typeof string)return new Uint8Array;stringIsBytes||(string=unescape(encodeURIComponent(string)));for(var view=new Uint8Array(string.length),i=0;i<string.length;i++)view[i]=string.charCodeAt(i);return view},byte_helpers_bytesMatch=function bytesMatch(a,b,_temp3){var _ref3=void 0===_temp3?{}:_temp3,_ref3$offset=_ref3.offset,offset=void 0===_ref3$offset?0:_ref3$offset,_ref3$mask=_ref3.mask,mask=void 0===_ref3$mask?[]:_ref3$mask;a=byte_helpers_toUint8(a);var fn=(b=byte_helpers_toUint8(b)).every?b.every:Array.prototype.every;return b.length&&a.length-offset>=b.length&&fn.call(b,(function(bByte,i){return bByte===(mask[i]?mask[i]&a[offset+i]:a[offset+i])}))},ID3=byte_helpers_toUint8([73,68,51]),getId3Offset=function getId3Offset(bytes,offset){return void 0===offset&&(offset=0),(bytes=byte_helpers_toUint8(bytes)).length-offset<10||!byte_helpers_bytesMatch(bytes,ID3,{offset})?offset:(offset+=function getId3Size(bytes,offset){void 0===offset&&(offset=0);var flags=(bytes=byte_helpers_toUint8(bytes))[offset+5],returnSize=bytes[offset+6]<<21|bytes[offset+7]<<14|bytes[offset+8]<<7|bytes[offset+9];return(16&flags)>>4?returnSize+20:returnSize+10}(bytes,offset),getId3Offset(bytes,offset))},normalizePath=(new Uint8Array([79,112,117,115,72,101,97,100]),function normalizePath(path){return"string"==typeof path?stringToBytes(path):path}),parseDescriptors=function parseDescriptors(bytes){bytes=byte_helpers_toUint8(bytes);for(var results=[],i=0;bytes.length>i;){var tag=bytes[i],size=0,headerSize=0,byte=bytes[++headerSize];for(headerSize++;128&byte;)size=(127&byte)<<7,byte=bytes[headerSize],headerSize++;size+=127&byte;for(var z=0;z<DESCRIPTORS.length;z++){var _DESCRIPTORS$z=DESCRIPTORS[z],id=_DESCRIPTORS$z.id,parser=_DESCRIPTORS$z.parser;if(tag===id){results.push(parser(bytes.subarray(headerSize,headerSize+size)));break}}i+=size+headerSize}return results};DESCRIPTORS=[{id:3,parser:function parser(bytes){var desc={tag:3,id:bytes[0]<<8|bytes[1],flags:bytes[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&desc.flags&&(desc.dependsOnEsId=bytes[desc.size]<<8|bytes[desc.size+1],desc.size+=2),64&desc.flags){var len=bytes[desc.size];desc.url=function bytesToString(bytes){if(!bytes)return"";bytes=Array.prototype.slice.call(bytes);var string=String.fromCharCode.apply(null,byte_helpers_toUint8(bytes));try{return decodeURIComponent(escape(string))}catch(e){}return string}(bytes.subarray(desc.size+1,desc.size+1+len)),desc.size+=len}return 32&desc.flags&&(desc.ocrEsId=bytes[desc.size]<<8|bytes[desc.size+1],desc.size+=2),desc.descriptors=parseDescriptors(bytes.subarray(desc.size))||[],desc}},{id:4,parser:function parser(bytes){return{tag:4,oti:bytes[0],streamType:bytes[1],bufferSize:bytes[2]<<16|bytes[3]<<8|bytes[4],maxBitrate:bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8],avgBitrate:bytes[9]<<24|bytes[10]<<16|bytes[11]<<8|bytes[12],descriptors:parseDescriptors(bytes.subarray(13))}}},{id:5,parser:function parser(bytes){return{tag:5,bytes}}},{id:6,parser:function parser(bytes){return{tag:6,bytes}}}];var findBox=function findBox(bytes,paths,complete){void 0===complete&&(complete=!1),paths=function normalizePaths(paths){return Array.isArray(paths)?paths.map((function(p){return normalizePath(p)})):[normalizePath(paths)]}(paths),bytes=byte_helpers_toUint8(bytes);var results=[];if(!paths.length)return results;for(var i=0;i<bytes.length;){var size=(bytes[i]<<24|bytes[i+1]<<16|bytes[i+2]<<8|bytes[i+3])>>>0,type=bytes.subarray(i+4,i+8);if(0===size)break;var end=i+size;if(end>bytes.length){if(complete)break;end=bytes.length}var data=bytes.subarray(i+8,end);byte_helpers_bytesMatch(type,paths[0])&&(1===paths.length?results.push(data):results.push.apply(results,findBox(data,paths.slice(1),complete))),i=end}return results},EBML_TAGS={EBML:byte_helpers_toUint8([26,69,223,163]),DocType:byte_helpers_toUint8([66,130]),Segment:byte_helpers_toUint8([24,83,128,103]),SegmentInfo:byte_helpers_toUint8([21,73,169,102]),Tracks:byte_helpers_toUint8([22,84,174,107]),Track:byte_helpers_toUint8([174]),TrackNumber:byte_helpers_toUint8([215]),DefaultDuration:byte_helpers_toUint8([35,227,131]),TrackEntry:byte_helpers_toUint8([174]),TrackType:byte_helpers_toUint8([131]),FlagDefault:byte_helpers_toUint8([136]),CodecID:byte_helpers_toUint8([134]),CodecPrivate:byte_helpers_toUint8([99,162]),VideoTrack:byte_helpers_toUint8([224]),AudioTrack:byte_helpers_toUint8([225]),Cluster:byte_helpers_toUint8([31,67,182,117]),Timestamp:byte_helpers_toUint8([231]),TimestampScale:byte_helpers_toUint8([42,215,177]),BlockGroup:byte_helpers_toUint8([160]),BlockDuration:byte_helpers_toUint8([155]),Block:byte_helpers_toUint8([161]),SimpleBlock:byte_helpers_toUint8([163])},LENGTH_TABLE=[128,64,32,16,8,4,2,1],getvint=function getvint(bytes,offset,removeLength,signed){void 0===removeLength&&(removeLength=!0),void 0===signed&&(signed=!1);var length=function getLength(byte){for(var len=1,i=0;i<LENGTH_TABLE.length&&!(byte&LENGTH_TABLE[i]);i++)len++;return len}(bytes[offset]),valueBytes=bytes.subarray(offset,offset+length);return removeLength&&((valueBytes=Array.prototype.slice.call(bytes,offset,offset+length))[0]^=LENGTH_TABLE[length-1]),{length,value:byte_helpers_bytesToNumber(valueBytes,{signed}),bytes:valueBytes}},ebml_helpers_normalizePath=function normalizePath(path){return"string"==typeof path?path.match(/.{1,2}/g).map((function(p){return normalizePath(p)})):"number"==typeof path?numberToBytes(path):path},getInfinityDataSize=function getInfinityDataSize(id,bytes,offset){if(offset>=bytes.length)return bytes.length;var innerid=getvint(bytes,offset,!1);if(byte_helpers_bytesMatch(id.bytes,innerid.bytes))return offset;var dataHeader=getvint(bytes,offset+innerid.length);return getInfinityDataSize(id,bytes,offset+dataHeader.length+dataHeader.value+innerid.length)},findEbml=function findEbml(bytes,paths){paths=function normalizePaths(paths){return Array.isArray(paths)?paths.map((function(p){return ebml_helpers_normalizePath(p)})):[ebml_helpers_normalizePath(paths)]}(paths),bytes=byte_helpers_toUint8(bytes);var results=[];if(!paths.length)return results;for(var i=0;i<bytes.length;){var id=getvint(bytes,i,!1),dataHeader=getvint(bytes,i+id.length),dataStart=i+id.length+dataHeader.length;127===dataHeader.value&&(dataHeader.value=getInfinityDataSize(id,bytes,dataStart),dataHeader.value!==bytes.length&&(dataHeader.value-=dataStart));var dataEnd=dataStart+dataHeader.value>bytes.length?bytes.length:dataStart+dataHeader.value,data=bytes.subarray(dataStart,dataEnd);byte_helpers_bytesMatch(paths[0],id.bytes)&&(1===paths.length?results.push(data):results=results.concat(findEbml(data,paths.slice(1)))),i+=id.length+dataHeader.length+data.length}return results},NAL_TYPE_ONE=byte_helpers_toUint8([0,0,0,1]),NAL_TYPE_TWO=byte_helpers_toUint8([0,0,1]),EMULATION_PREVENTION=byte_helpers_toUint8([0,0,3]),discardEmulationPreventionBytes=function discardEmulationPreventionBytes(bytes){for(var positions=[],i=1;i<bytes.length-2;)byte_helpers_bytesMatch(bytes.subarray(i,i+3),EMULATION_PREVENTION)&&(positions.push(i+2),i++),i++;if(0===positions.length)return bytes;var newLength=bytes.length-positions.length,newData=new Uint8Array(newLength),sourceIndex=0;for(i=0;i<newLength;sourceIndex++,i++)sourceIndex===positions[0]&&(sourceIndex++,positions.shift()),newData[i]=bytes[sourceIndex];return newData},findNal=function findNal(bytes,dataType,types,nalLimit){void 0===nalLimit&&(nalLimit=1/0),bytes=byte_helpers_toUint8(bytes),types=[].concat(types);for(var nalStart,i=0,nalsFound=0;i<bytes.length&&(nalsFound<nalLimit||nalStart);){var nalOffset=void 0;if(byte_helpers_bytesMatch(bytes.subarray(i),NAL_TYPE_ONE)?nalOffset=4:byte_helpers_bytesMatch(bytes.subarray(i),NAL_TYPE_TWO)&&(nalOffset=3),nalOffset){if(nalsFound++,nalStart)return discardEmulationPreventionBytes(bytes.subarray(nalStart,i));var nalType=void 0;"h264"===dataType?nalType=31&bytes[i+nalOffset]:"h265"===dataType&&(nalType=bytes[i+nalOffset]>>1&63),-1!==types.indexOf(nalType)&&(nalStart=i+nalOffset),i+=nalOffset+("h264"===dataType?1:2)}else i++}return bytes.subarray(0,0)},CONSTANTS={webm:byte_helpers_toUint8([119,101,98,109]),matroska:byte_helpers_toUint8([109,97,116,114,111,115,107,97]),flac:byte_helpers_toUint8([102,76,97,67]),ogg:byte_helpers_toUint8([79,103,103,83]),ac3:byte_helpers_toUint8([11,119]),riff:byte_helpers_toUint8([82,73,70,70]),avi:byte_helpers_toUint8([65,86,73]),wav:byte_helpers_toUint8([87,65,86,69]),"3gp":byte_helpers_toUint8([102,116,121,112,51,103]),mp4:byte_helpers_toUint8([102,116,121,112]),fmp4:byte_helpers_toUint8([115,116,121,112]),mov:byte_helpers_toUint8([102,116,121,112,113,116]),moov:byte_helpers_toUint8([109,111,111,118]),moof:byte_helpers_toUint8([109,111,111,102])},_isLikely={aac:function aac(bytes){var offset=getId3Offset(bytes);return byte_helpers_bytesMatch(bytes,[255,16],{offset,mask:[255,22]})},mp3:function mp3(bytes){var offset=getId3Offset(bytes);return byte_helpers_bytesMatch(bytes,[255,2],{offset,mask:[255,6]})},webm:function webm(bytes){var docType=findEbml(bytes,[EBML_TAGS.EBML,EBML_TAGS.DocType])[0];return byte_helpers_bytesMatch(docType,CONSTANTS.webm)},mkv:function mkv(bytes){var docType=findEbml(bytes,[EBML_TAGS.EBML,EBML_TAGS.DocType])[0];return byte_helpers_bytesMatch(docType,CONSTANTS.matroska)},mp4:function mp4(bytes){return!_isLikely["3gp"](bytes)&&!_isLikely.mov(bytes)&&(!(!byte_helpers_bytesMatch(bytes,CONSTANTS.mp4,{offset:4})&&!byte_helpers_bytesMatch(bytes,CONSTANTS.fmp4,{offset:4}))||(!(!byte_helpers_bytesMatch(bytes,CONSTANTS.moof,{offset:4})&&!byte_helpers_bytesMatch(bytes,CONSTANTS.moov,{offset:4}))||void 0))},mov:function mov(bytes){return byte_helpers_bytesMatch(bytes,CONSTANTS.mov,{offset:4})},"3gp":function gp(bytes){return byte_helpers_bytesMatch(bytes,CONSTANTS["3gp"],{offset:4})},ac3:function ac3(bytes){var offset=getId3Offset(bytes);return byte_helpers_bytesMatch(bytes,CONSTANTS.ac3,{offset})},ts:function ts(bytes){if(bytes.length<189&&bytes.length>=1)return 71===bytes[0];for(var i=0;i+188<bytes.length&&i<188;){if(71===bytes[i]&&71===bytes[i+188])return!0;i+=1}return!1},flac:function flac(bytes){var offset=getId3Offset(bytes);return byte_helpers_bytesMatch(bytes,CONSTANTS.flac,{offset})},ogg:function ogg(bytes){return byte_helpers_bytesMatch(bytes,CONSTANTS.ogg)},avi:function avi(bytes){return byte_helpers_bytesMatch(bytes,CONSTANTS.riff)&&byte_helpers_bytesMatch(bytes,CONSTANTS.avi,{offset:8})},wav:function wav(bytes){return byte_helpers_bytesMatch(bytes,CONSTANTS.riff)&&byte_helpers_bytesMatch(bytes,CONSTANTS.wav,{offset:8})},h264:function h264(bytes){return function findH264Nal(bytes,type,nalLimit){return findNal(bytes,"h264",type,nalLimit)}(bytes,7,3).length},h265:function h265(bytes){return function findH265Nal(bytes,type,nalLimit){return findNal(bytes,"h265",type,nalLimit)}(bytes,[32,33],3).length}},isLikelyTypes=Object.keys(_isLikely).filter((function(t){return"ts"!==t&&"h264"!==t&&"h265"!==t})).concat(["ts","h264","h265"]);isLikelyTypes.forEach((function(type){var isLikelyFn=_isLikely[type];_isLikely[type]=function(bytes){return isLikelyFn(byte_helpers_toUint8(bytes))}}));for(var browserApi,isLikely=_isLikely,detectContainerForBytes=function detectContainerForBytes(bytes){bytes=byte_helpers_toUint8(bytes);for(var i=0;i<isLikelyTypes.length;i++){var type=isLikelyTypes[i];if(isLikely[type](bytes))return type}return""},clock=__webpack_require__("./node_modules/mux.js/lib/utils/clock.js"),hooks_={},hooks=function hooks(type,fn){return hooks_[type]=hooks_[type]||[],fn&&(hooks_[type]=hooks_[type].concat(fn)),hooks_[type]},removeHook=function removeHook(type,fn){var index=hooks(type).indexOf(fn);return!(index<=-1)&&(hooks_[type]=hooks_[type].slice(),hooks_[type].splice(index,1),!0)},FullscreenApi={prefixed:!0},apiMap=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],specApi=apiMap[0],i=0;i<apiMap.length;i++)if(apiMap[i][1]in document_default()){browserApi=apiMap[i];break}if(browserApi){for(var _i=0;_i<browserApi.length;_i++)FullscreenApi[specApi[_i]]=browserApi[_i];FullscreenApi.prefixed=browserApi[0]!==specApi[0]}var video_es_history=[];var log$1=function createLogger$1(name){var logByType,level="info",log=function log(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];logByType("log",level,args)};return logByType=function LogByTypeFactory(name,log){return function(type,level,args){var lvl=log.levels[level],lvlRegExp=new RegExp("^("+lvl+")$");if("log"!==type&&args.unshift(type.toUpperCase()+":"),args.unshift(name+":"),video_es_history){video_es_history.push([].concat(args));var splice=video_es_history.length-1e3;video_es_history.splice(0,splice>0?splice:0)}if(window_default().console){var fn=window_default().console[type];fn||"debug"!==type||(fn=window_default().console.info||window_default().console.log),fn&&lvl&&lvlRegExp.test(type)&&fn[Array.isArray(args)?"apply":"call"](window_default().console,args)}}}(name,log),log.createLogger=function(subname){return createLogger$1(name+": "+subname)},log.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:level},log.level=function(lvl){if("string"==typeof lvl){if(!log.levels.hasOwnProperty(lvl))throw new Error('"'+lvl+'" in not a valid log level');level=lvl}return level},(log.history=function(){return video_es_history?[].concat(video_es_history):[]}).filter=function(fname){return(video_es_history||[]).filter((function(historyItem){return new RegExp(".*"+fname+".*").test(historyItem[0])}))},log.history.clear=function(){video_es_history&&(video_es_history.length=0)},log.history.disable=function(){null!==video_es_history&&(video_es_history.length=0,video_es_history=null)},log.history.enable=function(){null===video_es_history&&(video_es_history=[])},log.error=function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return logByType("error",level,args)},log.warn=function(){for(var _len3=arguments.length,args=new Array(_len3),_key3=0;_key3<_len3;_key3++)args[_key3]=arguments[_key3];return logByType("warn",level,args)},log.debug=function(){for(var _len4=arguments.length,args=new Array(_len4),_key4=0;_key4<_len4;_key4++)args[_key4]=arguments[_key4];return logByType("debug",level,args)},log}("VIDEOJS"),createLogger=log$1.createLogger,video_es_toString=Object.prototype.toString,keys=function keys(object){return video_es_isObject(object)?Object.keys(object):[]};function each(object,fn){keys(object).forEach((function(key){return fn(object[key],key)}))}function video_es_assign(target){for(var _len=arguments.length,sources=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)sources[_key-1]=arguments[_key];return Object.assign?esm_extends.Z.apply(void 0,[target].concat(sources)):(sources.forEach((function(source){source&&each(source,(function(value,key){target[key]=value}))})),target)}function video_es_isObject(value){return!!value&&"object"==typeof value}function isPlain(value){return video_es_isObject(value)&&"[object Object]"===video_es_toString.call(value)&&value.constructor===Object}function computedStyle(el,prop){if(!el||!prop)return"";if("function"==typeof window_default().getComputedStyle){var computedStyleValue;try{computedStyleValue=window_default().getComputedStyle(el)}catch(e){return""}return computedStyleValue?computedStyleValue.getPropertyValue(prop)||computedStyleValue[prop]:""}return""}var match,USER_AGENT=window_default().navigator&&window_default().navigator.userAgent||"",webkitVersionMap=/AppleWebKit\/([\d.]+)/i.exec(USER_AGENT),appleWebkitVersion=webkitVersionMap?parseFloat(webkitVersionMap.pop()):null,IS_IPOD=/iPod/i.test(USER_AGENT),IOS_VERSION=(match=USER_AGENT.match(/OS (\d+)_/i))&&match[1]?match[1]:null,IS_ANDROID=/Android/i.test(USER_AGENT),ANDROID_VERSION=function(){var match=USER_AGENT.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!match)return null;var major=match[1]&&parseFloat(match[1]),minor=match[2]&&parseFloat(match[2]);return major&&minor?parseFloat(match[1]+"."+match[2]):major||null}(),IS_NATIVE_ANDROID=IS_ANDROID&&ANDROID_VERSION<5&&appleWebkitVersion<537,IS_FIREFOX=/Firefox/i.test(USER_AGENT),IS_EDGE=/Edg/i.test(USER_AGENT),IS_CHROME=!IS_EDGE&&(/Chrome/i.test(USER_AGENT)||/CriOS/i.test(USER_AGENT)),CHROME_VERSION=function(){var match=USER_AGENT.match(/(Chrome|CriOS)\/(\d+)/);return match&&match[2]?parseFloat(match[2]):null}(),IE_VERSION=function(){var result=/MSIE\s(\d+)\.\d/.exec(USER_AGENT),version=result&&parseFloat(result[1]);return!version&&/Trident\/7.0/i.test(USER_AGENT)&&/rv:11.0/.test(USER_AGENT)&&(version=11),version}(),IS_SAFARI=/Safari/i.test(USER_AGENT)&&!IS_CHROME&&!IS_ANDROID&&!IS_EDGE,IS_WINDOWS=/Windows/i.test(USER_AGENT),TOUCH_ENABLED=Boolean(isReal()&&("ontouchstart"in window_default()||window_default().navigator.maxTouchPoints||window_default().DocumentTouch&&window_default().document instanceof window_default().DocumentTouch)),IS_IPAD=/iPad/i.test(USER_AGENT)||IS_SAFARI&&TOUCH_ENABLED&&!/iPhone/i.test(USER_AGENT),IS_IPHONE=/iPhone/i.test(USER_AGENT)&&!IS_IPAD,IS_IOS=IS_IPHONE||IS_IPAD||IS_IPOD,IS_ANY_SAFARI=(IS_SAFARI||IS_IOS)&&!IS_CHROME,browser=Object.freeze({__proto__:null,IS_IPOD,IOS_VERSION,IS_ANDROID,ANDROID_VERSION,IS_NATIVE_ANDROID,IS_FIREFOX,IS_EDGE,IS_CHROME,CHROME_VERSION,IE_VERSION,IS_SAFARI,IS_WINDOWS,TOUCH_ENABLED,IS_IPAD,IS_IPHONE,IS_IOS,IS_ANY_SAFARI});function isNonBlankString(str){return"string"==typeof str&&Boolean(str.trim())}function throwIfWhitespace(str){if(str.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function isReal(){return document_default()===window_default().document}function isEl(value){return video_es_isObject(value)&&1===value.nodeType}function isInFrame(){try{return window_default().parent!==window_default().self}catch(x){return!0}}function createQuerier(method){return function(selector,context){if(!isNonBlankString(selector))return document_default()[method](null);isNonBlankString(context)&&(context=document_default().querySelector(context));var ctx=isEl(context)?context:document_default();return ctx[method]&&ctx[method](selector)}}function createEl(tagName,properties,attributes,content){void 0===tagName&&(tagName="div"),void 0===properties&&(properties={}),void 0===attributes&&(attributes={});var el=document_default().createElement(tagName);return Object.getOwnPropertyNames(properties).forEach((function(propName){var val=properties[propName];-1!==propName.indexOf("aria-")||"role"===propName||"type"===propName?(log$1.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+propName+" to "+val+"."),el.setAttribute(propName,val)):"textContent"===propName?textContent(el,val):el[propName]===val&&"tabIndex"!==propName||(el[propName]=val)})),Object.getOwnPropertyNames(attributes).forEach((function(attrName){el.setAttribute(attrName,attributes[attrName])})),content&&appendContent(el,content),el}function textContent(el,text){return void 0===el.textContent?el.innerText=text:el.textContent=text,el}function prependTo(child,parent){parent.firstChild?parent.insertBefore(child,parent.firstChild):parent.appendChild(child)}function hasClass(element,classToCheck){return throwIfWhitespace(classToCheck),element.classList?element.classList.contains(classToCheck):function classRegExp(className){return new RegExp("(^|\\s)"+className+"($|\\s)")}(classToCheck).test(element.className)}function addClass(element,classToAdd){return element.classList?element.classList.add(classToAdd):hasClass(element,classToAdd)||(element.className=(element.className+" "+classToAdd).trim()),element}function removeClass(element,classToRemove){return element?(element.classList?element.classList.remove(classToRemove):(throwIfWhitespace(classToRemove),element.className=element.className.split(/\s+/).filter((function(c){return c!==classToRemove})).join(" ")),element):(log$1.warn("removeClass was called with an element that doesn't exist"),null)}function toggleClass(element,classToToggle,predicate){var has=hasClass(element,classToToggle);if("function"==typeof predicate&&(predicate=predicate(element,classToToggle)),"boolean"!=typeof predicate&&(predicate=!has),predicate!==has)return predicate?addClass(element,classToToggle):removeClass(element,classToToggle),element}function setAttributes(el,attributes){Object.getOwnPropertyNames(attributes).forEach((function(attrName){var attrValue=attributes[attrName];null==attrValue||!1===attrValue?el.removeAttribute(attrName):el.setAttribute(attrName,!0===attrValue?"":attrValue)}))}function getAttributes(tag){var obj={},knownBooleans=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(tag&&tag.attributes&&tag.attributes.length>0)for(var attrs=tag.attributes,i=attrs.length-1;i>=0;i--){var attrName=attrs[i].name,attrVal=attrs[i].value;"boolean"!=typeof tag[attrName]&&-1===knownBooleans.indexOf(","+attrName+",")||(attrVal=null!==attrVal),obj[attrName]=attrVal}return obj}function getAttribute(el,attribute){return el.getAttribute(attribute)}function setAttribute(el,attribute,value){el.setAttribute(attribute,value)}function removeAttribute(el,attribute){el.removeAttribute(attribute)}function blockTextSelection(){document_default().body.focus(),document_default().onselectstart=function(){return!1}}function unblockTextSelection(){document_default().onselectstart=function(){return!0}}function getBoundingClientRect(el){if(el&&el.getBoundingClientRect&&el.parentNode){var rect=el.getBoundingClientRect(),result={};return["bottom","height","left","right","top","width"].forEach((function(k){void 0!==rect[k]&&(result[k]=rect[k])})),result.height||(result.height=parseFloat(computedStyle(el,"height"))),result.width||(result.width=parseFloat(computedStyle(el,"width"))),result}}function findPosition(el){if(!el||el&&!el.offsetParent)return{left:0,top:0,width:0,height:0};for(var width=el.offsetWidth,height=el.offsetHeight,left=0,top=0;el.offsetParent&&el!==document_default()[FullscreenApi.fullscreenElement];)left+=el.offsetLeft,top+=el.offsetTop,el=el.offsetParent;return{left,top,width,height}}function getPointerPosition(el,event){var translated={x:0,y:0};if(IS_IOS)for(var item=el;item&&"html"!==item.nodeName.toLowerCase();){var transform=computedStyle(item,"transform");if(/^matrix/.test(transform)){var values=transform.slice(7,-1).split(/,\s/).map(Number);translated.x+=values[4],translated.y+=values[5]}else if(/^matrix3d/.test(transform)){var _values=transform.slice(9,-1).split(/,\s/).map(Number);translated.x+=_values[12],translated.y+=_values[13]}item=item.parentNode}var position={},boxTarget=findPosition(event.target),box=findPosition(el),boxW=box.width,boxH=box.height,offsetY=event.offsetY-(box.top-boxTarget.top),offsetX=event.offsetX-(box.left-boxTarget.left);return event.changedTouches&&(offsetX=event.changedTouches[0].pageX-box.left,offsetY=event.changedTouches[0].pageY+box.top,IS_IOS&&(offsetX-=translated.x,offsetY-=translated.y)),position.y=1-Math.max(0,Math.min(1,offsetY/boxH)),position.x=Math.max(0,Math.min(1,offsetX/boxW)),position}function isTextNode(value){return video_es_isObject(value)&&3===value.nodeType}function emptyEl(el){for(;el.firstChild;)el.removeChild(el.firstChild);return el}function normalizeContent(content){return"function"==typeof content&&(content=content()),(Array.isArray(content)?content:[content]).map((function(value){return"function"==typeof value&&(value=value()),isEl(value)||isTextNode(value)?value:"string"==typeof value&&/\S/.test(value)?document_default().createTextNode(value):void 0})).filter((function(value){return value}))}function appendContent(el,content){return normalizeContent(content).forEach((function(node){return el.appendChild(node)})),el}function insertContent(el,content){return appendContent(emptyEl(el),content)}function isSingleLeftClick(event){return void 0===event.button&&void 0===event.buttons||(0===event.button&&void 0===event.buttons||("mouseup"===event.type&&0===event.button&&0===event.buttons||0===event.button&&1===event.buttons))}var videojs$1,$=createQuerier("querySelector"),$$=createQuerier("querySelectorAll"),Dom=Object.freeze({__proto__:null,isReal,isEl,isInFrame,createEl,textContent,prependTo,hasClass,addClass,removeClass,toggleClass,setAttributes,getAttributes,getAttribute,setAttribute,removeAttribute,blockTextSelection,unblockTextSelection,getBoundingClientRect,findPosition,getPointerPosition,isTextNode,emptyEl,normalizeContent,appendContent,insertContent,isSingleLeftClick,$,$$}),_windowLoaded=!1,autoSetup=function autoSetup(){if(!1!==videojs$1.options.autoSetup){var vids=Array.prototype.slice.call(document_default().getElementsByTagName("video")),audios=Array.prototype.slice.call(document_default().getElementsByTagName("audio")),divs=Array.prototype.slice.call(document_default().getElementsByTagName("video-js")),mediaEls=vids.concat(audios,divs);if(mediaEls&&mediaEls.length>0)for(var i=0,e=mediaEls.length;i<e;i++){var mediaEl=mediaEls[i];if(!mediaEl||!mediaEl.getAttribute){autoSetupTimeout(1);break}void 0===mediaEl.player&&null!==mediaEl.getAttribute("data-setup")&&videojs$1(mediaEl)}else _windowLoaded||autoSetupTimeout(1)}};function autoSetupTimeout(wait,vjs){isReal()&&(vjs&&(videojs$1=vjs),window_default().setTimeout(autoSetup,wait))}function setWindowLoaded(){_windowLoaded=!0,window_default().removeEventListener("load",setWindowLoaded)}isReal()&&("complete"===document_default().readyState?setWindowLoaded():window_default().addEventListener("load",setWindowLoaded));var FakeWeakMap,createStyleElement=function createStyleElement(className){var style=document_default().createElement("style");return style.className=className,style},setTextContent=function setTextContent(el,content){el.styleSheet?el.styleSheet.cssText=content:el.textContent=content},_guid=3;function newGUID(){return _guid++}window_default().WeakMap||(FakeWeakMap=function(){function FakeWeakMap(){this.vdata="vdata"+Math.floor(window_default().performance&&window_default().performance.now()||Date.now()),this.data={}}var _proto=FakeWeakMap.prototype;return _proto.set=function set(key,value){var access=key[this.vdata]||newGUID();return key[this.vdata]||(key[this.vdata]=access),this.data[access]=value,this},_proto.get=function get(key){var access=key[this.vdata];if(access)return this.data[access];log$1("We have no data for this element",key)},_proto.has=function has(key){return key[this.vdata]in this.data},_proto.delete=function _delete(key){var access=key[this.vdata];access&&(delete this.data[access],delete key[this.vdata])},FakeWeakMap}());var _supportsPassive,DomData=window_default().WeakMap?new WeakMap:new FakeWeakMap;function _cleanUpEvents(elem,type){if(DomData.has(elem)){var data=DomData.get(elem);0===data.handlers[type].length&&(delete data.handlers[type],elem.removeEventListener?elem.removeEventListener(type,data.dispatcher,!1):elem.detachEvent&&elem.detachEvent("on"+type,data.dispatcher)),Object.getOwnPropertyNames(data.handlers).length<=0&&(delete data.handlers,delete data.dispatcher,delete data.disabled),0===Object.getOwnPropertyNames(data).length&&DomData.delete(elem)}}function _handleMultipleEvents(fn,elem,types,callback){types.forEach((function(type){fn(elem,type,callback)}))}function fixEvent(event){if(event.fixed_)return event;function returnTrue(){return!0}function returnFalse(){return!1}if(!event||!event.isPropagationStopped||!event.isImmediatePropagationStopped){var old=event||window_default().event;for(var key in event={},old)"layerX"!==key&&"layerY"!==key&&"keyLocation"!==key&&"webkitMovementX"!==key&&"webkitMovementY"!==key&&("returnValue"===key&&old.preventDefault||(event[key]=old[key]));if(event.target||(event.target=event.srcElement||document_default()),event.relatedTarget||(event.relatedTarget=event.fromElement===event.target?event.toElement:event.fromElement),event.preventDefault=function(){old.preventDefault&&old.preventDefault(),event.returnValue=!1,old.returnValue=!1,event.defaultPrevented=!0},event.defaultPrevented=!1,event.stopPropagation=function(){old.stopPropagation&&old.stopPropagation(),event.cancelBubble=!0,old.cancelBubble=!0,event.isPropagationStopped=returnTrue},event.isPropagationStopped=returnFalse,event.stopImmediatePropagation=function(){old.stopImmediatePropagation&&old.stopImmediatePropagation(),event.isImmediatePropagationStopped=returnTrue,event.stopPropagation()},event.isImmediatePropagationStopped=returnFalse,null!==event.clientX&&void 0!==event.clientX){var doc=document_default().documentElement,body=document_default().body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc&&doc.clientLeft||body&&body.clientLeft||0),event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc&&doc.clientTop||body&&body.clientTop||0)}event.which=event.charCode||event.keyCode,null!==event.button&&void 0!==event.button&&(event.button=1&event.button?0:4&event.button?1:2&event.button?2:0)}return event.fixed_=!0,event}var passiveEvents=["touchstart","touchmove"];function on(elem,type,fn){if(Array.isArray(type))return _handleMultipleEvents(on,elem,type,fn);DomData.has(elem)||DomData.set(elem,{});var data=DomData.get(elem);if(data.handlers||(data.handlers={}),data.handlers[type]||(data.handlers[type]=[]),fn.guid||(fn.guid=newGUID()),data.handlers[type].push(fn),data.dispatcher||(data.disabled=!1,data.dispatcher=function(event,hash){if(!data.disabled){event=fixEvent(event);var handlers=data.handlers[event.type];if(handlers)for(var handlersCopy=handlers.slice(0),m=0,n=handlersCopy.length;m<n&&!event.isImmediatePropagationStopped();m++)try{handlersCopy[m].call(elem,event,hash)}catch(e){log$1.error(e)}}}),1===data.handlers[type].length)if(elem.addEventListener){var options=!1;(function supportsPassive(){if("boolean"!=typeof _supportsPassive){_supportsPassive=!1;try{var opts=Object.defineProperty({},"passive",{get:function get(){_supportsPassive=!0}});window_default().addEventListener("test",null,opts),window_default().removeEventListener("test",null,opts)}catch(e){}}return _supportsPassive})()&&passiveEvents.indexOf(type)>-1&&(options={passive:!0}),elem.addEventListener(type,data.dispatcher,options)}else elem.attachEvent&&elem.attachEvent("on"+type,data.dispatcher)}function off(elem,type,fn){if(DomData.has(elem)){var data=DomData.get(elem);if(data.handlers){if(Array.isArray(type))return _handleMultipleEvents(off,elem,type,fn);var removeType=function removeType(el,t){data.handlers[t]=[],_cleanUpEvents(el,t)};if(void 0!==type){var handlers=data.handlers[type];if(handlers)if(fn){if(fn.guid)for(var n=0;n<handlers.length;n++)handlers[n].guid===fn.guid&&handlers.splice(n--,1);_cleanUpEvents(elem,type)}else removeType(elem,type)}else for(var t in data.handlers)Object.prototype.hasOwnProperty.call(data.handlers||{},t)&&removeType(elem,t)}}}function trigger(elem,event,hash){var elemData=DomData.has(elem)?DomData.get(elem):{},parent=elem.parentNode||elem.ownerDocument;if("string"==typeof event?event={type:event,target:elem}:event.target||(event.target=elem),event=fixEvent(event),elemData.dispatcher&&elemData.dispatcher.call(elem,event,hash),parent&&!event.isPropagationStopped()&&!0===event.bubbles)trigger.call(null,parent,event,hash);else if(!parent&&!event.defaultPrevented&&event.target&&event.target[event.type]){DomData.has(event.target)||DomData.set(event.target,{});var targetData=DomData.get(event.target);event.target[event.type]&&(targetData.disabled=!0,"function"==typeof event.target[event.type]&&event.target[event.type](),targetData.disabled=!1)}return!event.defaultPrevented}function one(elem,type,fn){if(Array.isArray(type))return _handleMultipleEvents(one,elem,type,fn);var func=function func(){off(elem,type,func),fn.apply(this,arguments)};func.guid=fn.guid=fn.guid||newGUID(),on(elem,type,func)}function any(elem,type,fn){var func=function func(){off(elem,type,func),fn.apply(this,arguments)};func.guid=fn.guid=fn.guid||newGUID(),on(elem,type,func)}var EVENT_MAP,Events=Object.freeze({__proto__:null,fixEvent,on,off,trigger,one,any}),bind=function bind(context,fn,uid){fn.guid||(fn.guid=newGUID());var bound=fn.bind(context);return bound.guid=uid?uid+"_"+fn.guid:fn.guid,bound},throttle=function throttle(fn,wait){var last=window_default().performance.now();return function throttled(){var now=window_default().performance.now();now-last>=wait&&(fn.apply(void 0,arguments),last=now)}},EventTarget$2=function EventTarget(){};EventTarget$2.prototype.allowedEvents_={},EventTarget$2.prototype.on=function(type,fn){var ael=this.addEventListener;this.addEventListener=function(){},on(this,type,fn),this.addEventListener=ael},EventTarget$2.prototype.addEventListener=EventTarget$2.prototype.on,EventTarget$2.prototype.off=function(type,fn){off(this,type,fn)},EventTarget$2.prototype.removeEventListener=EventTarget$2.prototype.off,EventTarget$2.prototype.one=function(type,fn){var ael=this.addEventListener;this.addEventListener=function(){},one(this,type,fn),this.addEventListener=ael},EventTarget$2.prototype.any=function(type,fn){var ael=this.addEventListener;this.addEventListener=function(){},any(this,type,fn),this.addEventListener=ael},EventTarget$2.prototype.trigger=function(event){var type=event.type||event;"string"==typeof event&&(event={type}),event=fixEvent(event),this.allowedEvents_[type]&&this["on"+type]&&this["on"+type](event),trigger(this,event)},EventTarget$2.prototype.dispatchEvent=EventTarget$2.prototype.trigger,EventTarget$2.prototype.queueTrigger=function(event){var _this=this;EVENT_MAP||(EVENT_MAP=new Map);var type=event.type||event,map=EVENT_MAP.get(this);map||(map=new Map,EVENT_MAP.set(this,map));var oldTimeout=map.get(type);map.delete(type),window_default().clearTimeout(oldTimeout);var timeout=window_default().setTimeout((function(){0===map.size&&(map=null,EVENT_MAP.delete(_this)),_this.trigger(event)}),0);map.set(type,timeout)};var objName=function objName(obj){return"function"==typeof obj.name?obj.name():"string"==typeof obj.name?obj.name:obj.name_?obj.name_:obj.constructor&&obj.constructor.name?obj.constructor.name:typeof obj},isEvented=function isEvented(object){return object instanceof EventTarget$2||!!object.eventBusEl_&&["on","one","off","trigger"].every((function(k){return"function"==typeof object[k]}))},isValidEventType=function isValidEventType(type){return"string"==typeof type&&/\S/.test(type)||Array.isArray(type)&&!!type.length},validateTarget=function validateTarget(target,obj,fnName){if(!target||!target.nodeName&&!isEvented(target))throw new Error("Invalid target for "+objName(obj)+"#"+fnName+"; must be a DOM node or evented object.")},validateEventType=function validateEventType(type,obj,fnName){if(!isValidEventType(type))throw new Error("Invalid event type for "+objName(obj)+"#"+fnName+"; must be a non-empty string or array.")},validateListener=function validateListener(listener,obj,fnName){if("function"!=typeof listener)throw new Error("Invalid listener for "+objName(obj)+"#"+fnName+"; must be a function.")},normalizeListenArgs=function normalizeListenArgs(self,args,fnName){var target,type,listener,isTargetingSelf=args.length<3||args[0]===self||args[0]===self.eventBusEl_;return isTargetingSelf?(target=self.eventBusEl_,args.length>=3&&args.shift(),type=args[0],listener=args[1]):(target=args[0],type=args[1],listener=args[2]),validateTarget(target,self,fnName),validateEventType(type,self,fnName),validateListener(listener,self,fnName),{isTargetingSelf,target,type,listener:listener=bind(self,listener)}},listen=function listen(target,method,type,listener){validateTarget(target,target,method),target.nodeName?Events[method](target,type,listener):target[method](type,listener)},EventedMixin={on:function on(){for(var _this=this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var _normalizeListenArgs=normalizeListenArgs(this,args,"on"),isTargetingSelf=_normalizeListenArgs.isTargetingSelf,target=_normalizeListenArgs.target,type=_normalizeListenArgs.type,listener=_normalizeListenArgs.listener;if(listen(target,"on",type,listener),!isTargetingSelf){var removeListenerOnDispose=function removeListenerOnDispose(){return _this.off(target,type,listener)};removeListenerOnDispose.guid=listener.guid;var removeRemoverOnTargetDispose=function removeRemoverOnTargetDispose(){return _this.off("dispose",removeListenerOnDispose)};removeRemoverOnTargetDispose.guid=listener.guid,listen(this,"on","dispose",removeListenerOnDispose),listen(target,"on","dispose",removeRemoverOnTargetDispose)}},one:function one(){for(var _this2=this,_len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];var _normalizeListenArgs2=normalizeListenArgs(this,args,"one"),isTargetingSelf=_normalizeListenArgs2.isTargetingSelf,target=_normalizeListenArgs2.target,type=_normalizeListenArgs2.type,listener=_normalizeListenArgs2.listener;if(isTargetingSelf)listen(target,"one",type,listener);else{var wrapper=function wrapper(){_this2.off(target,type,wrapper);for(var _len3=arguments.length,largs=new Array(_len3),_key3=0;_key3<_len3;_key3++)largs[_key3]=arguments[_key3];listener.apply(null,largs)};wrapper.guid=listener.guid,listen(target,"one",type,wrapper)}},any:function any(){for(var _this3=this,_len4=arguments.length,args=new Array(_len4),_key4=0;_key4<_len4;_key4++)args[_key4]=arguments[_key4];var _normalizeListenArgs3=normalizeListenArgs(this,args,"any"),isTargetingSelf=_normalizeListenArgs3.isTargetingSelf,target=_normalizeListenArgs3.target,type=_normalizeListenArgs3.type,listener=_normalizeListenArgs3.listener;if(isTargetingSelf)listen(target,"any",type,listener);else{var wrapper=function wrapper(){_this3.off(target,type,wrapper);for(var _len5=arguments.length,largs=new Array(_len5),_key5=0;_key5<_len5;_key5++)largs[_key5]=arguments[_key5];listener.apply(null,largs)};wrapper.guid=listener.guid,listen(target,"any",type,wrapper)}},off:function off$1(targetOrType,typeOrListener,listener){if(!targetOrType||isValidEventType(targetOrType))off(this.eventBusEl_,targetOrType,typeOrListener);else{var target=targetOrType,type=typeOrListener;validateTarget(target,this,"off"),validateEventType(type,this,"off"),validateListener(listener,this,"off"),listener=bind(this,listener),this.off("dispose",listener),target.nodeName?(off(target,type,listener),off(target,"dispose",listener)):isEvented(target)&&(target.off(type,listener),target.off("dispose",listener))}},trigger:function trigger$1(event,hash){validateTarget(this.eventBusEl_,this,"trigger");var type=event&&"string"!=typeof event?event.type:event;if(!isValidEventType(type)){var error="Invalid event type for "+objName(this)+"#trigger; must be a non-empty string or object with a type key that has a non-empty value.";if(!event)throw new Error(error);(this.log||log$1).error(error)}return trigger(this.eventBusEl_,event,hash)}};function evented(target,options){void 0===options&&(options={});var eventBusKey=options.eventBusKey;if(eventBusKey){if(!target[eventBusKey].nodeName)throw new Error('The eventBusKey "'+eventBusKey+'" does not refer to an element.');target.eventBusEl_=target[eventBusKey]}else target.eventBusEl_=createEl("span",{className:"vjs-event-bus"});return video_es_assign(target,EventedMixin),target.eventedCallbacks&&target.eventedCallbacks.forEach((function(callback){callback()})),target.on("dispose",(function(){target.off(),[target,target.el_,target.eventBusEl_].forEach((function(val){val&&DomData.has(val)&&DomData.delete(val)})),window_default().setTimeout((function(){target.eventBusEl_=null}),0)})),target}var StatefulMixin={state:{},setState:function setState(stateUpdates){var changes,_this=this;return"function"==typeof stateUpdates&&(stateUpdates=stateUpdates()),each(stateUpdates,(function(value,key){_this.state[key]!==value&&((changes=changes||{})[key]={from:_this.state[key],to:value}),_this.state[key]=value})),changes&&isEvented(this)&&this.trigger({changes,type:"statechanged"}),changes}};function stateful(target,defaultState){return video_es_assign(target,StatefulMixin),target.state=video_es_assign({},target.state,defaultState),"function"==typeof target.handleStateChanged&&isEvented(target)&&target.on("statechanged",target.handleStateChanged),target}var toLowerCase=function toLowerCase(string){return"string"!=typeof string?string:string.replace(/./,(function(w){return w.toLowerCase()}))},toTitleCase$1=function toTitleCase(string){return"string"!=typeof string?string:string.replace(/./,(function(w){return w.toUpperCase()}))};function mergeOptions$3(){for(var result={},_len=arguments.length,sources=new Array(_len),_key=0;_key<_len;_key++)sources[_key]=arguments[_key];return sources.forEach((function(source){source&&each(source,(function(value,key){isPlain(value)?(isPlain(result[key])||(result[key]={}),result[key]=mergeOptions$3(result[key],value)):result[key]=value}))})),result}var MapSham=function(){function MapSham(){this.map_={}}var _proto=MapSham.prototype;return _proto.has=function has(key){return key in this.map_},_proto.delete=function _delete(key){var has=this.has(key);return delete this.map_[key],has},_proto.set=function set(key,value){return this.map_[key]=value,this},_proto.forEach=function forEach(callback,thisArg){for(var key in this.map_)callback.call(thisArg,this.map_[key],key,this)},MapSham}(),Map$1=window_default().Map?window_default().Map:MapSham,SetSham=function(){function SetSham(){this.set_={}}var _proto=SetSham.prototype;return _proto.has=function has(key){return key in this.set_},_proto.delete=function _delete(key){var has=this.has(key);return delete this.set_[key],has},_proto.add=function add(key){return this.set_[key]=1,this},_proto.forEach=function forEach(callback,thisArg){for(var key in this.set_)callback.call(thisArg,key,key,this)},SetSham}(),Set=window_default().Set?window_default().Set:SetSham,Component$1=function(){function Component(player,options,ready){if(!player&&this.play?this.player_=player=this:this.player_=player,this.isDisposed_=!1,this.parentComponent_=null,this.options_=mergeOptions$3({},this.options_),options=this.options_=mergeOptions$3(this.options_,options),this.id_=options.id||options.el&&options.el.id,!this.id_){var id=player&&player.id&&player.id()||"no_player";this.id_=id+"_component_"+newGUID()}this.name_=options.name||null,options.el?this.el_=options.el:!1!==options.createEl&&(this.el_=this.createEl()),!1!==options.evented&&(evented(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),stateful(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map$1,this.clearingTimersOnDispose_=!1,!1!==options.initChildren&&this.initChildren(),this.ready(ready),!1!==options.reportTouchActivity&&this.enableTouchActivity()}var _proto=Component.prototype;return _proto.dispose=function dispose(){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var i=this.children_.length-1;i>=0;i--)this.children_[i].dispose&&this.children_[i].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),this.el_=null),this.player_=null}},_proto.isDisposed=function isDisposed(){return Boolean(this.isDisposed_)},_proto.player=function player(){return this.player_},_proto.options=function options(obj){return obj?(this.options_=mergeOptions$3(this.options_,obj),this.options_):this.options_},_proto.el=function el(){return this.el_},_proto.createEl=function createEl$1(tagName,properties,attributes){return createEl(tagName,properties,attributes)},_proto.localize=function localize(string,tokens,defaultValue){void 0===defaultValue&&(defaultValue=string);var code=this.player_.language&&this.player_.language(),languages=this.player_.languages&&this.player_.languages(),language=languages&&languages[code],primaryCode=code&&code.split("-")[0],primaryLang=languages&&languages[primaryCode],localizedString=defaultValue;return language&&language[string]?localizedString=language[string]:primaryLang&&primaryLang[string]&&(localizedString=primaryLang[string]),tokens&&(localizedString=localizedString.replace(/\{(\d+)\}/g,(function(match,index){var value=tokens[index-1],ret=value;return void 0===value&&(ret=match),ret}))),localizedString},_proto.handleLanguagechange=function handleLanguagechange(){},_proto.contentEl=function contentEl(){return this.contentEl_||this.el_},_proto.id=function id(){return this.id_},_proto.name=function name(){return this.name_},_proto.children=function children(){return this.children_},_proto.getChildById=function getChildById(id){return this.childIndex_[id]},_proto.getChild=function getChild(name){if(name)return this.childNameIndex_[name]},_proto.getDescendant=function getDescendant(){for(var _len=arguments.length,names=new Array(_len),_key=0;_key<_len;_key++)names[_key]=arguments[_key];names=names.reduce((function(acc,n){return acc.concat(n)}),[]);for(var currentChild=this,i=0;i<names.length;i++)if(!(currentChild=currentChild.getChild(names[i]))||!currentChild.getChild)return;return currentChild},_proto.addChild=function addChild(child,options,index){var component,componentName;if(void 0===options&&(options={}),void 0===index&&(index=this.children_.length),"string"==typeof child){componentName=toTitleCase$1(child);var componentClassName=options.componentClass||componentName;options.name=componentName;var ComponentClass=Component.getComponent(componentClassName);if(!ComponentClass)throw new Error("Component "+componentClassName+" does not exist");if("function"!=typeof ComponentClass)return null;component=new ComponentClass(this.player_||this,options)}else component=child;if(component.parentComponent_&&component.parentComponent_.removeChild(component),this.children_.splice(index,0,component),component.parentComponent_=this,"function"==typeof component.id&&(this.childIndex_[component.id()]=component),(componentName=componentName||component.name&&toTitleCase$1(component.name()))&&(this.childNameIndex_[componentName]=component,this.childNameIndex_[toLowerCase(componentName)]=component),"function"==typeof component.el&&component.el()){var refNode=null;this.children_[index+1]&&(this.children_[index+1].el_?refNode=this.children_[index+1].el_:isEl(this.children_[index+1])&&(refNode=this.children_[index+1])),this.contentEl().insertBefore(component.el(),refNode)}return component},_proto.removeChild=function removeChild(component){if("string"==typeof component&&(component=this.getChild(component)),component&&this.children_){for(var childFound=!1,i=this.children_.length-1;i>=0;i--)if(this.children_[i]===component){childFound=!0,this.children_.splice(i,1);break}if(childFound){component.parentComponent_=null,this.childIndex_[component.id()]=null,this.childNameIndex_[toTitleCase$1(component.name())]=null,this.childNameIndex_[toLowerCase(component.name())]=null;var compEl=component.el();compEl&&compEl.parentNode===this.contentEl()&&this.contentEl().removeChild(component.el())}}},_proto.initChildren=function initChildren(){var _this=this,children=this.options_.children;if(children){var workingChildren,parentOptions=this.options_,Tech=Component.getComponent("Tech");(workingChildren=Array.isArray(children)?children:Object.keys(children)).concat(Object.keys(this.options_).filter((function(child){return!workingChildren.some((function(wchild){return"string"==typeof wchild?child===wchild:child===wchild.name}))}))).map((function(child){var name,opts;return"string"==typeof child?opts=children[name=child]||_this.options_[name]||{}:(name=child.name,opts=child),{name,opts}})).filter((function(child){var c=Component.getComponent(child.opts.componentClass||toTitleCase$1(child.name));return c&&!Tech.isTech(c)})).forEach((function handleAdd(child){var name=child.name,opts=child.opts;if(void 0!==parentOptions[name]&&(opts=parentOptions[name]),!1!==opts){!0===opts&&(opts={}),opts.playerOptions=_this.options_.playerOptions;var newChild=_this.addChild(name,opts);newChild&&(_this[name]=newChild)}}))}},_proto.buildCSSClass=function buildCSSClass(){return""},_proto.ready=function ready(fn,sync){if(void 0===sync&&(sync=!1),fn)return this.isReady_?void(sync?fn.call(this):this.setTimeout(fn,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(fn))},_proto.triggerReady=function triggerReady(){this.isReady_=!0,this.setTimeout((function(){var readyQueue=this.readyQueue_;this.readyQueue_=[],readyQueue&&readyQueue.length>0&&readyQueue.forEach((function(fn){fn.call(this)}),this),this.trigger("ready")}),1)},_proto.$=function $$1(selector,context){return $(selector,context||this.contentEl())},_proto.$$=function $$$1(selector,context){return $$(selector,context||this.contentEl())},_proto.hasClass=function hasClass$1(classToCheck){return hasClass(this.el_,classToCheck)},_proto.addClass=function addClass$1(classToAdd){addClass(this.el_,classToAdd)},_proto.removeClass=function removeClass$1(classToRemove){removeClass(this.el_,classToRemove)},_proto.toggleClass=function toggleClass$1(classToToggle,predicate){toggleClass(this.el_,classToToggle,predicate)},_proto.show=function show(){this.removeClass("vjs-hidden")},_proto.hide=function hide(){this.addClass("vjs-hidden")},_proto.lockShowing=function lockShowing(){this.addClass("vjs-lock-showing")},_proto.unlockShowing=function unlockShowing(){this.removeClass("vjs-lock-showing")},_proto.getAttribute=function getAttribute$1(attribute){return getAttribute(this.el_,attribute)},_proto.setAttribute=function setAttribute$1(attribute,value){setAttribute(this.el_,attribute,value)},_proto.removeAttribute=function removeAttribute$1(attribute){removeAttribute(this.el_,attribute)},_proto.width=function width(num,skipListeners){return this.dimension("width",num,skipListeners)},_proto.height=function height(num,skipListeners){return this.dimension("height",num,skipListeners)},_proto.dimensions=function dimensions(width,height){this.width(width,!0),this.height(height)},_proto.dimension=function dimension(widthOrHeight,num,skipListeners){if(void 0!==num)return null!==num&&num==num||(num=0),-1!==(""+num).indexOf("%")||-1!==(""+num).indexOf("px")?this.el_.style[widthOrHeight]=num:this.el_.style[widthOrHeight]="auto"===num?"":num+"px",void(skipListeners||this.trigger("componentresize"));if(!this.el_)return 0;var val=this.el_.style[widthOrHeight],pxIndex=val.indexOf("px");return-1!==pxIndex?parseInt(val.slice(0,pxIndex),10):parseInt(this.el_["offset"+toTitleCase$1(widthOrHeight)],10)},_proto.currentDimension=function currentDimension(widthOrHeight){var computedWidthOrHeight=0;if("width"!==widthOrHeight&&"height"!==widthOrHeight)throw new Error("currentDimension only accepts width or height value");if(computedWidthOrHeight=computedStyle(this.el_,widthOrHeight),0===(computedWidthOrHeight=parseFloat(computedWidthOrHeight))||isNaN(computedWidthOrHeight)){var rule="offset"+toTitleCase$1(widthOrHeight);computedWidthOrHeight=this.el_[rule]}return computedWidthOrHeight},_proto.currentDimensions=function currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},_proto.currentWidth=function currentWidth(){return this.currentDimension("width")},_proto.currentHeight=function currentHeight(){return this.currentDimension("height")},_proto.focus=function focus(){this.el_.focus()},_proto.blur=function blur(){this.el_.blur()},_proto.handleKeyDown=function handleKeyDown(event){this.player_&&(keycode_default().isEventKey(event,"Tab")||event.stopPropagation(),this.player_.handleKeyDown(event))},_proto.handleKeyPress=function handleKeyPress(event){this.handleKeyDown(event)},_proto.emitTapEvents=function emitTapEvents(){var couldBeTap,touchStart=0,firstTouch=null;this.on("touchstart",(function(event){1===event.touches.length&&(firstTouch={pageX:event.touches[0].pageX,pageY:event.touches[0].pageY},touchStart=window_default().performance.now(),couldBeTap=!0)})),this.on("touchmove",(function(event){if(event.touches.length>1)couldBeTap=!1;else if(firstTouch){var xdiff=event.touches[0].pageX-firstTouch.pageX,ydiff=event.touches[0].pageY-firstTouch.pageY;Math.sqrt(xdiff*xdiff+ydiff*ydiff)>10&&(couldBeTap=!1)}}));var noTap=function noTap(){couldBeTap=!1};this.on("touchleave",noTap),this.on("touchcancel",noTap),this.on("touchend",(function(event){(firstTouch=null,!0===couldBeTap)&&(window_default().performance.now()-touchStart<200&&(event.preventDefault(),this.trigger("tap")))}))},_proto.enableTouchActivity=function enableTouchActivity(){if(this.player()&&this.player().reportUserActivity){var touchHolding,report=bind(this.player(),this.player().reportUserActivity);this.on("touchstart",(function(){report(),this.clearInterval(touchHolding),touchHolding=this.setInterval(report,250)}));var touchEnd=function touchEnd(event){report(),this.clearInterval(touchHolding)};this.on("touchmove",report),this.on("touchend",touchEnd),this.on("touchcancel",touchEnd)}},_proto.setTimeout=function setTimeout(fn,timeout){var timeoutId,_this2=this;return fn=bind(this,fn),this.clearTimersOnDispose_(),timeoutId=window_default().setTimeout((function(){_this2.setTimeoutIds_.has(timeoutId)&&_this2.setTimeoutIds_.delete(timeoutId),fn()}),timeout),this.setTimeoutIds_.add(timeoutId),timeoutId},_proto.clearTimeout=function clearTimeout(timeoutId){return this.setTimeoutIds_.has(timeoutId)&&(this.setTimeoutIds_.delete(timeoutId),window_default().clearTimeout(timeoutId)),timeoutId},_proto.setInterval=function setInterval(fn,interval){fn=bind(this,fn),this.clearTimersOnDispose_();var intervalId=window_default().setInterval(fn,interval);return this.setIntervalIds_.add(intervalId),intervalId},_proto.clearInterval=function clearInterval(intervalId){return this.setIntervalIds_.has(intervalId)&&(this.setIntervalIds_.delete(intervalId),window_default().clearInterval(intervalId)),intervalId},_proto.requestAnimationFrame=function requestAnimationFrame(fn){var id,_this3=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),fn=bind(this,fn),id=window_default().requestAnimationFrame((function(){_this3.rafIds_.has(id)&&_this3.rafIds_.delete(id),fn()})),this.rafIds_.add(id),id):this.setTimeout(fn,1e3/60)},_proto.requestNamedAnimationFrame=function requestNamedAnimationFrame(name,fn){var _this4=this;if(!this.namedRafs_.has(name)){this.clearTimersOnDispose_(),fn=bind(this,fn);var id=this.requestAnimationFrame((function(){fn(),_this4.namedRafs_.has(name)&&_this4.namedRafs_.delete(name)}));return this.namedRafs_.set(name,id),name}},_proto.cancelNamedAnimationFrame=function cancelNamedAnimationFrame(name){this.namedRafs_.has(name)&&(this.cancelAnimationFrame(this.namedRafs_.get(name)),this.namedRafs_.delete(name))},_proto.cancelAnimationFrame=function cancelAnimationFrame(id){return this.supportsRaf_?(this.rafIds_.has(id)&&(this.rafIds_.delete(id),window_default().cancelAnimationFrame(id)),id):this.clearTimeout(id)},_proto.clearTimersOnDispose_=function clearTimersOnDispose_(){var _this5=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(_ref){var idName=_ref[0],cancelName=_ref[1];_this5[idName].forEach((function(val,key){return _this5[cancelName](key)}))})),_this5.clearingTimersOnDispose_=!1})))},Component.registerComponent=function registerComponent(name,ComponentToRegister){if("string"!=typeof name||!name)throw new Error('Illegal component name, "'+name+'"; must be a non-empty string.');var reason,Tech=Component.getComponent("Tech"),isTech=Tech&&Tech.isTech(ComponentToRegister),isComp=Component===ComponentToRegister||Component.prototype.isPrototypeOf(ComponentToRegister.prototype);if(isTech||!isComp)throw reason=isTech?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+name+'"; '+reason+".");name=toTitleCase$1(name),Component.components_||(Component.components_={});var Player=Component.getComponent("Player");if("Player"===name&&Player&&Player.players){var players=Player.players,playerNames=Object.keys(players);if(players&&playerNames.length>0&&playerNames.map((function(pname){return players[pname]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return Component.components_[name]=ComponentToRegister,Component.components_[toLowerCase(name)]=ComponentToRegister,ComponentToRegister},Component.getComponent=function getComponent(name){if(name&&Component.components_)return Component.components_[name]},Component}();function getRange(fnName,valueIndex,ranges,rangeIndex){return function rangeCheck(fnName,index,maxIndex){if("number"!=typeof index||index<0||index>maxIndex)throw new Error("Failed to execute '"+fnName+"' on 'TimeRanges': The index provided ("+index+") is non-numeric or out of bounds (0-"+maxIndex+").")}(fnName,rangeIndex,ranges.length-1),ranges[rangeIndex][valueIndex]}function createTimeRangesObj(ranges){var timeRangesObj;return timeRangesObj=void 0===ranges||0===ranges.length?{length:0,start:function start(){throw new Error("This TimeRanges object is empty")},end:function end(){throw new Error("This TimeRanges object is empty")}}:{length:ranges.length,start:getRange.bind(null,"start",0,ranges),end:getRange.bind(null,"end",1,ranges)},window_default().Symbol&&window_default().Symbol.iterator&&(timeRangesObj[window_default().Symbol.iterator]=function(){return(ranges||[]).values()}),timeRangesObj}function createTimeRanges(start,end){return Array.isArray(start)?createTimeRangesObj(start):void 0===start||void 0===end?createTimeRangesObj():createTimeRangesObj([[start,end]])}function bufferedPercent(buffered,duration){var start,end,bufferedDuration=0;if(!duration)return 0;buffered&&buffered.length||(buffered=createTimeRanges(0,0));for(var i=0;i<buffered.length;i++)start=buffered.start(i),(end=buffered.end(i))>duration&&(end=duration),bufferedDuration+=end-start;return bufferedDuration/duration}function MediaError(value){if(value instanceof MediaError)return value;"number"==typeof value?this.code=value:"string"==typeof value?this.message=value:video_es_isObject(value)&&("number"==typeof value.code&&(this.code=value.code),video_es_assign(this,value)),this.message||(this.message=MediaError.defaultMessages[this.code]||"")}Component$1.prototype.supportsRaf_="function"==typeof window_default().requestAnimationFrame&&"function"==typeof window_default().cancelAnimationFrame,Component$1.registerComponent("Component",Component$1),MediaError.prototype.code=0,MediaError.prototype.message="",MediaError.prototype.status=null,MediaError.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],MediaError.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var errNum=0;errNum<MediaError.errorTypes.length;errNum++)MediaError[MediaError.errorTypes[errNum]]=errNum,MediaError.prototype[MediaError.errorTypes[errNum]]=errNum;function isPromise(value){return null!=value&&"function"==typeof value.then}function silencePromise(value){isPromise(value)&&value.then(null,(function(e){}))}var trackToJson_=function trackToJson_(track){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(acc,prop,i){return track[prop]&&(acc[prop]=track[prop]),acc}),{cues:track.cues&&Array.prototype.map.call(track.cues,(function(cue){return{startTime:cue.startTime,endTime:cue.endTime,text:cue.text,id:cue.id}}))})},textTrackConverter_textTracksToJson=function textTracksToJson(tech){var trackEls=tech.$$("track"),trackObjs=Array.prototype.map.call(trackEls,(function(t){return t.track}));return Array.prototype.map.call(trackEls,(function(trackEl){var json=trackToJson_(trackEl.track);return trackEl.src&&(json.src=trackEl.src),json})).concat(Array.prototype.filter.call(tech.textTracks(),(function(track){return-1===trackObjs.indexOf(track)})).map(trackToJson_))},textTrackConverter_jsonToTextTracks=function jsonToTextTracks(json,tech){return json.forEach((function(track){var addedTrack=tech.addRemoteTextTrack(track).track;!track.src&&track.cues&&track.cues.forEach((function(cue){return addedTrack.addCue(cue)}))})),tech.textTracks()},ModalDialog=function(_Component){function ModalDialog(player,options){var _this;return(_this=_Component.call(this,player,options)||this).handleKeyDown_=function(e){return _this.handleKeyDown(e)},_this.close_=function(e){return _this.close(e)},_this.opened_=_this.hasBeenOpened_=_this.hasBeenFilled_=!1,_this.closeable(!_this.options_.uncloseable),_this.content(_this.options_.content),_this.contentEl_=createEl("div",{className:"vjs-modal-dialog-content"},{role:"document"}),_this.descEl_=createEl("p",{className:"vjs-modal-dialog-description vjs-control-text",id:_this.el().getAttribute("aria-describedby")}),textContent(_this.descEl_,_this.description()),_this.el_.appendChild(_this.descEl_),_this.el_.appendChild(_this.contentEl_),_this}(0,inheritsLoose.Z)(ModalDialog,_Component);var _proto=ModalDialog.prototype;return _proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},_proto.dispose=function dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,_Component.prototype.dispose.call(this)},_proto.buildCSSClass=function buildCSSClass(){return"vjs-modal-dialog vjs-hidden "+_Component.prototype.buildCSSClass.call(this)},_proto.label=function label(){return this.localize(this.options_.label||"Modal Window")},_proto.description=function description(){var desc=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(desc+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),desc},_proto.open=function open(){if(!this.opened_){var player=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!player.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&player.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=player.controls(),player.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},_proto.opened=function opened(value){return"boolean"==typeof value&&this[value?"open":"close"](),this.opened_},_proto.close=function close(){if(this.opened_){var player=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&player.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&player.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},_proto.closeable=function closeable(value){if("boolean"==typeof value){var closeable=this.closeable_=!!value,close=this.getChild("closeButton");if(closeable&&!close){var temp=this.contentEl_;this.contentEl_=this.el_,close=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=temp,this.on(close,"close",this.close_)}!closeable&&close&&(this.off(close,"close",this.close_),this.removeChild(close),close.dispose())}return this.closeable_},_proto.fill=function fill(){this.fillWith(this.content())},_proto.fillWith=function fillWith(content){var contentEl=this.contentEl(),parentEl=contentEl.parentNode,nextSiblingEl=contentEl.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,parentEl.removeChild(contentEl),this.empty(),insertContent(contentEl,content),this.trigger("modalfill"),nextSiblingEl?parentEl.insertBefore(contentEl,nextSiblingEl):parentEl.appendChild(contentEl);var closeButton=this.getChild("closeButton");closeButton&&parentEl.appendChild(closeButton.el_)},_proto.empty=function empty(){this.trigger("beforemodalempty"),emptyEl(this.contentEl()),this.trigger("modalempty")},_proto.content=function content(value){return void 0!==value&&(this.content_=value),this.content_},_proto.conditionalFocus_=function conditionalFocus_(){var activeEl=document_default().activeElement,playerEl=this.player_.el_;this.previouslyActiveEl_=null,(playerEl.contains(activeEl)||playerEl===activeEl)&&(this.previouslyActiveEl_=activeEl,this.focus())},_proto.conditionalBlur_=function conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},_proto.handleKeyDown=function handleKeyDown(event){if(event.stopPropagation(),keycode_default().isEventKey(event,"Escape")&&this.closeable())return event.preventDefault(),void this.close();if(keycode_default().isEventKey(event,"Tab")){for(var focusIndex,focusableEls=this.focusableEls_(),activeEl=this.el_.querySelector(":focus"),i=0;i<focusableEls.length;i++)if(activeEl===focusableEls[i]){focusIndex=i;break}document_default().activeElement===this.el_&&(focusIndex=0),event.shiftKey&&0===focusIndex?(focusableEls[focusableEls.length-1].focus(),event.preventDefault()):event.shiftKey||focusIndex!==focusableEls.length-1||(focusableEls[0].focus(),event.preventDefault())}},_proto.focusableEls_=function focusableEls_(){var allChildren=this.el_.querySelectorAll("*");return Array.prototype.filter.call(allChildren,(function(child){return(child instanceof window_default().HTMLAnchorElement||child instanceof window_default().HTMLAreaElement)&&child.hasAttribute("href")||(child instanceof window_default().HTMLInputElement||child instanceof window_default().HTMLSelectElement||child instanceof window_default().HTMLTextAreaElement||child instanceof window_default().HTMLButtonElement)&&!child.hasAttribute("disabled")||child instanceof window_default().HTMLIFrameElement||child instanceof window_default().HTMLObjectElement||child instanceof window_default().HTMLEmbedElement||child.hasAttribute("tabindex")&&-1!==child.getAttribute("tabindex")||child.hasAttribute("contenteditable")}))},ModalDialog}(Component$1);ModalDialog.prototype.options_={pauseOnOpen:!0,temporary:!0},Component$1.registerComponent("ModalDialog",ModalDialog);var TrackList=function(_EventTarget){function TrackList(tracks){var _this;void 0===tracks&&(tracks=[]),(_this=_EventTarget.call(this)||this).tracks_=[],Object.defineProperty((0,assertThisInitialized.Z)(_this),"length",{get:function get(){return this.tracks_.length}});for(var i=0;i<tracks.length;i++)_this.addTrack(tracks[i]);return _this}(0,inheritsLoose.Z)(TrackList,_EventTarget);var _proto=TrackList.prototype;return _proto.addTrack=function addTrack(track){var _this2=this,index=this.tracks_.length;""+index in this||Object.defineProperty(this,index,{get:function get(){return this.tracks_[index]}}),-1===this.tracks_.indexOf(track)&&(this.tracks_.push(track),this.trigger({track,type:"addtrack",target:this})),track.labelchange_=function(){_this2.trigger({track,type:"labelchange",target:_this2})},isEvented(track)&&track.addEventListener("labelchange",track.labelchange_)},_proto.removeTrack=function removeTrack(rtrack){for(var track,i=0,l=this.length;i<l;i++)if(this[i]===rtrack){(track=this[i]).off&&track.off(),this.tracks_.splice(i,1);break}track&&this.trigger({track,type:"removetrack",target:this})},_proto.getTrackById=function getTrackById(id){for(var result=null,i=0,l=this.length;i<l;i++){var track=this[i];if(track.id===id){result=track;break}}return result},TrackList}(EventTarget$2);for(var video_es_event in TrackList.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"},TrackList.prototype.allowedEvents_)TrackList.prototype["on"+video_es_event]=null;var disableOthers$1=function disableOthers(list,track){for(var i=0;i<list.length;i++)Object.keys(list[i]).length&&track.id!==list[i].id&&(list[i].enabled=!1)},AudioTrackList=function(_TrackList){function AudioTrackList(tracks){var _this;void 0===tracks&&(tracks=[]);for(var i=tracks.length-1;i>=0;i--)if(tracks[i].enabled){disableOthers$1(tracks,tracks[i]);break}return(_this=_TrackList.call(this,tracks)||this).changing_=!1,_this}(0,inheritsLoose.Z)(AudioTrackList,_TrackList);var _proto=AudioTrackList.prototype;return _proto.addTrack=function addTrack(track){var _this2=this;track.enabled&&disableOthers$1(this,track),_TrackList.prototype.addTrack.call(this,track),track.addEventListener&&(track.enabledChange_=function(){_this2.changing_||(_this2.changing_=!0,disableOthers$1(_this2,track),_this2.changing_=!1,_this2.trigger("change"))},track.addEventListener("enabledchange",track.enabledChange_))},_proto.removeTrack=function removeTrack(rtrack){_TrackList.prototype.removeTrack.call(this,rtrack),rtrack.removeEventListener&&rtrack.enabledChange_&&(rtrack.removeEventListener("enabledchange",rtrack.enabledChange_),rtrack.enabledChange_=null)},AudioTrackList}(TrackList),disableOthers=function disableOthers(list,track){for(var i=0;i<list.length;i++)Object.keys(list[i]).length&&track.id!==list[i].id&&(list[i].selected=!1)},VideoTrackList=function(_TrackList){function VideoTrackList(tracks){var _this;void 0===tracks&&(tracks=[]);for(var i=tracks.length-1;i>=0;i--)if(tracks[i].selected){disableOthers(tracks,tracks[i]);break}return(_this=_TrackList.call(this,tracks)||this).changing_=!1,Object.defineProperty((0,assertThisInitialized.Z)(_this),"selectedIndex",{get:function get(){for(var _i=0;_i<this.length;_i++)if(this[_i].selected)return _i;return-1},set:function set(){}}),_this}(0,inheritsLoose.Z)(VideoTrackList,_TrackList);var _proto=VideoTrackList.prototype;return _proto.addTrack=function addTrack(track){var _this2=this;track.selected&&disableOthers(this,track),_TrackList.prototype.addTrack.call(this,track),track.addEventListener&&(track.selectedChange_=function(){_this2.changing_||(_this2.changing_=!0,disableOthers(_this2,track),_this2.changing_=!1,_this2.trigger("change"))},track.addEventListener("selectedchange",track.selectedChange_))},_proto.removeTrack=function removeTrack(rtrack){_TrackList.prototype.removeTrack.call(this,rtrack),rtrack.removeEventListener&&rtrack.selectedChange_&&(rtrack.removeEventListener("selectedchange",rtrack.selectedChange_),rtrack.selectedChange_=null)},VideoTrackList}(TrackList),TextTrackList=function(_TrackList){function TextTrackList(){return _TrackList.apply(this,arguments)||this}(0,inheritsLoose.Z)(TextTrackList,_TrackList);var _proto=TextTrackList.prototype;return _proto.addTrack=function addTrack(track){var _this=this;_TrackList.prototype.addTrack.call(this,track),this.queueChange_||(this.queueChange_=function(){return _this.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return _this.trigger("selectedlanguagechange")}),track.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(track.kind)&&track.addEventListener("modechange",this.triggerSelectedlanguagechange_)},_proto.removeTrack=function removeTrack(rtrack){_TrackList.prototype.removeTrack.call(this,rtrack),rtrack.removeEventListener&&(this.queueChange_&&rtrack.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&rtrack.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},TextTrackList}(TrackList),HtmlTrackElementList=function(){function HtmlTrackElementList(trackElements){void 0===trackElements&&(trackElements=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function get(){return this.trackElements_.length}});for(var i=0,length=trackElements.length;i<length;i++)this.addTrackElement_(trackElements[i])}var _proto=HtmlTrackElementList.prototype;return _proto.addTrackElement_=function addTrackElement_(trackElement){var index=this.trackElements_.length;""+index in this||Object.defineProperty(this,index,{get:function get(){return this.trackElements_[index]}}),-1===this.trackElements_.indexOf(trackElement)&&this.trackElements_.push(trackElement)},_proto.getTrackElementByTrack_=function getTrackElementByTrack_(track){for(var trackElement_,i=0,length=this.trackElements_.length;i<length;i++)if(track===this.trackElements_[i].track){trackElement_=this.trackElements_[i];break}return trackElement_},_proto.removeTrackElement_=function removeTrackElement_(trackElement){for(var i=0,length=this.trackElements_.length;i<length;i++)if(trackElement===this.trackElements_[i]){this.trackElements_[i].track&&"function"==typeof this.trackElements_[i].track.off&&this.trackElements_[i].track.off(),"function"==typeof this.trackElements_[i].off&&this.trackElements_[i].off(),this.trackElements_.splice(i,1);break}},HtmlTrackElementList}(),TextTrackCueList=function(){function TextTrackCueList(cues){TextTrackCueList.prototype.setCues_.call(this,cues),Object.defineProperty(this,"length",{get:function get(){return this.length_}})}var _proto=TextTrackCueList.prototype;return _proto.setCues_=function setCues_(cues){var oldLength=this.length||0,i=0,l=cues.length;this.cues_=cues,this.length_=cues.length;var defineProp=function defineProp(index){""+index in this||Object.defineProperty(this,""+index,{get:function get(){return this.cues_[index]}})};if(oldLength<l)for(i=oldLength;i<l;i++)defineProp.call(this,i)},_proto.getCueById=function getCueById(id){for(var result=null,i=0,l=this.length;i<l;i++){var cue=this[i];if(cue.id===id){result=cue;break}}return result},TextTrackCueList}(),VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"},Track=function(_EventTarget){function Track(options){var _this;void 0===options&&(options={}),_this=_EventTarget.call(this)||this;var trackProps={id:options.id||"vjs_track_"+newGUID(),kind:options.kind||"",language:options.language||""},label=options.label||"",_loop=function _loop(key){Object.defineProperty((0,assertThisInitialized.Z)(_this),key,{get:function get(){return trackProps[key]},set:function set(){}})};for(var key in trackProps)_loop(key);return Object.defineProperty((0,assertThisInitialized.Z)(_this),"label",{get:function get(){return label},set:function set(newLabel){newLabel!==label&&(label=newLabel,this.trigger("labelchange"))}}),_this}return(0,inheritsLoose.Z)(Track,_EventTarget),Track}(EventTarget$2),parseUrl=function parseUrl(url){var props=["protocol","hostname","port","pathname","search","hash","host"],a=document_default().createElement("a");a.href=url;for(var details={},i=0;i<props.length;i++)details[props[i]]=a[props[i]];return"http:"===details.protocol&&(details.host=details.host.replace(/:80$/,"")),"https:"===details.protocol&&(details.host=details.host.replace(/:443$/,"")),details.protocol||(details.protocol=window_default().location.protocol),details.host||(details.host=window_default().location.host),details},getAbsoluteURL=function getAbsoluteURL(url){if(!url.match(/^https?:\/\//)){var a=document_default().createElement("a");a.href=url,url=a.href}return url},getFileExtension=function getFileExtension(path){if("string"==typeof path){var pathParts=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(path);if(pathParts)return pathParts.pop().toLowerCase()}return""},isCrossOrigin=function isCrossOrigin(url,winLoc){void 0===winLoc&&(winLoc=window_default().location);var urlInfo=parseUrl(url);return(":"===urlInfo.protocol?winLoc.protocol:urlInfo.protocol)+urlInfo.host!==winLoc.protocol+winLoc.host},Url=Object.freeze({__proto__:null,parseUrl,getAbsoluteURL,getFileExtension,isCrossOrigin}),parseCues=function parseCues(srcContent,track){var parser=new(window_default().WebVTT.Parser)(window_default(),window_default().vttjs,window_default().WebVTT.StringDecoder()),errors=[];parser.oncue=function(cue){track.addCue(cue)},parser.onparsingerror=function(error){errors.push(error)},parser.onflush=function(){track.trigger({type:"loadeddata",target:track})},parser.parse(srcContent),errors.length>0&&(window_default().console&&window_default().console.groupCollapsed&&window_default().console.groupCollapsed("Text Track parsing errors for "+track.src),errors.forEach((function(error){return log$1.error(error)})),window_default().console&&window_default().console.groupEnd&&window_default().console.groupEnd()),parser.flush()},loadTrack=function loadTrack(src,track){var opts={uri:src},crossOrigin=isCrossOrigin(src);crossOrigin&&(opts.cors=crossOrigin);var withCredentials="use-credentials"===track.tech_.crossOrigin();withCredentials&&(opts.withCredentials=withCredentials),lib_default()(opts,bind(this,(function(err,response,responseBody){if(err)return log$1.error(err,response);track.loaded_=!0,"function"!=typeof window_default().WebVTT?track.tech_&&track.tech_.any(["vttjsloaded","vttjserror"],(function(event){if("vttjserror"!==event.type)return parseCues(responseBody,track);log$1.error("vttjs failed to load, stopping trying to process "+track.src)})):parseCues(responseBody,track)})))},TextTrack=function(_Track){function TextTrack(options){var _this;if(void 0===options&&(options={}),!options.tech)throw new Error("A tech was not provided.");var settings=mergeOptions$3(options,{kind:TextTrackKind[options.kind]||"subtitles",language:options.language||options.srclang||""}),mode=TextTrackMode[settings.mode]||"disabled",default_=settings.default;"metadata"!==settings.kind&&"chapters"!==settings.kind||(mode="hidden"),(_this=_Track.call(this,settings)||this).tech_=settings.tech,_this.cues_=[],_this.activeCues_=[],_this.preload_=!1!==_this.tech_.preloadTextTracks;var cues=new TextTrackCueList(_this.cues_),activeCues=new TextTrackCueList(_this.activeCues_),changed=!1,timeupdateHandler=bind((0,assertThisInitialized.Z)(_this),(function(){this.tech_.isReady_&&!this.tech_.isDisposed()&&(this.activeCues=this.activeCues,changed&&(this.trigger("cuechange"),changed=!1))}));return _this.tech_.one("dispose",(function disposeHandler(){_this.tech_.off("timeupdate",timeupdateHandler)})),"disabled"!==mode&&_this.tech_.on("timeupdate",timeupdateHandler),Object.defineProperties((0,assertThisInitialized.Z)(_this),{default:{get:function get(){return default_},set:function set(){}},mode:{get:function get(){return mode},set:function set(newMode){TextTrackMode[newMode]&&mode!==newMode&&(mode=newMode,this.preload_||"disabled"===mode||0!==this.cues.length||loadTrack(this.src,this),this.tech_.off("timeupdate",timeupdateHandler),"disabled"!==mode&&this.tech_.on("timeupdate",timeupdateHandler),this.trigger("modechange"))}},cues:{get:function get(){return this.loaded_?cues:null},set:function set(){}},activeCues:{get:function get(){if(!this.loaded_)return null;if(0===this.cues.length)return activeCues;for(var ct=this.tech_.currentTime(),active=[],i=0,l=this.cues.length;i<l;i++){var cue=this.cues[i];(cue.startTime<=ct&&cue.endTime>=ct||cue.startTime===cue.endTime&&cue.startTime<=ct&&cue.startTime+.5>=ct)&&active.push(cue)}if(changed=!1,active.length!==this.activeCues_.length)changed=!0;else for(var _i=0;_i<active.length;_i++)-1===this.activeCues_.indexOf(active[_i])&&(changed=!0);return this.activeCues_=active,activeCues.setCues_(this.activeCues_),activeCues},set:function set(){}}}),settings.src?(_this.src=settings.src,_this.preload_||(_this.loaded_=!0),(_this.preload_||"subtitles"!==settings.kind&&"captions"!==settings.kind)&&loadTrack(_this.src,(0,assertThisInitialized.Z)(_this))):_this.loaded_=!0,_this}(0,inheritsLoose.Z)(TextTrack,_Track);var _proto=TextTrack.prototype;return _proto.addCue=function addCue(originalCue){var cue=originalCue;if(window_default().vttjs&&!(originalCue instanceof window_default().vttjs.VTTCue)){for(var prop in cue=new(window_default().vttjs.VTTCue)(originalCue.startTime,originalCue.endTime,originalCue.text),originalCue)prop in cue||(cue[prop]=originalCue[prop]);cue.id=originalCue.id,cue.originalCue_=originalCue}for(var tracks=this.tech_.textTracks(),i=0;i<tracks.length;i++)tracks[i]!==this&&tracks[i].removeCue(cue);this.cues_.push(cue),this.cues.setCues_(this.cues_)},_proto.removeCue=function removeCue(_removeCue){for(var i=this.cues_.length;i--;){var cue=this.cues_[i];if(cue===_removeCue||cue.originalCue_&&cue.originalCue_===_removeCue){this.cues_.splice(i,1),this.cues.setCues_(this.cues_);break}}},TextTrack}(Track);TextTrack.prototype.allowedEvents_={cuechange:"cuechange"};var AudioTrack=function(_Track){function AudioTrack(options){var _this;void 0===options&&(options={});var settings=mergeOptions$3(options,{kind:AudioTrackKind[options.kind]||""});_this=_Track.call(this,settings)||this;var enabled=!1;return Object.defineProperty((0,assertThisInitialized.Z)(_this),"enabled",{get:function get(){return enabled},set:function set(newEnabled){"boolean"==typeof newEnabled&&newEnabled!==enabled&&(enabled=newEnabled,this.trigger("enabledchange"))}}),settings.enabled&&(_this.enabled=settings.enabled),_this.loaded_=!0,_this}return(0,inheritsLoose.Z)(AudioTrack,_Track),AudioTrack}(Track),VideoTrack=function(_Track){function VideoTrack(options){var _this;void 0===options&&(options={});var settings=mergeOptions$3(options,{kind:VideoTrackKind[options.kind]||""});_this=_Track.call(this,settings)||this;var selected=!1;return Object.defineProperty((0,assertThisInitialized.Z)(_this),"selected",{get:function get(){return selected},set:function set(newSelected){"boolean"==typeof newSelected&&newSelected!==selected&&(selected=newSelected,this.trigger("selectedchange"))}}),settings.selected&&(_this.selected=settings.selected),_this}return(0,inheritsLoose.Z)(VideoTrack,_Track),VideoTrack}(Track),HTMLTrackElement=function(_EventTarget){function HTMLTrackElement(options){var _this,readyState;void 0===options&&(options={}),_this=_EventTarget.call(this)||this;var track=new TextTrack(options);return _this.kind=track.kind,_this.src=track.src,_this.srclang=track.language,_this.label=track.label,_this.default=track.default,Object.defineProperties((0,assertThisInitialized.Z)(_this),{readyState:{get:function get(){return readyState}},track:{get:function get(){return track}}}),readyState=0,track.addEventListener("loadeddata",(function(){readyState=2,_this.trigger({type:"load",target:(0,assertThisInitialized.Z)(_this)})})),_this}return(0,inheritsLoose.Z)(HTMLTrackElement,_EventTarget),HTMLTrackElement}(EventTarget$2);HTMLTrackElement.prototype.allowedEvents_={load:"load"},HTMLTrackElement.NONE=0,HTMLTrackElement.LOADING=1,HTMLTrackElement.LOADED=2,HTMLTrackElement.ERROR=3;var NORMAL={audio:{ListClass:AudioTrackList,TrackClass:AudioTrack,capitalName:"Audio"},video:{ListClass:VideoTrackList,TrackClass:VideoTrack,capitalName:"Video"},text:{ListClass:TextTrackList,TrackClass:TextTrack,capitalName:"Text"}};Object.keys(NORMAL).forEach((function(type){NORMAL[type].getterName=type+"Tracks",NORMAL[type].privateName=type+"Tracks_"}));var REMOTE={remoteText:{ListClass:TextTrackList,TrackClass:TextTrack,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:HtmlTrackElementList,TrackClass:HTMLTrackElement,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},ALL=(0,esm_extends.Z)({},NORMAL,REMOTE);REMOTE.names=Object.keys(REMOTE),NORMAL.names=Object.keys(NORMAL),ALL.names=[].concat(REMOTE.names).concat(NORMAL.names);var Tech=function(_Component){function Tech(options,ready){var _this;return void 0===options&&(options={}),void 0===ready&&(ready=function ready(){}),options.reportTouchActivity=!1,(_this=_Component.call(this,null,options,ready)||this).onDurationChange_=function(e){return _this.onDurationChange(e)},_this.trackProgress_=function(e){return _this.trackProgress(e)},_this.trackCurrentTime_=function(e){return _this.trackCurrentTime(e)},_this.stopTrackingCurrentTime_=function(e){return _this.stopTrackingCurrentTime(e)},_this.disposeSourceHandler_=function(e){return _this.disposeSourceHandler(e)},_this.hasStarted_=!1,_this.on("playing",(function(){this.hasStarted_=!0})),_this.on("loadstart",(function(){this.hasStarted_=!1})),ALL.names.forEach((function(name){var props=ALL[name];options&&options[props.getterName]&&(_this[props.privateName]=options[props.getterName])})),_this.featuresProgressEvents||_this.manualProgressOn(),_this.featuresTimeupdateEvents||_this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(track){!1===options["native"+track+"Tracks"]&&(_this["featuresNative"+track+"Tracks"]=!1)})),!1===options.nativeCaptions||!1===options.nativeTextTracks?_this.featuresNativeTextTracks=!1:!0!==options.nativeCaptions&&!0!==options.nativeTextTracks||(_this.featuresNativeTextTracks=!0),_this.featuresNativeTextTracks||_this.emulateTextTracks(),_this.preloadTextTracks=!1!==options.preloadTextTracks,_this.autoRemoteTextTracks_=new ALL.text.ListClass,_this.initTrackListeners(),options.nativeControlsForTouch||_this.emitTapEvents(),_this.constructor&&(_this.name_=_this.constructor.name||"Unknown Tech"),_this}(0,inheritsLoose.Z)(Tech,_Component);var _proto=Tech.prototype;return _proto.triggerSourceset=function triggerSourceset(src){var _this2=this;this.isReady_||this.one("ready",(function(){return _this2.setTimeout((function(){return _this2.triggerSourceset(src)}),1)})),this.trigger({src,type:"sourceset"})},_proto.manualProgressOn=function manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)},_proto.manualProgressOff=function manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)},_proto.trackProgress=function trackProgress(event){this.stopTrackingProgress(),this.progressInterval=this.setInterval(bind(this,(function(){var numBufferedPercent=this.bufferedPercent();this.bufferedPercent_!==numBufferedPercent&&this.trigger("progress"),this.bufferedPercent_=numBufferedPercent,1===numBufferedPercent&&this.stopTrackingProgress()})),500)},_proto.onDurationChange=function onDurationChange(event){this.duration_=this.duration()},_proto.buffered=function buffered(){return createTimeRanges(0,0)},_proto.bufferedPercent=function bufferedPercent$1(){return bufferedPercent(this.buffered(),this.duration_)},_proto.stopTrackingProgress=function stopTrackingProgress(){this.clearInterval(this.progressInterval)},_proto.manualTimeUpdatesOn=function manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)},_proto.manualTimeUpdatesOff=function manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)},_proto.trackCurrentTime=function trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},_proto.stopTrackingCurrentTime=function stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},_proto.dispose=function dispose(){this.clearTracks(NORMAL.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),_Component.prototype.dispose.call(this)},_proto.clearTracks=function clearTracks(types){var _this3=this;(types=[].concat(types)).forEach((function(type){for(var list=_this3[type+"Tracks"]()||[],i=list.length;i--;){var track=list[i];"text"===type&&_this3.removeRemoteTextTrack(track),list.removeTrack(track)}}))},_proto.cleanupAutoTextTracks=function cleanupAutoTextTracks(){for(var list=this.autoRemoteTextTracks_||[],i=list.length;i--;){var track=list[i];this.removeRemoteTextTrack(track)}},_proto.reset=function reset(){},_proto.crossOrigin=function crossOrigin(){},_proto.setCrossOrigin=function setCrossOrigin(){},_proto.error=function error(err){return void 0!==err&&(this.error_=new MediaError(err),this.trigger("error")),this.error_},_proto.played=function played(){return this.hasStarted_?createTimeRanges(0,0):createTimeRanges()},_proto.play=function play(){},_proto.setScrubbing=function setScrubbing(){},_proto.scrubbing=function scrubbing(){},_proto.setCurrentTime=function setCurrentTime(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},_proto.initTrackListeners=function initTrackListeners(){var _this4=this;NORMAL.names.forEach((function(name){var props=NORMAL[name],trackListChanges=function trackListChanges(){_this4.trigger(name+"trackchange")},tracks=_this4[props.getterName]();tracks.addEventListener("removetrack",trackListChanges),tracks.addEventListener("addtrack",trackListChanges),_this4.on("dispose",(function(){tracks.removeEventListener("removetrack",trackListChanges),tracks.removeEventListener("addtrack",trackListChanges)}))}))},_proto.addWebVttScript_=function addWebVttScript_(){var _this5=this;if(!window_default().WebVTT)if(document_default().body.contains(this.el())){if(!this.options_["vtt.js"]&&isPlain(browser_index_default())&&Object.keys(browser_index_default()).length>0)return void this.trigger("vttjsloaded");var script=document_default().createElement("script");script.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",script.onload=function(){_this5.trigger("vttjsloaded")},script.onerror=function(){_this5.trigger("vttjserror")},this.on("dispose",(function(){script.onload=null,script.onerror=null})),window_default().WebVTT=!0,this.el().parentNode.appendChild(script)}else this.ready(this.addWebVttScript_)},_proto.emulateTextTracks=function emulateTextTracks(){var _this6=this,tracks=this.textTracks(),remoteTracks=this.remoteTextTracks(),handleAddTrack=function handleAddTrack(e){return tracks.addTrack(e.track)},handleRemoveTrack=function handleRemoveTrack(e){return tracks.removeTrack(e.track)};remoteTracks.on("addtrack",handleAddTrack),remoteTracks.on("removetrack",handleRemoveTrack),this.addWebVttScript_();var updateDisplay=function updateDisplay(){return _this6.trigger("texttrackchange")},textTracksChanges=function textTracksChanges(){updateDisplay();for(var i=0;i<tracks.length;i++){var track=tracks[i];track.removeEventListener("cuechange",updateDisplay),"showing"===track.mode&&track.addEventListener("cuechange",updateDisplay)}};textTracksChanges(),tracks.addEventListener("change",textTracksChanges),tracks.addEventListener("addtrack",textTracksChanges),tracks.addEventListener("removetrack",textTracksChanges),this.on("dispose",(function(){remoteTracks.off("addtrack",handleAddTrack),remoteTracks.off("removetrack",handleRemoveTrack),tracks.removeEventListener("change",textTracksChanges),tracks.removeEventListener("addtrack",textTracksChanges),tracks.removeEventListener("removetrack",textTracksChanges);for(var i=0;i<tracks.length;i++){tracks[i].removeEventListener("cuechange",updateDisplay)}}))},_proto.addTextTrack=function addTextTrack(kind,label,language){if(!kind)throw new Error("TextTrack kind is required but was not provided");return function createTrackHelper(self,kind,label,language,options){void 0===options&&(options={});var tracks=self.textTracks();options.kind=kind,label&&(options.label=label),language&&(options.language=language),options.tech=self;var track=new ALL.text.TrackClass(options);return tracks.addTrack(track),track}(this,kind,label,language)},_proto.createRemoteTextTrack=function createRemoteTextTrack(options){var track=mergeOptions$3(options,{tech:this});return new REMOTE.remoteTextEl.TrackClass(track)},_proto.addRemoteTextTrack=function addRemoteTextTrack(options,manualCleanup){var _this7=this;void 0===options&&(options={});var htmlTrackElement=this.createRemoteTextTrack(options);return!0!==manualCleanup&&!1!==manualCleanup&&(log$1.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),manualCleanup=!0),this.remoteTextTrackEls().addTrackElement_(htmlTrackElement),this.remoteTextTracks().addTrack(htmlTrackElement.track),!0!==manualCleanup&&this.ready((function(){return _this7.autoRemoteTextTracks_.addTrack(htmlTrackElement.track)})),htmlTrackElement},_proto.removeRemoteTextTrack=function removeRemoteTextTrack(track){var trackElement=this.remoteTextTrackEls().getTrackElementByTrack_(track);this.remoteTextTrackEls().removeTrackElement_(trackElement),this.remoteTextTracks().removeTrack(track),this.autoRemoteTextTracks_.removeTrack(track)},_proto.getVideoPlaybackQuality=function getVideoPlaybackQuality(){return{}},_proto.requestPictureInPicture=function requestPictureInPicture(){var PromiseClass=this.options_.Promise||window_default().Promise;if(PromiseClass)return PromiseClass.reject()},_proto.disablePictureInPicture=function disablePictureInPicture(){return!0},_proto.setDisablePictureInPicture=function setDisablePictureInPicture(){},_proto.setPoster=function setPoster(){},_proto.playsinline=function playsinline(){},_proto.setPlaysinline=function setPlaysinline(){},_proto.overrideNativeAudioTracks=function overrideNativeAudioTracks(){},_proto.overrideNativeVideoTracks=function overrideNativeVideoTracks(){},_proto.canPlayType=function canPlayType(){return""},Tech.canPlayType=function canPlayType(){return""},Tech.canPlaySource=function canPlaySource(srcObj,options){return Tech.canPlayType(srcObj.type)},Tech.isTech=function isTech(component){return component.prototype instanceof Tech||component instanceof Tech||component===Tech},Tech.registerTech=function registerTech(name,tech){if(Tech.techs_||(Tech.techs_={}),!Tech.isTech(tech))throw new Error("Tech "+name+" must be a Tech");if(!Tech.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!Tech.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return name=toTitleCase$1(name),Tech.techs_[name]=tech,Tech.techs_[toLowerCase(name)]=tech,"Tech"!==name&&Tech.defaultTechOrder_.push(name),tech},Tech.getTech=function getTech(name){if(name)return Tech.techs_&&Tech.techs_[name]?Tech.techs_[name]:(name=toTitleCase$1(name),window_default()&&window_default().videojs&&window_default().videojs[name]?(log$1.warn("The "+name+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),window_default().videojs[name]):void 0)},Tech}(Component$1);ALL.names.forEach((function(name){var props=ALL[name];Tech.prototype[props.getterName]=function(){return this[props.privateName]=this[props.privateName]||new props.ListClass,this[props.privateName]}})),Tech.prototype.featuresVolumeControl=!0,Tech.prototype.featuresMuteControl=!0,Tech.prototype.featuresFullscreenResize=!1,Tech.prototype.featuresPlaybackRate=!1,Tech.prototype.featuresProgressEvents=!1,Tech.prototype.featuresSourceset=!1,Tech.prototype.featuresTimeupdateEvents=!1,Tech.prototype.featuresNativeTextTracks=!1,Tech.withSourceHandlers=function(_Tech){_Tech.registerSourceHandler=function(handler,index){var handlers=_Tech.sourceHandlers;handlers||(handlers=_Tech.sourceHandlers=[]),void 0===index&&(index=handlers.length),handlers.splice(index,0,handler)},_Tech.canPlayType=function(type){for(var can,handlers=_Tech.sourceHandlers||[],i=0;i<handlers.length;i++)if(can=handlers[i].canPlayType(type))return can;return""},_Tech.selectSourceHandler=function(source,options){for(var handlers=_Tech.sourceHandlers||[],i=0;i<handlers.length;i++)if(handlers[i].canHandleSource(source,options))return handlers[i];return null},_Tech.canPlaySource=function(srcObj,options){var sh=_Tech.selectSourceHandler(srcObj,options);return sh?sh.canHandleSource(srcObj,options):""};["seekable","seeking","duration"].forEach((function(fnName){var originalFn=this[fnName];"function"==typeof originalFn&&(this[fnName]=function(){return this.sourceHandler_&&this.sourceHandler_[fnName]?this.sourceHandler_[fnName].apply(this.sourceHandler_,arguments):originalFn.apply(this,arguments)})}),_Tech.prototype),_Tech.prototype.setSource=function(source){var sh=_Tech.selectSourceHandler(source,this.options_);sh||(_Tech.nativeSourceHandler?sh=_Tech.nativeSourceHandler:log$1.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),sh!==_Tech.nativeSourceHandler&&(this.currentSource_=source),this.sourceHandler_=sh.handleSource(source,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},_Tech.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},Component$1.registerComponent("Tech",Tech),Tech.registerTech("Tech",Tech),Tech.defaultTechOrder_=[];var middlewares={},middlewareInstances={},TERMINATOR={};function setSource(player,src,next){player.setTimeout((function(){return setSourceHelper(src,middlewares[src.type],next,player)}),1)}function mediate(middleware,tech,method,arg){void 0===arg&&(arg=null);var callMethod="call"+toTitleCase$1(method),middlewareValue=middleware.reduce(middlewareIterator(callMethod),arg),terminated=middlewareValue===TERMINATOR,returnValue=terminated?null:tech[method](middlewareValue);return function executeRight(mws,method,value,terminated){for(var i=mws.length-1;i>=0;i--){var mw=mws[i];mw[method]&&mw[method](terminated,value)}}(middleware,method,returnValue,terminated),returnValue}var allowedGetters={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},allowedSetters={setCurrentTime:1,setMuted:1,setVolume:1},allowedMediators={play:1,pause:1};function middlewareIterator(method){return function(value,mw){return value===TERMINATOR?TERMINATOR:mw[method]?mw[method](value):value}}function setSourceHelper(src,middleware,next,player,acc,lastRun){void 0===src&&(src={}),void 0===middleware&&(middleware=[]),void 0===acc&&(acc=[]),void 0===lastRun&&(lastRun=!1);var _middleware=middleware,mwFactory=_middleware[0],mwrest=_middleware.slice(1);if("string"==typeof mwFactory)setSourceHelper(src,middlewares[mwFactory],next,player,acc,lastRun);else if(mwFactory){var mw=function getOrCreateFactory(player,mwFactory){var mws=middlewareInstances[player.id()],mw=null;if(null==mws)return mw=mwFactory(player),middlewareInstances[player.id()]=[[mwFactory,mw]],mw;for(var i=0;i<mws.length;i++){var _mws$i=mws[i],mwf=_mws$i[0],mwi=_mws$i[1];mwf===mwFactory&&(mw=mwi)}return null===mw&&(mw=mwFactory(player),mws.push([mwFactory,mw])),mw}(player,mwFactory);if(!mw.setSource)return acc.push(mw),setSourceHelper(src,mwrest,next,player,acc,lastRun);mw.setSource(video_es_assign({},src),(function(err,_src){if(err)return setSourceHelper(src,mwrest,next,player,acc,lastRun);acc.push(mw),setSourceHelper(_src,src.type===_src.type?mwrest:middlewares[_src.type],next,player,acc,lastRun)}))}else mwrest.length?setSourceHelper(src,mwrest,next,player,acc,lastRun):lastRun?next(src,acc):setSourceHelper(src,middlewares["*"],next,player,acc,!0)}var MimetypesKind={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},getMimetype=function getMimetype(src){void 0===src&&(src="");var ext=getFileExtension(src);return MimetypesKind[ext.toLowerCase()]||""},filterSource=function filterSource(src){if(Array.isArray(src)){var newsrc=[];src.forEach((function(srcobj){srcobj=filterSource(srcobj),Array.isArray(srcobj)?newsrc=newsrc.concat(srcobj):video_es_isObject(srcobj)&&newsrc.push(srcobj)})),src=newsrc}else src="string"==typeof src&&src.trim()?[fixSource({src})]:video_es_isObject(src)&&"string"==typeof src.src&&src.src&&src.src.trim()?[fixSource(src)]:[];return src};function fixSource(src){if(!src.type){var mimetype=getMimetype(src.src);mimetype&&(src.type=mimetype)}return src}var MediaLoader=function(_Component){function MediaLoader(player,options,ready){var _this,options_=mergeOptions$3({createEl:!1},options);if(_this=_Component.call(this,player,options_,ready)||this,options.playerOptions.sources&&0!==options.playerOptions.sources.length)player.src(options.playerOptions.sources);else for(var i=0,j=options.playerOptions.techOrder;i<j.length;i++){var techName=toTitleCase$1(j[i]),tech=Tech.getTech(techName);if(techName||(tech=Component$1.getComponent(techName)),tech&&tech.isSupported()){player.loadTech_(techName);break}}return _this}return(0,inheritsLoose.Z)(MediaLoader,_Component),MediaLoader}(Component$1);Component$1.registerComponent("MediaLoader",MediaLoader);var ClickableComponent=function(_Component){function ClickableComponent(player,options){var _this;return(_this=_Component.call(this,player,options)||this).handleMouseOver_=function(e){return _this.handleMouseOver(e)},_this.handleMouseOut_=function(e){return _this.handleMouseOut(e)},_this.handleClick_=function(e){return _this.handleClick(e)},_this.handleKeyDown_=function(e){return _this.handleKeyDown(e)},_this.emitTapEvents(),_this.enable(),_this}(0,inheritsLoose.Z)(ClickableComponent,_Component);var _proto=ClickableComponent.prototype;return _proto.createEl=function createEl$1(tag,props,attributes){void 0===tag&&(tag="div"),void 0===props&&(props={}),void 0===attributes&&(attributes={}),props=video_es_assign({className:this.buildCSSClass(),tabIndex:0},props),"button"===tag&&log$1.error("Creating a ClickableComponent with an HTML element of "+tag+" is not supported; use a Button instead."),attributes=video_es_assign({role:"button"},attributes),this.tabIndex_=props.tabIndex;var el=createEl(tag,props,attributes);return el.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(el),el},_proto.dispose=function dispose(){this.controlTextEl_=null,_Component.prototype.dispose.call(this)},_proto.createControlTextEl=function createControlTextEl(el){return this.controlTextEl_=createEl("span",{className:"vjs-control-text"},{"aria-live":"polite"}),el&&el.appendChild(this.controlTextEl_),this.controlText(this.controlText_,el),this.controlTextEl_},_proto.controlText=function controlText(text,el){if(void 0===el&&(el=this.el()),void 0===text)return this.controlText_||"Need Text";var localizedText=this.localize(text);this.controlText_=text,textContent(this.controlTextEl_,localizedText),this.nonIconControl||this.player_.options_.noUITitleAttributes||el.setAttribute("title",localizedText)},_proto.buildCSSClass=function buildCSSClass(){return"vjs-control vjs-button "+_Component.prototype.buildCSSClass.call(this)},_proto.enable=function enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))},_proto.disable=function disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)},_proto.handleLanguagechange=function handleLanguagechange(){this.controlText(this.controlText_)},_proto.handleClick=function handleClick(event){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},_proto.handleKeyDown=function handleKeyDown(event){keycode_default().isEventKey(event,"Space")||keycode_default().isEventKey(event,"Enter")?(event.preventDefault(),event.stopPropagation(),this.trigger("click")):_Component.prototype.handleKeyDown.call(this,event)},ClickableComponent}(Component$1);Component$1.registerComponent("ClickableComponent",ClickableComponent);var PosterImage=function(_ClickableComponent){function PosterImage(player,options){var _this;return(_this=_ClickableComponent.call(this,player,options)||this).update(),_this.update_=function(e){return _this.update(e)},player.on("posterchange",_this.update_),_this}(0,inheritsLoose.Z)(PosterImage,_ClickableComponent);var _proto=PosterImage.prototype;return _proto.dispose=function dispose(){this.player().off("posterchange",this.update_),_ClickableComponent.prototype.dispose.call(this)},_proto.createEl=function createEl$1(){return createEl("div",{className:"vjs-poster",tabIndex:-1})},_proto.update=function update(event){var url=this.player().poster();this.setSrc(url),url?this.show():this.hide()},_proto.setSrc=function setSrc(url){var backgroundImage="";url&&(backgroundImage='url("'+url+'")'),this.el_.style.backgroundImage=backgroundImage},_proto.handleClick=function handleClick(event){if(this.player_.controls()){var sourceIsEncrypted=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;!this.player_.tech(!0)||(IE_VERSION||IS_EDGE)&&sourceIsEncrypted||this.player_.tech(!0).focus(),this.player_.paused()?silencePromise(this.player_.play()):this.player_.pause()}},PosterImage}(ClickableComponent);Component$1.registerComponent("PosterImage",PosterImage);var fontMap={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function constructColor(color,opacity){var hex;if(4===color.length)hex=color[1]+color[1]+color[2]+color[2]+color[3]+color[3];else{if(7!==color.length)throw new Error("Invalid color code provided, "+color+"; must be formatted as e.g. #f0e or #f604e2.");hex=color.slice(1)}return"rgba("+parseInt(hex.slice(0,2),16)+","+parseInt(hex.slice(2,4),16)+","+parseInt(hex.slice(4,6),16)+","+opacity+")"}function tryUpdateStyle(el,style,rule){try{el.style[style]=rule}catch(e){return}}var TextTrackDisplay=function(_Component){function TextTrackDisplay(player,options,ready){var _this;_this=_Component.call(this,player,options,ready)||this;var updateDisplayHandler=function updateDisplayHandler(e){return _this.updateDisplay(e)};return player.on("loadstart",(function(e){return _this.toggleDisplay(e)})),player.on("texttrackchange",updateDisplayHandler),player.on("loadedmetadata",(function(e){return _this.preselectTrack(e)})),player.ready(bind((0,assertThisInitialized.Z)(_this),(function(){if(player.tech_&&player.tech_.featuresNativeTextTracks)this.hide();else{player.on("fullscreenchange",updateDisplayHandler),player.on("playerresize",updateDisplayHandler),window_default().addEventListener("orientationchange",updateDisplayHandler),player.on("dispose",(function(){return window_default().removeEventListener("orientationchange",updateDisplayHandler)}));for(var tracks=this.options_.playerOptions.tracks||[],i=0;i<tracks.length;i++)this.player_.addRemoteTextTrack(tracks[i],!0);this.preselectTrack()}}))),_this}(0,inheritsLoose.Z)(TextTrackDisplay,_Component);var _proto=TextTrackDisplay.prototype;return _proto.preselectTrack=function preselectTrack(){for(var firstDesc,firstCaptions,preferredTrack,modes={captions:1,subtitles:1},trackList=this.player_.textTracks(),userPref=this.player_.cache_.selectedLanguage,i=0;i<trackList.length;i++){var track=trackList[i];userPref&&userPref.enabled&&userPref.language&&userPref.language===track.language&&track.kind in modes?track.kind===userPref.kind?preferredTrack=track:preferredTrack||(preferredTrack=track):userPref&&!userPref.enabled?(preferredTrack=null,firstDesc=null,firstCaptions=null):track.default&&("descriptions"!==track.kind||firstDesc?track.kind in modes&&!firstCaptions&&(firstCaptions=track):firstDesc=track)}preferredTrack?preferredTrack.mode="showing":firstCaptions?firstCaptions.mode="showing":firstDesc&&(firstDesc.mode="showing")},_proto.toggleDisplay=function toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},_proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})},_proto.clearDisplay=function clearDisplay(){"function"==typeof window_default().WebVTT&&window_default().WebVTT.processCues(window_default(),[],this.el_)},_proto.updateDisplay=function updateDisplay(){var tracks=this.player_.textTracks(),allowMultipleShowingTracks=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),allowMultipleShowingTracks){for(var showingTracks=[],_i=0;_i<tracks.length;++_i){var track=tracks[_i];"showing"===track.mode&&showingTracks.push(track)}this.updateForTrack(showingTracks)}else{for(var descriptionsTrack=null,captionsSubtitlesTrack=null,i=tracks.length;i--;){var _track=tracks[i];"showing"===_track.mode&&("descriptions"===_track.kind?descriptionsTrack=_track:captionsSubtitlesTrack=_track)}captionsSubtitlesTrack?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(captionsSubtitlesTrack)):descriptionsTrack&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(descriptionsTrack))}},_proto.updateDisplayState=function updateDisplayState(track){for(var overrides=this.player_.textTrackSettings.getValues(),cues=track.activeCues,i=cues.length;i--;){var cue=cues[i];if(cue){var cueDiv=cue.displayState;if(overrides.color&&(cueDiv.firstChild.style.color=overrides.color),overrides.textOpacity&&tryUpdateStyle(cueDiv.firstChild,"color",constructColor(overrides.color||"#fff",overrides.textOpacity)),overrides.backgroundColor&&(cueDiv.firstChild.style.backgroundColor=overrides.backgroundColor),overrides.backgroundOpacity&&tryUpdateStyle(cueDiv.firstChild,"backgroundColor",constructColor(overrides.backgroundColor||"#000",overrides.backgroundOpacity)),overrides.windowColor&&(overrides.windowOpacity?tryUpdateStyle(cueDiv,"backgroundColor",constructColor(overrides.windowColor,overrides.windowOpacity)):cueDiv.style.backgroundColor=overrides.windowColor),overrides.edgeStyle&&("dropshadow"===overrides.edgeStyle?cueDiv.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===overrides.edgeStyle?cueDiv.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===overrides.edgeStyle?cueDiv.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===overrides.edgeStyle&&(cueDiv.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),overrides.fontPercent&&1!==overrides.fontPercent){var fontSize=window_default().parseFloat(cueDiv.style.fontSize);cueDiv.style.fontSize=fontSize*overrides.fontPercent+"px",cueDiv.style.height="auto",cueDiv.style.top="auto"}overrides.fontFamily&&"default"!==overrides.fontFamily&&("small-caps"===overrides.fontFamily?cueDiv.firstChild.style.fontVariant="small-caps":cueDiv.firstChild.style.fontFamily=fontMap[overrides.fontFamily])}}},_proto.updateForTrack=function updateForTrack(tracks){if(Array.isArray(tracks)||(tracks=[tracks]),"function"==typeof window_default().WebVTT&&!tracks.every((function(track){return!track.activeCues}))){for(var cues=[],i=0;i<tracks.length;++i)for(var track=tracks[i],j=0;j<track.activeCues.length;++j)cues.push(track.activeCues[j]);window_default().WebVTT.processCues(window_default(),cues,this.el_);for(var _i2=0;_i2<tracks.length;++_i2){for(var _track2=tracks[_i2],_j=0;_j<_track2.activeCues.length;++_j){var cueEl=_track2.activeCues[_j].displayState;addClass(cueEl,"vjs-text-track-cue"),addClass(cueEl,"vjs-text-track-cue-"+(_track2.language?_track2.language:_i2)),_track2.language&&setAttribute(cueEl,"lang",_track2.language)}this.player_.textTrackSettings&&this.updateDisplayState(_track2)}}},TextTrackDisplay}(Component$1);Component$1.registerComponent("TextTrackDisplay",TextTrackDisplay);var LoadingSpinner=function(_Component){function LoadingSpinner(){return _Component.apply(this,arguments)||this}return(0,inheritsLoose.Z)(LoadingSpinner,_Component),LoadingSpinner.prototype.createEl=function createEl$1(){var isAudio=this.player_.isAudio(),playerType=this.localize(isAudio?"Audio Player":"Video Player"),controlText=createEl("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[playerType])}),el=_Component.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return el.appendChild(controlText),el},LoadingSpinner}(Component$1);Component$1.registerComponent("LoadingSpinner",LoadingSpinner);var Button=function(_ClickableComponent){function Button(){return _ClickableComponent.apply(this,arguments)||this}(0,inheritsLoose.Z)(Button,_ClickableComponent);var _proto=Button.prototype;return _proto.createEl=function createEl$1(tag,props,attributes){void 0===props&&(props={}),void 0===attributes&&(attributes={});var el=createEl("button",props=video_es_assign({className:this.buildCSSClass()},props),attributes=video_es_assign({type:"button"},attributes));return el.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(el),el},_proto.addChild=function addChild(child,options){void 0===options&&(options={});var className=this.constructor.name;return log$1.warn("Adding an actionable (user controllable) child to a Button ("+className+") is not supported; use a ClickableComponent instead."),Component$1.prototype.addChild.call(this,child,options)},_proto.enable=function enable(){_ClickableComponent.prototype.enable.call(this),this.el_.removeAttribute("disabled")},_proto.disable=function disable(){_ClickableComponent.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},_proto.handleKeyDown=function handleKeyDown(event){keycode_default().isEventKey(event,"Space")||keycode_default().isEventKey(event,"Enter")?event.stopPropagation():_ClickableComponent.prototype.handleKeyDown.call(this,event)},Button}(ClickableComponent);Component$1.registerComponent("Button",Button);var BigPlayButton=function(_Button){function BigPlayButton(player,options){var _this;return(_this=_Button.call(this,player,options)||this).mouseused_=!1,_this.on("mousedown",(function(e){return _this.handleMouseDown(e)})),_this}(0,inheritsLoose.Z)(BigPlayButton,_Button);var _proto=BigPlayButton.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-big-play-button"},_proto.handleClick=function handleClick(event){var playPromise=this.player_.play();if(this.mouseused_&&event.clientX&&event.clientY){var sourceIsEncrypted=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return silencePromise(playPromise),void(!this.player_.tech(!0)||(IE_VERSION||IS_EDGE)&&sourceIsEncrypted||this.player_.tech(!0).focus())}var cb=this.player_.getChild("controlBar"),playToggle=cb&&cb.getChild("playToggle");if(playToggle){var playFocus=function playFocus(){return playToggle.focus()};isPromise(playPromise)?playPromise.then(playFocus,(function(){})):this.setTimeout(playFocus,1)}else this.player_.tech(!0).focus()},_proto.handleKeyDown=function handleKeyDown(event){this.mouseused_=!1,_Button.prototype.handleKeyDown.call(this,event)},_proto.handleMouseDown=function handleMouseDown(event){this.mouseused_=!0},BigPlayButton}(Button);BigPlayButton.prototype.controlText_="Play Video",Component$1.registerComponent("BigPlayButton",BigPlayButton);var CloseButton=function(_Button){function CloseButton(player,options){var _this;return(_this=_Button.call(this,player,options)||this).controlText(options&&options.controlText||_this.localize("Close")),_this}(0,inheritsLoose.Z)(CloseButton,_Button);var _proto=CloseButton.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-close-button "+_Button.prototype.buildCSSClass.call(this)},_proto.handleClick=function handleClick(event){this.trigger({type:"close",bubbles:!1})},_proto.handleKeyDown=function handleKeyDown(event){keycode_default().isEventKey(event,"Esc")?(event.preventDefault(),event.stopPropagation(),this.trigger("click")):_Button.prototype.handleKeyDown.call(this,event)},CloseButton}(Button);Component$1.registerComponent("CloseButton",CloseButton);var PlayToggle=function(_Button){function PlayToggle(player,options){var _this;return void 0===options&&(options={}),_this=_Button.call(this,player,options)||this,options.replay=void 0===options.replay||options.replay,_this.on(player,"play",(function(e){return _this.handlePlay(e)})),_this.on(player,"pause",(function(e){return _this.handlePause(e)})),options.replay&&_this.on(player,"ended",(function(e){return _this.handleEnded(e)})),_this}(0,inheritsLoose.Z)(PlayToggle,_Button);var _proto=PlayToggle.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-play-control "+_Button.prototype.buildCSSClass.call(this)},_proto.handleClick=function handleClick(event){this.player_.paused()?silencePromise(this.player_.play()):this.player_.pause()},_proto.handleSeeked=function handleSeeked(event){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(event):this.handlePlay(event)},_proto.handlePlay=function handlePlay(event){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},_proto.handlePause=function handlePause(event){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},_proto.handleEnded=function handleEnded(event){var _this2=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(function(e){return _this2.handleSeeked(e)}))},PlayToggle}(Button);PlayToggle.prototype.controlText_="Play",Component$1.registerComponent("PlayToggle",PlayToggle);var defaultImplementation=function defaultImplementation(seconds,guide){seconds=seconds<0?0:seconds;var s=Math.floor(seconds%60),m=Math.floor(seconds/60%60),h=Math.floor(seconds/3600),gm=Math.floor(guide/60%60),gh=Math.floor(guide/3600);return(isNaN(seconds)||seconds===1/0)&&(h=m=s="-"),(h=h>0||gh>0?h+":":"")+(m=((h||gm>=10)&&m<10?"0"+m:m)+":")+(s=s<10?"0"+s:s)},implementation=defaultImplementation;function formatTime(seconds,guide){return void 0===guide&&(guide=seconds),implementation(seconds,guide)}var TimeDisplay=function(_Component){function TimeDisplay(player,options){var _this;return(_this=_Component.call(this,player,options)||this).on(player,["timeupdate","ended"],(function(e){return _this.updateContent(e)})),_this.updateTextNode_(),_this}(0,inheritsLoose.Z)(TimeDisplay,_Component);var _proto=TimeDisplay.prototype;return _proto.createEl=function createEl$1(){var className=this.buildCSSClass(),el=_Component.prototype.createEl.call(this,"div",{className:className+" vjs-time-control vjs-control"}),span=createEl("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+" "},{role:"presentation"});return el.appendChild(span),this.contentEl_=createEl("span",{className:className+"-display"},{"aria-live":"off",role:"presentation"}),el.appendChild(this.contentEl_),el},_proto.dispose=function dispose(){this.contentEl_=null,this.textNode_=null,_Component.prototype.dispose.call(this)},_proto.updateTextNode_=function updateTextNode_(time){var _this2=this;void 0===time&&(time=0),time=formatTime(time),this.formattedTime_!==time&&(this.formattedTime_=time,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(function(){if(_this2.contentEl_){var oldNode=_this2.textNode_;oldNode&&_this2.contentEl_.firstChild!==oldNode&&(oldNode=null,log$1.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),_this2.textNode_=document_default().createTextNode(_this2.formattedTime_),_this2.textNode_&&(oldNode?_this2.contentEl_.replaceChild(_this2.textNode_,oldNode):_this2.contentEl_.appendChild(_this2.textNode_))}})))},_proto.updateContent=function updateContent(event){},TimeDisplay}(Component$1);TimeDisplay.prototype.labelText_="Time",TimeDisplay.prototype.controlText_="Time",Component$1.registerComponent("TimeDisplay",TimeDisplay);var CurrentTimeDisplay=function(_TimeDisplay){function CurrentTimeDisplay(){return _TimeDisplay.apply(this,arguments)||this}(0,inheritsLoose.Z)(CurrentTimeDisplay,_TimeDisplay);var _proto=CurrentTimeDisplay.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-current-time"},_proto.updateContent=function updateContent(event){var time;time=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(time)},CurrentTimeDisplay}(TimeDisplay);CurrentTimeDisplay.prototype.labelText_="Current Time",CurrentTimeDisplay.prototype.controlText_="Current Time",Component$1.registerComponent("CurrentTimeDisplay",CurrentTimeDisplay);var DurationDisplay=function(_TimeDisplay){function DurationDisplay(player,options){var _this,updateContent=function updateContent(e){return _this.updateContent(e)};return(_this=_TimeDisplay.call(this,player,options)||this).on(player,"durationchange",updateContent),_this.on(player,"loadstart",updateContent),_this.on(player,"loadedmetadata",updateContent),_this}(0,inheritsLoose.Z)(DurationDisplay,_TimeDisplay);var _proto=DurationDisplay.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-duration"},_proto.updateContent=function updateContent(event){var duration=this.player_.duration();this.updateTextNode_(duration)},DurationDisplay}(TimeDisplay);DurationDisplay.prototype.labelText_="Duration",DurationDisplay.prototype.controlText_="Duration",Component$1.registerComponent("DurationDisplay",DurationDisplay);var TimeDivider=function(_Component){function TimeDivider(){return _Component.apply(this,arguments)||this}return(0,inheritsLoose.Z)(TimeDivider,_Component),TimeDivider.prototype.createEl=function createEl(){var el=_Component.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),div=_Component.prototype.createEl.call(this,"div"),span=_Component.prototype.createEl.call(this,"span",{textContent:"/"});return div.appendChild(span),el.appendChild(div),el},TimeDivider}(Component$1);Component$1.registerComponent("TimeDivider",TimeDivider);var RemainingTimeDisplay=function(_TimeDisplay){function RemainingTimeDisplay(player,options){var _this;return(_this=_TimeDisplay.call(this,player,options)||this).on(player,"durationchange",(function(e){return _this.updateContent(e)})),_this}(0,inheritsLoose.Z)(RemainingTimeDisplay,_TimeDisplay);var _proto=RemainingTimeDisplay.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-remaining-time"},_proto.createEl=function createEl$1(){var el=_TimeDisplay.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&el.insertBefore(createEl("span",{},{"aria-hidden":!0},"-"),this.contentEl_),el},_proto.updateContent=function updateContent(event){var time;"number"==typeof this.player_.duration()&&(time=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(time))},RemainingTimeDisplay}(TimeDisplay);RemainingTimeDisplay.prototype.labelText_="Remaining Time",RemainingTimeDisplay.prototype.controlText_="Remaining Time",Component$1.registerComponent("RemainingTimeDisplay",RemainingTimeDisplay);var LiveDisplay=function(_Component){function LiveDisplay(player,options){var _this;return(_this=_Component.call(this,player,options)||this).updateShowing(),_this.on(_this.player(),"durationchange",(function(e){return _this.updateShowing(e)})),_this}(0,inheritsLoose.Z)(LiveDisplay,_Component);var _proto=LiveDisplay.prototype;return _proto.createEl=function createEl$1(){var el=_Component.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=createEl("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(createEl("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+" "})),this.contentEl_.appendChild(document_default().createTextNode(this.localize("LIVE"))),el.appendChild(this.contentEl_),el},_proto.dispose=function dispose(){this.contentEl_=null,_Component.prototype.dispose.call(this)},_proto.updateShowing=function updateShowing(event){this.player().duration()===1/0?this.show():this.hide()},LiveDisplay}(Component$1);Component$1.registerComponent("LiveDisplay",LiveDisplay);var SeekToLive=function(_Button){function SeekToLive(player,options){var _this;return(_this=_Button.call(this,player,options)||this).updateLiveEdgeStatus(),_this.player_.liveTracker&&(_this.updateLiveEdgeStatusHandler_=function(e){return _this.updateLiveEdgeStatus(e)},_this.on(_this.player_.liveTracker,"liveedgechange",_this.updateLiveEdgeStatusHandler_)),_this}(0,inheritsLoose.Z)(SeekToLive,_Button);var _proto=SeekToLive.prototype;return _proto.createEl=function createEl$1(){var el=_Button.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=createEl("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),el.appendChild(this.textEl_),el},_proto.updateLiveEdgeStatus=function updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},_proto.handleClick=function handleClick(){this.player_.liveTracker.seekToLiveEdge()},_proto.dispose=function dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,_Button.prototype.dispose.call(this)},SeekToLive}(Button);SeekToLive.prototype.controlText_="Seek to live, currently playing live",Component$1.registerComponent("SeekToLive",SeekToLive);var clamp=function clamp(number,min,max){return number=Number(number),Math.min(max,Math.max(min,isNaN(number)?min:number))},Slider=function(_Component){function Slider(player,options){var _this;return(_this=_Component.call(this,player,options)||this).handleMouseDown_=function(e){return _this.handleMouseDown(e)},_this.handleMouseUp_=function(e){return _this.handleMouseUp(e)},_this.handleKeyDown_=function(e){return _this.handleKeyDown(e)},_this.handleClick_=function(e){return _this.handleClick(e)},_this.handleMouseMove_=function(e){return _this.handleMouseMove(e)},_this.update_=function(e){return _this.update(e)},_this.bar=_this.getChild(_this.options_.barName),_this.vertical(!!_this.options_.vertical),_this.enable(),_this}(0,inheritsLoose.Z)(Slider,_Component);var _proto=Slider.prototype;return _proto.enabled=function enabled(){return this.enabled_},_proto.enable=function enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},_proto.disable=function disable(){if(this.enabled()){var doc=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(doc,"mousemove",this.handleMouseMove_),this.off(doc,"mouseup",this.handleMouseUp_),this.off(doc,"touchmove",this.handleMouseMove_),this.off(doc,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},_proto.createEl=function createEl(type,props,attributes){return void 0===props&&(props={}),void 0===attributes&&(attributes={}),props.className=props.className+" vjs-slider",props=video_es_assign({tabIndex:0},props),attributes=video_es_assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},attributes),_Component.prototype.createEl.call(this,type,props,attributes)},_proto.handleMouseDown=function handleMouseDown(event){var doc=this.bar.el_.ownerDocument;"mousedown"===event.type&&event.preventDefault(),"touchstart"!==event.type||IS_CHROME||event.preventDefault(),blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(doc,"mousemove",this.handleMouseMove_),this.on(doc,"mouseup",this.handleMouseUp_),this.on(doc,"touchmove",this.handleMouseMove_),this.on(doc,"touchend",this.handleMouseUp_),this.handleMouseMove(event,!0)},_proto.handleMouseMove=function handleMouseMove(event){},_proto.handleMouseUp=function handleMouseUp(){var doc=this.bar.el_.ownerDocument;unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(doc,"mousemove",this.handleMouseMove_),this.off(doc,"mouseup",this.handleMouseUp_),this.off(doc,"touchmove",this.handleMouseMove_),this.off(doc,"touchend",this.handleMouseUp_),this.update()},_proto.update=function update(){var _this2=this;if(this.el_&&this.bar){var progress=this.getProgress();return progress===this.progress_||(this.progress_=progress,this.requestNamedAnimationFrame("Slider#update",(function(){var sizeKey=_this2.vertical()?"height":"width";_this2.bar.el().style[sizeKey]=(100*progress).toFixed(2)+"%"}))),progress}},_proto.getProgress=function getProgress(){return Number(clamp(this.getPercent(),0,1).toFixed(4))},_proto.calculateDistance=function calculateDistance(event){var position=getPointerPosition(this.el_,event);return this.vertical()?position.y:position.x},_proto.handleKeyDown=function handleKeyDown(event){keycode_default().isEventKey(event,"Left")||keycode_default().isEventKey(event,"Down")?(event.preventDefault(),event.stopPropagation(),this.stepBack()):keycode_default().isEventKey(event,"Right")||keycode_default().isEventKey(event,"Up")?(event.preventDefault(),event.stopPropagation(),this.stepForward()):_Component.prototype.handleKeyDown.call(this,event)},_proto.handleClick=function handleClick(event){event.stopPropagation(),event.preventDefault()},_proto.vertical=function vertical(bool){if(void 0===bool)return this.vertical_||!1;this.vertical_=!!bool,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},Slider}(Component$1);Component$1.registerComponent("Slider",Slider);var percentify=function percentify(time,end){return clamp(time/end*100,0,100).toFixed(2)+"%"},LoadProgressBar=function(_Component){function LoadProgressBar(player,options){var _this;return(_this=_Component.call(this,player,options)||this).partEls_=[],_this.on(player,"progress",(function(e){return _this.update(e)})),_this}(0,inheritsLoose.Z)(LoadProgressBar,_Component);var _proto=LoadProgressBar.prototype;return _proto.createEl=function createEl$1(){var el=_Component.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),wrapper=createEl("span",{className:"vjs-control-text"}),loadedText=createEl("span",{textContent:this.localize("Loaded")}),separator=document_default().createTextNode(": ");return this.percentageEl_=createEl("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),el.appendChild(wrapper),wrapper.appendChild(loadedText),wrapper.appendChild(separator),wrapper.appendChild(this.percentageEl_),el},_proto.dispose=function dispose(){this.partEls_=null,this.percentageEl_=null,_Component.prototype.dispose.call(this)},_proto.update=function update(event){var _this2=this;this.requestNamedAnimationFrame("LoadProgressBar#update",(function(){var liveTracker=_this2.player_.liveTracker,buffered=_this2.player_.buffered(),duration=liveTracker&&liveTracker.isLive()?liveTracker.seekableEnd():_this2.player_.duration(),bufferedEnd=_this2.player_.bufferedEnd(),children=_this2.partEls_,percent=percentify(bufferedEnd,duration);_this2.percent_!==percent&&(_this2.el_.style.width=percent,textContent(_this2.percentageEl_,percent),_this2.percent_=percent);for(var i=0;i<buffered.length;i++){var start=buffered.start(i),end=buffered.end(i),part=children[i];part||(part=_this2.el_.appendChild(createEl()),children[i]=part),part.dataset.start===start&&part.dataset.end===end||(part.dataset.start=start,part.dataset.end=end,part.style.left=percentify(start,bufferedEnd),part.style.width=percentify(end-start,bufferedEnd))}for(var _i=children.length;_i>buffered.length;_i--)_this2.el_.removeChild(children[_i-1]);children.length=buffered.length}))},LoadProgressBar}(Component$1);Component$1.registerComponent("LoadProgressBar",LoadProgressBar);var TimeTooltip=function(_Component){function TimeTooltip(player,options){var _this;return(_this=_Component.call(this,player,options)||this).update=throttle(bind((0,assertThisInitialized.Z)(_this),_this.update),30),_this}(0,inheritsLoose.Z)(TimeTooltip,_Component);var _proto=TimeTooltip.prototype;return _proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},_proto.update=function update(seekBarRect,seekBarPoint,content){var tooltipRect=findPosition(this.el_),playerRect=getBoundingClientRect(this.player_.el()),seekBarPointPx=seekBarRect.width*seekBarPoint;if(playerRect&&tooltipRect){var spaceLeftOfPoint=seekBarRect.left-playerRect.left+seekBarPointPx,spaceRightOfPoint=seekBarRect.width-seekBarPointPx+(playerRect.right-seekBarRect.right),pullTooltipBy=tooltipRect.width/2;spaceLeftOfPoint<pullTooltipBy?pullTooltipBy+=pullTooltipBy-spaceLeftOfPoint:spaceRightOfPoint<pullTooltipBy&&(pullTooltipBy=spaceRightOfPoint),pullTooltipBy<0?pullTooltipBy=0:pullTooltipBy>tooltipRect.width&&(pullTooltipBy=tooltipRect.width),pullTooltipBy=Math.round(pullTooltipBy),this.el_.style.right="-"+pullTooltipBy+"px",this.write(content)}},_proto.write=function write(content){textContent(this.el_,content)},_proto.updateTime=function updateTime(seekBarRect,seekBarPoint,time,cb){var _this2=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",(function(){var content,duration=_this2.player_.duration();if(_this2.player_.liveTracker&&_this2.player_.liveTracker.isLive()){var liveWindow=_this2.player_.liveTracker.liveWindow(),secondsBehind=liveWindow-seekBarPoint*liveWindow;content=(secondsBehind<1?"":"-")+formatTime(secondsBehind,liveWindow)}else content=formatTime(time,duration);_this2.update(seekBarRect,seekBarPoint,content),cb&&cb()}))},TimeTooltip}(Component$1);Component$1.registerComponent("TimeTooltip",TimeTooltip);var PlayProgressBar=function(_Component){function PlayProgressBar(player,options){var _this;return(_this=_Component.call(this,player,options)||this).update=throttle(bind((0,assertThisInitialized.Z)(_this),_this.update),30),_this}(0,inheritsLoose.Z)(PlayProgressBar,_Component);var _proto=PlayProgressBar.prototype;return _proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},_proto.update=function update(seekBarRect,seekBarPoint){var timeTooltip=this.getChild("timeTooltip");if(timeTooltip){var time=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();timeTooltip.updateTime(seekBarRect,seekBarPoint,time)}},PlayProgressBar}(Component$1);PlayProgressBar.prototype.options_={children:[]},IS_IOS||IS_ANDROID||PlayProgressBar.prototype.options_.children.push("timeTooltip"),Component$1.registerComponent("PlayProgressBar",PlayProgressBar);var MouseTimeDisplay=function(_Component){function MouseTimeDisplay(player,options){var _this;return(_this=_Component.call(this,player,options)||this).update=throttle(bind((0,assertThisInitialized.Z)(_this),_this.update),30),_this}(0,inheritsLoose.Z)(MouseTimeDisplay,_Component);var _proto=MouseTimeDisplay.prototype;return _proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},_proto.update=function update(seekBarRect,seekBarPoint){var _this2=this,time=seekBarPoint*this.player_.duration();this.getChild("timeTooltip").updateTime(seekBarRect,seekBarPoint,time,(function(){_this2.el_.style.left=seekBarRect.width*seekBarPoint+"px"}))},MouseTimeDisplay}(Component$1);MouseTimeDisplay.prototype.options_={children:["timeTooltip"]},Component$1.registerComponent("MouseTimeDisplay",MouseTimeDisplay);var SeekBar=function(_Slider){function SeekBar(player,options){var _this;return(_this=_Slider.call(this,player,options)||this).setEventHandlers_(),_this}(0,inheritsLoose.Z)(SeekBar,_Slider);var _proto=SeekBar.prototype;return _proto.setEventHandlers_=function setEventHandlers_(){var _this2=this;this.update_=bind(this,this.update),this.update=throttle(this.update_,30),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(e){return _this2.enableInterval_(e)},this.disableIntervalHandler_=function(e){return _this2.disableInterval_(e)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in document_default()&&"visibilityState"in document_default()&&this.on(document_default(),"visibilitychange",this.toggleVisibility_)},_proto.toggleVisibility_=function toggleVisibility_(e){"hidden"===document_default().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},_proto.enableInterval_=function enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,30))},_proto.disableInterval_=function disableInterval_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},_proto.createEl=function createEl(){return _Slider.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},_proto.update=function update(event){var _this3=this;if("hidden"!==document_default().visibilityState){var percent=_Slider.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",(function(){var currentTime=_this3.player_.ended()?_this3.player_.duration():_this3.getCurrentTime_(),liveTracker=_this3.player_.liveTracker,duration=_this3.player_.duration();liveTracker&&liveTracker.isLive()&&(duration=_this3.player_.liveTracker.liveCurrentTime()),_this3.percent_!==percent&&(_this3.el_.setAttribute("aria-valuenow",(100*percent).toFixed(2)),_this3.percent_=percent),_this3.currentTime_===currentTime&&_this3.duration_===duration||(_this3.el_.setAttribute("aria-valuetext",_this3.localize("progress bar timing: currentTime={1} duration={2}",[formatTime(currentTime,duration),formatTime(duration,duration)],"{1} of {2}")),_this3.currentTime_=currentTime,_this3.duration_=duration),_this3.bar&&_this3.bar.update(getBoundingClientRect(_this3.el()),_this3.getProgress())})),percent}},_proto.userSeek_=function userSeek_(ct){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(ct)},_proto.getCurrentTime_=function getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},_proto.getPercent=function getPercent(){var percent,currentTime=this.getCurrentTime_(),liveTracker=this.player_.liveTracker;return liveTracker&&liveTracker.isLive()?(percent=(currentTime-liveTracker.seekableStart())/liveTracker.liveWindow(),liveTracker.atLiveEdge()&&(percent=1)):percent=currentTime/this.player_.duration(),percent},_proto.handleMouseDown=function handleMouseDown(event){isSingleLeftClick(event)&&(event.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),_Slider.prototype.handleMouseDown.call(this,event))},_proto.handleMouseMove=function handleMouseMove(event,mouseDown){if(void 0===mouseDown&&(mouseDown=!1),isSingleLeftClick(event)){var newTime;mouseDown||this.player_.scrubbing()||this.player_.scrubbing(!0);var distance=this.calculateDistance(event),liveTracker=this.player_.liveTracker;if(liveTracker&&liveTracker.isLive()){if(distance>=.99)return void liveTracker.seekToLiveEdge();var seekableStart=liveTracker.seekableStart(),seekableEnd=liveTracker.liveCurrentTime();if((newTime=seekableStart+distance*liveTracker.liveWindow())>=seekableEnd&&(newTime=seekableEnd),newTime<=seekableStart&&(newTime=seekableStart+.1),newTime===1/0)return}else(newTime=distance*this.player_.duration())===this.player_.duration()&&(newTime-=.1);this.userSeek_(newTime)}},_proto.enable=function enable(){_Slider.prototype.enable.call(this);var mouseTimeDisplay=this.getChild("mouseTimeDisplay");mouseTimeDisplay&&mouseTimeDisplay.show()},_proto.disable=function disable(){_Slider.prototype.disable.call(this);var mouseTimeDisplay=this.getChild("mouseTimeDisplay");mouseTimeDisplay&&mouseTimeDisplay.hide()},_proto.handleMouseUp=function handleMouseUp(event){_Slider.prototype.handleMouseUp.call(this,event),event&&event.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?silencePromise(this.player_.play()):this.update_()},_proto.stepForward=function stepForward(){this.userSeek_(this.player_.currentTime()+5)},_proto.stepBack=function stepBack(){this.userSeek_(this.player_.currentTime()-5)},_proto.handleAction=function handleAction(event){this.player_.paused()?this.player_.play():this.player_.pause()},_proto.handleKeyDown=function handleKeyDown(event){var liveTracker=this.player_.liveTracker;if(keycode_default().isEventKey(event,"Space")||keycode_default().isEventKey(event,"Enter"))event.preventDefault(),event.stopPropagation(),this.handleAction(event);else if(keycode_default().isEventKey(event,"Home"))event.preventDefault(),event.stopPropagation(),this.userSeek_(0);else if(keycode_default().isEventKey(event,"End"))event.preventDefault(),event.stopPropagation(),liveTracker&&liveTracker.isLive()?this.userSeek_(liveTracker.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(keycode_default()(event))){event.preventDefault(),event.stopPropagation();var gotoFraction=10*(keycode_default().codes[keycode_default()(event)]-keycode_default().codes[0])/100;liveTracker&&liveTracker.isLive()?this.userSeek_(liveTracker.seekableStart()+liveTracker.liveWindow()*gotoFraction):this.userSeek_(this.player_.duration()*gotoFraction)}else keycode_default().isEventKey(event,"PgDn")?(event.preventDefault(),event.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):keycode_default().isEventKey(event,"PgUp")?(event.preventDefault(),event.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):_Slider.prototype.handleKeyDown.call(this,event)},_proto.dispose=function dispose(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in document_default()&&"visibilityState"in document_default()&&this.off(document_default(),"visibilitychange",this.toggleVisibility_),_Slider.prototype.dispose.call(this)},SeekBar}(Slider);SeekBar.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},IS_IOS||IS_ANDROID||SeekBar.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Component$1.registerComponent("SeekBar",SeekBar);var ProgressControl=function(_Component){function ProgressControl(player,options){var _this;return(_this=_Component.call(this,player,options)||this).handleMouseMove=throttle(bind((0,assertThisInitialized.Z)(_this),_this.handleMouseMove),30),_this.throttledHandleMouseSeek=throttle(bind((0,assertThisInitialized.Z)(_this),_this.handleMouseSeek),30),_this.handleMouseUpHandler_=function(e){return _this.handleMouseUp(e)},_this.handleMouseDownHandler_=function(e){return _this.handleMouseDown(e)},_this.enable(),_this}(0,inheritsLoose.Z)(ProgressControl,_Component);var _proto=ProgressControl.prototype;return _proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},_proto.handleMouseMove=function handleMouseMove(event){var seekBar=this.getChild("seekBar");if(seekBar){var playProgressBar=seekBar.getChild("playProgressBar"),mouseTimeDisplay=seekBar.getChild("mouseTimeDisplay");if(playProgressBar||mouseTimeDisplay){var seekBarEl=seekBar.el(),seekBarRect=findPosition(seekBarEl),seekBarPoint=getPointerPosition(seekBarEl,event).x;seekBarPoint=clamp(seekBarPoint,0,1),mouseTimeDisplay&&mouseTimeDisplay.update(seekBarRect,seekBarPoint),playProgressBar&&playProgressBar.update(seekBarRect,seekBar.getProgress())}}},_proto.handleMouseSeek=function handleMouseSeek(event){var seekBar=this.getChild("seekBar");seekBar&&seekBar.handleMouseMove(event)},_proto.enabled=function enabled(){return this.enabled_},_proto.disable=function disable(){if(this.children().forEach((function(child){return child.disable&&child.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var seekBar=this.getChild("seekBar");this.player_.scrubbing(!1),seekBar.videoWasPlaying&&silencePromise(this.player_.play())}},_proto.enable=function enable(){this.children().forEach((function(child){return child.enable&&child.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},_proto.removeListenersAddedOnMousedownAndTouchstart=function removeListenersAddedOnMousedownAndTouchstart(){var doc=this.el_.ownerDocument;this.off(doc,"mousemove",this.throttledHandleMouseSeek),this.off(doc,"touchmove",this.throttledHandleMouseSeek),this.off(doc,"mouseup",this.handleMouseUpHandler_),this.off(doc,"touchend",this.handleMouseUpHandler_)},_proto.handleMouseDown=function handleMouseDown(event){var doc=this.el_.ownerDocument,seekBar=this.getChild("seekBar");seekBar&&seekBar.handleMouseDown(event),this.on(doc,"mousemove",this.throttledHandleMouseSeek),this.on(doc,"touchmove",this.throttledHandleMouseSeek),this.on(doc,"mouseup",this.handleMouseUpHandler_),this.on(doc,"touchend",this.handleMouseUpHandler_)},_proto.handleMouseUp=function handleMouseUp(event){var seekBar=this.getChild("seekBar");seekBar&&seekBar.handleMouseUp(event),this.removeListenersAddedOnMousedownAndTouchstart()},ProgressControl}(Component$1);ProgressControl.prototype.options_={children:["seekBar"]},Component$1.registerComponent("ProgressControl",ProgressControl);var PictureInPictureToggle=function(_Button){function PictureInPictureToggle(player,options){var _this;return(_this=_Button.call(this,player,options)||this).on(player,["enterpictureinpicture","leavepictureinpicture"],(function(e){return _this.handlePictureInPictureChange(e)})),_this.on(player,["disablepictureinpicturechanged","loadedmetadata"],(function(e){return _this.handlePictureInPictureEnabledChange(e)})),_this.disable(),_this}(0,inheritsLoose.Z)(PictureInPictureToggle,_Button);var _proto=PictureInPictureToggle.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-picture-in-picture-control "+_Button.prototype.buildCSSClass.call(this)},_proto.handlePictureInPictureEnabledChange=function handlePictureInPictureEnabledChange(){document_default().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},_proto.handlePictureInPictureChange=function handlePictureInPictureChange(event){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},_proto.handleClick=function handleClick(event){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},PictureInPictureToggle}(Button);PictureInPictureToggle.prototype.controlText_="Picture-in-Picture",Component$1.registerComponent("PictureInPictureToggle",PictureInPictureToggle);var FullscreenToggle=function(_Button){function FullscreenToggle(player,options){var _this;return(_this=_Button.call(this,player,options)||this).on(player,"fullscreenchange",(function(e){return _this.handleFullscreenChange(e)})),!1===document_default()[player.fsApi_.fullscreenEnabled]&&_this.disable(),_this}(0,inheritsLoose.Z)(FullscreenToggle,_Button);var _proto=FullscreenToggle.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-fullscreen-control "+_Button.prototype.buildCSSClass.call(this)},_proto.handleFullscreenChange=function handleFullscreenChange(event){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},_proto.handleClick=function handleClick(event){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},FullscreenToggle}(Button);FullscreenToggle.prototype.controlText_="Fullscreen",Component$1.registerComponent("FullscreenToggle",FullscreenToggle);var VolumeLevel=function(_Component){function VolumeLevel(){return _Component.apply(this,arguments)||this}return(0,inheritsLoose.Z)(VolumeLevel,_Component),VolumeLevel.prototype.createEl=function createEl(){var el=_Component.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return el.appendChild(_Component.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),el},VolumeLevel}(Component$1);Component$1.registerComponent("VolumeLevel",VolumeLevel);var VolumeLevelTooltip=function(_Component){function VolumeLevelTooltip(player,options){var _this;return(_this=_Component.call(this,player,options)||this).update=throttle(bind((0,assertThisInitialized.Z)(_this),_this.update),30),_this}(0,inheritsLoose.Z)(VolumeLevelTooltip,_Component);var _proto=VolumeLevelTooltip.prototype;return _proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},_proto.update=function update(rangeBarRect,rangeBarPoint,vertical,content){if(!vertical){var tooltipRect=getBoundingClientRect(this.el_),playerRect=getBoundingClientRect(this.player_.el()),volumeBarPointPx=rangeBarRect.width*rangeBarPoint;if(!playerRect||!tooltipRect)return;var spaceLeftOfPoint=rangeBarRect.left-playerRect.left+volumeBarPointPx,spaceRightOfPoint=rangeBarRect.width-volumeBarPointPx+(playerRect.right-rangeBarRect.right),pullTooltipBy=tooltipRect.width/2;spaceLeftOfPoint<pullTooltipBy?pullTooltipBy+=pullTooltipBy-spaceLeftOfPoint:spaceRightOfPoint<pullTooltipBy&&(pullTooltipBy=spaceRightOfPoint),pullTooltipBy<0?pullTooltipBy=0:pullTooltipBy>tooltipRect.width&&(pullTooltipBy=tooltipRect.width),this.el_.style.right="-"+pullTooltipBy+"px"}this.write(content+"%")},_proto.write=function write(content){textContent(this.el_,content)},_proto.updateVolume=function updateVolume(rangeBarRect,rangeBarPoint,vertical,volume,cb){var _this2=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(function(){_this2.update(rangeBarRect,rangeBarPoint,vertical,volume.toFixed(0)),cb&&cb()}))},VolumeLevelTooltip}(Component$1);Component$1.registerComponent("VolumeLevelTooltip",VolumeLevelTooltip);var MouseVolumeLevelDisplay=function(_Component){function MouseVolumeLevelDisplay(player,options){var _this;return(_this=_Component.call(this,player,options)||this).update=throttle(bind((0,assertThisInitialized.Z)(_this),_this.update),30),_this}(0,inheritsLoose.Z)(MouseVolumeLevelDisplay,_Component);var _proto=MouseVolumeLevelDisplay.prototype;return _proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},_proto.update=function update(rangeBarRect,rangeBarPoint,vertical){var _this2=this,volume=100*rangeBarPoint;this.getChild("volumeLevelTooltip").updateVolume(rangeBarRect,rangeBarPoint,vertical,volume,(function(){vertical?_this2.el_.style.bottom=rangeBarRect.height*rangeBarPoint+"px":_this2.el_.style.left=rangeBarRect.width*rangeBarPoint+"px"}))},MouseVolumeLevelDisplay}(Component$1);MouseVolumeLevelDisplay.prototype.options_={children:["volumeLevelTooltip"]},Component$1.registerComponent("MouseVolumeLevelDisplay",MouseVolumeLevelDisplay);var VolumeBar=function(_Slider){function VolumeBar(player,options){var _this;return(_this=_Slider.call(this,player,options)||this).on("slideractive",(function(e){return _this.updateLastVolume_(e)})),_this.on(player,"volumechange",(function(e){return _this.updateARIAAttributes(e)})),player.ready((function(){return _this.updateARIAAttributes()})),_this}(0,inheritsLoose.Z)(VolumeBar,_Slider);var _proto=VolumeBar.prototype;return _proto.createEl=function createEl(){return _Slider.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},_proto.handleMouseDown=function handleMouseDown(event){isSingleLeftClick(event)&&_Slider.prototype.handleMouseDown.call(this,event)},_proto.handleMouseMove=function handleMouseMove(event){var mouseVolumeLevelDisplay=this.getChild("mouseVolumeLevelDisplay");if(mouseVolumeLevelDisplay){var volumeBarEl=this.el(),volumeBarRect=getBoundingClientRect(volumeBarEl),vertical=this.vertical(),volumeBarPoint=getPointerPosition(volumeBarEl,event);volumeBarPoint=vertical?volumeBarPoint.y:volumeBarPoint.x,volumeBarPoint=clamp(volumeBarPoint,0,1),mouseVolumeLevelDisplay.update(volumeBarRect,volumeBarPoint,vertical)}isSingleLeftClick(event)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(event)))},_proto.checkMuted=function checkMuted(){this.player_.muted()&&this.player_.muted(!1)},_proto.getPercent=function getPercent(){return this.player_.muted()?0:this.player_.volume()},_proto.stepForward=function stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},_proto.stepBack=function stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},_proto.updateARIAAttributes=function updateARIAAttributes(event){var ariaValue=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",ariaValue),this.el_.setAttribute("aria-valuetext",ariaValue+"%")},_proto.volumeAsPercentage_=function volumeAsPercentage_(){return Math.round(100*this.player_.volume())},_proto.updateLastVolume_=function updateLastVolume_(){var _this2=this,volumeBeforeDrag=this.player_.volume();this.one("sliderinactive",(function(){0===_this2.player_.volume()&&_this2.player_.lastVolume_(volumeBeforeDrag)}))},VolumeBar}(Slider);VolumeBar.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},IS_IOS||IS_ANDROID||VolumeBar.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),VolumeBar.prototype.playerEvent="volumechange",Component$1.registerComponent("VolumeBar",VolumeBar);var VolumeControl=function(_Component){function VolumeControl(player,options){var _this;return void 0===options&&(options={}),options.vertical=options.vertical||!1,(void 0===options.volumeBar||isPlain(options.volumeBar))&&(options.volumeBar=options.volumeBar||{},options.volumeBar.vertical=options.vertical),_this=_Component.call(this,player,options)||this,function checkVolumeSupport(self,player){player.tech_&&!player.tech_.featuresVolumeControl&&self.addClass("vjs-hidden"),self.on(player,"loadstart",(function(){player.tech_.featuresVolumeControl?self.removeClass("vjs-hidden"):self.addClass("vjs-hidden")}))}((0,assertThisInitialized.Z)(_this),player),_this.throttledHandleMouseMove=throttle(bind((0,assertThisInitialized.Z)(_this),_this.handleMouseMove),30),_this.handleMouseUpHandler_=function(e){return _this.handleMouseUp(e)},_this.on("mousedown",(function(e){return _this.handleMouseDown(e)})),_this.on("touchstart",(function(e){return _this.handleMouseDown(e)})),_this.on("mousemove",(function(e){return _this.handleMouseMove(e)})),_this.on(_this.volumeBar,["focus","slideractive"],(function(){_this.volumeBar.addClass("vjs-slider-active"),_this.addClass("vjs-slider-active"),_this.trigger("slideractive")})),_this.on(_this.volumeBar,["blur","sliderinactive"],(function(){_this.volumeBar.removeClass("vjs-slider-active"),_this.removeClass("vjs-slider-active"),_this.trigger("sliderinactive")})),_this}(0,inheritsLoose.Z)(VolumeControl,_Component);var _proto=VolumeControl.prototype;return _proto.createEl=function createEl(){var orientationClass="vjs-volume-horizontal";return this.options_.vertical&&(orientationClass="vjs-volume-vertical"),_Component.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+orientationClass})},_proto.handleMouseDown=function handleMouseDown(event){var doc=this.el_.ownerDocument;this.on(doc,"mousemove",this.throttledHandleMouseMove),this.on(doc,"touchmove",this.throttledHandleMouseMove),this.on(doc,"mouseup",this.handleMouseUpHandler_),this.on(doc,"touchend",this.handleMouseUpHandler_)},_proto.handleMouseUp=function handleMouseUp(event){var doc=this.el_.ownerDocument;this.off(doc,"mousemove",this.throttledHandleMouseMove),this.off(doc,"touchmove",this.throttledHandleMouseMove),this.off(doc,"mouseup",this.handleMouseUpHandler_),this.off(doc,"touchend",this.handleMouseUpHandler_)},_proto.handleMouseMove=function handleMouseMove(event){this.volumeBar.handleMouseMove(event)},VolumeControl}(Component$1);VolumeControl.prototype.options_={children:["volumeBar"]},Component$1.registerComponent("VolumeControl",VolumeControl);var MuteToggle=function(_Button){function MuteToggle(player,options){var _this;return _this=_Button.call(this,player,options)||this,function checkMuteSupport(self,player){player.tech_&&!player.tech_.featuresMuteControl&&self.addClass("vjs-hidden"),self.on(player,"loadstart",(function(){player.tech_.featuresMuteControl?self.removeClass("vjs-hidden"):self.addClass("vjs-hidden")}))}((0,assertThisInitialized.Z)(_this),player),_this.on(player,["loadstart","volumechange"],(function(e){return _this.update(e)})),_this}(0,inheritsLoose.Z)(MuteToggle,_Button);var _proto=MuteToggle.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-mute-control "+_Button.prototype.buildCSSClass.call(this)},_proto.handleClick=function handleClick(event){var vol=this.player_.volume(),lastVolume=this.player_.lastVolume_();if(0===vol){var volumeToSet=lastVolume<.1?.1:lastVolume;this.player_.volume(volumeToSet),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},_proto.update=function update(event){this.updateIcon_(),this.updateControlText_()},_proto.updateIcon_=function updateIcon_(){var vol=this.player_.volume(),level=3;IS_IOS&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===vol||this.player_.muted()?level=0:vol<.33?level=1:vol<.67&&(level=2);for(var i=0;i<4;i++)removeClass(this.el_,"vjs-vol-"+i);addClass(this.el_,"vjs-vol-"+level)},_proto.updateControlText_=function updateControlText_(){var text=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==text&&this.controlText(text)},MuteToggle}(Button);MuteToggle.prototype.controlText_="Mute",Component$1.registerComponent("MuteToggle",MuteToggle);var VolumePanel=function(_Component){function VolumePanel(player,options){var _this;return void 0===options&&(options={}),void 0!==options.inline?options.inline=options.inline:options.inline=!0,(void 0===options.volumeControl||isPlain(options.volumeControl))&&(options.volumeControl=options.volumeControl||{},options.volumeControl.vertical=!options.inline),(_this=_Component.call(this,player,options)||this).handleKeyPressHandler_=function(e){return _this.handleKeyPress(e)},_this.on(player,["loadstart"],(function(e){return _this.volumePanelState_(e)})),_this.on(_this.muteToggle,"keyup",(function(e){return _this.handleKeyPress(e)})),_this.on(_this.volumeControl,"keyup",(function(e){return _this.handleVolumeControlKeyUp(e)})),_this.on("keydown",(function(e){return _this.handleKeyPress(e)})),_this.on("mouseover",(function(e){return _this.handleMouseOver(e)})),_this.on("mouseout",(function(e){return _this.handleMouseOut(e)})),_this.on(_this.volumeControl,["slideractive"],_this.sliderActive_),_this.on(_this.volumeControl,["sliderinactive"],_this.sliderInactive_),_this}(0,inheritsLoose.Z)(VolumePanel,_Component);var _proto=VolumePanel.prototype;return _proto.sliderActive_=function sliderActive_(){this.addClass("vjs-slider-active")},_proto.sliderInactive_=function sliderInactive_(){this.removeClass("vjs-slider-active")},_proto.volumePanelState_=function volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},_proto.createEl=function createEl(){var orientationClass="vjs-volume-panel-horizontal";return this.options_.inline||(orientationClass="vjs-volume-panel-vertical"),_Component.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+orientationClass})},_proto.dispose=function dispose(){this.handleMouseOut(),_Component.prototype.dispose.call(this)},_proto.handleVolumeControlKeyUp=function handleVolumeControlKeyUp(event){keycode_default().isEventKey(event,"Esc")&&this.muteToggle.focus()},_proto.handleMouseOver=function handleMouseOver(event){this.addClass("vjs-hover"),on(document_default(),"keyup",this.handleKeyPressHandler_)},_proto.handleMouseOut=function handleMouseOut(event){this.removeClass("vjs-hover"),off(document_default(),"keyup",this.handleKeyPressHandler_)},_proto.handleKeyPress=function handleKeyPress(event){keycode_default().isEventKey(event,"Esc")&&this.handleMouseOut()},VolumePanel}(Component$1);VolumePanel.prototype.options_={children:["muteToggle","volumeControl"]},Component$1.registerComponent("VolumePanel",VolumePanel);var Menu=function(_Component){function Menu(player,options){var _this;return _this=_Component.call(this,player,options)||this,options&&(_this.menuButton_=options.menuButton),_this.focusedChild_=-1,_this.on("keydown",(function(e){return _this.handleKeyDown(e)})),_this.boundHandleBlur_=function(e){return _this.handleBlur(e)},_this.boundHandleTapClick_=function(e){return _this.handleTapClick(e)},_this}(0,inheritsLoose.Z)(Menu,_Component);var _proto=Menu.prototype;return _proto.addEventListenerForItem=function addEventListenerForItem(component){component instanceof Component$1&&(this.on(component,"blur",this.boundHandleBlur_),this.on(component,["tap","click"],this.boundHandleTapClick_))},_proto.removeEventListenerForItem=function removeEventListenerForItem(component){component instanceof Component$1&&(this.off(component,"blur",this.boundHandleBlur_),this.off(component,["tap","click"],this.boundHandleTapClick_))},_proto.removeChild=function removeChild(component){"string"==typeof component&&(component=this.getChild(component)),this.removeEventListenerForItem(component),_Component.prototype.removeChild.call(this,component)},_proto.addItem=function addItem(component){var childComponent=this.addChild(component);childComponent&&this.addEventListenerForItem(childComponent)},_proto.createEl=function createEl$1(){var contentElType=this.options_.contentElType||"ul";this.contentEl_=createEl(contentElType,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var el=_Component.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return el.appendChild(this.contentEl_),on(el,"click",(function(event){event.preventDefault(),event.stopImmediatePropagation()})),el},_proto.dispose=function dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,_Component.prototype.dispose.call(this)},_proto.handleBlur=function handleBlur(event){var relatedTarget=event.relatedTarget||document_default().activeElement;if(!this.children().some((function(element){return element.el()===relatedTarget}))){var btn=this.menuButton_;btn&&btn.buttonPressed_&&relatedTarget!==btn.el().firstChild&&btn.unpressButton()}},_proto.handleTapClick=function handleTapClick(event){if(this.menuButton_){this.menuButton_.unpressButton();var childComponents=this.children();if(!Array.isArray(childComponents))return;var foundComponent=childComponents.filter((function(component){return component.el()===event.target}))[0];if(!foundComponent)return;"CaptionSettingsMenuItem"!==foundComponent.name()&&this.menuButton_.focus()}},_proto.handleKeyDown=function handleKeyDown(event){keycode_default().isEventKey(event,"Left")||keycode_default().isEventKey(event,"Down")?(event.preventDefault(),event.stopPropagation(),this.stepForward()):(keycode_default().isEventKey(event,"Right")||keycode_default().isEventKey(event,"Up"))&&(event.preventDefault(),event.stopPropagation(),this.stepBack())},_proto.stepForward=function stepForward(){var stepChild=0;void 0!==this.focusedChild_&&(stepChild=this.focusedChild_+1),this.focus(stepChild)},_proto.stepBack=function stepBack(){var stepChild=0;void 0!==this.focusedChild_&&(stepChild=this.focusedChild_-1),this.focus(stepChild)},_proto.focus=function focus(item){void 0===item&&(item=0);var children=this.children().slice();children.length&&children[0].hasClass("vjs-menu-title")&&children.shift(),children.length>0&&(item<0?item=0:item>=children.length&&(item=children.length-1),this.focusedChild_=item,children[item].el_.focus())},Menu}(Component$1);Component$1.registerComponent("Menu",Menu);var MenuButton=function(_Component){function MenuButton(player,options){var _this;void 0===options&&(options={}),(_this=_Component.call(this,player,options)||this).menuButton_=new Button(player,options),_this.menuButton_.controlText(_this.controlText_),_this.menuButton_.el_.setAttribute("aria-haspopup","true");var buttonClass=Button.prototype.buildCSSClass();_this.menuButton_.el_.className=_this.buildCSSClass()+" "+buttonClass,_this.menuButton_.removeClass("vjs-control"),_this.addChild(_this.menuButton_),_this.update(),_this.enabled_=!0;var handleClick=function handleClick(e){return _this.handleClick(e)};return _this.handleMenuKeyUp_=function(e){return _this.handleMenuKeyUp(e)},_this.on(_this.menuButton_,"tap",handleClick),_this.on(_this.menuButton_,"click",handleClick),_this.on(_this.menuButton_,"keydown",(function(e){return _this.handleKeyDown(e)})),_this.on(_this.menuButton_,"mouseenter",(function(){_this.addClass("vjs-hover"),_this.menu.show(),on(document_default(),"keyup",_this.handleMenuKeyUp_)})),_this.on("mouseleave",(function(e){return _this.handleMouseLeave(e)})),_this.on("keydown",(function(e){return _this.handleSubmenuKeyDown(e)})),_this}(0,inheritsLoose.Z)(MenuButton,_Component);var _proto=MenuButton.prototype;return _proto.update=function update(){var menu=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=menu,this.addChild(menu),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},_proto.createMenu=function createMenu(){var menu=new Menu(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var titleEl=createEl("li",{className:"vjs-menu-title",textContent:toTitleCase$1(this.options_.title),tabIndex:-1}),titleComponent=new Component$1(this.player_,{el:titleEl});menu.addItem(titleComponent)}if(this.items=this.createItems(),this.items)for(var i=0;i<this.items.length;i++)menu.addItem(this.items[i]);return menu},_proto.createItems=function createItems(){},_proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},_proto.buildWrapperCSSClass=function buildWrapperCSSClass(){var menuButtonClass="vjs-menu-button";return!0===this.options_.inline?menuButtonClass+="-inline":menuButtonClass+="-popup","vjs-menu-button "+menuButtonClass+" "+Button.prototype.buildCSSClass()+" "+_Component.prototype.buildCSSClass.call(this)},_proto.buildCSSClass=function buildCSSClass(){var menuButtonClass="vjs-menu-button";return!0===this.options_.inline?menuButtonClass+="-inline":menuButtonClass+="-popup","vjs-menu-button "+menuButtonClass+" "+_Component.prototype.buildCSSClass.call(this)},_proto.controlText=function controlText(text,el){return void 0===el&&(el=this.menuButton_.el()),this.menuButton_.controlText(text,el)},_proto.dispose=function dispose(){this.handleMouseLeave(),_Component.prototype.dispose.call(this)},_proto.handleClick=function handleClick(event){this.buttonPressed_?this.unpressButton():this.pressButton()},_proto.handleMouseLeave=function handleMouseLeave(event){this.removeClass("vjs-hover"),off(document_default(),"keyup",this.handleMenuKeyUp_)},_proto.focus=function focus(){this.menuButton_.focus()},_proto.blur=function blur(){this.menuButton_.blur()},_proto.handleKeyDown=function handleKeyDown(event){keycode_default().isEventKey(event,"Esc")||keycode_default().isEventKey(event,"Tab")?(this.buttonPressed_&&this.unpressButton(),keycode_default().isEventKey(event,"Tab")||(event.preventDefault(),this.menuButton_.focus())):(keycode_default().isEventKey(event,"Up")||keycode_default().isEventKey(event,"Down"))&&(this.buttonPressed_||(event.preventDefault(),this.pressButton()))},_proto.handleMenuKeyUp=function handleMenuKeyUp(event){(keycode_default().isEventKey(event,"Esc")||keycode_default().isEventKey(event,"Tab"))&&this.removeClass("vjs-hover")},_proto.handleSubmenuKeyPress=function handleSubmenuKeyPress(event){this.handleSubmenuKeyDown(event)},_proto.handleSubmenuKeyDown=function handleSubmenuKeyDown(event){(keycode_default().isEventKey(event,"Esc")||keycode_default().isEventKey(event,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),keycode_default().isEventKey(event,"Tab")||(event.preventDefault(),this.menuButton_.focus()))},_proto.pressButton=function pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),IS_IOS&&isInFrame())return;this.menu.focus()}},_proto.unpressButton=function unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},_proto.disable=function disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},_proto.enable=function enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},MenuButton}(Component$1);Component$1.registerComponent("MenuButton",MenuButton);var TrackButton=function(_MenuButton){function TrackButton(player,options){var _this,tracks=options.tracks;if((_this=_MenuButton.call(this,player,options)||this).items.length<=1&&_this.hide(),!tracks)return(0,assertThisInitialized.Z)(_this);var updateHandler=bind((0,assertThisInitialized.Z)(_this),_this.update);return tracks.addEventListener("removetrack",updateHandler),tracks.addEventListener("addtrack",updateHandler),tracks.addEventListener("labelchange",updateHandler),_this.player_.on("ready",updateHandler),_this.player_.on("dispose",(function(){tracks.removeEventListener("removetrack",updateHandler),tracks.removeEventListener("addtrack",updateHandler),tracks.removeEventListener("labelchange",updateHandler)})),_this}return(0,inheritsLoose.Z)(TrackButton,_MenuButton),TrackButton}(MenuButton);Component$1.registerComponent("TrackButton",TrackButton);var MenuKeys=["Tab","Esc","Up","Down","Right","Left"],MenuItem=function(_ClickableComponent){function MenuItem(player,options){var _this;return(_this=_ClickableComponent.call(this,player,options)||this).selectable=options.selectable,_this.isSelected_=options.selected||!1,_this.multiSelectable=options.multiSelectable,_this.selected(_this.isSelected_),_this.selectable?_this.multiSelectable?_this.el_.setAttribute("role","menuitemcheckbox"):_this.el_.setAttribute("role","menuitemradio"):_this.el_.setAttribute("role","menuitem"),_this}(0,inheritsLoose.Z)(MenuItem,_ClickableComponent);var _proto=MenuItem.prototype;return _proto.createEl=function createEl$1(type,props,attrs){this.nonIconControl=!0;var el=_ClickableComponent.prototype.createEl.call(this,"li",video_es_assign({className:"vjs-menu-item",tabIndex:-1},props),attrs);return el.replaceChild(createEl("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),el.querySelector(".vjs-icon-placeholder")),el},_proto.handleKeyDown=function handleKeyDown(event){MenuKeys.some((function(key){return keycode_default().isEventKey(event,key)}))||_ClickableComponent.prototype.handleKeyDown.call(this,event)},_proto.handleClick=function handleClick(event){this.selected(!0)},_proto.selected=function selected(_selected){this.selectable&&(_selected?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},MenuItem}(ClickableComponent);Component$1.registerComponent("MenuItem",MenuItem);var TextTrackMenuItem=function(_MenuItem){function TextTrackMenuItem(player,options){var _this,track=options.track,tracks=player.textTracks();options.label=track.label||track.language||"Unknown",options.selected="showing"===track.mode,(_this=_MenuItem.call(this,player,options)||this).track=track,_this.kinds=(options.kinds||[options.kind||_this.track.kind]).filter(Boolean);var event,changeHandler=function changeHandler(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this.handleTracksChange.apply((0,assertThisInitialized.Z)(_this),args)},selectedLanguageChangeHandler=function selectedLanguageChangeHandler(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];_this.handleSelectedLanguageChange.apply((0,assertThisInitialized.Z)(_this),args)};(player.on(["loadstart","texttrackchange"],changeHandler),tracks.addEventListener("change",changeHandler),tracks.addEventListener("selectedlanguagechange",selectedLanguageChangeHandler),_this.on("dispose",(function(){player.off(["loadstart","texttrackchange"],changeHandler),tracks.removeEventListener("change",changeHandler),tracks.removeEventListener("selectedlanguagechange",selectedLanguageChangeHandler)})),void 0===tracks.onchange)&&_this.on(["tap","click"],(function(){if("object"!=typeof window_default().Event)try{event=new(window_default().Event)("change")}catch(err){}event||(event=document_default().createEvent("Event")).initEvent("change",!0,!0),tracks.dispatchEvent(event)}));return _this.handleTracksChange(),_this}(0,inheritsLoose.Z)(TextTrackMenuItem,_MenuItem);var _proto=TextTrackMenuItem.prototype;return _proto.handleClick=function handleClick(event){var referenceTrack=this.track,tracks=this.player_.textTracks();if(_MenuItem.prototype.handleClick.call(this,event),tracks)for(var i=0;i<tracks.length;i++){var track=tracks[i];-1!==this.kinds.indexOf(track.kind)&&(track===referenceTrack?"showing"!==track.mode&&(track.mode="showing"):"disabled"!==track.mode&&(track.mode="disabled"))}},_proto.handleTracksChange=function handleTracksChange(event){var shouldBeSelected="showing"===this.track.mode;shouldBeSelected!==this.isSelected_&&this.selected(shouldBeSelected)},_proto.handleSelectedLanguageChange=function handleSelectedLanguageChange(event){if("showing"===this.track.mode){var selectedLanguage=this.player_.cache_.selectedLanguage;if(selectedLanguage&&selectedLanguage.enabled&&selectedLanguage.language===this.track.language&&selectedLanguage.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},_proto.dispose=function dispose(){this.track=null,_MenuItem.prototype.dispose.call(this)},TextTrackMenuItem}(MenuItem);Component$1.registerComponent("TextTrackMenuItem",TextTrackMenuItem);var OffTextTrackMenuItem=function(_TextTrackMenuItem){function OffTextTrackMenuItem(player,options){return options.track={player,kind:options.kind,kinds:options.kinds,default:!1,mode:"disabled"},options.kinds||(options.kinds=[options.kind]),options.label?options.track.label=options.label:options.track.label=options.kinds.join(" and ")+" off",options.selectable=!0,options.multiSelectable=!1,_TextTrackMenuItem.call(this,player,options)||this}(0,inheritsLoose.Z)(OffTextTrackMenuItem,_TextTrackMenuItem);var _proto=OffTextTrackMenuItem.prototype;return _proto.handleTracksChange=function handleTracksChange(event){for(var tracks=this.player().textTracks(),shouldBeSelected=!0,i=0,l=tracks.length;i<l;i++){var track=tracks[i];if(this.options_.kinds.indexOf(track.kind)>-1&&"showing"===track.mode){shouldBeSelected=!1;break}}shouldBeSelected!==this.isSelected_&&this.selected(shouldBeSelected)},_proto.handleSelectedLanguageChange=function handleSelectedLanguageChange(event){for(var tracks=this.player().textTracks(),allHidden=!0,i=0,l=tracks.length;i<l;i++){var track=tracks[i];if(["captions","descriptions","subtitles"].indexOf(track.kind)>-1&&"showing"===track.mode){allHidden=!1;break}}allHidden&&(this.player_.cache_.selectedLanguage={enabled:!1})},OffTextTrackMenuItem}(TextTrackMenuItem);Component$1.registerComponent("OffTextTrackMenuItem",OffTextTrackMenuItem);var TextTrackButton=function(_TrackButton){function TextTrackButton(player,options){return void 0===options&&(options={}),options.tracks=player.textTracks(),_TrackButton.call(this,player,options)||this}return(0,inheritsLoose.Z)(TextTrackButton,_TrackButton),TextTrackButton.prototype.createItems=function createItems(items,TrackMenuItem){var label;void 0===items&&(items=[]),void 0===TrackMenuItem&&(TrackMenuItem=TextTrackMenuItem),this.label_&&(label=this.label_+" off"),items.push(new OffTextTrackMenuItem(this.player_,{kinds:this.kinds_,kind:this.kind_,label})),this.hideThreshold_+=1;var tracks=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<tracks.length;i++){var track=tracks[i];if(this.kinds_.indexOf(track.kind)>-1){var item=new TrackMenuItem(this.player_,{track,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});item.addClass("vjs-"+track.kind+"-menu-item"),items.push(item)}}return items},TextTrackButton}(TrackButton);Component$1.registerComponent("TextTrackButton",TextTrackButton);var ChaptersTrackMenuItem=function(_MenuItem){function ChaptersTrackMenuItem(player,options){var _this,track=options.track,cue=options.cue,currentTime=player.currentTime();return options.selectable=!0,options.multiSelectable=!1,options.label=cue.text,options.selected=cue.startTime<=currentTime&¤tTime<cue.endTime,(_this=_MenuItem.call(this,player,options)||this).track=track,_this.cue=cue,track.addEventListener("cuechange",bind((0,assertThisInitialized.Z)(_this),_this.update)),_this}(0,inheritsLoose.Z)(ChaptersTrackMenuItem,_MenuItem);var _proto=ChaptersTrackMenuItem.prototype;return _proto.handleClick=function handleClick(event){_MenuItem.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},_proto.update=function update(event){var cue=this.cue,currentTime=this.player_.currentTime();this.selected(cue.startTime<=currentTime&¤tTime<cue.endTime)},ChaptersTrackMenuItem}(MenuItem);Component$1.registerComponent("ChaptersTrackMenuItem",ChaptersTrackMenuItem);var ChaptersButton=function(_TextTrackButton){function ChaptersButton(player,options,ready){return _TextTrackButton.call(this,player,options,ready)||this}(0,inheritsLoose.Z)(ChaptersButton,_TextTrackButton);var _proto=ChaptersButton.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-chapters-button "+_TextTrackButton.prototype.buildCSSClass.call(this)},_proto.buildWrapperCSSClass=function buildWrapperCSSClass(){return"vjs-chapters-button "+_TextTrackButton.prototype.buildWrapperCSSClass.call(this)},_proto.update=function update(event){this.track_&&(!event||"addtrack"!==event.type&&"removetrack"!==event.type)||this.setTrack(this.findChaptersTrack()),_TextTrackButton.prototype.update.call(this)},_proto.setTrack=function setTrack(track){if(this.track_!==track){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var remoteTextTrackEl=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);remoteTextTrackEl&&remoteTextTrackEl.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=track,this.track_){this.track_.mode="hidden";var _remoteTextTrackEl=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);_remoteTextTrackEl&&_remoteTextTrackEl.addEventListener("load",this.updateHandler_)}}},_proto.findChaptersTrack=function findChaptersTrack(){for(var tracks=this.player_.textTracks()||[],i=tracks.length-1;i>=0;i--){var track=tracks[i];if(track.kind===this.kind_)return track}},_proto.getMenuCaption=function getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(toTitleCase$1(this.kind_))},_proto.createMenu=function createMenu(){return this.options_.title=this.getMenuCaption(),_TextTrackButton.prototype.createMenu.call(this)},_proto.createItems=function createItems(){var items=[];if(!this.track_)return items;var cues=this.track_.cues;if(!cues)return items;for(var i=0,l=cues.length;i<l;i++){var cue=cues[i],mi=new ChaptersTrackMenuItem(this.player_,{track:this.track_,cue});items.push(mi)}return items},ChaptersButton}(TextTrackButton);ChaptersButton.prototype.kind_="chapters",ChaptersButton.prototype.controlText_="Chapters",Component$1.registerComponent("ChaptersButton",ChaptersButton);var DescriptionsButton=function(_TextTrackButton){function DescriptionsButton(player,options,ready){var _this;_this=_TextTrackButton.call(this,player,options,ready)||this;var tracks=player.textTracks(),changeHandler=bind((0,assertThisInitialized.Z)(_this),_this.handleTracksChange);return tracks.addEventListener("change",changeHandler),_this.on("dispose",(function(){tracks.removeEventListener("change",changeHandler)})),_this}(0,inheritsLoose.Z)(DescriptionsButton,_TextTrackButton);var _proto=DescriptionsButton.prototype;return _proto.handleTracksChange=function handleTracksChange(event){for(var tracks=this.player().textTracks(),disabled=!1,i=0,l=tracks.length;i<l;i++){var track=tracks[i];if(track.kind!==this.kind_&&"showing"===track.mode){disabled=!0;break}}disabled?this.disable():this.enable()},_proto.buildCSSClass=function buildCSSClass(){return"vjs-descriptions-button "+_TextTrackButton.prototype.buildCSSClass.call(this)},_proto.buildWrapperCSSClass=function buildWrapperCSSClass(){return"vjs-descriptions-button "+_TextTrackButton.prototype.buildWrapperCSSClass.call(this)},DescriptionsButton}(TextTrackButton);DescriptionsButton.prototype.kind_="descriptions",DescriptionsButton.prototype.controlText_="Descriptions",Component$1.registerComponent("DescriptionsButton",DescriptionsButton);var SubtitlesButton=function(_TextTrackButton){function SubtitlesButton(player,options,ready){return _TextTrackButton.call(this,player,options,ready)||this}(0,inheritsLoose.Z)(SubtitlesButton,_TextTrackButton);var _proto=SubtitlesButton.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-subtitles-button "+_TextTrackButton.prototype.buildCSSClass.call(this)},_proto.buildWrapperCSSClass=function buildWrapperCSSClass(){return"vjs-subtitles-button "+_TextTrackButton.prototype.buildWrapperCSSClass.call(this)},SubtitlesButton}(TextTrackButton);SubtitlesButton.prototype.kind_="subtitles",SubtitlesButton.prototype.controlText_="Subtitles",Component$1.registerComponent("SubtitlesButton",SubtitlesButton);var CaptionSettingsMenuItem=function(_TextTrackMenuItem){function CaptionSettingsMenuItem(player,options){var _this;return options.track={player,kind:options.kind,label:options.kind+" settings",selectable:!1,default:!1,mode:"disabled"},options.selectable=!1,options.name="CaptionSettingsMenuItem",(_this=_TextTrackMenuItem.call(this,player,options)||this).addClass("vjs-texttrack-settings"),_this.controlText(", opens "+options.kind+" settings dialog"),_this}return(0,inheritsLoose.Z)(CaptionSettingsMenuItem,_TextTrackMenuItem),CaptionSettingsMenuItem.prototype.handleClick=function handleClick(event){this.player().getChild("textTrackSettings").open()},CaptionSettingsMenuItem}(TextTrackMenuItem);Component$1.registerComponent("CaptionSettingsMenuItem",CaptionSettingsMenuItem);var CaptionsButton=function(_TextTrackButton){function CaptionsButton(player,options,ready){return _TextTrackButton.call(this,player,options,ready)||this}(0,inheritsLoose.Z)(CaptionsButton,_TextTrackButton);var _proto=CaptionsButton.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-captions-button "+_TextTrackButton.prototype.buildCSSClass.call(this)},_proto.buildWrapperCSSClass=function buildWrapperCSSClass(){return"vjs-captions-button "+_TextTrackButton.prototype.buildWrapperCSSClass.call(this)},_proto.createItems=function createItems(){var items=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(items.push(new CaptionSettingsMenuItem(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),_TextTrackButton.prototype.createItems.call(this,items)},CaptionsButton}(TextTrackButton);CaptionsButton.prototype.kind_="captions",CaptionsButton.prototype.controlText_="Captions",Component$1.registerComponent("CaptionsButton",CaptionsButton);var SubsCapsMenuItem=function(_TextTrackMenuItem){function SubsCapsMenuItem(){return _TextTrackMenuItem.apply(this,arguments)||this}return(0,inheritsLoose.Z)(SubsCapsMenuItem,_TextTrackMenuItem),SubsCapsMenuItem.prototype.createEl=function createEl$1(type,props,attrs){var el=_TextTrackMenuItem.prototype.createEl.call(this,type,props,attrs),parentSpan=el.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(parentSpan.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),parentSpan.appendChild(createEl("span",{className:"vjs-control-text",textContent:" "+this.localize("Captions")}))),el},SubsCapsMenuItem}(TextTrackMenuItem);Component$1.registerComponent("SubsCapsMenuItem",SubsCapsMenuItem);var SubsCapsButton=function(_TextTrackButton){function SubsCapsButton(player,options){var _this;return void 0===options&&(options={}),(_this=_TextTrackButton.call(this,player,options)||this).label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(_this.player_.language_)>-1&&(_this.label_="captions"),_this.menuButton_.controlText(toTitleCase$1(_this.label_)),_this}(0,inheritsLoose.Z)(SubsCapsButton,_TextTrackButton);var _proto=SubsCapsButton.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-subs-caps-button "+_TextTrackButton.prototype.buildCSSClass.call(this)},_proto.buildWrapperCSSClass=function buildWrapperCSSClass(){return"vjs-subs-caps-button "+_TextTrackButton.prototype.buildWrapperCSSClass.call(this)},_proto.createItems=function createItems(){var items=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(items.push(new CaptionSettingsMenuItem(this.player_,{kind:this.label_})),this.hideThreshold_+=1),items=_TextTrackButton.prototype.createItems.call(this,items,SubsCapsMenuItem)},SubsCapsButton}(TextTrackButton);SubsCapsButton.prototype.kinds_=["captions","subtitles"],SubsCapsButton.prototype.controlText_="Subtitles",Component$1.registerComponent("SubsCapsButton",SubsCapsButton);var AudioTrackMenuItem=function(_MenuItem){function AudioTrackMenuItem(player,options){var _this,track=options.track,tracks=player.audioTracks();options.label=track.label||track.language||"Unknown",options.selected=track.enabled,(_this=_MenuItem.call(this,player,options)||this).track=track,_this.addClass("vjs-"+track.kind+"-menu-item");var changeHandler=function changeHandler(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this.handleTracksChange.apply((0,assertThisInitialized.Z)(_this),args)};return tracks.addEventListener("change",changeHandler),_this.on("dispose",(function(){tracks.removeEventListener("change",changeHandler)})),_this}(0,inheritsLoose.Z)(AudioTrackMenuItem,_MenuItem);var _proto=AudioTrackMenuItem.prototype;return _proto.createEl=function createEl$1(type,props,attrs){var el=_MenuItem.prototype.createEl.call(this,type,props,attrs),parentSpan=el.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(parentSpan.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),parentSpan.appendChild(createEl("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),el},_proto.handleClick=function handleClick(event){if(_MenuItem.prototype.handleClick.call(this,event),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks)for(var tracks=this.player_.audioTracks(),i=0;i<tracks.length;i++){var track=tracks[i];track!==this.track&&(track.enabled=track===this.track)}},_proto.handleTracksChange=function handleTracksChange(event){this.selected(this.track.enabled)},AudioTrackMenuItem}(MenuItem);Component$1.registerComponent("AudioTrackMenuItem",AudioTrackMenuItem);var AudioTrackButton=function(_TrackButton){function AudioTrackButton(player,options){return void 0===options&&(options={}),options.tracks=player.audioTracks(),_TrackButton.call(this,player,options)||this}(0,inheritsLoose.Z)(AudioTrackButton,_TrackButton);var _proto=AudioTrackButton.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-audio-button "+_TrackButton.prototype.buildCSSClass.call(this)},_proto.buildWrapperCSSClass=function buildWrapperCSSClass(){return"vjs-audio-button "+_TrackButton.prototype.buildWrapperCSSClass.call(this)},_proto.createItems=function createItems(items){void 0===items&&(items=[]),this.hideThreshold_=1;for(var tracks=this.player_.audioTracks(),i=0;i<tracks.length;i++){var track=tracks[i];items.push(new AudioTrackMenuItem(this.player_,{track,selectable:!0,multiSelectable:!1}))}return items},AudioTrackButton}(TrackButton);AudioTrackButton.prototype.controlText_="Audio Track",Component$1.registerComponent("AudioTrackButton",AudioTrackButton);var PlaybackRateMenuItem=function(_MenuItem){function PlaybackRateMenuItem(player,options){var _this,label=options.rate,rate=parseFloat(label,10);return options.label=label,options.selected=rate===player.playbackRate(),options.selectable=!0,options.multiSelectable=!1,(_this=_MenuItem.call(this,player,options)||this).label=label,_this.rate=rate,_this.on(player,"ratechange",(function(e){return _this.update(e)})),_this}(0,inheritsLoose.Z)(PlaybackRateMenuItem,_MenuItem);var _proto=PlaybackRateMenuItem.prototype;return _proto.handleClick=function handleClick(event){_MenuItem.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},_proto.update=function update(event){this.selected(this.player().playbackRate()===this.rate)},PlaybackRateMenuItem}(MenuItem);PlaybackRateMenuItem.prototype.contentElType="button",Component$1.registerComponent("PlaybackRateMenuItem",PlaybackRateMenuItem);var PlaybackRateMenuButton=function(_MenuButton){function PlaybackRateMenuButton(player,options){var _this;return(_this=_MenuButton.call(this,player,options)||this).menuButton_.el_.setAttribute("aria-describedby",_this.labelElId_),_this.updateVisibility(),_this.updateLabel(),_this.on(player,"loadstart",(function(e){return _this.updateVisibility(e)})),_this.on(player,"ratechange",(function(e){return _this.updateLabel(e)})),_this.on(player,"playbackrateschange",(function(e){return _this.handlePlaybackRateschange(e)})),_this}(0,inheritsLoose.Z)(PlaybackRateMenuButton,_MenuButton);var _proto=PlaybackRateMenuButton.prototype;return _proto.createEl=function createEl$1(){var el=_MenuButton.prototype.createEl.call(this);return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=createEl("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),el.appendChild(this.labelEl_),el},_proto.dispose=function dispose(){this.labelEl_=null,_MenuButton.prototype.dispose.call(this)},_proto.buildCSSClass=function buildCSSClass(){return"vjs-playback-rate "+_MenuButton.prototype.buildCSSClass.call(this)},_proto.buildWrapperCSSClass=function buildWrapperCSSClass(){return"vjs-playback-rate "+_MenuButton.prototype.buildWrapperCSSClass.call(this)},_proto.createItems=function createItems(){for(var rates=this.playbackRates(),items=[],i=rates.length-1;i>=0;i--)items.push(new PlaybackRateMenuItem(this.player(),{rate:rates[i]+"x"}));return items},_proto.updateARIAAttributes=function updateARIAAttributes(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},_proto.handleClick=function handleClick(event){var currentRate=this.player().playbackRate(),rates=this.playbackRates(),newIndex=(rates.indexOf(currentRate)+1)%rates.length;this.player().playbackRate(rates[newIndex])},_proto.handlePlaybackRateschange=function handlePlaybackRateschange(event){this.update()},_proto.playbackRates=function playbackRates(){var player=this.player();return player.playbackRates&&player.playbackRates()||[]},_proto.playbackRateSupported=function playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},_proto.updateVisibility=function updateVisibility(event){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},_proto.updateLabel=function updateLabel(event){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},PlaybackRateMenuButton}(MenuButton);PlaybackRateMenuButton.prototype.controlText_="Playback Rate",Component$1.registerComponent("PlaybackRateMenuButton",PlaybackRateMenuButton);var Spacer=function(_Component){function Spacer(){return _Component.apply(this,arguments)||this}(0,inheritsLoose.Z)(Spacer,_Component);var _proto=Spacer.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-spacer "+_Component.prototype.buildCSSClass.call(this)},_proto.createEl=function createEl(tag,props,attributes){return void 0===tag&&(tag="div"),void 0===props&&(props={}),void 0===attributes&&(attributes={}),props.className||(props.className=this.buildCSSClass()),_Component.prototype.createEl.call(this,tag,props,attributes)},Spacer}(Component$1);Component$1.registerComponent("Spacer",Spacer);var CustomControlSpacer=function(_Spacer){function CustomControlSpacer(){return _Spacer.apply(this,arguments)||this}(0,inheritsLoose.Z)(CustomControlSpacer,_Spacer);var _proto=CustomControlSpacer.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-custom-control-spacer "+_Spacer.prototype.buildCSSClass.call(this)},_proto.createEl=function createEl(){return _Spacer.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:" "})},CustomControlSpacer}(Spacer);Component$1.registerComponent("CustomControlSpacer",CustomControlSpacer);var ControlBar=function(_Component){function ControlBar(){return _Component.apply(this,arguments)||this}return(0,inheritsLoose.Z)(ControlBar,_Component),ControlBar.prototype.createEl=function createEl(){return _Component.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},ControlBar}(Component$1);ControlBar.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in document_default()&&ControlBar.prototype.options_.children.splice(ControlBar.prototype.options_.children.length-1,0,"pictureInPictureToggle"),Component$1.registerComponent("ControlBar",ControlBar);var ErrorDisplay=function(_ModalDialog){function ErrorDisplay(player,options){var _this;return(_this=_ModalDialog.call(this,player,options)||this).on(player,"error",(function(e){return _this.open(e)})),_this}(0,inheritsLoose.Z)(ErrorDisplay,_ModalDialog);var _proto=ErrorDisplay.prototype;return _proto.buildCSSClass=function buildCSSClass(){return"vjs-error-display "+_ModalDialog.prototype.buildCSSClass.call(this)},_proto.content=function content(){var error=this.player().error();return error?this.localize(error.message):""},ErrorDisplay}(ModalDialog);ErrorDisplay.prototype.options_=(0,esm_extends.Z)({},ModalDialog.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Component$1.registerComponent("ErrorDisplay",ErrorDisplay);var COLOR_BLACK=["#000","Black"],COLOR_BLUE=["#00F","Blue"],COLOR_CYAN=["#0FF","Cyan"],COLOR_GREEN=["#0F0","Green"],COLOR_MAGENTA=["#F0F","Magenta"],COLOR_RED=["#F00","Red"],COLOR_WHITE=["#FFF","White"],COLOR_YELLOW=["#FF0","Yellow"],OPACITY_OPAQUE=["1","Opaque"],OPACITY_SEMI=["0.5","Semi-Transparent"],OPACITY_TRANS=["0","Transparent"],selectConfigs={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[COLOR_BLACK,COLOR_WHITE,COLOR_RED,COLOR_GREEN,COLOR_BLUE,COLOR_YELLOW,COLOR_MAGENTA,COLOR_CYAN]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[OPACITY_OPAQUE,OPACITY_SEMI,OPACITY_TRANS]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[COLOR_WHITE,COLOR_BLACK,COLOR_RED,COLOR_GREEN,COLOR_BLUE,COLOR_YELLOW,COLOR_MAGENTA,COLOR_CYAN]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function parser(v){return"1.00"===v?null:Number(v)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[OPACITY_OPAQUE,OPACITY_SEMI]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[OPACITY_TRANS,OPACITY_SEMI,OPACITY_OPAQUE]}};function parseOptionValue(value,parser){if(parser&&(value=parser(value)),value&&"none"!==value)return value}selectConfigs.windowColor.options=selectConfigs.backgroundColor.options;var TextTrackSettings=function(_ModalDialog){function TextTrackSettings(player,options){var _this;return options.temporary=!1,(_this=_ModalDialog.call(this,player,options)||this).updateDisplay=_this.updateDisplay.bind((0,assertThisInitialized.Z)(_this)),_this.fill(),_this.hasBeenOpened_=_this.hasBeenFilled_=!0,_this.endDialog=createEl("p",{className:"vjs-control-text",textContent:_this.localize("End of dialog window.")}),_this.el().appendChild(_this.endDialog),_this.setDefaults(),void 0===options.persistTextTrackSettings&&(_this.options_.persistTextTrackSettings=_this.options_.playerOptions.persistTextTrackSettings),_this.on(_this.$(".vjs-done-button"),"click",(function(){_this.saveSettings(),_this.close()})),_this.on(_this.$(".vjs-default-button"),"click",(function(){_this.setDefaults(),_this.updateDisplay()})),each(selectConfigs,(function(config){_this.on(_this.$(config.selector),"change",_this.updateDisplay)})),_this.options_.persistTextTrackSettings&&_this.restoreSettings(),_this}(0,inheritsLoose.Z)(TextTrackSettings,_ModalDialog);var _proto=TextTrackSettings.prototype;return _proto.dispose=function dispose(){this.endDialog=null,_ModalDialog.prototype.dispose.call(this)},_proto.createElSelect_=function createElSelect_(key,legendId,type){var _this2=this;void 0===legendId&&(legendId=""),void 0===type&&(type="label");var config=selectConfigs[key],id=config.id.replace("%s",this.id_),selectLabelledbyIds=[legendId,id].join(" ").trim();return["<"+type+' id="'+id+'" class="'+("label"===type?"vjs-label":"")+'">',this.localize(config.label),"</"+type+">",'<select aria-labelledby="'+selectLabelledbyIds+'">'].concat(config.options.map((function(o){var optionId=id+"-"+o[1].replace(/\W+/g,"");return['<option id="'+optionId+'" value="'+o[0]+'" ','aria-labelledby="'+selectLabelledbyIds+" "+optionId+'">',_this2.localize(o[1]),"</option>"].join("")}))).concat("</select>").join("")},_proto.createElFgColor_=function createElFgColor_(){var legendId="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+legendId+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",legendId),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",legendId),"</span>","</fieldset>"].join("")},_proto.createElBgColor_=function createElBgColor_(){var legendId="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+legendId+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",legendId),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",legendId),"</span>","</fieldset>"].join("")},_proto.createElWinColor_=function createElWinColor_(){var legendId="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+legendId+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",legendId),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",legendId),"</span>","</fieldset>"].join("")},_proto.createElColors_=function createElColors_(){return createEl("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},_proto.createElFont_=function createElFont_(){return createEl("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},_proto.createElControls_=function createElControls_(){var defaultsDescription=this.localize("restore all settings to the default values");return createEl("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+defaultsDescription+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+defaultsDescription+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},_proto.content=function content(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},_proto.label=function label(){return this.localize("Caption Settings Dialog")},_proto.description=function description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},_proto.buildCSSClass=function buildCSSClass(){return _ModalDialog.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},_proto.getValues=function getValues(){var _this3=this;return function reduce(object,fn,initial){return void 0===initial&&(initial=0),keys(object).reduce((function(accum,key){return fn(accum,object[key],key)}),initial)}(selectConfigs,(function(accum,config,key){var value=function getSelectedOptionValue(el,parser){return parseOptionValue(el.options[el.options.selectedIndex].value,parser)}(_this3.$(config.selector),config.parser);return void 0!==value&&(accum[key]=value),accum}),{})},_proto.setValues=function setValues(values){var _this4=this;each(selectConfigs,(function(config,key){!function setSelectedOption(el,value,parser){if(value)for(var i=0;i<el.options.length;i++)if(parseOptionValue(el.options[i].value,parser)===value){el.selectedIndex=i;break}}(_this4.$(config.selector),values[key],config.parser)}))},_proto.setDefaults=function setDefaults(){var _this5=this;each(selectConfigs,(function(config){var index=config.hasOwnProperty("default")?config.default:0;_this5.$(config.selector).selectedIndex=index}))},_proto.restoreSettings=function restoreSettings(){var values;try{values=JSON.parse(window_default().localStorage.getItem("vjs-text-track-settings"))}catch(err){log$1.warn(err)}values&&this.setValues(values)},_proto.saveSettings=function saveSettings(){if(this.options_.persistTextTrackSettings){var values=this.getValues();try{Object.keys(values).length?window_default().localStorage.setItem("vjs-text-track-settings",JSON.stringify(values)):window_default().localStorage.removeItem("vjs-text-track-settings")}catch(err){log$1.warn(err)}}},_proto.updateDisplay=function updateDisplay(){var ttDisplay=this.player_.getChild("textTrackDisplay");ttDisplay&&ttDisplay.updateDisplay()},_proto.conditionalBlur_=function conditionalBlur_(){this.previouslyActiveEl_=null;var cb=this.player_.controlBar,subsCapsBtn=cb&&cb.subsCapsButton,ccBtn=cb&&cb.captionsButton;subsCapsBtn?subsCapsBtn.focus():ccBtn&&ccBtn.focus()},TextTrackSettings}(ModalDialog);Component$1.registerComponent("TextTrackSettings",TextTrackSettings);var ResizeManager=function(_Component){function ResizeManager(player,options){var _this,RESIZE_OBSERVER_AVAILABLE=options.ResizeObserver||window_default().ResizeObserver;null===options.ResizeObserver&&(RESIZE_OBSERVER_AVAILABLE=!1);var options_=mergeOptions$3({createEl:!RESIZE_OBSERVER_AVAILABLE,reportTouchActivity:!1},options);return(_this=_Component.call(this,player,options_)||this).ResizeObserver=options.ResizeObserver||window_default().ResizeObserver,_this.loadListener_=null,_this.resizeObserver_=null,_this.debouncedHandler_=function debounce(func,wait,immediate,context){var timeout;void 0===context&&(context=window_default());var debounced=function debounced(){var self=this,args=arguments,_later=function later(){timeout=null,_later=null,immediate||func.apply(self,args)};!timeout&&immediate&&func.apply(self,args),context.clearTimeout(timeout),timeout=context.setTimeout(_later,wait)};return debounced.cancel=function cancel(){context.clearTimeout(timeout),timeout=null},debounced}((function(){_this.resizeHandler()}),100,!1,(0,assertThisInitialized.Z)(_this)),RESIZE_OBSERVER_AVAILABLE?(_this.resizeObserver_=new _this.ResizeObserver(_this.debouncedHandler_),_this.resizeObserver_.observe(player.el())):(_this.loadListener_=function(){if(_this.el_&&_this.el_.contentWindow){var debouncedHandler_=_this.debouncedHandler_,unloadListener_=_this.unloadListener_=function(){off(this,"resize",debouncedHandler_),off(this,"unload",unloadListener_),unloadListener_=null};on(_this.el_.contentWindow,"unload",unloadListener_),on(_this.el_.contentWindow,"resize",debouncedHandler_)}},_this.one("load",_this.loadListener_)),_this}(0,inheritsLoose.Z)(ResizeManager,_Component);var _proto=ResizeManager.prototype;return _proto.createEl=function createEl(){return _Component.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1},{"aria-hidden":"true"})},_proto.resizeHandler=function resizeHandler(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},_proto.dispose=function dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,_Component.prototype.dispose.call(this)},ResizeManager}(Component$1);Component$1.registerComponent("ResizeManager",ResizeManager);var defaults={trackingThreshold:20,liveTolerance:15},LiveTracker=function(_Component){function LiveTracker(player,options){var _this,options_=mergeOptions$3(defaults,options,{createEl:!1});return(_this=_Component.call(this,player,options_)||this).handleVisibilityChange_=function(e){return _this.handleVisibilityChange(e)},_this.trackLiveHandler_=function(){return _this.trackLive_()},_this.handlePlay_=function(e){return _this.handlePlay(e)},_this.handleFirstTimeupdate_=function(e){return _this.handleFirstTimeupdate(e)},_this.handleSeeked_=function(e){return _this.handleSeeked(e)},_this.seekToLiveEdge_=function(e){return _this.seekToLiveEdge(e)},_this.reset_(),_this.on(_this.player_,"durationchange",(function(e){return _this.handleDurationchange(e)})),_this.on(_this.player_,"canplay",(function(){return _this.toggleTracking()})),IE_VERSION&&"hidden"in document_default()&&"visibilityState"in document_default()&&_this.on(document_default(),"visibilitychange",_this.handleVisibilityChange_),_this}(0,inheritsLoose.Z)(LiveTracker,_Component);var _proto=LiveTracker.prototype;return _proto.handleVisibilityChange=function handleVisibilityChange(){this.player_.duration()===1/0&&(document_default().hidden?this.stopTracking():this.startTracking())},_proto.trackLive_=function trackLive_(){var seekable=this.player_.seekable();if(seekable&&seekable.length){var newTime=Number(window_default().performance.now().toFixed(4)),deltaTime=-1===this.lastTime_?0:(newTime-this.lastTime_)/1e3;this.lastTime_=newTime,this.pastSeekEnd_=this.pastSeekEnd()+deltaTime;var liveCurrentTime=this.liveCurrentTime(),currentTime=this.player_.currentTime(),isBehind=this.player_.paused()||this.seekedBehindLive_||Math.abs(liveCurrentTime-currentTime)>this.options_.liveTolerance;this.timeupdateSeen_&&liveCurrentTime!==1/0||(isBehind=!1),isBehind!==this.behindLiveEdge_&&(this.behindLiveEdge_=isBehind,this.trigger("liveedgechange"))}},_proto.handleDurationchange=function handleDurationchange(){this.toggleTracking()},_proto.toggleTracking=function toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},_proto.startTracking=function startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,30),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},_proto.handleFirstTimeupdate=function handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},_proto.handleSeeked=function handleSeeked(){var timeDiff=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&timeDiff>2,this.nextSeekedFromUser_=!1,this.trackLive_()},_proto.handlePlay=function handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},_proto.reset_=function reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},_proto.nextSeekedFromUser=function nextSeekedFromUser(){this.nextSeekedFromUser_=!0},_proto.stopTracking=function stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},_proto.seekableEnd=function seekableEnd(){for(var seekable=this.player_.seekable(),seekableEnds=[],i=seekable?seekable.length:0;i--;)seekableEnds.push(seekable.end(i));return seekableEnds.length?seekableEnds.sort()[seekableEnds.length-1]:1/0},_proto.seekableStart=function seekableStart(){for(var seekable=this.player_.seekable(),seekableStarts=[],i=seekable?seekable.length:0;i--;)seekableStarts.push(seekable.start(i));return seekableStarts.length?seekableStarts.sort()[0]:0},_proto.liveWindow=function liveWindow(){var liveCurrentTime=this.liveCurrentTime();return liveCurrentTime===1/0?0:liveCurrentTime-this.seekableStart()},_proto.isLive=function isLive(){return this.isTracking()},_proto.atLiveEdge=function atLiveEdge(){return!this.behindLiveEdge()},_proto.liveCurrentTime=function liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()},_proto.pastSeekEnd=function pastSeekEnd(){var seekableEnd=this.seekableEnd();return-1!==this.lastSeekEnd_&&seekableEnd!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=seekableEnd,this.pastSeekEnd_},_proto.behindLiveEdge=function behindLiveEdge(){return this.behindLiveEdge_},_proto.isTracking=function isTracking(){return"number"==typeof this.trackingInterval_},_proto.seekToLiveEdge=function seekToLiveEdge(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},_proto.dispose=function dispose(){this.off(document_default(),"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),_Component.prototype.dispose.call(this)},LiveTracker}(Component$1);Component$1.registerComponent("LiveTracker",LiveTracker);var canPlayType,sourcesetLoad=function sourcesetLoad(tech){var el=tech.el();if(el.hasAttribute("src"))return tech.triggerSourceset(el.src),!0;var sources=tech.$$("source"),srcUrls=[],src="";if(!sources.length)return!1;for(var i=0;i<sources.length;i++){var url=sources[i].src;url&&-1===srcUrls.indexOf(url)&&srcUrls.push(url)}return!!srcUrls.length&&(1===srcUrls.length&&(src=srcUrls[0]),tech.triggerSourceset(src),!0)},innerHTMLDescriptorPolyfill=Object.defineProperty({},"innerHTML",{get:function get(){return this.cloneNode(!0).innerHTML},set:function set(v){var dummy=document_default().createElement(this.nodeName.toLowerCase());dummy.innerHTML=v;for(var docFrag=document_default().createDocumentFragment();dummy.childNodes.length;)docFrag.appendChild(dummy.childNodes[0]);return this.innerText="",window_default().Element.prototype.appendChild.call(this,docFrag),this.innerHTML}}),getDescriptor=function getDescriptor(priority,prop){for(var descriptor={},i=0;i<priority.length&&!((descriptor=Object.getOwnPropertyDescriptor(priority[i],prop))&&descriptor.set&&descriptor.get);i++);return descriptor.enumerable=!0,descriptor.configurable=!0,descriptor},firstSourceWatch=function firstSourceWatch(tech){var el=tech.el();if(!el.resetSourceWatch_){var old={},innerDescriptor=function getInnerHTMLDescriptor(tech){return getDescriptor([tech.el(),window_default().HTMLMediaElement.prototype,window_default().Element.prototype,innerHTMLDescriptorPolyfill],"innerHTML")}(tech),appendWrapper=function appendWrapper(appendFn){return function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var retval=appendFn.apply(el,args);return sourcesetLoad(tech),retval}};["append","appendChild","insertAdjacentHTML"].forEach((function(k){el[k]&&(old[k]=el[k],el[k]=appendWrapper(old[k]))})),Object.defineProperty(el,"innerHTML",mergeOptions$3(innerDescriptor,{set:appendWrapper(innerDescriptor.set)})),el.resetSourceWatch_=function(){el.resetSourceWatch_=null,Object.keys(old).forEach((function(k){el[k]=old[k]})),Object.defineProperty(el,"innerHTML",innerDescriptor)},tech.one("sourceset",el.resetSourceWatch_)}},srcDescriptorPolyfill=Object.defineProperty({},"src",{get:function get(){return this.hasAttribute("src")?getAbsoluteURL(window_default().Element.prototype.getAttribute.call(this,"src")):""},set:function set(v){return window_default().Element.prototype.setAttribute.call(this,"src",v),v}}),setupSourceset=function setupSourceset(tech){if(tech.featuresSourceset){var el=tech.el();if(!el.resetSourceset_){var srcDescriptor=function getSrcDescriptor(tech){return getDescriptor([tech.el(),window_default().HTMLMediaElement.prototype,srcDescriptorPolyfill],"src")}(tech),oldSetAttribute=el.setAttribute,oldLoad=el.load;Object.defineProperty(el,"src",mergeOptions$3(srcDescriptor,{set:function set(v){var retval=srcDescriptor.set.call(el,v);return tech.triggerSourceset(el.src),retval}})),el.setAttribute=function(n,v){var retval=oldSetAttribute.call(el,n,v);return/src/i.test(n)&&tech.triggerSourceset(el.src),retval},el.load=function(){var retval=oldLoad.call(el);return sourcesetLoad(tech)||(tech.triggerSourceset(""),firstSourceWatch(tech)),retval},el.currentSrc?tech.triggerSourceset(el.currentSrc):sourcesetLoad(tech)||firstSourceWatch(tech),el.resetSourceset_=function(){el.resetSourceset_=null,el.load=oldLoad,el.setAttribute=oldSetAttribute,Object.defineProperty(el,"src",srcDescriptor),el.resetSourceWatch_&&el.resetSourceWatch_()}}}},defineLazyProperty=function defineLazyProperty(obj,key,getValue,setter){void 0===setter&&(setter=!0);var set=function set(value){return Object.defineProperty(obj,key,{value,enumerable:!0,writable:!0})},options={configurable:!0,enumerable:!0,get:function get(){var value=getValue();return set(value),value}};return setter&&(options.set=set),Object.defineProperty(obj,key,options)},Html5=function(_Tech){function Html5(options,ready){var _this;_this=_Tech.call(this,options,ready)||this;var source=options.source,crossoriginTracks=!1;if(source&&(_this.el_.currentSrc!==source.src||options.tag&&3===options.tag.initNetworkState_)?_this.setSource(source):_this.handleLateInit_(_this.el_),options.enableSourceset&&_this.setupSourcesetHandling_(),_this.isScrubbing_=!1,_this.el_.hasChildNodes()){for(var nodes=_this.el_.childNodes,nodesLength=nodes.length,removeNodes=[];nodesLength--;){var node=nodes[nodesLength];"track"===node.nodeName.toLowerCase()&&(_this.featuresNativeTextTracks?(_this.remoteTextTrackEls().addTrackElement_(node),_this.remoteTextTracks().addTrack(node.track),_this.textTracks().addTrack(node.track),crossoriginTracks||_this.el_.hasAttribute("crossorigin")||!isCrossOrigin(node.src)||(crossoriginTracks=!0)):removeNodes.push(node))}for(var i=0;i<removeNodes.length;i++)_this.el_.removeChild(removeNodes[i])}return _this.proxyNativeTracks_(),_this.featuresNativeTextTracks&&crossoriginTracks&&log$1.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),_this.restoreMetadataTracksInIOSNativePlayer_(),(TOUCH_ENABLED||IS_IPHONE||IS_NATIVE_ANDROID)&&!0===options.nativeControlsForTouch&&_this.setControls(!0),_this.proxyWebkitFullscreen_(),_this.triggerReady(),_this}(0,inheritsLoose.Z)(Html5,_Tech);var _proto=Html5.prototype;return _proto.dispose=function dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),Html5.disposeMediaElement(this.el_),this.options_=null,_Tech.prototype.dispose.call(this)},_proto.setupSourcesetHandling_=function setupSourcesetHandling_(){setupSourceset(this)},_proto.restoreMetadataTracksInIOSNativePlayer_=function restoreMetadataTracksInIOSNativePlayer_(){var metadataTracksPreFullscreenState,textTracks=this.textTracks(),takeMetadataTrackSnapshot=function takeMetadataTrackSnapshot(){metadataTracksPreFullscreenState=[];for(var i=0;i<textTracks.length;i++){var track=textTracks[i];"metadata"===track.kind&&metadataTracksPreFullscreenState.push({track,storedMode:track.mode})}};takeMetadataTrackSnapshot(),textTracks.addEventListener("change",takeMetadataTrackSnapshot),this.on("dispose",(function(){return textTracks.removeEventListener("change",takeMetadataTrackSnapshot)}));var restoreTrackMode=function restoreTrackMode(){for(var i=0;i<metadataTracksPreFullscreenState.length;i++){var storedTrack=metadataTracksPreFullscreenState[i];"disabled"===storedTrack.track.mode&&storedTrack.track.mode!==storedTrack.storedMode&&(storedTrack.track.mode=storedTrack.storedMode)}textTracks.removeEventListener("change",restoreTrackMode)};this.on("webkitbeginfullscreen",(function(){textTracks.removeEventListener("change",takeMetadataTrackSnapshot),textTracks.removeEventListener("change",restoreTrackMode),textTracks.addEventListener("change",restoreTrackMode)})),this.on("webkitendfullscreen",(function(){textTracks.removeEventListener("change",takeMetadataTrackSnapshot),textTracks.addEventListener("change",takeMetadataTrackSnapshot),textTracks.removeEventListener("change",restoreTrackMode)}))},_proto.overrideNative_=function overrideNative_(type,override){var _this2=this;if(override===this["featuresNative"+type+"Tracks"]){var lowerCaseType=type.toLowerCase();this[lowerCaseType+"TracksListeners_"]&&Object.keys(this[lowerCaseType+"TracksListeners_"]).forEach((function(eventName){_this2.el()[lowerCaseType+"Tracks"].removeEventListener(eventName,_this2[lowerCaseType+"TracksListeners_"][eventName])})),this["featuresNative"+type+"Tracks"]=!override,this[lowerCaseType+"TracksListeners_"]=null,this.proxyNativeTracksForType_(lowerCaseType)}},_proto.overrideNativeAudioTracks=function overrideNativeAudioTracks(override){this.overrideNative_("Audio",override)},_proto.overrideNativeVideoTracks=function overrideNativeVideoTracks(override){this.overrideNative_("Video",override)},_proto.proxyNativeTracksForType_=function proxyNativeTracksForType_(name){var _this3=this,props=NORMAL[name],elTracks=this.el()[props.getterName],techTracks=this[props.getterName]();if(this["featuresNative"+props.capitalName+"Tracks"]&&elTracks&&elTracks.addEventListener){var listeners={change:function change(e){var event={type:"change",target:techTracks,currentTarget:techTracks,srcElement:techTracks};techTracks.trigger(event),"text"===name&&_this3[REMOTE.remoteText.getterName]().trigger(event)},addtrack:function addtrack(e){techTracks.addTrack(e.track)},removetrack:function removetrack(e){techTracks.removeTrack(e.track)}},removeOldTracks=function removeOldTracks(){for(var removeTracks=[],i=0;i<techTracks.length;i++){for(var found=!1,j=0;j<elTracks.length;j++)if(elTracks[j]===techTracks[i]){found=!0;break}found||removeTracks.push(techTracks[i])}for(;removeTracks.length;)techTracks.removeTrack(removeTracks.shift())};this[props.getterName+"Listeners_"]=listeners,Object.keys(listeners).forEach((function(eventName){var listener=listeners[eventName];elTracks.addEventListener(eventName,listener),_this3.on("dispose",(function(e){return elTracks.removeEventListener(eventName,listener)}))})),this.on("loadstart",removeOldTracks),this.on("dispose",(function(e){return _this3.off("loadstart",removeOldTracks)}))}},_proto.proxyNativeTracks_=function proxyNativeTracks_(){var _this4=this;NORMAL.names.forEach((function(name){_this4.proxyNativeTracksForType_(name)}))},_proto.createEl=function createEl(){var el=this.options_.tag;if(!el||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(el){var clone=el.cloneNode(!0);el.parentNode&&el.parentNode.insertBefore(clone,el),Html5.disposeMediaElement(el),el=clone}else{el=document_default().createElement("video");var attributes=mergeOptions$3({},this.options_.tag&&getAttributes(this.options_.tag));TOUCH_ENABLED&&!0===this.options_.nativeControlsForTouch||delete attributes.controls,setAttributes(el,video_es_assign(attributes,{id:this.options_.techId,class:"vjs-tech"}))}el.playerId=this.options_.playerId}void 0!==this.options_.preload&&setAttribute(el,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(el.disablePictureInPicture=this.options_.disablePictureInPicture);for(var settingsAttrs=["loop","muted","playsinline","autoplay"],i=0;i<settingsAttrs.length;i++){var attr=settingsAttrs[i],value=this.options_[attr];void 0!==value&&(value?setAttribute(el,attr,attr):removeAttribute(el,attr),el[attr]=value)}return el},_proto.handleLateInit_=function handleLateInit_(el){if(0!==el.networkState&&3!==el.networkState){if(0===el.readyState){var loadstartFired=!1,setLoadstartFired=function setLoadstartFired(){loadstartFired=!0};this.on("loadstart",setLoadstartFired);var triggerLoadstart=function triggerLoadstart(){loadstartFired||this.trigger("loadstart")};return this.on("loadedmetadata",triggerLoadstart),void this.ready((function(){this.off("loadstart",setLoadstartFired),this.off("loadedmetadata",triggerLoadstart),loadstartFired||this.trigger("loadstart")}))}var eventsToTrigger=["loadstart"];eventsToTrigger.push("loadedmetadata"),el.readyState>=2&&eventsToTrigger.push("loadeddata"),el.readyState>=3&&eventsToTrigger.push("canplay"),el.readyState>=4&&eventsToTrigger.push("canplaythrough"),this.ready((function(){eventsToTrigger.forEach((function(type){this.trigger(type)}),this)}))}},_proto.setScrubbing=function setScrubbing(isScrubbing){this.isScrubbing_=isScrubbing},_proto.scrubbing=function scrubbing(){return this.isScrubbing_},_proto.setCurrentTime=function setCurrentTime(seconds){try{this.isScrubbing_&&this.el_.fastSeek&&IS_ANY_SAFARI?this.el_.fastSeek(seconds):this.el_.currentTime=seconds}catch(e){log$1(e,"Video is not ready. (Video.js)")}},_proto.duration=function duration(){var _this5=this;if(this.el_.duration===1/0&&IS_ANDROID&&IS_CHROME&&0===this.el_.currentTime){return this.on("timeupdate",(function checkProgress(){_this5.el_.currentTime>0&&(_this5.el_.duration===1/0&&_this5.trigger("durationchange"),_this5.off("timeupdate",checkProgress))})),NaN}return this.el_.duration||NaN},_proto.width=function width(){return this.el_.offsetWidth},_proto.height=function height(){return this.el_.offsetHeight},_proto.proxyWebkitFullscreen_=function proxyWebkitFullscreen_(){var _this6=this;if("webkitDisplayingFullscreen"in this.el_){var endFn=function endFn(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},beginFn=function beginFn(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",endFn),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",beginFn),this.on("dispose",(function(){_this6.off("webkitbeginfullscreen",beginFn),_this6.off("webkitendfullscreen",endFn)}))}},_proto.supportsFullScreen=function supportsFullScreen(){if("function"==typeof this.el_.webkitEnterFullScreen){var userAgent=window_default().navigator&&window_default().navigator.userAgent||"";if(/Android/.test(userAgent)||!/Chrome|Mac OS X 10.5/.test(userAgent))return!0}return!1},_proto.enterFullScreen=function enterFullScreen(){var video=this.el_;if(video.paused&&video.networkState<=video.HAVE_METADATA)silencePromise(this.el_.play()),this.setTimeout((function(){video.pause();try{video.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}),0);else try{video.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}},_proto.exitFullScreen=function exitFullScreen(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},_proto.requestPictureInPicture=function requestPictureInPicture(){return this.el_.requestPictureInPicture()},_proto.src=function src(_src){if(void 0===_src)return this.el_.src;this.setSrc(_src)},_proto.reset=function reset(){Html5.resetMediaElement(this.el_)},_proto.currentSrc=function currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},_proto.setControls=function setControls(val){this.el_.controls=!!val},_proto.addTextTrack=function addTextTrack(kind,label,language){return this.featuresNativeTextTracks?this.el_.addTextTrack(kind,label,language):_Tech.prototype.addTextTrack.call(this,kind,label,language)},_proto.createRemoteTextTrack=function createRemoteTextTrack(options){if(!this.featuresNativeTextTracks)return _Tech.prototype.createRemoteTextTrack.call(this,options);var htmlTrackElement=document_default().createElement("track");return options.kind&&(htmlTrackElement.kind=options.kind),options.label&&(htmlTrackElement.label=options.label),(options.language||options.srclang)&&(htmlTrackElement.srclang=options.language||options.srclang),options.default&&(htmlTrackElement.default=options.default),options.id&&(htmlTrackElement.id=options.id),options.src&&(htmlTrackElement.src=options.src),htmlTrackElement},_proto.addRemoteTextTrack=function addRemoteTextTrack(options,manualCleanup){var htmlTrackElement=_Tech.prototype.addRemoteTextTrack.call(this,options,manualCleanup);return this.featuresNativeTextTracks&&this.el().appendChild(htmlTrackElement),htmlTrackElement},_proto.removeRemoteTextTrack=function removeRemoteTextTrack(track){if(_Tech.prototype.removeRemoteTextTrack.call(this,track),this.featuresNativeTextTracks)for(var tracks=this.$$("track"),i=tracks.length;i--;)track!==tracks[i]&&track!==tracks[i].track||this.el().removeChild(tracks[i])},_proto.getVideoPlaybackQuality=function getVideoPlaybackQuality(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var videoPlaybackQuality={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(videoPlaybackQuality.droppedVideoFrames=this.el().webkitDroppedFrameCount,videoPlaybackQuality.totalVideoFrames=this.el().webkitDecodedFrameCount),window_default().performance&&"function"==typeof window_default().performance.now?videoPlaybackQuality.creationTime=window_default().performance.now():window_default().performance&&window_default().performance.timing&&"number"==typeof window_default().performance.timing.navigationStart&&(videoPlaybackQuality.creationTime=window_default().Date.now()-window_default().performance.timing.navigationStart),videoPlaybackQuality},Html5}(Tech);defineLazyProperty(Html5,"TEST_VID",(function(){if(isReal()){var video=document_default().createElement("video"),track=document_default().createElement("track");return track.kind="captions",track.srclang="en",track.label="English",video.appendChild(track),video}})),Html5.isSupported=function(){try{Html5.TEST_VID.volume=.5}catch(e){return!1}return!(!Html5.TEST_VID||!Html5.TEST_VID.canPlayType)},Html5.canPlayType=function(type){return Html5.TEST_VID.canPlayType(type)},Html5.canPlaySource=function(srcObj,options){return Html5.canPlayType(srcObj.type)},Html5.canControlVolume=function(){try{var volume=Html5.TEST_VID.volume;Html5.TEST_VID.volume=volume/2+.1;var canControl=volume!==Html5.TEST_VID.volume;return canControl&&IS_IOS?(window_default().setTimeout((function(){Html5&&Html5.prototype&&(Html5.prototype.featuresVolumeControl=volume!==Html5.TEST_VID.volume)})),!1):canControl}catch(e){return!1}},Html5.canMuteVolume=function(){try{var muted=Html5.TEST_VID.muted;return Html5.TEST_VID.muted=!muted,Html5.TEST_VID.muted?setAttribute(Html5.TEST_VID,"muted","muted"):removeAttribute(Html5.TEST_VID,"muted"),muted!==Html5.TEST_VID.muted}catch(e){return!1}},Html5.canControlPlaybackRate=function(){if(IS_ANDROID&&IS_CHROME&&CHROME_VERSION<58)return!1;try{var playbackRate=Html5.TEST_VID.playbackRate;return Html5.TEST_VID.playbackRate=playbackRate/2+.1,playbackRate!==Html5.TEST_VID.playbackRate}catch(e){return!1}},Html5.canOverrideAttributes=function(){try{var noop=function noop(){};Object.defineProperty(document_default().createElement("video"),"src",{get:noop,set:noop}),Object.defineProperty(document_default().createElement("audio"),"src",{get:noop,set:noop}),Object.defineProperty(document_default().createElement("video"),"innerHTML",{get:noop,set:noop}),Object.defineProperty(document_default().createElement("audio"),"innerHTML",{get:noop,set:noop})}catch(e){return!1}return!0},Html5.supportsNativeTextTracks=function(){return IS_ANY_SAFARI||IS_IOS&&IS_CHROME},Html5.supportsNativeVideoTracks=function(){return!(!Html5.TEST_VID||!Html5.TEST_VID.videoTracks)},Html5.supportsNativeAudioTracks=function(){return!(!Html5.TEST_VID||!Html5.TEST_VID.audioTracks)},Html5.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function(_ref){var key=_ref[0],fn=_ref[1];defineLazyProperty(Html5.prototype,key,(function(){return Html5[fn]()}),!0)})),Html5.prototype.featuresVolumeControl=Html5.canControlVolume(),Html5.prototype.movingMediaElementInDOM=!IS_IOS,Html5.prototype.featuresFullscreenResize=!0,Html5.prototype.featuresProgressEvents=!0,Html5.prototype.featuresTimeupdateEvents=!0,Html5.patchCanPlayType=function(){ANDROID_VERSION>=4&&!IS_FIREFOX&&!IS_CHROME&&(canPlayType=Html5.TEST_VID&&Html5.TEST_VID.constructor.prototype.canPlayType,Html5.TEST_VID.constructor.prototype.canPlayType=function(type){return type&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(type)?"maybe":canPlayType.call(this,type)})},Html5.unpatchCanPlayType=function(){var r=Html5.TEST_VID.constructor.prototype.canPlayType;return canPlayType&&(Html5.TEST_VID.constructor.prototype.canPlayType=canPlayType),r},Html5.patchCanPlayType(),Html5.disposeMediaElement=function(el){if(el){for(el.parentNode&&el.parentNode.removeChild(el);el.hasChildNodes();)el.removeChild(el.firstChild);el.removeAttribute("src"),"function"==typeof el.load&&function(){try{el.load()}catch(e){}}()}},Html5.resetMediaElement=function(el){if(el){for(var sources=el.querySelectorAll("source"),i=sources.length;i--;)el.removeChild(sources[i]);el.removeAttribute("src"),"function"==typeof el.load&&function(){try{el.load()}catch(e){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(prop){Html5.prototype[prop]=function(){return this.el_[prop]||this.el_.hasAttribute(prop)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(prop){Html5.prototype["set"+toTitleCase$1(prop)]=function(v){this.el_[prop]=v,v?this.el_.setAttribute(prop,prop):this.el_.removeAttribute(prop)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(prop){Html5.prototype[prop]=function(){return this.el_[prop]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(prop){Html5.prototype["set"+toTitleCase$1(prop)]=function(v){this.el_[prop]=v}})),["pause","load","play"].forEach((function(prop){Html5.prototype[prop]=function(){return this.el_[prop]()}})),Tech.withSourceHandlers(Html5),Html5.nativeSourceHandler={},Html5.nativeSourceHandler.canPlayType=function(type){try{return Html5.TEST_VID.canPlayType(type)}catch(e){return""}},Html5.nativeSourceHandler.canHandleSource=function(source,options){if(source.type)return Html5.nativeSourceHandler.canPlayType(source.type);if(source.src){var ext=getFileExtension(source.src);return Html5.nativeSourceHandler.canPlayType("video/"+ext)}return""},Html5.nativeSourceHandler.handleSource=function(source,tech,options){tech.setSrc(source.src)},Html5.nativeSourceHandler.dispose=function(){},Html5.registerSourceHandler(Html5.nativeSourceHandler),Tech.registerTech("Html5",Html5);var TECH_EVENTS_RETRIGGER=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],TECH_EVENTS_QUEUE={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},BREAKPOINT_ORDER=["tiny","xsmall","small","medium","large","xlarge","huge"],BREAKPOINT_CLASSES={};BREAKPOINT_ORDER.forEach((function(k){var v="x"===k.charAt(0)?"x-"+k.substring(1):k;BREAKPOINT_CLASSES[k]="vjs-layout-"+v}));var DEFAULT_BREAKPOINTS={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Player=function(_Component){function Player(tag,options,ready){var _this;if(tag.id=tag.id||options.id||"vjs_video_"+newGUID(),(options=video_es_assign(Player.getTagSettings(tag),options)).initChildren=!1,options.createEl=!1,options.evented=!1,options.reportTouchActivity=!1,!options.language)if("function"==typeof tag.closest){var closest=tag.closest("[lang]");closest&&closest.getAttribute&&(options.language=closest.getAttribute("lang"))}else for(var element=tag;element&&1===element.nodeType;){if(getAttributes(element).hasOwnProperty("lang")){options.language=element.getAttribute("lang");break}element=element.parentNode}if((_this=_Component.call(this,null,options,ready)||this).boundDocumentFullscreenChange_=function(e){return _this.documentFullscreenChange_(e)},_this.boundFullWindowOnEscKey_=function(e){return _this.fullWindowOnEscKey(e)},_this.boundUpdateStyleEl_=function(e){return _this.updateStyleEl_(e)},_this.boundApplyInitTime_=function(e){return _this.applyInitTime_(e)},_this.boundUpdateCurrentBreakpoint_=function(e){return _this.updateCurrentBreakpoint_(e)},_this.boundHandleTechClick_=function(e){return _this.handleTechClick_(e)},_this.boundHandleTechDoubleClick_=function(e){return _this.handleTechDoubleClick_(e)},_this.boundHandleTechTouchStart_=function(e){return _this.handleTechTouchStart_(e)},_this.boundHandleTechTouchMove_=function(e){return _this.handleTechTouchMove_(e)},_this.boundHandleTechTouchEnd_=function(e){return _this.handleTechTouchEnd_(e)},_this.boundHandleTechTap_=function(e){return _this.handleTechTap_(e)},_this.isFullscreen_=!1,_this.log=createLogger(_this.id_),_this.fsApi_=FullscreenApi,_this.isPosterFromTech_=!1,_this.queuedCallbacks_=[],_this.isReady_=!1,_this.hasStarted_=!1,_this.userActive_=!1,_this.debugEnabled_=!1,!_this.options_||!_this.options_.techOrder||!_this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(_this.tag=tag,_this.tagAttributes=tag&&getAttributes(tag),_this.language(_this.options_.language),options.languages){var languagesToLower={};Object.getOwnPropertyNames(options.languages).forEach((function(name){languagesToLower[name.toLowerCase()]=options.languages[name]})),_this.languages_=languagesToLower}else _this.languages_=Player.prototype.options_.languages;_this.resetCache_(),_this.poster_=options.poster||"",_this.controls_=!!options.controls,tag.controls=!1,tag.removeAttribute("controls"),_this.changingSrc_=!1,_this.playCallbacks_=[],_this.playTerminatedQueue_=[],tag.hasAttribute("autoplay")?_this.autoplay(!0):_this.autoplay(_this.options_.autoplay),options.plugins&&Object.keys(options.plugins).forEach((function(name){if("function"!=typeof _this[name])throw new Error('plugin "'+name+'" does not exist')})),_this.scrubbing_=!1,_this.el_=_this.createEl(),evented((0,assertThisInitialized.Z)(_this),{eventBusKey:"el_"}),_this.fsApi_.requestFullscreen&&(on(document_default(),_this.fsApi_.fullscreenchange,_this.boundDocumentFullscreenChange_),_this.on(_this.fsApi_.fullscreenchange,_this.boundDocumentFullscreenChange_)),_this.fluid_&&_this.on(["playerreset","resize"],_this.boundUpdateStyleEl_);var playerOptionsCopy=mergeOptions$3(_this.options_);options.plugins&&Object.keys(options.plugins).forEach((function(name){_this[name](options.plugins[name])})),options.debug&&_this.debug(!0),_this.options_.playerOptions=playerOptionsCopy,_this.middleware_=[],_this.playbackRates(options.playbackRates),_this.initChildren(),_this.isAudio("audio"===tag.nodeName.toLowerCase()),_this.controls()?_this.addClass("vjs-controls-enabled"):_this.addClass("vjs-controls-disabled"),_this.el_.setAttribute("role","region"),_this.isAudio()?_this.el_.setAttribute("aria-label",_this.localize("Audio Player")):_this.el_.setAttribute("aria-label",_this.localize("Video Player")),_this.isAudio()&&_this.addClass("vjs-audio"),_this.flexNotSupported_()&&_this.addClass("vjs-no-flex"),TOUCH_ENABLED&&_this.addClass("vjs-touch-enabled"),IS_IOS||_this.addClass("vjs-workinghover"),Player.players[_this.id_]=(0,assertThisInitialized.Z)(_this);var majorVersion="7.18.1".split(".")[0];return _this.addClass("vjs-v"+majorVersion),_this.userActive(!0),_this.reportUserActivity(),_this.one("play",(function(e){return _this.listenForUserActivity_(e)})),_this.on("stageclick",(function(e){return _this.handleStageClick_(e)})),_this.on("keydown",(function(e){return _this.handleKeyDown(e)})),_this.on("languagechange",(function(e){return _this.handleLanguagechange(e)})),_this.breakpoints(_this.options_.breakpoints),_this.responsive(_this.options_.responsive),_this}(0,inheritsLoose.Z)(Player,_Component);var _proto=Player.prototype;return _proto.dispose=function dispose(){var _this2=this;this.trigger("dispose"),this.off("dispose"),off(document_default(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),off(document_default(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),Player.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),function clearCacheForPlayer(player){middlewareInstances[player.id()]=null}(this),ALL.names.forEach((function(name){var props=ALL[name],list=_this2[props.getterName]();list&&list.off&&list.off()})),_Component.prototype.dispose.call(this)},_proto.createEl=function createEl(){var el,tag=this.tag,playerElIngest=this.playerElIngest_=tag.parentNode&&tag.parentNode.hasAttribute&&tag.parentNode.hasAttribute("data-vjs-player"),divEmbed="video-js"===this.tag.tagName.toLowerCase();playerElIngest?el=this.el_=tag.parentNode:divEmbed||(el=this.el_=_Component.prototype.createEl.call(this,"div"));var attrs=getAttributes(tag);if(divEmbed){for(el=this.el_=tag,tag=this.tag=document_default().createElement("video");el.children.length;)tag.appendChild(el.firstChild);hasClass(el,"video-js")||addClass(el,"video-js"),el.appendChild(tag),playerElIngest=this.playerElIngest_=el,Object.keys(el).forEach((function(k){try{tag[k]=el[k]}catch(e){}}))}if(tag.setAttribute("tabindex","-1"),attrs.tabindex="-1",(IE_VERSION||IS_CHROME&&IS_WINDOWS)&&(tag.setAttribute("role","application"),attrs.role="application"),tag.removeAttribute("width"),tag.removeAttribute("height"),"width"in attrs&&delete attrs.width,"height"in attrs&&delete attrs.height,Object.getOwnPropertyNames(attrs).forEach((function(attr){divEmbed&&"class"===attr||el.setAttribute(attr,attrs[attr]),divEmbed&&tag.setAttribute(attr,attrs[attr])})),tag.playerId=tag.id,tag.id+="_html5_api",tag.className="vjs-tech",tag.player=el.player=this,this.addClass("vjs-paused"),!0!==window_default().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=createStyleElement("vjs-styles-dimensions");var defaultsStyleEl=$(".vjs-styles-defaults"),head=$("head");head.insertBefore(this.styleEl_,defaultsStyleEl?defaultsStyleEl.nextSibling:head.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var links=tag.getElementsByTagName("a"),i=0;i<links.length;i++){var linkEl=links.item(i);addClass(linkEl,"vjs-hidden"),linkEl.setAttribute("hidden","hidden")}return tag.initNetworkState_=tag.networkState,tag.parentNode&&!playerElIngest&&tag.parentNode.insertBefore(el,tag),prependTo(tag,el),this.children_.unshift(tag),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=el,el},_proto.crossOrigin=function crossOrigin(value){if(!value)return this.techGet_("crossOrigin");"anonymous"===value||"use-credentials"===value?this.techCall_("setCrossOrigin",value):log$1.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+value+'"')},_proto.width=function width(value){return this.dimension("width",value)},_proto.height=function height(value){return this.dimension("height",value)},_proto.dimension=function dimension(_dimension,value){var privDimension=_dimension+"_";if(void 0===value)return this[privDimension]||0;if(""===value||"auto"===value)return this[privDimension]=void 0,void this.updateStyleEl_();var parsedVal=parseFloat(value);isNaN(parsedVal)?log$1.error('Improper value "'+value+'" supplied for for '+_dimension):(this[privDimension]=parsedVal,this.updateStyleEl_())},_proto.fluid=function fluid(bool){var _this3=this;if(void 0===bool)return!!this.fluid_;this.fluid_=!!bool,isEvented(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),bool?(this.addClass("vjs-fluid"),this.fill(!1),function addEventedCallback(target,callback){isEvented(target)?callback():(target.eventedCallbacks||(target.eventedCallbacks=[]),target.eventedCallbacks.push(callback))}(this,(function(){_this3.on(["playerreset","resize"],_this3.boundUpdateStyleEl_)}))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},_proto.fill=function fill(bool){if(void 0===bool)return!!this.fill_;this.fill_=!!bool,bool?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},_proto.aspectRatio=function aspectRatio(ratio){if(void 0===ratio)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(ratio))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=ratio,this.fluid(!0),this.updateStyleEl_()},_proto.updateStyleEl_=function updateStyleEl_(){if(!0!==window_default().VIDEOJS_NO_DYNAMIC_STYLE){var width,height,idClass,ratioParts=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),ratioMultiplier=ratioParts[1]/ratioParts[0];width=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/ratioMultiplier:this.videoWidth()||300,height=void 0!==this.height_?this.height_:width*ratioMultiplier,idClass=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(idClass),setTextContent(this.styleEl_,"\n ."+idClass+" {\n width: "+width+"px;\n height: "+height+"px;\n }\n\n ."+idClass+".vjs-fluid {\n padding-top: "+100*ratioMultiplier+"%;\n }\n ")}else{var _width="number"==typeof this.width_?this.width_:this.options_.width,_height="number"==typeof this.height_?this.height_:this.options_.height,techEl=this.tech_&&this.tech_.el();techEl&&(_width>=0&&(techEl.width=_width),_height>=0&&(techEl.height=_height))}},_proto.loadTech_=function loadTech_(techName,source){var _this4=this;this.tech_&&this.unloadTech_();var titleTechName=toTitleCase$1(techName),camelTechName=techName.charAt(0).toLowerCase()+techName.slice(1);"Html5"!==titleTechName&&this.tag&&(Tech.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=titleTechName,this.isReady_=!1;var autoplay=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(autoplay=!1);var techOptions={source,autoplay,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+camelTechName+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};ALL.names.forEach((function(name){var props=ALL[name];techOptions[props.getterName]=_this4[props.privateName]})),video_es_assign(techOptions,this.options_[titleTechName]),video_es_assign(techOptions,this.options_[camelTechName]),video_es_assign(techOptions,this.options_[techName.toLowerCase()]),this.tag&&(techOptions.tag=this.tag),source&&source.src===this.cache_.src&&this.cache_.currentTime>0&&(techOptions.startTime=this.cache_.currentTime);var TechClass=Tech.getTech(techName);if(!TechClass)throw new Error("No Tech named '"+titleTechName+"' exists! '"+titleTechName+"' should be registered using videojs.registerTech()'");this.tech_=new TechClass(techOptions),this.tech_.ready(bind(this,this.handleTechReady_),!0),textTrackConverter_jsonToTextTracks(this.textTracksJson_||[],this.tech_),TECH_EVENTS_RETRIGGER.forEach((function(event){_this4.on(_this4.tech_,event,(function(e){return _this4["handleTech"+toTitleCase$1(event)+"_"](e)}))})),Object.keys(TECH_EVENTS_QUEUE).forEach((function(event){_this4.on(_this4.tech_,event,(function(eventObj){0===_this4.tech_.playbackRate()&&_this4.tech_.seeking()?_this4.queuedCallbacks_.push({callback:_this4["handleTech"+TECH_EVENTS_QUEUE[event]+"_"].bind(_this4),event:eventObj}):_this4["handleTech"+TECH_EVENTS_QUEUE[event]+"_"](eventObj)}))})),this.on(this.tech_,"loadstart",(function(e){return _this4.handleTechLoadStart_(e)})),this.on(this.tech_,"sourceset",(function(e){return _this4.handleTechSourceset_(e)})),this.on(this.tech_,"waiting",(function(e){return _this4.handleTechWaiting_(e)})),this.on(this.tech_,"ended",(function(e){return _this4.handleTechEnded_(e)})),this.on(this.tech_,"seeking",(function(e){return _this4.handleTechSeeking_(e)})),this.on(this.tech_,"play",(function(e){return _this4.handleTechPlay_(e)})),this.on(this.tech_,"firstplay",(function(e){return _this4.handleTechFirstPlay_(e)})),this.on(this.tech_,"pause",(function(e){return _this4.handleTechPause_(e)})),this.on(this.tech_,"durationchange",(function(e){return _this4.handleTechDurationChange_(e)})),this.on(this.tech_,"fullscreenchange",(function(e,data){return _this4.handleTechFullscreenChange_(e,data)})),this.on(this.tech_,"fullscreenerror",(function(e,err){return _this4.handleTechFullscreenError_(e,err)})),this.on(this.tech_,"enterpictureinpicture",(function(e){return _this4.handleTechEnterPictureInPicture_(e)})),this.on(this.tech_,"leavepictureinpicture",(function(e){return _this4.handleTechLeavePictureInPicture_(e)})),this.on(this.tech_,"error",(function(e){return _this4.handleTechError_(e)})),this.on(this.tech_,"posterchange",(function(e){return _this4.handleTechPosterChange_(e)})),this.on(this.tech_,"textdata",(function(e){return _this4.handleTechTextData_(e)})),this.on(this.tech_,"ratechange",(function(e){return _this4.handleTechRateChange_(e)})),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===titleTechName&&this.tag||prependTo(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},_proto.unloadTech_=function unloadTech_(){var _this5=this;ALL.names.forEach((function(name){var props=ALL[name];_this5[props.privateName]=_this5[props.getterName]()})),this.textTracksJson_=textTrackConverter_textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},_proto.tech=function tech(safety){return void 0===safety&&log$1.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},_proto.addTechControlsListeners_=function addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},_proto.removeTechControlsListeners_=function removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},_proto.handleTechReady_=function handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},_proto.handleTechLoadStart_=function handleTechLoadStart_(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())},_proto.manualAutoplay_=function manualAutoplay_(type){var _this6=this;if(this.tech_&&"string"==typeof type){var promise,resolveMuted=function resolveMuted(){var previouslyMuted=_this6.muted();_this6.muted(!0);var restoreMuted=function restoreMuted(){_this6.muted(previouslyMuted)};_this6.playTerminatedQueue_.push(restoreMuted);var mutedPromise=_this6.play();if(isPromise(mutedPromise))return mutedPromise.catch((function(err){throw restoreMuted(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(err||""))}))};if("any"!==type||this.muted()?promise="muted"!==type||this.muted()?this.play():resolveMuted():isPromise(promise=this.play())&&(promise=promise.catch(resolveMuted)),isPromise(promise))return promise.then((function(){_this6.trigger({type:"autoplay-success",autoplay:type})})).catch((function(){_this6.trigger({type:"autoplay-failure",autoplay:type})}))}},_proto.updateSourceCaches_=function updateSourceCaches_(srcObj){void 0===srcObj&&(srcObj="");var src=srcObj,type="";"string"!=typeof src&&(src=srcObj.src,type=srcObj.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],src&&!type&&(type=function findMimetype(player,src){if(!src)return"";if(player.cache_.source.src===src&&player.cache_.source.type)return player.cache_.source.type;var matchingSources=player.cache_.sources.filter((function(s){return s.src===src}));if(matchingSources.length)return matchingSources[0].type;for(var sources=player.$$("source"),i=0;i<sources.length;i++){var s=sources[i];if(s.type&&s.src&&s.src===src)return s.type}return getMimetype(src)}(this,src)),this.cache_.source=mergeOptions$3({},srcObj,{src,type});for(var matchingSources=this.cache_.sources.filter((function(s){return s.src&&s.src===src})),sourceElSources=[],sourceEls=this.$$("source"),matchingSourceEls=[],i=0;i<sourceEls.length;i++){var sourceObj=getAttributes(sourceEls[i]);sourceElSources.push(sourceObj),sourceObj.src&&sourceObj.src===src&&matchingSourceEls.push(sourceObj.src)}matchingSourceEls.length&&!matchingSources.length?this.cache_.sources=sourceElSources:matchingSources.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=src},_proto.handleTechSourceset_=function handleTechSourceset_(event){var _this7=this;if(!this.changingSrc_){var updateSourceCaches=function updateSourceCaches(src){return _this7.updateSourceCaches_(src)},playerSrc=this.currentSource().src,eventSrc=event.src;playerSrc&&!/^blob:/.test(playerSrc)&&/^blob:/.test(eventSrc)&&(!this.lastSource_||this.lastSource_.tech!==eventSrc&&this.lastSource_.player!==playerSrc)&&(updateSourceCaches=function updateSourceCaches(){}),updateSourceCaches(eventSrc),event.src||this.tech_.any(["sourceset","loadstart"],(function(e){if("sourceset"!==e.type){var techSrc=_this7.techGet("currentSrc");_this7.lastSource_.tech=techSrc,_this7.updateSourceCaches_(techSrc)}}))}this.lastSource_={player:this.currentSource().src,tech:event.src},this.trigger({src:event.src,type:"sourceset"})},_proto.hasStarted=function hasStarted(request){if(void 0===request)return this.hasStarted_;request!==this.hasStarted_&&(this.hasStarted_=request,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},_proto.handleTechPlay_=function handleTechPlay_(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},_proto.handleTechRateChange_=function handleTechRateChange_(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(queued){return queued.callback(queued.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},_proto.handleTechWaiting_=function handleTechWaiting_(){var _this8=this;this.addClass("vjs-waiting"),this.trigger("waiting");var timeWhenWaiting=this.currentTime();this.on("timeupdate",(function timeUpdateListener(){timeWhenWaiting!==_this8.currentTime()&&(_this8.removeClass("vjs-waiting"),_this8.off("timeupdate",timeUpdateListener))}))},_proto.handleTechCanPlay_=function handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")},_proto.handleTechCanPlayThrough_=function handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},_proto.handleTechPlaying_=function handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")},_proto.handleTechSeeking_=function handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")},_proto.handleTechSeeked_=function handleTechSeeked_(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},_proto.handleTechFirstPlay_=function handleTechFirstPlay_(){this.options_.starttime&&(log$1.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},_proto.handleTechPause_=function handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},_proto.handleTechEnded_=function handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},_proto.handleTechDurationChange_=function handleTechDurationChange_(){this.duration(this.techGet_("duration"))},_proto.handleTechClick_=function handleTechClick_(event){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,event):this.paused()?silencePromise(this.play()):this.pause()))},_proto.handleTechDoubleClick_=function handleTechDoubleClick_(event){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(function(el){return el.contains(event.target)}))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,event):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},_proto.handleTechTap_=function handleTechTap_(){this.userActive(!this.userActive())},_proto.handleTechTouchStart_=function handleTechTouchStart_(){this.userWasActive=this.userActive()},_proto.handleTechTouchMove_=function handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()},_proto.handleTechTouchEnd_=function handleTechTouchEnd_(event){event.cancelable&&event.preventDefault()},_proto.handleStageClick_=function handleStageClick_(){this.reportUserActivity()},_proto.toggleFullscreenClass_=function toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},_proto.documentFullscreenChange_=function documentFullscreenChange_(e){var targetPlayer=e.target.player;if(!targetPlayer||targetPlayer===this){var el=this.el(),isFs=document_default()[this.fsApi_.fullscreenElement]===el;!isFs&&el.matches?isFs=el.matches(":"+this.fsApi_.fullscreen):!isFs&&el.msMatchesSelector&&(isFs=el.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(isFs)}},_proto.handleTechFullscreenChange_=function handleTechFullscreenChange_(event,data){var _this9=this;data&&(data.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(function(){_this9.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(data.isFullscreen))},_proto.handleTechFullscreenError_=function handleTechFullscreenError_(event,err){this.trigger("fullscreenerror",err)},_proto.togglePictureInPictureClass_=function togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},_proto.handleTechEnterPictureInPicture_=function handleTechEnterPictureInPicture_(event){this.isInPictureInPicture(!0)},_proto.handleTechLeavePictureInPicture_=function handleTechLeavePictureInPicture_(event){this.isInPictureInPicture(!1)},_proto.handleTechError_=function handleTechError_(){var error=this.tech_.error();this.error(error)},_proto.handleTechTextData_=function handleTechTextData_(){var data=null;arguments.length>1&&(data=arguments[1]),this.trigger("textdata",data)},_proto.getCache=function getCache(){return this.cache_},_proto.resetCache_=function resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},_proto.techCall_=function techCall_(method,arg){this.ready((function(){if(method in allowedSetters)return function set(middleware,tech,method,arg){return tech[method](middleware.reduce(middlewareIterator(method),arg))}(this.middleware_,this.tech_,method,arg);if(method in allowedMediators)return mediate(this.middleware_,this.tech_,method,arg);try{this.tech_&&this.tech_[method](arg)}catch(e){throw log$1(e),e}}),!0)},_proto.techGet_=function techGet_(method){if(this.tech_&&this.tech_.isReady_){if(method in allowedGetters)return function get(middleware,tech,method){return middleware.reduceRight(middlewareIterator(method),tech[method]())}(this.middleware_,this.tech_,method);if(method in allowedMediators)return mediate(this.middleware_,this.tech_,method);try{return this.tech_[method]()}catch(e){if(void 0===this.tech_[method])throw log$1("Video.js: "+method+" method not defined for "+this.techName_+" playback technology.",e),e;if("TypeError"===e.name)throw log$1("Video.js: "+method+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1,e;throw log$1(e),e}}},_proto.play=function play(){var _this10=this,PromiseClass=this.options_.Promise||window_default().Promise;return PromiseClass?new PromiseClass((function(resolve){_this10.play_(resolve)})):this.play_()},_proto.play_=function play_(callback){var _this11=this;void 0===callback&&(callback=silencePromise),this.playCallbacks_.push(callback);var isSrcReady=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!isSrcReady)return this.waitToPlay_=function(e){_this11.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(isSrcReady||!IS_ANY_SAFARI&&!IS_IOS||this.load());var val=this.techGet_("play");null===val?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(val)},_proto.runPlayTerminatedQueue_=function runPlayTerminatedQueue_(){var queue=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],queue.forEach((function(q){q()}))},_proto.runPlayCallbacks_=function runPlayCallbacks_(val){var callbacks=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],callbacks.forEach((function(cb){cb(val)}))},_proto.pause=function pause(){this.techCall_("pause")},_proto.paused=function paused(){return!1!==this.techGet_("paused")},_proto.played=function played(){return this.techGet_("played")||createTimeRanges(0,0)},_proto.scrubbing=function scrubbing(isScrubbing){if(void 0===isScrubbing)return this.scrubbing_;this.scrubbing_=!!isScrubbing,this.techCall_("setScrubbing",this.scrubbing_),isScrubbing?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},_proto.currentTime=function currentTime(seconds){return void 0!==seconds?(seconds<0&&(seconds=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",seconds),void(this.cache_.initTime=0)):(this.cache_.initTime=seconds,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},_proto.applyInitTime_=function applyInitTime_(){this.currentTime(this.cache_.initTime)},_proto.duration=function duration(seconds){if(void 0===seconds)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(seconds=parseFloat(seconds))<0&&(seconds=1/0),seconds!==this.cache_.duration&&(this.cache_.duration=seconds,seconds===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(seconds)||this.trigger("durationchange"))},_proto.remainingTime=function remainingTime(){return this.duration()-this.currentTime()},_proto.remainingTimeDisplay=function remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())},_proto.buffered=function buffered(){var buffered=this.techGet_("buffered");return buffered&&buffered.length||(buffered=createTimeRanges(0,0)),buffered},_proto.bufferedPercent=function bufferedPercent$1(){return bufferedPercent(this.buffered(),this.duration())},_proto.bufferedEnd=function bufferedEnd(){var buffered=this.buffered(),duration=this.duration(),end=buffered.end(buffered.length-1);return end>duration&&(end=duration),end},_proto.volume=function volume(percentAsDecimal){var vol;return void 0!==percentAsDecimal?(vol=Math.max(0,Math.min(1,parseFloat(percentAsDecimal))),this.cache_.volume=vol,this.techCall_("setVolume",vol),void(vol>0&&this.lastVolume_(vol))):(vol=parseFloat(this.techGet_("volume")),isNaN(vol)?1:vol)},_proto.muted=function muted(_muted){if(void 0===_muted)return this.techGet_("muted")||!1;this.techCall_("setMuted",_muted)},_proto.defaultMuted=function defaultMuted(_defaultMuted){return void 0!==_defaultMuted?this.techCall_("setDefaultMuted",_defaultMuted):this.techGet_("defaultMuted")||!1},_proto.lastVolume_=function lastVolume_(percentAsDecimal){if(void 0===percentAsDecimal||0===percentAsDecimal)return this.cache_.lastVolume;this.cache_.lastVolume=percentAsDecimal},_proto.supportsFullScreen=function supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1},_proto.isFullscreen=function isFullscreen(isFS){if(void 0!==isFS){var oldValue=this.isFullscreen_;return this.isFullscreen_=Boolean(isFS),this.isFullscreen_!==oldValue&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},_proto.requestFullscreen=function requestFullscreen(fullscreenOptions){var PromiseClass=this.options_.Promise||window_default().Promise;if(PromiseClass){var self=this;return new PromiseClass((function(resolve,reject){function offHandler(){self.off("fullscreenerror",errorHandler),self.off("fullscreenchange",changeHandler)}function changeHandler(){offHandler(),resolve()}function errorHandler(e,err){offHandler(),reject(err)}self.one("fullscreenchange",changeHandler),self.one("fullscreenerror",errorHandler);var promise=self.requestFullscreenHelper_(fullscreenOptions);promise&&(promise.then(offHandler,offHandler),promise.then(resolve,reject))}))}return this.requestFullscreenHelper_()},_proto.requestFullscreenHelper_=function requestFullscreenHelper_(fullscreenOptions){var fsOptions,_this12=this;if(this.fsApi_.prefixed||(fsOptions=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==fullscreenOptions&&(fsOptions=fullscreenOptions)),this.fsApi_.requestFullscreen){var promise=this.el_[this.fsApi_.requestFullscreen](fsOptions);return promise&&promise.then((function(){return _this12.isFullscreen(!0)}),(function(){return _this12.isFullscreen(!1)})),promise}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},_proto.exitFullscreen=function exitFullscreen(){var PromiseClass=this.options_.Promise||window_default().Promise;if(PromiseClass){var self=this;return new PromiseClass((function(resolve,reject){function offHandler(){self.off("fullscreenerror",errorHandler),self.off("fullscreenchange",changeHandler)}function changeHandler(){offHandler(),resolve()}function errorHandler(e,err){offHandler(),reject(err)}self.one("fullscreenchange",changeHandler),self.one("fullscreenerror",errorHandler);var promise=self.exitFullscreenHelper_();promise&&(promise.then(offHandler,offHandler),promise.then(resolve,reject))}))}return this.exitFullscreenHelper_()},_proto.exitFullscreenHelper_=function exitFullscreenHelper_(){var _this13=this;if(this.fsApi_.requestFullscreen){var promise=document_default()[this.fsApi_.exitFullscreen]();return promise&&silencePromise(promise.then((function(){return _this13.isFullscreen(!1)}))),promise}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},_proto.enterFullWindow=function enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=document_default().documentElement.style.overflow,on(document_default(),"keydown",this.boundFullWindowOnEscKey_),document_default().documentElement.style.overflow="hidden",addClass(document_default().body,"vjs-full-window"),this.trigger("enterFullWindow")},_proto.fullWindowOnEscKey=function fullWindowOnEscKey(event){keycode_default().isEventKey(event,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},_proto.exitFullWindow=function exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,off(document_default(),"keydown",this.boundFullWindowOnEscKey_),document_default().documentElement.style.overflow=this.docOrigOverflow,removeClass(document_default().body,"vjs-full-window"),this.trigger("exitFullWindow")},_proto.disablePictureInPicture=function disablePictureInPicture(value){if(void 0===value)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",value),this.options_.disablePictureInPicture=value,this.trigger("disablepictureinpicturechanged")},_proto.isInPictureInPicture=function isInPictureInPicture(isPiP){return void 0!==isPiP?(this.isInPictureInPicture_=!!isPiP,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},_proto.requestPictureInPicture=function requestPictureInPicture(){if("pictureInPictureEnabled"in document_default()&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},_proto.exitPictureInPicture=function exitPictureInPicture(){if("pictureInPictureEnabled"in document_default())return document_default().exitPictureInPicture()},_proto.handleKeyDown=function handleKeyDown(event){var userActions=this.options_.userActions;if(userActions&&userActions.hotkeys){(function excludeElement(el){var tagName=el.tagName.toLowerCase();if(el.isContentEditable)return!0;if("input"===tagName)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(el.type);return-1!==["textarea"].indexOf(tagName)})(this.el_.ownerDocument.activeElement)||("function"==typeof userActions.hotkeys?userActions.hotkeys.call(this,event):this.handleHotkeys(event))}},_proto.handleHotkeys=function handleHotkeys(event){var hotkeys=this.options_.userActions?this.options_.userActions.hotkeys:{},_hotkeys$fullscreenKe=hotkeys.fullscreenKey,fullscreenKey=void 0===_hotkeys$fullscreenKe?function(keydownEvent){return keycode_default().isEventKey(keydownEvent,"f")}:_hotkeys$fullscreenKe,_hotkeys$muteKey=hotkeys.muteKey,muteKey=void 0===_hotkeys$muteKey?function(keydownEvent){return keycode_default().isEventKey(keydownEvent,"m")}:_hotkeys$muteKey,_hotkeys$playPauseKey=hotkeys.playPauseKey,playPauseKey=void 0===_hotkeys$playPauseKey?function(keydownEvent){return keycode_default().isEventKey(keydownEvent,"k")||keycode_default().isEventKey(keydownEvent,"Space")}:_hotkeys$playPauseKey;if(fullscreenKey.call(this,event)){event.preventDefault(),event.stopPropagation();var FSToggle=Component$1.getComponent("FullscreenToggle");!1!==document_default()[this.fsApi_.fullscreenEnabled]&&FSToggle.prototype.handleClick.call(this,event)}else if(muteKey.call(this,event)){event.preventDefault(),event.stopPropagation(),Component$1.getComponent("MuteToggle").prototype.handleClick.call(this,event)}else if(playPauseKey.call(this,event)){event.preventDefault(),event.stopPropagation(),Component$1.getComponent("PlayToggle").prototype.handleClick.call(this,event)}},_proto.canPlayType=function canPlayType(type){for(var can,i=0,j=this.options_.techOrder;i<j.length;i++){var techName=j[i],tech=Tech.getTech(techName);if(tech||(tech=Component$1.getComponent(techName)),tech){if(tech.isSupported()&&(can=tech.canPlayType(type)))return can}else log$1.error('The "'+techName+'" tech is undefined. Skipped browser support check for that tech.')}return""},_proto.selectSource=function selectSource(sources){var foundSourceAndTech,_this14=this,techs=this.options_.techOrder.map((function(techName){return[techName,Tech.getTech(techName)]})).filter((function(_ref){var techName=_ref[0],tech=_ref[1];return tech?tech.isSupported():(log$1.error('The "'+techName+'" tech is undefined. Skipped browser support check for that tech.'),!1)})),findFirstPassingTechSourcePair=function findFirstPassingTechSourcePair(outerArray,innerArray,tester){var found;return outerArray.some((function(outerChoice){return innerArray.some((function(innerChoice){if(found=tester(outerChoice,innerChoice))return!0}))})),found},finder=function finder(_ref2,source){var techName=_ref2[0];if(_ref2[1].canPlaySource(source,_this14.options_[techName.toLowerCase()]))return{source,tech:techName}};return foundSourceAndTech=this.options_.sourceOrder?findFirstPassingTechSourcePair(sources,techs,function flip(fn){return function(a,b){return fn(b,a)}}(finder)):findFirstPassingTechSourcePair(techs,sources,finder),foundSourceAndTech||!1},_proto.handleSrc_=function handleSrc_(source,isRetry){var _this15=this;if(void 0===source)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();var sources=filterSource(source);if(sources.length){if(this.changingSrc_=!0,isRetry||(this.cache_.sources=sources),this.updateSourceCaches_(sources[0]),setSource(this,sources[0],(function(middlewareSource,mws){if(_this15.middleware_=mws,isRetry||(_this15.cache_.sources=sources),_this15.updateSourceCaches_(middlewareSource),_this15.src_(middlewareSource))return sources.length>1?_this15.handleSrc_(sources.slice(1)):(_this15.changingSrc_=!1,_this15.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0),void _this15.triggerReady());!function setTech(middleware,tech){middleware.forEach((function(mw){return mw.setTech&&mw.setTech(tech)}))}(mws,_this15.tech_)})),this.options_.retryOnError&&sources.length>1){var retry=function retry(){_this15.error(null),_this15.handleSrc_(sources.slice(1),!0)},stopListeningForErrors=function stopListeningForErrors(){_this15.off("error",retry)};this.one("error",retry),this.one("playing",stopListeningForErrors),this.resetRetryOnError_=function(){_this15.off("error",retry),_this15.off("playing",stopListeningForErrors)}}}else this.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0)},_proto.src=function src(source){return this.handleSrc_(source,!1)},_proto.src_=function src_(source){var _this16=this,sourceTech=this.selectSource([source]);return!sourceTech||(function titleCaseEquals(str1,str2){return toTitleCase$1(str1)===toTitleCase$1(str2)}(sourceTech.tech,this.techName_)?(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",source):this.techCall_("src",source.src),this.changingSrc_=!1}),!0),!1):(this.changingSrc_=!0,this.loadTech_(sourceTech.tech,sourceTech.source),this.tech_.ready((function(){_this16.changingSrc_=!1})),!1))},_proto.load=function load(){this.techCall_("load")},_proto.reset=function reset(){var _this17=this,PromiseClass=this.options_.Promise||window_default().Promise;this.paused()||!PromiseClass?this.doReset_():silencePromise(this.play().then((function(){return _this17.doReset_()})))},_proto.doReset_=function doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),isEvented(this)&&this.trigger("playerreset")},_proto.resetControlBarUI_=function resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},_proto.resetProgressBar_=function resetProgressBar_(){this.currentTime(0);var _this$controlBar=this.controlBar,durationDisplay=_this$controlBar.durationDisplay,remainingTimeDisplay=_this$controlBar.remainingTimeDisplay;durationDisplay&&durationDisplay.updateContent(),remainingTimeDisplay&&remainingTimeDisplay.updateContent()},_proto.resetPlaybackRate_=function resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},_proto.resetVolumeBar_=function resetVolumeBar_(){this.volume(1),this.trigger("volumechange")},_proto.currentSources=function currentSources(){var source=this.currentSource(),sources=[];return 0!==Object.keys(source).length&&sources.push(source),this.cache_.sources||sources},_proto.currentSource=function currentSource(){return this.cache_.source||{}},_proto.currentSrc=function currentSrc(){return this.currentSource()&&this.currentSource().src||""},_proto.currentType=function currentType(){return this.currentSource()&&this.currentSource().type||""},_proto.preload=function preload(value){return void 0!==value?(this.techCall_("setPreload",value),void(this.options_.preload=value)):this.techGet_("preload")},_proto.autoplay=function autoplay(value){if(void 0===value)return this.options_.autoplay||!1;var techAutoplay;"string"==typeof value&&/(any|play|muted)/.test(value)||!0===value&&this.options_.normalizeAutoplay?(this.options_.autoplay=value,this.manualAutoplay_("string"==typeof value?value:"play"),techAutoplay=!1):this.options_.autoplay=!!value,techAutoplay=void 0===techAutoplay?this.options_.autoplay:techAutoplay,this.tech_&&this.techCall_("setAutoplay",techAutoplay)},_proto.playsinline=function playsinline(value){return void 0!==value?(this.techCall_("setPlaysinline",value),this.options_.playsinline=value,this):this.techGet_("playsinline")},_proto.loop=function loop(value){return void 0!==value?(this.techCall_("setLoop",value),void(this.options_.loop=value)):this.techGet_("loop")},_proto.poster=function poster(src){if(void 0===src)return this.poster_;src||(src=""),src!==this.poster_&&(this.poster_=src,this.techCall_("setPoster",src),this.isPosterFromTech_=!1,this.trigger("posterchange"))},_proto.handleTechPosterChange_=function handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var newPoster=this.tech_.poster()||"";newPoster!==this.poster_&&(this.poster_=newPoster,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},_proto.controls=function controls(bool){if(void 0===bool)return!!this.controls_;bool=!!bool,this.controls_!==bool&&(this.controls_=bool,this.usingNativeControls()&&this.techCall_("setControls",bool),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},_proto.usingNativeControls=function usingNativeControls(bool){if(void 0===bool)return!!this.usingNativeControls_;bool=!!bool,this.usingNativeControls_!==bool&&(this.usingNativeControls_=bool,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},_proto.error=function error(err){var _this18=this;if(void 0===err)return this.error_||null;if(hooks("beforeerror").forEach((function(hookFunction){var newErr=hookFunction(_this18,err);video_es_isObject(newErr)&&!Array.isArray(newErr)||"string"==typeof newErr||"number"==typeof newErr||null===newErr?err=newErr:_this18.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&err&&4===err.code){var triggerSuppressedError=function triggerSuppressedError(){this.error(err)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],triggerSuppressedError),void this.one("loadstart",(function(){this.off(["click","touchstart"],triggerSuppressedError)}))}if(null===err)return this.error_=err,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new MediaError(err),this.addClass("vjs-error"),log$1.error("(CODE:"+this.error_.code+" "+MediaError.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),hooks("error").forEach((function(hookFunction){return hookFunction(_this18,_this18.error_)}))},_proto.reportUserActivity=function reportUserActivity(event){this.userActivity_=!0},_proto.userActive=function userActive(bool){if(void 0===bool)return this.userActive_;if((bool=!!bool)!==this.userActive_){if(this.userActive_=bool,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},_proto.listenForUserActivity_=function listenForUserActivity_(){var mouseInProgress,lastMoveX,lastMoveY,handleActivity=bind(this,this.reportUserActivity),handleMouseUpAndMouseLeave=function handleMouseUpAndMouseLeave(event){handleActivity(),this.clearInterval(mouseInProgress)};this.on("mousedown",(function handleMouseDown(){handleActivity(),this.clearInterval(mouseInProgress),mouseInProgress=this.setInterval(handleActivity,250)})),this.on("mousemove",(function handleMouseMove(e){e.screenX===lastMoveX&&e.screenY===lastMoveY||(lastMoveX=e.screenX,lastMoveY=e.screenY,handleActivity())})),this.on("mouseup",handleMouseUpAndMouseLeave),this.on("mouseleave",handleMouseUpAndMouseLeave);var inactivityTimeout,controlBar=this.getChild("controlBar");!controlBar||IS_IOS||IS_ANDROID||(controlBar.on("mouseenter",(function(event){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),controlBar.on("mouseleave",(function(event){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",handleActivity),this.on("keyup",handleActivity),this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(inactivityTimeout);var timeout=this.options_.inactivityTimeout;timeout<=0||(inactivityTimeout=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),timeout))}}),250)},_proto.playbackRate=function playbackRate(rate){if(void 0===rate)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",rate)},_proto.defaultPlaybackRate=function defaultPlaybackRate(rate){return void 0!==rate?this.techCall_("setDefaultPlaybackRate",rate):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},_proto.isAudio=function isAudio(bool){if(void 0===bool)return!!this.isAudio_;this.isAudio_=!!bool},_proto.addTextTrack=function addTextTrack(kind,label,language){if(this.tech_)return this.tech_.addTextTrack(kind,label,language)},_proto.addRemoteTextTrack=function addRemoteTextTrack(options,manualCleanup){if(this.tech_)return this.tech_.addRemoteTextTrack(options,manualCleanup)},_proto.removeRemoteTextTrack=function removeRemoteTextTrack(obj){void 0===obj&&(obj={});var track=obj.track;if(track||(track=obj),this.tech_)return this.tech_.removeRemoteTextTrack(track)},_proto.getVideoPlaybackQuality=function getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")},_proto.videoWidth=function videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},_proto.videoHeight=function videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},_proto.language=function language(code){if(void 0===code)return this.language_;this.language_!==String(code).toLowerCase()&&(this.language_=String(code).toLowerCase(),isEvented(this)&&this.trigger("languagechange"))},_proto.languages=function languages(){return mergeOptions$3(Player.prototype.options_.languages,this.languages_)},_proto.toJSON=function toJSON(){var options=mergeOptions$3(this.options_),tracks=options.tracks;options.tracks=[];for(var i=0;i<tracks.length;i++){var track=tracks[i];(track=mergeOptions$3(track)).player=void 0,options.tracks[i]=track}return options},_proto.createModal=function createModal(content,options){var _this19=this;(options=options||{}).content=content||"";var modal=new ModalDialog(this,options);return this.addChild(modal),modal.on("dispose",(function(){_this19.removeChild(modal)})),modal.open(),modal},_proto.updateCurrentBreakpoint_=function updateCurrentBreakpoint_(){if(this.responsive())for(var currentBreakpoint=this.currentBreakpoint(),currentWidth=this.currentWidth(),i=0;i<BREAKPOINT_ORDER.length;i++){var candidateBreakpoint=BREAKPOINT_ORDER[i];if(currentWidth<=this.breakpoints_[candidateBreakpoint]){if(currentBreakpoint===candidateBreakpoint)return;currentBreakpoint&&this.removeClass(BREAKPOINT_CLASSES[currentBreakpoint]),this.addClass(BREAKPOINT_CLASSES[candidateBreakpoint]),this.breakpoint_=candidateBreakpoint;break}}},_proto.removeCurrentBreakpoint_=function removeCurrentBreakpoint_(){var className=this.currentBreakpointClass();this.breakpoint_="",className&&this.removeClass(className)},_proto.breakpoints=function breakpoints(_breakpoints){return void 0===_breakpoints||(this.breakpoint_="",this.breakpoints_=video_es_assign({},DEFAULT_BREAKPOINTS,_breakpoints),this.updateCurrentBreakpoint_()),video_es_assign(this.breakpoints_)},_proto.responsive=function responsive(value){return void 0===value?this.responsive_:(value=Boolean(value))!==this.responsive_?(this.responsive_=value,value?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),value):void 0},_proto.currentBreakpoint=function currentBreakpoint(){return this.breakpoint_},_proto.currentBreakpointClass=function currentBreakpointClass(){return BREAKPOINT_CLASSES[this.breakpoint_]||""},_proto.loadMedia=function loadMedia(media,ready){var _this20=this;if(media&&"object"==typeof media){this.reset(),this.cache_.media=mergeOptions$3(media);var _this$cache_$media=this.cache_.media,artwork=_this$cache_$media.artwork,poster=_this$cache_$media.poster,src=_this$cache_$media.src,textTracks=_this$cache_$media.textTracks;!artwork&&poster&&(this.cache_.media.artwork=[{src:poster,type:getMimetype(poster)}]),src&&this.src(src),poster&&this.poster(poster),Array.isArray(textTracks)&&textTracks.forEach((function(tt){return _this20.addRemoteTextTrack(tt,!1)})),this.ready(ready)}},_proto.getMedia=function getMedia(){if(!this.cache_.media){var poster=this.poster(),media={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(function(tt){return{kind:tt.kind,label:tt.label,language:tt.language,src:tt.src}}))};return poster&&(media.poster=poster,media.artwork=[{src:media.poster,type:getMimetype(media.poster)}]),media}return mergeOptions$3(this.cache_.media)},Player.getTagSettings=function getTagSettings(tag){var baseOptions={sources:[],tracks:[]},tagOptions=getAttributes(tag),dataSetup=tagOptions["data-setup"];if(hasClass(tag,"vjs-fill")&&(tagOptions.fill=!0),hasClass(tag,"vjs-fluid")&&(tagOptions.fluid=!0),null!==dataSetup){var _safeParseTuple=tuple_default()(dataSetup||"{}"),err=_safeParseTuple[0],data=_safeParseTuple[1];err&&log$1.error(err),video_es_assign(tagOptions,data)}if(video_es_assign(baseOptions,tagOptions),tag.hasChildNodes())for(var children=tag.childNodes,i=0,j=children.length;i<j;i++){var child=children[i],childName=child.nodeName.toLowerCase();"source"===childName?baseOptions.sources.push(getAttributes(child)):"track"===childName&&baseOptions.tracks.push(getAttributes(child))}return baseOptions},_proto.flexNotSupported_=function flexNotSupported_(){var elem=document_default().createElement("i");return!("flexBasis"in elem.style||"webkitFlexBasis"in elem.style||"mozFlexBasis"in elem.style||"msFlexBasis"in elem.style||"msFlexOrder"in elem.style)},_proto.debug=function debug(enabled){if(void 0===enabled)return this.debugEnabled_;enabled?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)},_proto.playbackRates=function playbackRates(newRates){if(void 0===newRates)return this.cache_.playbackRates;Array.isArray(newRates)&&newRates.every((function(rate){return"number"==typeof rate}))&&(this.cache_.playbackRates=newRates,this.trigger("playbackrateschange"))},Player}(Component$1);ALL.names.forEach((function(name){var props=ALL[name];Player.prototype[props.getterName]=function(){return this.tech_?this.tech_[props.getterName]():(this[props.privateName]=this[props.privateName]||new props.ListClass,this[props.privateName])}})),Player.prototype.crossorigin=Player.prototype.crossOrigin,Player.players={};var video_es_navigator=window_default().navigator;Player.prototype.options_={techOrder:Tech.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:video_es_navigator&&(video_es_navigator.languages&&video_es_navigator.languages[0]||video_es_navigator.userLanguage||video_es_navigator.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(fn){Player.prototype[fn]=function(){return this.techGet_(fn)}})),TECH_EVENTS_RETRIGGER.forEach((function(event){Player.prototype["handleTech"+toTitleCase$1(event)+"_"]=function(){return this.trigger(event)}})),Component$1.registerComponent("Player",Player);var pluginStorage={},pluginExists=function pluginExists(name){return pluginStorage.hasOwnProperty(name)},getPlugin=function getPlugin(name){return pluginExists(name)?pluginStorage[name]:void 0},markPluginAsActive=function markPluginAsActive(player,name){player.activePlugins_=player.activePlugins_||{},player.activePlugins_[name]=!0},triggerSetupEvent=function triggerSetupEvent(player,hash,before){var eventName=(before?"before":"")+"pluginsetup";player.trigger(eventName,hash),player.trigger(eventName+":"+hash.name,hash)},createPluginFactory=function createPluginFactory(name,PluginSubClass){return PluginSubClass.prototype.name=name,function(){triggerSetupEvent(this,{name,plugin:PluginSubClass,instance:null},!0);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var instance=(0,construct.Z)(PluginSubClass,[this].concat(args));return this[name]=function(){return instance},triggerSetupEvent(this,instance.getEventHash()),instance}},Plugin=function(){function Plugin(player){if(this.constructor===Plugin)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=player,this.log||(this.log=this.player.log.createLogger(this.name)),evented(this),delete this.trigger,stateful(this,this.constructor.defaultState),markPluginAsActive(player,this.name),this.dispose=this.dispose.bind(this),player.on("dispose",this.dispose)}var _proto=Plugin.prototype;return _proto.version=function version(){return this.constructor.VERSION},_proto.getEventHash=function getEventHash(hash){return void 0===hash&&(hash={}),hash.name=this.name,hash.plugin=this.constructor,hash.instance=this,hash},_proto.trigger=function trigger$1(event,hash){return void 0===hash&&(hash={}),trigger(this.eventBusEl_,event,this.getEventHash(hash))},_proto.handleStateChanged=function handleStateChanged(e){},_proto.dispose=function dispose(){var name=this.name,player=this.player;this.trigger("dispose"),this.off(),player.off("dispose",this.dispose),player.activePlugins_[name]=!1,this.player=this.state=null,player[name]=createPluginFactory(name,pluginStorage[name])},Plugin.isBasic=function isBasic(plugin){var p="string"==typeof plugin?getPlugin(plugin):plugin;return"function"==typeof p&&!Plugin.prototype.isPrototypeOf(p.prototype)},Plugin.registerPlugin=function registerPlugin(name,plugin){if("string"!=typeof name)throw new Error('Illegal plugin name, "'+name+'", must be a string, was '+typeof name+".");if(pluginExists(name))log$1.warn('A plugin named "'+name+'" already exists. You may want to avoid re-registering plugins!');else if(Player.prototype.hasOwnProperty(name))throw new Error('Illegal plugin name, "'+name+'", cannot share a name with an existing player method!');if("function"!=typeof plugin)throw new Error('Illegal plugin for "'+name+'", must be a function, was '+typeof plugin+".");return pluginStorage[name]=plugin,"plugin"!==name&&(Plugin.isBasic(plugin)?Player.prototype[name]=function createBasicPlugin(name,plugin){var basicPluginWrapper=function basicPluginWrapper(){triggerSetupEvent(this,{name,plugin,instance:null},!0);var instance=plugin.apply(this,arguments);return markPluginAsActive(this,name),triggerSetupEvent(this,{name,plugin,instance}),instance};return Object.keys(plugin).forEach((function(prop){basicPluginWrapper[prop]=plugin[prop]})),basicPluginWrapper}(name,plugin):Player.prototype[name]=createPluginFactory(name,plugin)),plugin},Plugin.deregisterPlugin=function deregisterPlugin(name){if("plugin"===name)throw new Error("Cannot de-register base plugin.");pluginExists(name)&&(delete pluginStorage[name],delete Player.prototype[name])},Plugin.getPlugins=function getPlugins(names){var result;return void 0===names&&(names=Object.keys(pluginStorage)),names.forEach((function(name){var plugin=getPlugin(name);plugin&&((result=result||{})[name]=plugin)})),result},Plugin.getPluginVersion=function getPluginVersion(name){var plugin=getPlugin(name);return plugin&&plugin.VERSION||""},Plugin}();Plugin.getPlugin=getPlugin,Plugin.BASE_PLUGIN_NAME="plugin",Plugin.registerPlugin("plugin",Plugin),Player.prototype.usingPlugin=function(name){return!!this.activePlugins_&&!0===this.activePlugins_[name]},Player.prototype.hasPlugin=function(name){return!!pluginExists(name)};var normalizeId=function normalizeId(id){return 0===id.indexOf("#")?id.slice(1):id};function videojs(id,options,ready){var player=videojs.getPlayer(id);if(player)return options&&log$1.warn('Player "'+id+'" is already initialised. Options will not be applied.'),ready&&player.ready(ready),player;var el="string"==typeof id?$("#"+normalizeId(id)):id;if(!isEl(el))throw new TypeError("The element or ID supplied is not valid. (videojs)");el.ownerDocument.defaultView&&el.ownerDocument.body.contains(el)||log$1.warn("The element supplied is not included in the DOM"),options=options||{},hooks("beforesetup").forEach((function(hookFunction){var opts=hookFunction(el,mergeOptions$3(options));video_es_isObject(opts)&&!Array.isArray(opts)?options=mergeOptions$3(options,opts):log$1.error("please return an object in beforesetup hooks")}));var PlayerComponent=Component$1.getComponent("Player");return player=new PlayerComponent(el,options,ready),hooks("setup").forEach((function(hookFunction){return hookFunction(player)})),player}if(videojs.hooks_=hooks_,videojs.hooks=hooks,videojs.hook=function hook(type,fn){hooks(type,fn)},videojs.hookOnce=function hookOnce(type,fn){hooks(type,[].concat(fn).map((function(original){return function wrapper(){return removeHook(type,wrapper),original.apply(void 0,arguments)}})))},videojs.removeHook=removeHook,!0!==window_default().VIDEOJS_NO_DYNAMIC_STYLE&&isReal()){var style=$(".vjs-styles-defaults");if(!style){style=createStyleElement("vjs-styles-defaults");var head=$("head");head&&head.insertBefore(style,head.firstChild),setTextContent(style,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}autoSetupTimeout(1,videojs),videojs.VERSION="7.18.1",videojs.options=Player.prototype.options_,videojs.getPlayers=function(){return Player.players},videojs.getPlayer=function(id){var tag,players=Player.players;if("string"==typeof id){var nId=normalizeId(id),player=players[nId];if(player)return player;tag=$("#"+nId)}else tag=id;if(isEl(tag)){var _tag=tag,_player=_tag.player,playerId=_tag.playerId;if(_player||players[playerId])return _player||players[playerId]}},videojs.getAllPlayers=function(){return Object.keys(Player.players).map((function(k){return Player.players[k]})).filter(Boolean)},videojs.players=Player.players,videojs.getComponent=Component$1.getComponent,videojs.registerComponent=function(name,comp){Tech.isTech(comp)&&log$1.warn("The "+name+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),Component$1.registerComponent.call(Component$1,name,comp)},videojs.getTech=Tech.getTech,videojs.registerTech=Tech.registerTech,videojs.use=function use(type,middleware){middlewares[type]=middlewares[type]||[],middlewares[type].push(middleware)},Object.defineProperty(videojs,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(videojs.middleware,"TERMINATOR",{value:TERMINATOR,writeable:!1,enumerable:!0}),videojs.browser=browser,videojs.TOUCH_ENABLED=TOUCH_ENABLED,videojs.extend=function extend(superClass,subClassMethods){void 0===subClassMethods&&(subClassMethods={});var subClass=function subClass(){superClass.apply(this,arguments)},methods={};for(var name in"object"==typeof subClassMethods?(subClassMethods.constructor!==Object.prototype.constructor&&(subClass=subClassMethods.constructor),methods=subClassMethods):"function"==typeof subClassMethods&&(subClass=subClassMethods),(0,inherits.Z)(subClass,superClass),superClass&&(subClass.super_=superClass),methods)methods.hasOwnProperty(name)&&(subClass.prototype[name]=methods[name]);return subClass},videojs.mergeOptions=mergeOptions$3,videojs.bind=bind,videojs.registerPlugin=Plugin.registerPlugin,videojs.deregisterPlugin=Plugin.deregisterPlugin,videojs.plugin=function(name,plugin){return log$1.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Plugin.registerPlugin(name,plugin)},videojs.getPlugins=Plugin.getPlugins,videojs.getPlugin=Plugin.getPlugin,videojs.getPluginVersion=Plugin.getPluginVersion,videojs.addLanguage=function(code,data){var _mergeOptions;return code=(""+code).toLowerCase(),videojs.options.languages=mergeOptions$3(videojs.options.languages,((_mergeOptions={})[code]=data,_mergeOptions)),videojs.options.languages[code]},videojs.log=log$1,videojs.createLogger=createLogger,videojs.createTimeRange=videojs.createTimeRanges=createTimeRanges,videojs.formatTime=formatTime,videojs.setFormatTime=function setFormatTime(customImplementation){implementation=customImplementation},videojs.resetFormatTime=function resetFormatTime(){implementation=defaultImplementation},videojs.parseUrl=parseUrl,videojs.isCrossOrigin=isCrossOrigin,videojs.EventTarget=EventTarget$2,videojs.on=on,videojs.one=one,videojs.off=off,videojs.trigger=trigger,videojs.xhr=lib_default(),videojs.TextTrack=TextTrack,videojs.AudioTrack=AudioTrack,videojs.VideoTrack=VideoTrack,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(k){videojs[k]=function(){return log$1.warn("videojs."+k+"() is deprecated; use videojs.dom."+k+"() instead"),Dom[k].apply(null,arguments)}})),videojs.computedStyle=computedStyle,videojs.dom=Dom,videojs.url=Url,videojs.defineLazyProperty=defineLazyProperty,videojs.addLanguage("en",{"Non-Fullscreen":"Exit Fullscreen"});var video_es_resolveUrl=resolve_url,resolveManifestRedirect=function resolveManifestRedirect(handleManifestRedirect,url,req){return handleManifestRedirect&&req&&req.responseURL&&url!==req.responseURL?req.responseURL:url},logger=function logger(source){return videojs.log.debug?videojs.log.debug.bind(videojs,"VHS:",source+" >"):function(){}},filterRanges=function filterRanges(timeRanges,predicate){var i,results=[];if(timeRanges&&timeRanges.length)for(i=0;i<timeRanges.length;i++)predicate(timeRanges.start(i),timeRanges.end(i))&&results.push([timeRanges.start(i),timeRanges.end(i)]);return videojs.createTimeRanges(results)},findRange=function findRange(buffered,time){return filterRanges(buffered,(function(start,end){return start-.1<=time&&end+.1>=time}))},findNextRange=function findNextRange(timeRanges,time){return filterRanges(timeRanges,(function(start){return start-.03333333333333333>=time}))},printableRange=function printableRange(range){var strArr=[];if(!range||!range.length)return"";for(var i=0;i<range.length;i++)strArr.push(range.start(i)+" => "+range.end(i));return strArr.join(", ")},timeRangesToArray=function timeRangesToArray(timeRanges){for(var timeRangesList=[],i=0;i<timeRanges.length;i++)timeRangesList.push({start:timeRanges.start(i),end:timeRanges.end(i)});return timeRangesList},lastBufferedEnd=function lastBufferedEnd(a){if(a&&a.length&&a.end)return a.end(a.length-1)},timeAheadOf=function timeAheadOf(range,startTime){var time=0;if(!range||!range.length)return time;for(var i=0;i<range.length;i++){var start=range.start(i),end=range.end(i);startTime>end||(time+=startTime>start&&startTime<=end?end-startTime:end-start)}return time},createTimeRange=videojs.createTimeRange,segmentDurationWithParts=function segmentDurationWithParts(playlist,segment){if(!segment.preload)return segment.duration;var result=0;return(segment.parts||[]).forEach((function(p){result+=p.duration})),(segment.preloadHints||[]).forEach((function(p){"PART"===p.type&&(result+=playlist.partTargetDuration)})),result},getPartsAndSegments=function getPartsAndSegments(playlist){return(playlist.segments||[]).reduce((function(acc,segment,si){return segment.parts?segment.parts.forEach((function(part,pi){acc.push({duration:part.duration,segmentIndex:si,partIndex:pi,part,segment})})):acc.push({duration:segment.duration,segmentIndex:si,partIndex:null,segment,part:null}),acc}),[])},getLastParts=function getLastParts(media){var lastSegment=media.segments&&media.segments.length&&media.segments[media.segments.length-1];return lastSegment&&lastSegment.parts||[]},getKnownPartCount=function getKnownPartCount(_ref){var preloadSegment=_ref.preloadSegment;if(preloadSegment){var parts=preloadSegment.parts,partCount=(preloadSegment.preloadHints||[]).reduce((function(count,hint){return count+("PART"===hint.type?1:0)}),0);return partCount+=parts&&parts.length?parts.length:0}},liveEdgeDelay=function liveEdgeDelay(master,media){if(media.endList)return 0;if(master&&master.suggestedPresentationDelay)return master.suggestedPresentationDelay;var hasParts=getLastParts(media).length>0;return hasParts&&media.serverControl&&media.serverControl.partHoldBack?media.serverControl.partHoldBack:hasParts&&media.partTargetDuration?3*media.partTargetDuration:media.serverControl&&media.serverControl.holdBack?media.serverControl.holdBack:media.targetDuration?3*media.targetDuration:0},intervalDuration=function intervalDuration(playlist,endSequence,expired){if(void 0===endSequence&&(endSequence=playlist.mediaSequence+playlist.segments.length),endSequence<playlist.mediaSequence)return 0;var backward=function backwardDuration(playlist,endSequence){var result=0,i=endSequence-playlist.mediaSequence,segment=playlist.segments[i];if(segment){if(void 0!==segment.start)return{result:segment.start,precise:!0};if(void 0!==segment.end)return{result:segment.end-segment.duration,precise:!0}}for(;i--;){if(void 0!==(segment=playlist.segments[i]).end)return{result:result+segment.end,precise:!0};if(result+=segmentDurationWithParts(playlist,segment),void 0!==segment.start)return{result:result+segment.start,precise:!0}}return{result,precise:!1}}(playlist,endSequence);if(backward.precise)return backward.result;var forward=function forwardDuration(playlist,endSequence){for(var segment,result=0,i=endSequence-playlist.mediaSequence;i<playlist.segments.length;i++){if(void 0!==(segment=playlist.segments[i]).start)return{result:segment.start-result,precise:!0};if(result+=segmentDurationWithParts(playlist,segment),void 0!==segment.end)return{result:segment.end-result,precise:!0}}return{result:-1,precise:!1}}(playlist,endSequence);return forward.precise?forward.result:backward.result+expired},duration=function duration(playlist,endSequence,expired){if(!playlist)return 0;if("number"!=typeof expired&&(expired=0),void 0===endSequence){if(playlist.totalDuration)return playlist.totalDuration;if(!playlist.endList)return window_default()[1/0]}return intervalDuration(playlist,endSequence,expired)},sumDurations=function sumDurations(_ref2){var defaultDuration=_ref2.defaultDuration,durationList=_ref2.durationList,startIndex=_ref2.startIndex,endIndex=_ref2.endIndex,durations=0;if(startIndex>endIndex){var _ref3=[endIndex,startIndex];startIndex=_ref3[0],endIndex=_ref3[1]}if(startIndex<0){for(var i=startIndex;i<Math.min(0,endIndex);i++)durations+=defaultDuration;startIndex=0}for(var _i=startIndex;_i<endIndex;_i++)durations+=durationList[_i].duration;return durations},playlistEnd=function playlistEnd(playlist,expired,useSafeLiveEnd,liveEdgePadding){if(!playlist||!playlist.segments)return null;if(playlist.endList)return duration(playlist);if(null===expired)return null;expired=expired||0;var lastSegmentEndTime=intervalDuration(playlist,playlist.mediaSequence+playlist.segments.length,expired);return useSafeLiveEnd&&(lastSegmentEndTime-=liveEdgePadding="number"==typeof liveEdgePadding?liveEdgePadding:liveEdgeDelay(null,playlist)),Math.max(0,lastSegmentEndTime)},isBlacklisted=function isBlacklisted(playlist){return playlist.excludeUntil&&playlist.excludeUntil>Date.now()},isIncompatible=function isIncompatible(playlist){return playlist.excludeUntil&&playlist.excludeUntil===1/0},isEnabled=function isEnabled(playlist){var blacklisted=isBlacklisted(playlist);return!playlist.disabled&&!blacklisted},hasAttribute=function hasAttribute(attr,playlist){return playlist.attributes&&playlist.attributes[attr]},isLowestEnabledRendition=function isLowestEnabledRendition(master,media){if(1===master.playlists.length)return!0;var currentBandwidth=media.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===master.playlists.filter((function(playlist){return!!isEnabled(playlist)&&(playlist.attributes.BANDWIDTH||0)<currentBandwidth})).length},playlistMatch=function playlistMatch(a,b){return!(!a&&!b||!a&&b||a&&!b)&&(a===b||(!(!a.id||!b.id||a.id!==b.id)||(!(!a.resolvedUri||!b.resolvedUri||a.resolvedUri!==b.resolvedUri)||!(!a.uri||!b.uri||a.uri!==b.uri))))},someAudioVariant=function someAudioVariant(master,callback){var AUDIO=master&&master.mediaGroups&&master.mediaGroups.AUDIO||{},found=!1;for(var groupName in AUDIO){for(var label in AUDIO[groupName])if(found=callback(AUDIO[groupName][label]))break;if(found)break}return!!found},isAudioOnly=function isAudioOnly(master){if(!master||!master.playlists||!master.playlists.length)return someAudioVariant(master,(function(variant){return variant.playlists&&variant.playlists.length||variant.uri}));for(var _loop=function _loop(i){var playlist=master.playlists[i],CODECS=playlist.attributes&&playlist.attributes.CODECS;return CODECS&&CODECS.split(",").every((function(c){return isAudioCodec(c)}))||someAudioVariant(master,(function(variant){return playlistMatch(playlist,variant)}))?"continue":{v:!1}},i=0;i<master.playlists.length;i++){var _ret=_loop(i);if("continue"!==_ret&&"object"==typeof _ret)return _ret.v}return!0},Playlist={liveEdgeDelay,duration,seekable:function seekable(playlist,expired,liveEdgePadding){var seekableStart=expired||0,seekableEnd=playlistEnd(playlist,expired,!0,liveEdgePadding);return null===seekableEnd?createTimeRange():createTimeRange(seekableStart,seekableEnd)},getMediaInfoForTime:function getMediaInfoForTime(_ref4){for(var playlist=_ref4.playlist,currentTime=_ref4.currentTime,startingSegmentIndex=_ref4.startingSegmentIndex,startingPartIndex=_ref4.startingPartIndex,startTime=_ref4.startTime,experimentalExactManifestTimings=_ref4.experimentalExactManifestTimings,time=currentTime-startTime,partsAndSegments=getPartsAndSegments(playlist),startIndex=0,i=0;i<partsAndSegments.length;i++){var partAndSegment=partsAndSegments[i];if(startingSegmentIndex===partAndSegment.segmentIndex&&("number"!=typeof startingPartIndex||"number"!=typeof partAndSegment.partIndex||startingPartIndex===partAndSegment.partIndex)){startIndex=i;break}}if(time<0){if(startIndex>0)for(var _i2=startIndex-1;_i2>=0;_i2--){var _partAndSegment=partsAndSegments[_i2];if(time+=_partAndSegment.duration,experimentalExactManifestTimings){if(time<0)continue}else if(time+.03333333333333333<=0)continue;return{partIndex:_partAndSegment.partIndex,segmentIndex:_partAndSegment.segmentIndex,startTime:startTime-sumDurations({defaultDuration:playlist.targetDuration,durationList:partsAndSegments,startIndex,endIndex:_i2})}}return{partIndex:partsAndSegments[0]&&partsAndSegments[0].partIndex||null,segmentIndex:partsAndSegments[0]&&partsAndSegments[0].segmentIndex||0,startTime:currentTime}}if(startIndex<0){for(var _i3=startIndex;_i3<0;_i3++)if((time-=playlist.targetDuration)<0)return{partIndex:partsAndSegments[0]&&partsAndSegments[0].partIndex||null,segmentIndex:partsAndSegments[0]&&partsAndSegments[0].segmentIndex||0,startTime:currentTime};startIndex=0}for(var _i4=startIndex;_i4<partsAndSegments.length;_i4++){var _partAndSegment2=partsAndSegments[_i4];if(time-=_partAndSegment2.duration,experimentalExactManifestTimings){if(time>0)continue}else if(time-.03333333333333333>=0)continue;return{partIndex:_partAndSegment2.partIndex,segmentIndex:_partAndSegment2.segmentIndex,startTime:startTime+sumDurations({defaultDuration:playlist.targetDuration,durationList:partsAndSegments,startIndex,endIndex:_i4})}}return{segmentIndex:partsAndSegments[partsAndSegments.length-1].segmentIndex,partIndex:partsAndSegments[partsAndSegments.length-1].partIndex,startTime:currentTime}},isEnabled,isDisabled:function isDisabled(playlist){return playlist.disabled},isBlacklisted,isIncompatible,playlistEnd,isAes:function isAes(media){for(var i=0;i<media.segments.length;i++)if(media.segments[i].key)return!0;return!1},hasAttribute,estimateSegmentRequestTime:function estimateSegmentRequestTime(segmentDuration,bandwidth,playlist,bytesReceived){return void 0===bytesReceived&&(bytesReceived=0),hasAttribute("BANDWIDTH",playlist)?(segmentDuration*playlist.attributes.BANDWIDTH-8*bytesReceived)/bandwidth:NaN},isLowestEnabledRendition,isAudioOnly,playlistMatch,segmentDurationWithParts},log=videojs.log,createPlaylistID=function createPlaylistID(index,uri){return index+"-"+uri},video_es_forEachMediaGroup=function forEachMediaGroup(master,callback){master.mediaGroups&&["AUDIO","SUBTITLES"].forEach((function(mediaType){if(master.mediaGroups[mediaType])for(var groupKey in master.mediaGroups[mediaType])for(var labelKey in master.mediaGroups[mediaType][groupKey]){var mediaProperties=master.mediaGroups[mediaType][groupKey][labelKey];callback(mediaProperties,mediaType,groupKey,labelKey)}}))},setupMediaPlaylist=function setupMediaPlaylist(_ref2){var playlist=_ref2.playlist,uri=_ref2.uri,id=_ref2.id;playlist.id=id,playlist.playlistErrors_=0,uri&&(playlist.uri=uri),playlist.attributes=playlist.attributes||{}},addPropertiesToMaster=function addPropertiesToMaster(master,uri){master.uri=uri;for(var i=0;i<master.playlists.length;i++)if(!master.playlists[i].uri){var phonyUri="placeholder-uri-"+i;master.playlists[i].uri=phonyUri}var audioOnlyMaster=isAudioOnly(master);video_es_forEachMediaGroup(master,(function(properties,mediaType,groupKey,labelKey){var groupId="placeholder-uri-"+mediaType+"-"+groupKey+"-"+labelKey;if(!properties.playlists||!properties.playlists.length){if(audioOnlyMaster&&"AUDIO"===mediaType&&!properties.uri)for(var _i=0;_i<master.playlists.length;_i++){var p=master.playlists[_i];if(p.attributes&&p.attributes.AUDIO&&p.attributes.AUDIO===groupKey)return}properties.playlists=[(0,esm_extends.Z)({},properties)]}properties.playlists.forEach((function(p,i){var id=createPlaylistID(i,groupId);p.uri?p.resolvedUri=p.resolvedUri||video_es_resolveUrl(master.uri,p.uri):(p.uri=0===i?groupId:id,p.resolvedUri=p.uri),p.id=p.id||id,p.attributes=p.attributes||{},master.playlists[p.id]=p,master.playlists[p.uri]=p}))})),function setupMediaPlaylists(master){for(var i=master.playlists.length;i--;){var playlist=master.playlists[i];setupMediaPlaylist({playlist,id:createPlaylistID(i,playlist.uri)}),playlist.resolvedUri=video_es_resolveUrl(master.uri,playlist.uri),master.playlists[playlist.id]=playlist,master.playlists[playlist.uri]=playlist,playlist.attributes.BANDWIDTH||log.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}}(master),function resolveMediaGroupUris(master){video_es_forEachMediaGroup(master,(function(properties){properties.uri&&(properties.resolvedUri=video_es_resolveUrl(master.uri,properties.uri))}))}(master)},mergeOptions$2=videojs.mergeOptions,EventTarget$1=videojs.EventTarget,updateSegment=function updateSegment(a,b){if(!a)return b;var result=mergeOptions$2(a,b);if(a.preloadHints&&!b.preloadHints&&delete result.preloadHints,a.parts&&!b.parts)delete result.parts;else if(a.parts&&b.parts)for(var i=0;i<b.parts.length;i++)a.parts&&a.parts[i]&&(result.parts[i]=mergeOptions$2(a.parts[i],b.parts[i]));return!a.skipped&&b.skipped&&(result.skipped=!1),a.preload&&!b.preload&&(result.preload=!1),result},resolveSegmentUris=function resolveSegmentUris(segment,baseUri){!segment.resolvedUri&&segment.uri&&(segment.resolvedUri=video_es_resolveUrl(baseUri,segment.uri)),segment.key&&!segment.key.resolvedUri&&(segment.key.resolvedUri=video_es_resolveUrl(baseUri,segment.key.uri)),segment.map&&!segment.map.resolvedUri&&(segment.map.resolvedUri=video_es_resolveUrl(baseUri,segment.map.uri)),segment.map&&segment.map.key&&!segment.map.key.resolvedUri&&(segment.map.key.resolvedUri=video_es_resolveUrl(baseUri,segment.map.key.uri)),segment.parts&&segment.parts.length&&segment.parts.forEach((function(p){p.resolvedUri||(p.resolvedUri=video_es_resolveUrl(baseUri,p.uri))})),segment.preloadHints&&segment.preloadHints.length&&segment.preloadHints.forEach((function(p){p.resolvedUri||(p.resolvedUri=video_es_resolveUrl(baseUri,p.uri))}))},getAllSegments=function getAllSegments(media){var segments=media.segments||[],preloadSegment=media.preloadSegment;if(preloadSegment&&preloadSegment.parts&&preloadSegment.parts.length){if(preloadSegment.preloadHints)for(var i=0;i<preloadSegment.preloadHints.length;i++)if("MAP"===preloadSegment.preloadHints[i].type)return segments;preloadSegment.duration=media.targetDuration,preloadSegment.preload=!0,segments.push(preloadSegment)}return segments},isPlaylistUnchanged=function isPlaylistUnchanged(a,b){return a===b||a.segments&&b.segments&&a.segments.length===b.segments.length&&a.endList===b.endList&&a.mediaSequence===b.mediaSequence&&a.preloadSegment===b.preloadSegment},updateMaster$1=function updateMaster(master,newMedia,unchangedCheck){void 0===unchangedCheck&&(unchangedCheck=isPlaylistUnchanged);var result=mergeOptions$2(master,{}),oldMedia=result.playlists[newMedia.id];if(!oldMedia)return null;if(unchangedCheck(oldMedia,newMedia))return null;newMedia.segments=getAllSegments(newMedia);var mergedPlaylist=mergeOptions$2(oldMedia,newMedia);if(mergedPlaylist.preloadSegment&&!newMedia.preloadSegment&&delete mergedPlaylist.preloadSegment,oldMedia.segments){if(newMedia.skip){newMedia.segments=newMedia.segments||[];for(var i=0;i<newMedia.skip.skippedSegments;i++)newMedia.segments.unshift({skipped:!0})}mergedPlaylist.segments=function updateSegments(original,update,offset){var oldSegments=original.slice(),newSegments=update.slice();offset=offset||0;for(var currentMap,result=[],newIndex=0;newIndex<newSegments.length;newIndex++){var oldSegment=oldSegments[newIndex+offset],newSegment=newSegments[newIndex];oldSegment?(currentMap=oldSegment.map||currentMap,result.push(updateSegment(oldSegment,newSegment))):(currentMap&&!newSegment.map&&(newSegment.map=currentMap),result.push(newSegment))}return result}(oldMedia.segments,newMedia.segments,newMedia.mediaSequence-oldMedia.mediaSequence)}mergedPlaylist.segments.forEach((function(segment){resolveSegmentUris(segment,mergedPlaylist.resolvedUri)}));for(var _i=0;_i<result.playlists.length;_i++)result.playlists[_i].id===newMedia.id&&(result.playlists[_i]=mergedPlaylist);return result.playlists[newMedia.id]=mergedPlaylist,result.playlists[newMedia.uri]=mergedPlaylist,video_es_forEachMediaGroup(master,(function(properties,mediaType,groupKey,labelKey){if(properties.playlists)for(var _i2=0;_i2<properties.playlists.length;_i2++)newMedia.id===properties.playlists[_i2].id&&(properties.playlists[_i2]=newMedia)})),result},refreshDelay=function refreshDelay(media,update){var segments=media.segments||[],lastSegment=segments[segments.length-1],lastPart=lastSegment&&lastSegment.parts&&lastSegment.parts[lastSegment.parts.length-1],lastDuration=lastPart&&lastPart.duration||lastSegment&&lastSegment.duration;return update&&lastDuration?1e3*lastDuration:500*(media.partTargetDuration||media.targetDuration||10)},PlaylistLoader=function(_EventTarget){function PlaylistLoader(src,vhs,options){var _this;if(void 0===options&&(options={}),_this=_EventTarget.call(this)||this,!src)throw new Error("A non-empty playlist URL or object is required");_this.logger_=logger("PlaylistLoader");var _options=options,_options$withCredenti=_options.withCredentials,withCredentials=void 0!==_options$withCredenti&&_options$withCredenti,_options$handleManife=_options.handleManifestRedirects,handleManifestRedirects=void 0!==_options$handleManife&&_options$handleManife;_this.src=src,_this.vhs_=vhs,_this.withCredentials=withCredentials,_this.handleManifestRedirects=handleManifestRedirects;var vhsOptions=vhs.options_;return _this.customTagParsers=vhsOptions&&vhsOptions.customTagParsers||[],_this.customTagMappers=vhsOptions&&vhsOptions.customTagMappers||[],_this.experimentalLLHLS=vhsOptions&&vhsOptions.experimentalLLHLS||!1,videojs.browser.IE_VERSION&&(_this.experimentalLLHLS=!1),_this.state="HAVE_NOTHING",_this.handleMediaupdatetimeout_=_this.handleMediaupdatetimeout_.bind((0,assertThisInitialized.Z)(_this)),_this.on("mediaupdatetimeout",_this.handleMediaupdatetimeout_),_this}(0,inheritsLoose.Z)(PlaylistLoader,_EventTarget);var _proto=PlaylistLoader.prototype;return _proto.handleMediaupdatetimeout_=function handleMediaupdatetimeout_(){var _this2=this;if("HAVE_METADATA"===this.state){var media=this.media(),uri=video_es_resolveUrl(this.master.uri,media.uri);this.experimentalLLHLS&&(uri=function addLLHLSQueryDirectives(uri,media){if(media.endList||!media.serverControl)return uri;var parameters={};if(media.serverControl.canBlockReload){var preloadSegment=media.preloadSegment,nextMSN=media.mediaSequence+media.segments.length;if(preloadSegment){var parts=preloadSegment.parts||[],nextPart=getKnownPartCount(media)-1;nextPart>-1&&nextPart!==parts.length-1&&(parameters._HLS_part=nextPart),(nextPart>-1||parts.length)&&nextMSN--}parameters._HLS_msn=nextMSN}if(media.serverControl&&media.serverControl.canSkipUntil&&(parameters._HLS_skip=media.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(parameters).length){var parsedUri=new(window_default().URL)(uri);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(name){parameters.hasOwnProperty(name)&&parsedUri.searchParams.set(name,parameters[name])})),uri=parsedUri.toString()}return uri}(uri,media)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri,withCredentials:this.withCredentials},(function(error,req){if(_this2.request)return error?_this2.playlistRequestError(_this2.request,_this2.media(),"HAVE_METADATA"):void _this2.haveMetadata({playlistString:_this2.request.responseText,url:_this2.media().uri,id:_this2.media().id})}))}},_proto.playlistRequestError=function playlistRequestError(xhr,playlist,startingState){var uri=playlist.uri,id=playlist.id;this.request=null,startingState&&(this.state=startingState),this.error={playlist:this.master.playlists[id],status:xhr.status,message:"HLS playlist request error at URL: "+uri+".",responseText:xhr.responseText,code:xhr.status>=500?4:2},this.trigger("error")},_proto.parseManifest_=function parseManifest_(_ref){var _this3=this,url=_ref.url;return function parseManifest(_ref){var onwarn=_ref.onwarn,oninfo=_ref.oninfo,manifestString=_ref.manifestString,_ref$customTagParsers=_ref.customTagParsers,customTagParsers=void 0===_ref$customTagParsers?[]:_ref$customTagParsers,_ref$customTagMappers=_ref.customTagMappers,customTagMappers=void 0===_ref$customTagMappers?[]:_ref$customTagMappers,experimentalLLHLS=_ref.experimentalLLHLS,parser=new Parser;onwarn&&parser.on("warn",onwarn),oninfo&&parser.on("info",oninfo),customTagParsers.forEach((function(customParser){return parser.addParser(customParser)})),customTagMappers.forEach((function(mapper){return parser.addTagMapper(mapper)})),parser.push(manifestString),parser.end();var manifest=parser.manifest;if(experimentalLLHLS||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(k){manifest.hasOwnProperty(k)&&delete manifest[k]})),manifest.segments&&manifest.segments.forEach((function(segment){["parts","preloadHints"].forEach((function(k){segment.hasOwnProperty(k)&&delete segment[k]}))}))),!manifest.targetDuration){var targetDuration=10;manifest.segments&&manifest.segments.length&&(targetDuration=manifest.segments.reduce((function(acc,s){return Math.max(acc,s.duration)}),0)),onwarn&&onwarn("manifest has no targetDuration defaulting to "+targetDuration),manifest.targetDuration=targetDuration}var parts=getLastParts(manifest);if(parts.length&&!manifest.partTargetDuration){var partTargetDuration=parts.reduce((function(acc,p){return Math.max(acc,p.duration)}),0);onwarn&&(onwarn("manifest has no partTargetDuration defaulting to "+partTargetDuration),log.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),manifest.partTargetDuration=partTargetDuration}return manifest}({onwarn:function onwarn(_ref2){var message=_ref2.message;return _this3.logger_("m3u8-parser warn for "+url+": "+message)},oninfo:function oninfo(_ref3){var message=_ref3.message;return _this3.logger_("m3u8-parser info for "+url+": "+message)},manifestString:_ref.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},_proto.haveMetadata=function haveMetadata(_ref4){var playlistString=_ref4.playlistString,playlistObject=_ref4.playlistObject,url=_ref4.url,id=_ref4.id;this.request=null,this.state="HAVE_METADATA";var playlist=playlistObject||this.parseManifest_({url,manifestString:playlistString});playlist.lastRequest=Date.now(),setupMediaPlaylist({playlist,uri:url,id});var update=updateMaster$1(this.master,playlist);this.targetDuration=playlist.partTargetDuration||playlist.targetDuration,this.pendingMedia_=null,update?(this.master=update,this.media_=this.master.playlists[id]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(refreshDelay(this.media(),!!update)),this.trigger("loadedplaylist")},_proto.dispose=function dispose(){this.trigger("dispose"),this.stopRequest(),window_default().clearTimeout(this.mediaUpdateTimeout),window_default().clearTimeout(this.finalRenditionTimeout),this.off()},_proto.stopRequest=function stopRequest(){if(this.request){var oldRequest=this.request;this.request=null,oldRequest.onreadystatechange=null,oldRequest.abort()}},_proto.media=function media(playlist,shouldDelay){var _this4=this;if(!playlist)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof playlist){if(!this.master.playlists[playlist])throw new Error("Unknown playlist URI: "+playlist);playlist=this.master.playlists[playlist]}if(window_default().clearTimeout(this.finalRenditionTimeout),shouldDelay){var delay=(playlist.partTargetDuration||playlist.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=window_default().setTimeout(this.media.bind(this,playlist,!1),delay)}else{var startingState=this.state,mediaChange=!this.media_||playlist.id!==this.media_.id,masterPlaylistRef=this.master.playlists[playlist.id];if(masterPlaylistRef&&masterPlaylistRef.endList||playlist.endList&&playlist.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=playlist,void(mediaChange&&(this.trigger("mediachanging"),"HAVE_MASTER"===startingState?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(refreshDelay(playlist,!0)),mediaChange){if(this.state="SWITCHING_MEDIA",this.request){if(playlist.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=playlist,this.request=this.vhs_.xhr({uri:playlist.resolvedUri,withCredentials:this.withCredentials},(function(error,req){if(_this4.request){if(playlist.lastRequest=Date.now(),playlist.resolvedUri=resolveManifestRedirect(_this4.handleManifestRedirects,playlist.resolvedUri,req),error)return _this4.playlistRequestError(_this4.request,playlist,startingState);_this4.haveMetadata({playlistString:req.responseText,url:playlist.uri,id:playlist.id}),"HAVE_MASTER"===startingState?_this4.trigger("loadedmetadata"):_this4.trigger("mediachange")}}))}}},_proto.pause=function pause(){this.mediaUpdateTimeout&&(window_default().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")},_proto.load=function load(shouldDelay){var _this5=this;this.mediaUpdateTimeout&&(window_default().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var media=this.media();if(shouldDelay){var delay=media?(media.partTargetDuration||media.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=window_default().setTimeout((function(){_this5.mediaUpdateTimeout=null,_this5.load()}),delay)}else this.started?media&&!media.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},_proto.updateMediaUpdateTimeout_=function updateMediaUpdateTimeout_(delay){var _this6=this;this.mediaUpdateTimeout&&(window_default().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=window_default().setTimeout((function(){_this6.mediaUpdateTimeout=null,_this6.trigger("mediaupdatetimeout"),_this6.updateMediaUpdateTimeout_(delay)}),delay))},_proto.start=function start(){var _this7=this;if(this.started=!0,"object"==typeof this.src)return this.src.uri||(this.src.uri=window_default().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((function(){_this7.setupInitialPlaylist(_this7.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},(function(error,req){if(_this7.request){if(_this7.request=null,error)return _this7.error={status:req.status,message:"HLS playlist request error at URL: "+_this7.src+".",responseText:req.responseText,code:2},"HAVE_NOTHING"===_this7.state&&(_this7.started=!1),_this7.trigger("error");_this7.src=resolveManifestRedirect(_this7.handleManifestRedirects,_this7.src,req);var manifest=_this7.parseManifest_({manifestString:req.responseText,url:_this7.src});_this7.setupInitialPlaylist(manifest)}}))},_proto.srcUri=function srcUri(){return"string"==typeof this.src?this.src:this.src.uri},_proto.setupInitialPlaylist=function setupInitialPlaylist(manifest){if(this.state="HAVE_MASTER",manifest.playlists)return this.master=manifest,addPropertiesToMaster(this.master,this.srcUri()),manifest.playlists.forEach((function(playlist){playlist.segments=getAllSegments(playlist),playlist.segments.forEach((function(segment){resolveSegmentUris(segment,playlist.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var uri=this.srcUri()||window_default().location.href;this.master=function masterForMedia(media,uri){var id=createPlaylistID(0,uri),master={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:window_default().location.href,resolvedUri:window_default().location.href,playlists:[{uri,id,resolvedUri:uri,attributes:{}}]};return master.playlists[id]=master.playlists[0],master.playlists[uri]=master.playlists[0],master}(0,uri),this.haveMetadata({playlistObject:manifest,url:uri,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},PlaylistLoader}(EventTarget$1),videojsXHR=videojs.xhr,mergeOptions$1=videojs.mergeOptions,callbackWrapper=function callbackWrapper(request,error,response,callback){var reqResponse="arraybuffer"===request.responseType?request.response:request.responseText;!error&&reqResponse&&(request.responseTime=Date.now(),request.roundTripTime=request.responseTime-request.requestTime,request.bytesReceived=reqResponse.byteLength||reqResponse.length,request.bandwidth||(request.bandwidth=Math.floor(request.bytesReceived/request.roundTripTime*8*1e3))),response.headers&&(request.responseHeaders=response.headers),error&&"ETIMEDOUT"===error.code&&(request.timedout=!0),error||request.aborted||200===response.statusCode||206===response.statusCode||0===response.statusCode||(error=new Error("XHR Failed with a response of: "+(request&&(reqResponse||request.responseText)))),callback(error,request)},xhrFactory=function xhrFactory(){var xhr=function XhrFunction(options,callback){options=mergeOptions$1({timeout:45e3},options);var beforeRequest=XhrFunction.beforeRequest||videojs.Vhs.xhr.beforeRequest;if(beforeRequest&&"function"==typeof beforeRequest){var newOptions=beforeRequest(options);newOptions&&(options=newOptions)}var request=(!0===videojs.Vhs.xhr.original?videojsXHR:videojs.Vhs.xhr)(options,(function(error,response){return callbackWrapper(request,error,response,callback)})),originalAbort=request.abort;return request.abort=function(){return request.aborted=!0,originalAbort.apply(request,arguments)},request.uri=options.uri,request.requestTime=Date.now(),request};return xhr.original=!0,xhr},segmentXhrHeaders=function segmentXhrHeaders(segment){var headers={};return segment.byterange&&(headers.Range=function byterangeStr(byterange){return"bytes="+byterange.offset+"-"+("bigint"==typeof byterange.offset||"bigint"==typeof byterange.length?window_default().BigInt(byterange.offset)+window_default().BigInt(byterange.length)-window_default().BigInt(1):byterange.offset+byterange.length-1)}(segment.byterange)),headers},textRange=function textRange(range,i){return range.start(i)+"-"+range.end(i)},formatHexString=function formatHexString(e,i){var value=e.toString(16);return"00".substring(0,2-value.length)+value+(i%2?" ":"")},formatAsciiString=function formatAsciiString(e){return e>=32&&e<126?String.fromCharCode(e):"."},createTransferableMessage=function createTransferableMessage(message){var transferable={};return Object.keys(message).forEach((function(key){var value=message[key];ArrayBuffer.isView(value)?transferable[key]={bytes:value.buffer,byteOffset:value.byteOffset,byteLength:value.byteLength}:transferable[key]=value})),transferable},initSegmentId=function initSegmentId(initSegment){var byterange=initSegment.byterange||{length:1/0,offset:0};return[byterange.length,byterange.offset,initSegment.resolvedUri].join(",")},segmentKeyId=function segmentKeyId(key){return key.resolvedUri},hexDump=function hexDump(data){for(var bytes=Array.prototype.slice.call(data),result="",j=0;j<bytes.length/16;j++)result+=bytes.slice(16*j,16*j+16).map(formatHexString).join("")+" "+bytes.slice(16*j,16*j+16).map(formatAsciiString).join("")+"\n";return result},utils=Object.freeze({__proto__:null,createTransferableMessage,initSegmentId,segmentKeyId,hexDump,tagDump:function tagDump(_ref){var bytes=_ref.bytes;return hexDump(bytes)},textRanges:function textRanges(ranges){var i,result="";for(i=0;i<ranges.length;i++)result+=textRange(ranges,i)+" ";return result}}),getProgramTime=function getProgramTime(_ref){var playlist=_ref.playlist,_ref$time=_ref.time,time=void 0===_ref$time?void 0:_ref$time,callback=_ref.callback;if(!callback)throw new Error("getProgramTime: callback must be provided");if(!playlist||void 0===time)return callback({message:"getProgramTime: playlist and time must be provided"});var matchedSegment=function findSegmentForPlayerTime(time,playlist){if(!playlist||!playlist.segments||0===playlist.segments.length)return null;for(var segment,segmentEnd=0,i=0;i<playlist.segments.length&&!(time<=(segmentEnd=(segment=playlist.segments[i]).videoTimingInfo?segment.videoTimingInfo.transmuxedPresentationEnd:segmentEnd+segment.duration));i++);var lastSegment=playlist.segments[playlist.segments.length-1];if(lastSegment.videoTimingInfo&&lastSegment.videoTimingInfo.transmuxedPresentationEnd<time)return null;if(time>segmentEnd){if(time>segmentEnd+.25*lastSegment.duration)return null;segment=lastSegment}return{segment,estimatedStart:segment.videoTimingInfo?segment.videoTimingInfo.transmuxedPresentationStart:segmentEnd-segment.duration,type:segment.videoTimingInfo?"accurate":"estimate"}}(time,playlist);if(!matchedSegment)return callback({message:"valid programTime was not found"});if("estimate"===matchedSegment.type)return callback({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:matchedSegment.estimatedStart});var programTimeObject={mediaSeconds:time},programTime=function playerTimeToProgramTime(playerTime,segment){if(!segment.dateTimeObject)return null;var transmuxerPrependedSeconds=segment.videoTimingInfo.transmuxerPrependedSeconds,offsetFromSegmentStart=playerTime-(segment.videoTimingInfo.transmuxedPresentationStart+transmuxerPrependedSeconds);return new Date(segment.dateTimeObject.getTime()+1e3*offsetFromSegmentStart)}(time,matchedSegment.segment);return programTime&&(programTimeObject.programDateTime=programTime.toISOString()),callback(null,programTimeObject)},seekToProgramTime=function seekToProgramTime(_ref2){var programTime=_ref2.programTime,playlist=_ref2.playlist,_ref2$retryCount=_ref2.retryCount,retryCount=void 0===_ref2$retryCount?2:_ref2$retryCount,seekTo=_ref2.seekTo,_ref2$pauseAfterSeek=_ref2.pauseAfterSeek,pauseAfterSeek=void 0===_ref2$pauseAfterSeek||_ref2$pauseAfterSeek,tech=_ref2.tech,callback=_ref2.callback;if(!callback)throw new Error("seekToProgramTime: callback must be provided");if(void 0===programTime||!playlist||!seekTo)return callback({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!playlist.endList&&!tech.hasStarted_)return callback({message:"player must be playing a live stream to start buffering"});if(!function verifyProgramDateTimeTags(playlist){if(!playlist.segments||0===playlist.segments.length)return!1;for(var i=0;i<playlist.segments.length;i++)if(!playlist.segments[i].dateTimeObject)return!1;return!0}(playlist))return callback({message:"programDateTime tags must be provided in the manifest "+playlist.resolvedUri});var matchedSegment=function findSegmentForProgramTime(programTime,playlist){var dateTimeObject;try{dateTimeObject=new Date(programTime)}catch(e){return null}if(!playlist||!playlist.segments||0===playlist.segments.length)return null;var segment=playlist.segments[0];if(dateTimeObject<segment.dateTimeObject)return null;for(var i=0;i<playlist.segments.length-1&&(segment=playlist.segments[i],!(dateTimeObject<playlist.segments[i+1].dateTimeObject));i++);var lastSegment=playlist.segments[playlist.segments.length-1],lastSegmentStart=lastSegment.dateTimeObject,lastSegmentDuration=lastSegment.videoTimingInfo?function originalSegmentVideoDuration(videoTimingInfo){return videoTimingInfo.transmuxedPresentationEnd-videoTimingInfo.transmuxedPresentationStart-videoTimingInfo.transmuxerPrependedSeconds}(lastSegment.videoTimingInfo):lastSegment.duration+.25*lastSegment.duration;return dateTimeObject>new Date(lastSegmentStart.getTime()+1e3*lastSegmentDuration)?null:(dateTimeObject>lastSegmentStart&&(segment=lastSegment),{segment,estimatedStart:segment.videoTimingInfo?segment.videoTimingInfo.transmuxedPresentationStart:Playlist.duration(playlist,playlist.mediaSequence+playlist.segments.indexOf(segment)),type:segment.videoTimingInfo?"accurate":"estimate"})}(programTime,playlist);if(!matchedSegment)return callback({message:programTime+" was not found in the stream"});var segment=matchedSegment.segment,mediaOffset=function getOffsetFromTimestamp(comparisonTimeStamp,programTime){var segmentDateTime,programDateTime;try{segmentDateTime=new Date(comparisonTimeStamp),programDateTime=new Date(programTime)}catch(e){}var segmentTimeEpoch=segmentDateTime.getTime();return(programDateTime.getTime()-segmentTimeEpoch)/1e3}(segment.dateTimeObject,programTime);if("estimate"===matchedSegment.type)return 0===retryCount?callback({message:programTime+" is not buffered yet. Try again"}):(seekTo(matchedSegment.estimatedStart+mediaOffset),void tech.one("seeked",(function(){seekToProgramTime({programTime,playlist,retryCount:retryCount-1,seekTo,pauseAfterSeek,tech,callback})})));var seekToTime=segment.start+mediaOffset;tech.one("seeked",(function seekedCallback(){return callback(null,tech.currentTime())})),pauseAfterSeek&&tech.pause(),seekTo(seekToTime)},callbackOnCompleted=function callbackOnCompleted(request,cb){if(4===request.readyState)return cb()},containerRequest=function containerRequest(uri,xhr,cb){var id3Offset,bytes=[],finished=!1,endRequestAndCallback=function endRequestAndCallback(err,req,type,_bytes){return req.abort(),finished=!0,cb(err,req,type,_bytes)},progressListener=function progressListener(error,request){if(!finished){if(error)return endRequestAndCallback(error,request,"",bytes);var newPart=request.responseText.substring(bytes&&bytes.byteLength||0,request.responseText.length);if(bytes=function concatTypedArrays(){for(var _len=arguments.length,buffers=new Array(_len),_key=0;_key<_len;_key++)buffers[_key]=arguments[_key];if(buffers=buffers.filter((function(b){return b&&(b.byteLength||b.length)&&"string"!=typeof b})),buffers.length<=1)return byte_helpers_toUint8(buffers[0]);var totalLen=buffers.reduce((function(total,buf,i){return total+(buf.byteLength||buf.length)}),0),tempBuffer=new Uint8Array(totalLen),offset=0;return buffers.forEach((function(buf){buf=byte_helpers_toUint8(buf),tempBuffer.set(buf,offset),offset+=buf.byteLength})),tempBuffer}(bytes,stringToBytes(newPart,!0)),id3Offset=id3Offset||getId3Offset(bytes),bytes.length<10||id3Offset&&bytes.length<id3Offset+2)return callbackOnCompleted(request,(function(){return endRequestAndCallback(error,request,"",bytes)}));var type=detectContainerForBytes(bytes);return"ts"===type&&bytes.length<188||!type&&bytes.length<376?callbackOnCompleted(request,(function(){return endRequestAndCallback(error,request,"",bytes)})):endRequestAndCallback(null,request,type,bytes)}},options={uri,beforeSend:function beforeSend(request){request.overrideMimeType("text/plain; charset=x-user-defined"),request.addEventListener("progress",(function(_ref){return _ref.total,_ref.loaded,callbackWrapper(request,null,{statusCode:request.status},progressListener)}))}},request=xhr(options,(function(error,response){return callbackWrapper(request,error,response,progressListener)}));return request},EventTarget=videojs.EventTarget,mergeOptions=videojs.mergeOptions,dashPlaylistUnchanged=function dashPlaylistUnchanged(a,b){if(!isPlaylistUnchanged(a,b))return!1;if(a.sidx&&b.sidx&&(a.sidx.offset!==b.sidx.offset||a.sidx.length!==b.sidx.length))return!1;if(!a.sidx&&b.sidx||a.sidx&&!b.sidx)return!1;if(a.segments&&!b.segments||!a.segments&&b.segments)return!1;if(!a.segments&&!b.segments)return!0;for(var i=0;i<a.segments.length;i++){var aSegment=a.segments[i],bSegment=b.segments[i];if(aSegment.uri!==bSegment.uri)return!1;if(aSegment.byterange||bSegment.byterange){var aByterange=aSegment.byterange,bByterange=bSegment.byterange;if(aByterange&&!bByterange||!aByterange&&bByterange)return!1;if(aByterange.offset!==bByterange.offset||aByterange.length!==bByterange.length)return!1}}return!0},equivalentSidx=function equivalentSidx(a,b){return(Boolean(!a.map&&!b.map)||Boolean(a.map&&b.map&&a.map.byterange.offset===b.map.byterange.offset&&a.map.byterange.length===b.map.byterange.length))&&a.uri===b.uri&&a.byterange.offset===b.byterange.offset&&a.byterange.length===b.byterange.length},compareSidxEntry=function compareSidxEntry(playlists,oldSidxMapping){var newSidxMapping={};for(var id in playlists){var currentSidxInfo=playlists[id].sidx;if(currentSidxInfo){var key=generateSidxKey(currentSidxInfo);if(!oldSidxMapping[key])break;var savedSidxInfo=oldSidxMapping[key].sidxInfo;equivalentSidx(savedSidxInfo,currentSidxInfo)&&(newSidxMapping[key]=oldSidxMapping[key])}}return newSidxMapping},DashPlaylistLoader=function(_EventTarget){function DashPlaylistLoader(srcUrlOrPlaylist,vhs,options,masterPlaylistLoader){var _this;void 0===options&&(options={}),(_this=_EventTarget.call(this)||this).masterPlaylistLoader_=masterPlaylistLoader||(0,assertThisInitialized.Z)(_this),masterPlaylistLoader||(_this.isMaster_=!0);var _options=options,_options$withCredenti=_options.withCredentials,withCredentials=void 0!==_options$withCredenti&&_options$withCredenti,_options$handleManife=_options.handleManifestRedirects,handleManifestRedirects=void 0!==_options$handleManife&&_options$handleManife;if(_this.vhs_=vhs,_this.withCredentials=withCredentials,_this.handleManifestRedirects=handleManifestRedirects,!srcUrlOrPlaylist)throw new Error("A non-empty playlist URL or object is required");return _this.on("minimumUpdatePeriod",(function(){_this.refreshXml_()})),_this.on("mediaupdatetimeout",(function(){_this.refreshMedia_(_this.media().id)})),_this.state="HAVE_NOTHING",_this.loadedPlaylists_={},_this.logger_=logger("DashPlaylistLoader"),_this.isMaster_?(_this.masterPlaylistLoader_.srcUrl=srcUrlOrPlaylist,_this.masterPlaylistLoader_.sidxMapping_={}):_this.childPlaylist_=srcUrlOrPlaylist,_this}(0,inheritsLoose.Z)(DashPlaylistLoader,_EventTarget);var _proto=DashPlaylistLoader.prototype;return _proto.requestErrored_=function requestErrored_(err,request,startingState){return!this.request||(this.request=null,err?(this.error="object"!=typeof err||err instanceof Error?{status:request.status,message:"DASH request error at URL: "+request.uri,response:request.response,code:2}:err,startingState&&(this.state=startingState),this.trigger("error"),!0):void 0)},_proto.addSidxSegments_=function addSidxSegments_(playlist,startingState,cb){var _this2=this,sidxKey=playlist.sidx&&generateSidxKey(playlist.sidx);if(playlist.sidx&&sidxKey&&!this.masterPlaylistLoader_.sidxMapping_[sidxKey]){var uri=resolveManifestRedirect(this.handleManifestRedirects,playlist.sidx.resolvedUri),fin=function fin(err,request){if(!_this2.requestErrored_(err,request,startingState)){var sidx,sidxMapping=_this2.masterPlaylistLoader_.sidxMapping_;try{sidx=parse_sidx_default()(byte_helpers_toUint8(request.response).subarray(8))}catch(e){return void _this2.requestErrored_(e,request,startingState)}return sidxMapping[sidxKey]={sidxInfo:playlist.sidx,sidx},addSidxSegmentsToPlaylist$1(playlist,sidx,playlist.sidx.resolvedUri),cb(!0)}};this.request=containerRequest(uri,this.vhs_.xhr,(function(err,request,container,bytes){if(err)return fin(err,request);if(!container||"mp4"!==container)return fin({status:request.status,message:"Unsupported "+(container||"unknown")+" container type for sidx segment at URL: "+uri,response:"",playlist,internal:!0,blacklistDuration:1/0,code:2},request);var _playlist$sidx$bytera=playlist.sidx.byterange,offset=_playlist$sidx$bytera.offset,length=_playlist$sidx$bytera.length;if(bytes.length>=length+offset)return fin(err,{response:bytes.subarray(offset,offset+length),status:request.status,uri:request.uri});_this2.request=_this2.vhs_.xhr({uri,responseType:"arraybuffer",headers:segmentXhrHeaders({byterange:playlist.sidx.byterange})},fin)}))}else this.mediaRequest_=window_default().setTimeout((function(){return cb(!1)}),0)},_proto.dispose=function dispose(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},window_default().clearTimeout(this.minimumUpdatePeriodTimeout_),window_default().clearTimeout(this.mediaRequest_),window_default().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},_proto.hasPendingRequest=function hasPendingRequest(){return this.request||this.mediaRequest_},_proto.stopRequest=function stopRequest(){if(this.request){var oldRequest=this.request;this.request=null,oldRequest.onreadystatechange=null,oldRequest.abort()}},_proto.media=function media(playlist){var _this3=this;if(!playlist)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var startingState=this.state;if("string"==typeof playlist){if(!this.masterPlaylistLoader_.master.playlists[playlist])throw new Error("Unknown playlist URI: "+playlist);playlist=this.masterPlaylistLoader_.master.playlists[playlist]}var mediaChange=!this.media_||playlist.id!==this.media_.id;if(mediaChange&&this.loadedPlaylists_[playlist.id]&&this.loadedPlaylists_[playlist.id].endList)return this.state="HAVE_METADATA",this.media_=playlist,void(mediaChange&&(this.trigger("mediachanging"),this.trigger("mediachange")));mediaChange&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(playlist,startingState,(function(sidxChanged){_this3.haveMetadata({startingState,playlist})})))},_proto.haveMetadata=function haveMetadata(_ref2){var startingState=_ref2.startingState,playlist=_ref2.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[playlist.id]=playlist,this.mediaRequest_=null,this.refreshMedia_(playlist.id),"HAVE_MASTER"===startingState?this.trigger("loadedmetadata"):this.trigger("mediachange")},_proto.pause=function pause(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),window_default().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(window_default().clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)},_proto.load=function load(isFinalRendition){var _this4=this;window_default().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var media=this.media();if(isFinalRendition){var delay=media?media.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=window_default().setTimeout((function(){return _this4.load()}),delay)}else this.started?media&&!media.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()},_proto.start=function start(){var _this5=this;this.started=!0,this.isMaster_?this.requestMaster_((function(req,masterChanged){_this5.haveMaster_(),_this5.hasPendingRequest()||_this5.media_||_this5.media(_this5.masterPlaylistLoader_.master.playlists[0])})):this.mediaRequest_=window_default().setTimeout((function(){return _this5.haveMaster_()}),0)},_proto.requestMaster_=function requestMaster_(cb){var _this6=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},(function(error,req){if(!_this6.requestErrored_(error,req)){var masterChanged=req.responseText!==_this6.masterPlaylistLoader_.masterXml_;return _this6.masterPlaylistLoader_.masterXml_=req.responseText,req.responseHeaders&&req.responseHeaders.date?_this6.masterLoaded_=Date.parse(req.responseHeaders.date):_this6.masterLoaded_=Date.now(),_this6.masterPlaylistLoader_.srcUrl=resolveManifestRedirect(_this6.handleManifestRedirects,_this6.masterPlaylistLoader_.srcUrl,req),masterChanged?(_this6.handleMaster_(),void _this6.syncClientServerClock_((function(){return cb(req,masterChanged)}))):cb(req,masterChanged)}"HAVE_NOTHING"===_this6.state&&(_this6.started=!1)}))},_proto.syncClientServerClock_=function syncClientServerClock_(done){var _this7=this,utcTiming=parseUTCTiming(this.masterPlaylistLoader_.masterXml_);return null===utcTiming?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),done()):"DIRECT"===utcTiming.method?(this.masterPlaylistLoader_.clientOffset_=utcTiming.value-Date.now(),done()):void(this.request=this.vhs_.xhr({uri:video_es_resolveUrl(this.masterPlaylistLoader_.srcUrl,utcTiming.value),method:utcTiming.method,withCredentials:this.withCredentials},(function(error,req){if(_this7.request){if(error)return _this7.masterPlaylistLoader_.clientOffset_=_this7.masterLoaded_-Date.now(),done();var serverTime;serverTime="HEAD"===utcTiming.method?req.responseHeaders&&req.responseHeaders.date?Date.parse(req.responseHeaders.date):_this7.masterLoaded_:Date.parse(req.responseText),_this7.masterPlaylistLoader_.clientOffset_=serverTime-Date.now(),done()}})))},_proto.haveMaster_=function haveMaster_(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},_proto.handleMaster_=function handleMaster_(){this.mediaRequest_=null;var oldMaster=this.masterPlaylistLoader_.master,newMaster=function parseMasterXml(_ref){var masterXml=_ref.masterXml,srcUrl=_ref.srcUrl,clientOffset=_ref.clientOffset,sidxMapping=_ref.sidxMapping,previousManifest=_ref.previousManifest,manifest=parse(masterXml,{manifestUri:srcUrl,clientOffset,sidxMapping,previousManifest});return addPropertiesToMaster(manifest,srcUrl),manifest}({masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:oldMaster});oldMaster&&(newMaster=function updateMaster(oldMaster,newMaster,sidxMapping){for(var noChanges=!0,update=mergeOptions(oldMaster,{duration:newMaster.duration,minimumUpdatePeriod:newMaster.minimumUpdatePeriod,timelineStarts:newMaster.timelineStarts}),i=0;i<newMaster.playlists.length;i++){var playlist=newMaster.playlists[i];if(playlist.sidx){var sidxKey=generateSidxKey(playlist.sidx);sidxMapping&&sidxMapping[sidxKey]&&sidxMapping[sidxKey].sidx&&addSidxSegmentsToPlaylist$1(playlist,sidxMapping[sidxKey].sidx,playlist.sidx.resolvedUri)}var playlistUpdate=updateMaster$1(update,playlist,dashPlaylistUnchanged);playlistUpdate&&(update=playlistUpdate,noChanges=!1)}return video_es_forEachMediaGroup(newMaster,(function(properties,type,group,label){if(properties.playlists&&properties.playlists.length){var id=properties.playlists[0].id,_playlistUpdate=updateMaster$1(update,properties.playlists[0],dashPlaylistUnchanged);_playlistUpdate&&((update=_playlistUpdate).mediaGroups[type][group][label].playlists[0]=update.playlists[id],noChanges=!1)}})),newMaster.minimumUpdatePeriod!==oldMaster.minimumUpdatePeriod&&(noChanges=!1),noChanges?null:update}(oldMaster,newMaster,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=newMaster||oldMaster;var location=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return location&&location!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=location),(!oldMaster||newMaster&&newMaster.minimumUpdatePeriod!==oldMaster.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(newMaster)},_proto.updateMinimumUpdatePeriodTimeout_=function updateMinimumUpdatePeriodTimeout_(){var mpl=this.masterPlaylistLoader_;mpl.createMupOnMedia_&&(mpl.off("loadedmetadata",mpl.createMupOnMedia_),mpl.createMupOnMedia_=null),mpl.minimumUpdatePeriodTimeout_&&(window_default().clearTimeout(mpl.minimumUpdatePeriodTimeout_),mpl.minimumUpdatePeriodTimeout_=null);var mup=mpl.master&&mpl.master.minimumUpdatePeriod;0===mup&&(mpl.media()?mup=1e3*mpl.media().targetDuration:(mpl.createMupOnMedia_=mpl.updateMinimumUpdatePeriodTimeout_,mpl.one("loadedmetadata",mpl.createMupOnMedia_))),"number"!=typeof mup||mup<=0?mup<0&&this.logger_("found invalid minimumUpdatePeriod of "+mup+", not setting a timeout"):this.createMUPTimeout_(mup)},_proto.createMUPTimeout_=function createMUPTimeout_(mup){var mpl=this.masterPlaylistLoader_;mpl.minimumUpdatePeriodTimeout_=window_default().setTimeout((function(){mpl.minimumUpdatePeriodTimeout_=null,mpl.trigger("minimumUpdatePeriod"),mpl.createMUPTimeout_(mup)}),mup)},_proto.refreshXml_=function refreshXml_(){var _this8=this;this.requestMaster_((function(req,masterChanged){masterChanged&&(_this8.media_&&(_this8.media_=_this8.masterPlaylistLoader_.master.playlists[_this8.media_.id]),_this8.masterPlaylistLoader_.sidxMapping_=function filterChangedSidxMappings(master,oldSidxMapping){var mediaGroupSidx=compareSidxEntry(master.playlists,oldSidxMapping);return video_es_forEachMediaGroup(master,(function(properties,mediaType,groupKey,labelKey){if(properties.playlists&&properties.playlists.length){var playlists=properties.playlists;mediaGroupSidx=mergeOptions(mediaGroupSidx,compareSidxEntry(playlists,oldSidxMapping))}})),mediaGroupSidx}(_this8.masterPlaylistLoader_.master,_this8.masterPlaylistLoader_.sidxMapping_),_this8.addSidxSegments_(_this8.media(),_this8.state,(function(sidxChanged){_this8.refreshMedia_(_this8.media().id)})))}))},_proto.refreshMedia_=function refreshMedia_(mediaID){var _this9=this;if(!mediaID)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var playlists=this.masterPlaylistLoader_.master.playlists,mediaChanged=!this.media_||this.media_!==playlists[mediaID];if(mediaChanged?this.media_=playlists[mediaID]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){!function createMediaUpdateTimeout(){_this9.media().endList||(_this9.mediaUpdateTimeout=window_default().setTimeout((function(){_this9.trigger("mediaupdatetimeout"),createMediaUpdateTimeout()}),refreshDelay(_this9.media(),Boolean(mediaChanged))))}()}this.trigger("loadedplaylist")},DashPlaylistLoader}(EventTarget),Config={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},browserWorkerPolyFill=function browserWorkerPolyFill(workerObj){return workerObj.on=workerObj.addEventListener,workerObj.off=workerObj.removeEventListener,workerObj},factory=function factory(code){return function(){var objectUrl=function createObjectURL(str){try{return URL.createObjectURL(new Blob([str],{type:"application/javascript"}))}catch(e){var blob=new BlobBuilder;return blob.append(str),URL.createObjectURL(blob.getBlob())}}(code),worker=browserWorkerPolyFill(new Worker(objectUrl));worker.objURL=objectUrl;var terminate=worker.terminate;return worker.on=worker.addEventListener,worker.off=worker.removeEventListener,worker.terminate=function(){return URL.revokeObjectURL(objectUrl),terminate.call(this)},worker}},transform=function transform(code){return"var browserWorkerPolyFill = "+browserWorkerPolyFill.toString()+";\nbrowserWorkerPolyFill(self);\n"+code},getWorkerString=function getWorkerString(fn){return fn.toString().replace(/^function.+?{/,"").slice(0,-1)},workerCode$1=transform(getWorkerString((function(){var Stream=function Stream(){this.init=function(){var listeners={};this.on=function(type,listener){listeners[type]||(listeners[type]=[]),listeners[type]=listeners[type].concat(listener)},this.off=function(type,listener){var index;return!!listeners[type]&&(index=listeners[type].indexOf(listener),listeners[type]=listeners[type].slice(),listeners[type].splice(index,1),index>-1)},this.trigger=function(type){var callbacks,i,length,args;if(callbacks=listeners[type])if(2===arguments.length)for(length=callbacks.length,i=0;i<length;++i)callbacks[i].call(this,arguments[1]);else{for(args=[],i=arguments.length,i=1;i<arguments.length;++i)args.push(arguments[i]);for(length=callbacks.length,i=0;i<length;++i)callbacks[i].apply(this,args)}},this.dispose=function(){listeners={}}}};Stream.prototype.pipe=function(destination){return this.on("data",(function(data){destination.push(data)})),this.on("done",(function(flushSource){destination.flush(flushSource)})),this.on("partialdone",(function(flushSource){destination.partialFlush(flushSource)})),this.on("endedtimeline",(function(flushSource){destination.endTimeline(flushSource)})),this.on("reset",(function(flushSource){destination.reset(flushSource)})),destination},Stream.prototype.push=function(data){this.trigger("data",data)},Stream.prototype.flush=function(flushSource){this.trigger("done",flushSource)},Stream.prototype.partialFlush=function(flushSource){this.trigger("partialdone",flushSource)},Stream.prototype.endTimeline=function(flushSource){this.trigger("endedtimeline",flushSource)},Stream.prototype.reset=function(flushSource){this.trigger("reset",flushSource)};var box,dinf,esds,ftyp,mfhd,minf,moof,moov,mvex,mvhd,trak,tkhd,mdia,mdhd,hdlr,sdtp,stbl,stsd,traf,trex,trun$1,types,MAJOR_BRAND,MINOR_VERSION,AVC1_BRAND,VIDEO_HDLR,AUDIO_HDLR,HDLR_TYPES,VMHD,SMHD,DREF,STCO,STSC,STSZ,STTS,videoSample,audioSample,audioTrun,videoTrun,trunHeader,stream=Stream,MAX_UINT32$1=Math.pow(2,32),numbers={getUint64:function getUint64(uint8){var value,dv=new DataView(uint8.buffer,uint8.byteOffset,uint8.byteLength);return dv.getBigUint64?(value=dv.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(value):value:dv.getUint32(0)*MAX_UINT32$1+dv.getUint32(4)},MAX_UINT32:MAX_UINT32$1},MAX_UINT32=numbers.MAX_UINT32;!function(){var i;if(types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(i in types)types.hasOwnProperty(i)&&(types[i]=[i.charCodeAt(0),i.charCodeAt(1),i.charCodeAt(2),i.charCodeAt(3)]);MAJOR_BRAND=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),AVC1_BRAND=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),MINOR_VERSION=new Uint8Array([0,0,0,1]),VIDEO_HDLR=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),AUDIO_HDLR=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),HDLR_TYPES={video:VIDEO_HDLR,audio:AUDIO_HDLR},DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),STCO=new Uint8Array([0,0,0,0,0,0,0,0]),STSC=STCO,STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),STTS=STCO,VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),box=function box(type){var i,result,payload=[],size=0;for(i=1;i<arguments.length;i++)payload.push(arguments[i]);for(i=payload.length;i--;)size+=payload[i].byteLength;for(result=new Uint8Array(size+8),new DataView(result.buffer,result.byteOffset,result.byteLength).setUint32(0,result.byteLength),result.set(type,4),i=0,size=8;i<payload.length;i++)result.set(payload[i],size),size+=payload[i].byteLength;return result},dinf=function dinf(){return box(types.dinf,box(types.dref,DREF))},esds=function esds(track){return box(types.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,track.audioobjecttype<<3|track.samplingfrequencyindex>>>1,track.samplingfrequencyindex<<7|track.channelcount<<3,6,1,2]))},hdlr=function hdlr(type){return box(types.hdlr,HDLR_TYPES[type])},mdhd=function mdhd(track){var result=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,track.duration>>>24&255,track.duration>>>16&255,track.duration>>>8&255,255&track.duration,85,196,0,0]);return track.samplerate&&(result[12]=track.samplerate>>>24&255,result[13]=track.samplerate>>>16&255,result[14]=track.samplerate>>>8&255,result[15]=255&track.samplerate),box(types.mdhd,result)},mdia=function mdia(track){return box(types.mdia,mdhd(track),hdlr(track.type),minf(track))},mfhd=function mfhd(sequenceNumber){return box(types.mfhd,new Uint8Array([0,0,0,0,(4278190080&sequenceNumber)>>24,(16711680&sequenceNumber)>>16,(65280&sequenceNumber)>>8,255&sequenceNumber]))},minf=function minf(track){return box(types.minf,"video"===track.type?box(types.vmhd,VMHD):box(types.smhd,SMHD),dinf(),stbl(track))},moof=function moof(sequenceNumber,tracks){for(var trackFragments=[],i=tracks.length;i--;)trackFragments[i]=traf(tracks[i]);return box.apply(null,[types.moof,mfhd(sequenceNumber)].concat(trackFragments))},moov=function moov(tracks){for(var i=tracks.length,boxes=[];i--;)boxes[i]=trak(tracks[i]);return box.apply(null,[types.moov,mvhd(4294967295)].concat(boxes).concat(mvex(tracks)))},mvex=function mvex(tracks){for(var i=tracks.length,boxes=[];i--;)boxes[i]=trex(tracks[i]);return box.apply(null,[types.mvex].concat(boxes))},mvhd=function mvhd(duration){var bytes=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&duration)>>24,(16711680&duration)>>16,(65280&duration)>>8,255&duration,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return box(types.mvhd,bytes)},sdtp=function sdtp(track){var flags,i,samples=track.samples||[],bytes=new Uint8Array(4+samples.length);for(i=0;i<samples.length;i++)flags=samples[i].flags,bytes[i+4]=flags.dependsOn<<4|flags.isDependedOn<<2|flags.hasRedundancy;return box(types.sdtp,bytes)},stbl=function stbl(track){return box(types.stbl,stsd(track),box(types.stts,STTS),box(types.stsc,STSC),box(types.stsz,STSZ),box(types.stco,STCO))},stsd=function stsd(track){return box(types.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===track.type?videoSample(track):audioSample(track))},videoSample=function videoSample(track){var i,avc1Box,sps=track.sps||[],pps=track.pps||[],sequenceParameterSets=[],pictureParameterSets=[];for(i=0;i<sps.length;i++)sequenceParameterSets.push((65280&sps[i].byteLength)>>>8),sequenceParameterSets.push(255&sps[i].byteLength),sequenceParameterSets=sequenceParameterSets.concat(Array.prototype.slice.call(sps[i]));for(i=0;i<pps.length;i++)pictureParameterSets.push((65280&pps[i].byteLength)>>>8),pictureParameterSets.push(255&pps[i].byteLength),pictureParameterSets=pictureParameterSets.concat(Array.prototype.slice.call(pps[i]));if(avc1Box=[types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&track.width)>>8,255&track.width,(65280&track.height)>>8,255&track.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),box(types.avcC,new Uint8Array([1,track.profileIdc,track.profileCompatibility,track.levelIdc,255].concat([sps.length],sequenceParameterSets,[pps.length],pictureParameterSets))),box(types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],track.sarRatio){var hSpacing=track.sarRatio[0],vSpacing=track.sarRatio[1];avc1Box.push(box(types.pasp,new Uint8Array([(4278190080&hSpacing)>>24,(16711680&hSpacing)>>16,(65280&hSpacing)>>8,255&hSpacing,(4278190080&vSpacing)>>24,(16711680&vSpacing)>>16,(65280&vSpacing)>>8,255&vSpacing])))}return box.apply(null,avc1Box)},audioSample=function audioSample(track){return box(types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&track.channelcount)>>8,255&track.channelcount,(65280&track.samplesize)>>8,255&track.samplesize,0,0,0,0,(65280&track.samplerate)>>8,255&track.samplerate,0,0]),esds(track))},tkhd=function tkhd(track){var result=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,0,(4278190080&track.duration)>>24,(16711680&track.duration)>>16,(65280&track.duration)>>8,255&track.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&track.width)>>8,255&track.width,0,0,(65280&track.height)>>8,255&track.height,0,0]);return box(types.tkhd,result)},traf=function traf(track){var trackFragmentHeader,trackFragmentDecodeTime,trackFragmentRun,sampleDependencyTable,upperWordBaseMediaDecodeTime,lowerWordBaseMediaDecodeTime;return trackFragmentHeader=box(types.tfhd,new Uint8Array([0,0,0,58,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),upperWordBaseMediaDecodeTime=Math.floor(track.baseMediaDecodeTime/MAX_UINT32),lowerWordBaseMediaDecodeTime=Math.floor(track.baseMediaDecodeTime%MAX_UINT32),trackFragmentDecodeTime=box(types.tfdt,new Uint8Array([1,0,0,0,upperWordBaseMediaDecodeTime>>>24&255,upperWordBaseMediaDecodeTime>>>16&255,upperWordBaseMediaDecodeTime>>>8&255,255&upperWordBaseMediaDecodeTime,lowerWordBaseMediaDecodeTime>>>24&255,lowerWordBaseMediaDecodeTime>>>16&255,lowerWordBaseMediaDecodeTime>>>8&255,255&lowerWordBaseMediaDecodeTime])),92,"audio"===track.type?(trackFragmentRun=trun$1(track,92),box(types.traf,trackFragmentHeader,trackFragmentDecodeTime,trackFragmentRun)):(sampleDependencyTable=sdtp(track),trackFragmentRun=trun$1(track,sampleDependencyTable.length+92),box(types.traf,trackFragmentHeader,trackFragmentDecodeTime,trackFragmentRun,sampleDependencyTable))},trak=function trak(track){return track.duration=track.duration||4294967295,box(types.trak,tkhd(track),mdia(track))},trex=function trex(track){var result=new Uint8Array([0,0,0,0,(4278190080&track.id)>>24,(16711680&track.id)>>16,(65280&track.id)>>8,255&track.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==track.type&&(result[result.length-1]=0),box(types.trex,result)},trunHeader=function trunHeader(samples,offset){var durationPresent=0,sizePresent=0,flagsPresent=0,compositionTimeOffset=0;return samples.length&&(void 0!==samples[0].duration&&(durationPresent=1),void 0!==samples[0].size&&(sizePresent=2),void 0!==samples[0].flags&&(flagsPresent=4),void 0!==samples[0].compositionTimeOffset&&(compositionTimeOffset=8)),[0,0,durationPresent|sizePresent|flagsPresent|compositionTimeOffset,1,(4278190080&samples.length)>>>24,(16711680&samples.length)>>>16,(65280&samples.length)>>>8,255&samples.length,(4278190080&offset)>>>24,(16711680&offset)>>>16,(65280&offset)>>>8,255&offset]},videoTrun=function videoTrun(track,offset){var bytesOffest,bytes,header,samples,sample,i;for(offset+=20+16*(samples=track.samples||[]).length,header=trunHeader(samples,offset),(bytes=new Uint8Array(header.length+16*samples.length)).set(header),bytesOffest=header.length,i=0;i<samples.length;i++)sample=samples[i],bytes[bytesOffest++]=(4278190080&sample.duration)>>>24,bytes[bytesOffest++]=(16711680&sample.duration)>>>16,bytes[bytesOffest++]=(65280&sample.duration)>>>8,bytes[bytesOffest++]=255&sample.duration,bytes[bytesOffest++]=(4278190080&sample.size)>>>24,bytes[bytesOffest++]=(16711680&sample.size)>>>16,bytes[bytesOffest++]=(65280&sample.size)>>>8,bytes[bytesOffest++]=255&sample.size,bytes[bytesOffest++]=sample.flags.isLeading<<2|sample.flags.dependsOn,bytes[bytesOffest++]=sample.flags.isDependedOn<<6|sample.flags.hasRedundancy<<4|sample.flags.paddingValue<<1|sample.flags.isNonSyncSample,bytes[bytesOffest++]=61440&sample.flags.degradationPriority,bytes[bytesOffest++]=15&sample.flags.degradationPriority,bytes[bytesOffest++]=(4278190080&sample.compositionTimeOffset)>>>24,bytes[bytesOffest++]=(16711680&sample.compositionTimeOffset)>>>16,bytes[bytesOffest++]=(65280&sample.compositionTimeOffset)>>>8,bytes[bytesOffest++]=255&sample.compositionTimeOffset;return box(types.trun,bytes)},audioTrun=function audioTrun(track,offset){var bytes,bytesOffest,header,samples,sample,i;for(offset+=20+8*(samples=track.samples||[]).length,header=trunHeader(samples,offset),(bytes=new Uint8Array(header.length+8*samples.length)).set(header),bytesOffest=header.length,i=0;i<samples.length;i++)sample=samples[i],bytes[bytesOffest++]=(4278190080&sample.duration)>>>24,bytes[bytesOffest++]=(16711680&sample.duration)>>>16,bytes[bytesOffest++]=(65280&sample.duration)>>>8,bytes[bytesOffest++]=255&sample.duration,bytes[bytesOffest++]=(4278190080&sample.size)>>>24,bytes[bytesOffest++]=(16711680&sample.size)>>>16,bytes[bytesOffest++]=(65280&sample.size)>>>8,bytes[bytesOffest++]=255&sample.size;return box(types.trun,bytes)},trun$1=function trun(track,offset){return"audio"===track.type?audioTrun(track,offset):videoTrun(track,offset)};ftyp=function ftyp(){return box(types.ftyp,MAJOR_BRAND,MINOR_VERSION,MAJOR_BRAND,AVC1_BRAND)};var silence,secondsToVideoTs,secondsToAudioTs,videoTsToSeconds,audioTsToSeconds,audioTsToVideoTs,videoTsToAudioTs,metadataTsToSeconds,mp4Generator_mdat=function mdat(data){return box(types.mdat,data)},mp4Generator_moof=moof,mp4Generator_initSegment=function initSegment(tracks){var result,fileType=ftyp(),movie=moov(tracks);return(result=new Uint8Array(fileType.byteLength+movie.byteLength)).set(fileType),result.set(movie,fileType.byteLength),result},sampleForFrame=function sampleForFrame(frame,dataOffset){var sample={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return sample.dataOffset=dataOffset,sample.compositionTimeOffset=frame.pts-frame.dts,sample.duration=frame.duration,sample.size=4*frame.length,sample.size+=frame.byteLength,frame.keyFrame&&(sample.flags.dependsOn=2,sample.flags.isNonSyncSample=0),sample},frameUtils_groupNalsIntoFrames=function groupNalsIntoFrames(nalUnits){var i,currentNal,currentFrame=[],frames=[];for(frames.byteLength=0,frames.nalCount=0,frames.duration=0,currentFrame.byteLength=0,i=0;i<nalUnits.length;i++)"access_unit_delimiter_rbsp"===(currentNal=nalUnits[i]).nalUnitType?(currentFrame.length&&(currentFrame.duration=currentNal.dts-currentFrame.dts,frames.byteLength+=currentFrame.byteLength,frames.nalCount+=currentFrame.length,frames.duration+=currentFrame.duration,frames.push(currentFrame)),(currentFrame=[currentNal]).byteLength=currentNal.data.byteLength,currentFrame.pts=currentNal.pts,currentFrame.dts=currentNal.dts):("slice_layer_without_partitioning_rbsp_idr"===currentNal.nalUnitType&&(currentFrame.keyFrame=!0),currentFrame.duration=currentNal.dts-currentFrame.dts,currentFrame.byteLength+=currentNal.data.byteLength,currentFrame.push(currentNal));return frames.length&&(!currentFrame.duration||currentFrame.duration<=0)&&(currentFrame.duration=frames[frames.length-1].duration),frames.byteLength+=currentFrame.byteLength,frames.nalCount+=currentFrame.length,frames.duration+=currentFrame.duration,frames.push(currentFrame),frames},frameUtils_groupFramesIntoGops=function groupFramesIntoGops(frames){var i,currentFrame,currentGop=[],gops=[];for(currentGop.byteLength=0,currentGop.nalCount=0,currentGop.duration=0,currentGop.pts=frames[0].pts,currentGop.dts=frames[0].dts,gops.byteLength=0,gops.nalCount=0,gops.duration=0,gops.pts=frames[0].pts,gops.dts=frames[0].dts,i=0;i<frames.length;i++)(currentFrame=frames[i]).keyFrame?(currentGop.length&&(gops.push(currentGop),gops.byteLength+=currentGop.byteLength,gops.nalCount+=currentGop.nalCount,gops.duration+=currentGop.duration),(currentGop=[currentFrame]).nalCount=currentFrame.length,currentGop.byteLength=currentFrame.byteLength,currentGop.pts=currentFrame.pts,currentGop.dts=currentFrame.dts,currentGop.duration=currentFrame.duration):(currentGop.duration+=currentFrame.duration,currentGop.nalCount+=currentFrame.length,currentGop.byteLength+=currentFrame.byteLength,currentGop.push(currentFrame));return gops.length&¤tGop.duration<=0&&(currentGop.duration=gops[gops.length-1].duration),gops.byteLength+=currentGop.byteLength,gops.nalCount+=currentGop.nalCount,gops.duration+=currentGop.duration,gops.push(currentGop),gops},frameUtils_extendFirstKeyFrame=function extendFirstKeyFrame(gops){var currentGop;return!gops[0][0].keyFrame&&gops.length>1&&(currentGop=gops.shift(),gops.byteLength-=currentGop.byteLength,gops.nalCount-=currentGop.nalCount,gops[0][0].dts=currentGop.dts,gops[0][0].pts=currentGop.pts,gops[0][0].duration+=currentGop.duration),gops},frameUtils_generateSampleTable=function generateSampleTable(gops,baseDataOffset){var h,i,sample,currentGop,currentFrame,dataOffset=baseDataOffset||0,samples=[];for(h=0;h<gops.length;h++)for(currentGop=gops[h],i=0;i<currentGop.length;i++)currentFrame=currentGop[i],dataOffset+=(sample=sampleForFrame(currentFrame,dataOffset)).size,samples.push(sample);return samples},frameUtils_concatenateNalData=function concatenateNalData(gops){var h,i,j,currentGop,currentFrame,currentNal,dataOffset=0,nalsByteLength=gops.byteLength,numberOfNals=gops.nalCount,data=new Uint8Array(nalsByteLength+4*numberOfNals),view=new DataView(data.buffer);for(h=0;h<gops.length;h++)for(currentGop=gops[h],i=0;i<currentGop.length;i++)for(currentFrame=currentGop[i],j=0;j<currentFrame.length;j++)currentNal=currentFrame[j],view.setUint32(dataOffset,currentNal.data.byteLength),dataOffset+=4,data.set(currentNal.data,dataOffset),dataOffset+=currentNal.data.byteLength;return data},highPrefix=[33,16,5,32,164,27],lowPrefix=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],zeroFill=function zeroFill(count){for(var a=[];count--;)a.push(0);return a},silence_1=function silence_1(){if(!silence){var coneOfSilence={96e3:[highPrefix,[227,64],zeroFill(154),[56]],88200:[highPrefix,[231],zeroFill(170),[56]],64e3:[highPrefix,[248,192],zeroFill(240),[56]],48e3:[highPrefix,[255,192],zeroFill(268),[55,148,128],zeroFill(54),[112]],44100:[highPrefix,[255,192],zeroFill(268),[55,163,128],zeroFill(84),[112]],32e3:[highPrefix,[255,192],zeroFill(268),[55,234],zeroFill(226),[112]],24e3:[highPrefix,[255,192],zeroFill(268),[55,255,128],zeroFill(268),[111,112],zeroFill(126),[224]],16e3:[highPrefix,[255,192],zeroFill(268),[55,255,128],zeroFill(268),[111,255],zeroFill(269),[223,108],zeroFill(195),[1,192]],12e3:[lowPrefix,zeroFill(268),[3,127,248],zeroFill(268),[6,255,240],zeroFill(268),[13,255,224],zeroFill(268),[27,253,128],zeroFill(259),[56]],11025:[lowPrefix,zeroFill(268),[3,127,248],zeroFill(268),[6,255,240],zeroFill(268),[13,255,224],zeroFill(268),[27,255,192],zeroFill(268),[55,175,128],zeroFill(108),[112]],8e3:[lowPrefix,zeroFill(268),[3,121,16],zeroFill(47),[7]]};silence=function makeTable(metaTable){return Object.keys(metaTable).reduce((function(obj,key){return obj[key]=new Uint8Array(metaTable[key].reduce((function(arr,part){return arr.concat(part)}),[])),obj}),{})}(coneOfSilence)}return silence};audioTsToVideoTs=function audioTsToVideoTs(timestamp,sampleRate){return secondsToVideoTs(audioTsToSeconds(timestamp,sampleRate))},videoTsToAudioTs=function videoTsToAudioTs(timestamp,sampleRate){return secondsToAudioTs(videoTsToSeconds(timestamp),sampleRate)},metadataTsToSeconds=function metadataTsToSeconds(timestamp,timelineStartPts,keepOriginalTimestamps){return videoTsToSeconds(keepOriginalTimestamps?timestamp:timestamp-timelineStartPts)};var clock_ONE_SECOND_IN_TS=9e4,clock_secondsToVideoTs=secondsToVideoTs=function secondsToVideoTs(seconds){return 9e4*seconds},clock_videoTsToSeconds=(secondsToAudioTs=function secondsToAudioTs(seconds,sampleRate){return seconds*sampleRate},videoTsToSeconds=function videoTsToSeconds(timestamp){return timestamp/9e4}),clock_audioTsToVideoTs=(audioTsToSeconds=function audioTsToSeconds(timestamp,sampleRate){return timestamp/sampleRate},audioTsToVideoTs),clock_videoTsToAudioTs=videoTsToAudioTs,clock_metadataTsToSeconds=metadataTsToSeconds,audioFrameUtils_prefixWithSilence=function prefixWithSilence(track,frames,audioAppendStartTs,videoBaseMediaDecodeTime){var baseMediaDecodeTimeTs,frameDuration,silentFrame,i,firstFrame,audioGapDuration=0,audioFillFrameCount=0,audioFillDuration=0;if(frames.length&&(baseMediaDecodeTimeTs=clock_audioTsToVideoTs(track.baseMediaDecodeTime,track.samplerate),frameDuration=Math.ceil(clock_ONE_SECOND_IN_TS/(track.samplerate/1024)),audioAppendStartTs&&videoBaseMediaDecodeTime&&(audioGapDuration=baseMediaDecodeTimeTs-Math.max(audioAppendStartTs,videoBaseMediaDecodeTime),audioFillDuration=(audioFillFrameCount=Math.floor(audioGapDuration/frameDuration))*frameDuration),!(audioFillFrameCount<1||audioFillDuration>clock_ONE_SECOND_IN_TS/2))){for((silentFrame=silence_1()[track.samplerate])||(silentFrame=frames[0].data),i=0;i<audioFillFrameCount;i++)firstFrame=frames[0],frames.splice(0,0,{data:silentFrame,dts:firstFrame.dts-frameDuration,pts:firstFrame.pts-frameDuration});return track.baseMediaDecodeTime-=Math.floor(clock_videoTsToAudioTs(audioFillDuration,track.samplerate)),audioFillDuration}},audioFrameUtils_trimAdtsFramesByEarliestDts=function trimAdtsFramesByEarliestDts(adtsFrames,track,earliestAllowedDts){return track.minSegmentDts>=earliestAllowedDts?adtsFrames:(track.minSegmentDts=1/0,adtsFrames.filter((function(currentFrame){return currentFrame.dts>=earliestAllowedDts&&(track.minSegmentDts=Math.min(track.minSegmentDts,currentFrame.dts),track.minSegmentPts=track.minSegmentDts,!0)})))},audioFrameUtils_generateSampleTable=function generateSampleTable(frames){var i,currentFrame,samples=[];for(i=0;i<frames.length;i++)currentFrame=frames[i],samples.push({size:currentFrame.data.byteLength,duration:1024});return samples},audioFrameUtils_concatenateFrameData=function concatenateFrameData(frames){var i,currentFrame,dataOffset=0,data=new Uint8Array(function sumFrameByteLengths(array){var i,sum=0;for(i=0;i<array.length;i++)sum+=array[i].data.byteLength;return sum}(frames));for(i=0;i<frames.length;i++)currentFrame=frames[i],data.set(currentFrame.data,dataOffset),dataOffset+=currentFrame.data.byteLength;return data},ONE_SECOND_IN_TS$3=clock_ONE_SECOND_IN_TS,trackDecodeInfo_clearDtsInfo=function clearDtsInfo(track){delete track.minSegmentDts,delete track.maxSegmentDts,delete track.minSegmentPts,delete track.maxSegmentPts},trackDecodeInfo_calculateTrackBaseMediaDecodeTime=function calculateTrackBaseMediaDecodeTime(track,keepOriginalTimestamps){var baseMediaDecodeTime,minSegmentDts=track.minSegmentDts;return keepOriginalTimestamps||(minSegmentDts-=track.timelineStartInfo.dts),baseMediaDecodeTime=track.timelineStartInfo.baseMediaDecodeTime,baseMediaDecodeTime+=minSegmentDts,baseMediaDecodeTime=Math.max(0,baseMediaDecodeTime),"audio"===track.type&&(baseMediaDecodeTime*=track.samplerate/ONE_SECOND_IN_TS$3,baseMediaDecodeTime=Math.floor(baseMediaDecodeTime)),baseMediaDecodeTime},trackDecodeInfo_collectDtsInfo=function collectDtsInfo(track,data){"number"==typeof data.pts&&(void 0===track.timelineStartInfo.pts&&(track.timelineStartInfo.pts=data.pts),void 0===track.minSegmentPts?track.minSegmentPts=data.pts:track.minSegmentPts=Math.min(track.minSegmentPts,data.pts),void 0===track.maxSegmentPts?track.maxSegmentPts=data.pts:track.maxSegmentPts=Math.max(track.maxSegmentPts,data.pts)),"number"==typeof data.dts&&(void 0===track.timelineStartInfo.dts&&(track.timelineStartInfo.dts=data.dts),void 0===track.minSegmentDts?track.minSegmentDts=data.dts:track.minSegmentDts=Math.min(track.minSegmentDts,data.dts),void 0===track.maxSegmentDts?track.maxSegmentDts=data.dts:track.maxSegmentDts=Math.max(track.maxSegmentDts,data.dts))},captionPacketParser_parseSei=function parseSei(bytes){for(var i=0,result={payloadType:-1,payloadSize:0},payloadType=0,payloadSize=0;i<bytes.byteLength&&128!==bytes[i];){for(;255===bytes[i];)payloadType+=255,i++;for(payloadType+=bytes[i++];255===bytes[i];)payloadSize+=255,i++;if(payloadSize+=bytes[i++],!result.payload&&4===payloadType){if("GA94"===String.fromCharCode(bytes[i+3],bytes[i+4],bytes[i+5],bytes[i+6])){result.payloadType=payloadType,result.payloadSize=payloadSize,result.payload=bytes.subarray(i,i+payloadSize);break}result.payload=void 0}i+=payloadSize,payloadType=0,payloadSize=0}return result},captionPacketParser_parseUserData=function parseUserData(sei){return 181!==sei.payload[0]||49!=(sei.payload[1]<<8|sei.payload[2])||"GA94"!==String.fromCharCode(sei.payload[3],sei.payload[4],sei.payload[5],sei.payload[6])||3!==sei.payload[7]?null:sei.payload.subarray(8,sei.payload.length-1)},captionPacketParser_parseCaptionPackets=function parseCaptionPackets(pts,userData){var i,count,offset,data,results=[];if(!(64&userData[0]))return results;for(count=31&userData[0],i=0;i<count;i++)data={type:3&userData[(offset=3*i)+2],pts},4&userData[offset+2]&&(data.ccData=userData[offset+3]<<8|userData[offset+4],results.push(data));return results},captionPacketParser_discardEmulationPreventionBytes=function discardEmulationPreventionBytes(data){for(var newLength,newData,length=data.byteLength,emulationPreventionBytesPositions=[],i=1;i<length-2;)0===data[i]&&0===data[i+1]&&3===data[i+2]?(emulationPreventionBytesPositions.push(i+2),i+=2):i++;if(0===emulationPreventionBytesPositions.length)return data;newLength=length-emulationPreventionBytesPositions.length,newData=new Uint8Array(newLength);var sourceIndex=0;for(i=0;i<newLength;sourceIndex++,i++)sourceIndex===emulationPreventionBytesPositions[0]&&(sourceIndex++,emulationPreventionBytesPositions.shift()),newData[i]=data[sourceIndex];return newData},captionPacketParser_USER_DATA_REGISTERED_ITU_T_T35=4,CaptionStream$1=function CaptionStream(options){options=options||{},CaptionStream.prototype.init.call(this),this.parse708captions_="boolean"!=typeof options.parse708captions||options.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Cea608Stream(0,0),new Cea608Stream(0,1),new Cea608Stream(1,0),new Cea608Stream(1,1)],this.parse708captions_&&(this.cc708Stream_=new Cea708Stream({captionServices:options.captionServices})),this.reset(),this.ccStreams_.forEach((function(cc){cc.on("data",this.trigger.bind(this,"data")),cc.on("partialdone",this.trigger.bind(this,"partialdone")),cc.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};(CaptionStream$1.prototype=new stream).push=function(event){var sei,userData,newCaptionPackets;if("sei_rbsp"===event.nalUnitType&&(sei=captionPacketParser_parseSei(event.escapedRBSP)).payload&&sei.payloadType===captionPacketParser_USER_DATA_REGISTERED_ITU_T_T35&&(userData=captionPacketParser_parseUserData(sei)))if(event.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(event.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));newCaptionPackets=captionPacketParser_parseCaptionPackets(event.pts,userData),this.captionPackets_=this.captionPackets_.concat(newCaptionPackets),this.latestDts_!==event.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=event.dts}},CaptionStream$1.prototype.flushCCStreams=function(flushType){this.ccStreams_.forEach((function(cc){return"flush"===flushType?cc.flush():cc.partialFlush()}),this)},CaptionStream$1.prototype.flushStream=function(flushType){this.captionPackets_.length?(this.captionPackets_.forEach((function(elem,idx){elem.presortIndex=idx})),this.captionPackets_.sort((function(a,b){return a.pts===b.pts?a.presortIndex-b.presortIndex:a.pts-b.pts})),this.captionPackets_.forEach((function(packet){packet.type<2?this.dispatchCea608Packet(packet):this.dispatchCea708Packet(packet)}),this),this.captionPackets_.length=0,this.flushCCStreams(flushType)):this.flushCCStreams(flushType)},CaptionStream$1.prototype.flush=function(){return this.flushStream("flush")},CaptionStream$1.prototype.partialFlush=function(){return this.flushStream("partialFlush")},CaptionStream$1.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(ccStream){ccStream.reset()}))},CaptionStream$1.prototype.dispatchCea608Packet=function(packet){this.setsTextOrXDSActive(packet)?this.activeCea608Channel_[packet.type]=null:this.setsChannel1Active(packet)?this.activeCea608Channel_[packet.type]=0:this.setsChannel2Active(packet)&&(this.activeCea608Channel_[packet.type]=1),null!==this.activeCea608Channel_[packet.type]&&this.ccStreams_[(packet.type<<1)+this.activeCea608Channel_[packet.type]].push(packet)},CaptionStream$1.prototype.setsChannel1Active=function(packet){return 4096==(30720&packet.ccData)},CaptionStream$1.prototype.setsChannel2Active=function(packet){return 6144==(30720&packet.ccData)},CaptionStream$1.prototype.setsTextOrXDSActive=function(packet){return 256==(28928&packet.ccData)||4138==(30974&packet.ccData)||6186==(30974&packet.ccData)},CaptionStream$1.prototype.dispatchCea708Packet=function(packet){this.parse708captions_&&this.cc708Stream_.push(packet)};var CHARACTER_TRANSLATION_708={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},within708TextBlock=function within708TextBlock(b){return 32<=b&&b<=127||160<=b&&b<=255},Cea708Window=function Cea708Window(windowNum){this.windowNum=windowNum,this.reset()};Cea708Window.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},Cea708Window.prototype.getText=function(){return this.rows.join("\n")},Cea708Window.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},Cea708Window.prototype.newLine=function(pts){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(pts),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},Cea708Window.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},Cea708Window.prototype.addText=function(text){this.rows[this.rowIdx]+=text},Cea708Window.prototype.backspace=function(){if(!this.isEmpty()){var row=this.rows[this.rowIdx];this.rows[this.rowIdx]=row.substr(0,row.length-1)}};var Cea708Service=function Cea708Service(serviceNum,encoding,stream){this.serviceNum=serviceNum,this.text="",this.currentWindow=new Cea708Window(-1),this.windows=[],this.stream=stream,"string"==typeof encoding&&this.createTextDecoder(encoding)};Cea708Service.prototype.init=function(pts,beforeRowOverflow){this.startPts=pts;for(var win=0;win<8;win++)this.windows[win]=new Cea708Window(win),"function"==typeof beforeRowOverflow&&(this.windows[win].beforeRowOverflow=beforeRowOverflow)},Cea708Service.prototype.setCurrentWindow=function(windowNum){this.currentWindow=this.windows[windowNum]},Cea708Service.prototype.createTextDecoder=function(encoding){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(encoding)}catch(error){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+encoding+" encoding. "+error})}};var Cea708Stream=function Cea708Stream(options){options=options||{},Cea708Stream.prototype.init.call(this);var serviceProps,self=this,captionServices=options.captionServices||{},captionServiceEncodings={};Object.keys(captionServices).forEach((function(serviceName){serviceProps=captionServices[serviceName],/^SERVICE/.test(serviceName)&&(captionServiceEncodings[serviceName]=serviceProps.encoding)})),this.serviceEncodings=captionServiceEncodings,this.current708Packet=null,this.services={},this.push=function(packet){3===packet.type?(self.new708Packet(),self.add708Bytes(packet)):(null===self.current708Packet&&self.new708Packet(),self.add708Bytes(packet))}};Cea708Stream.prototype=new stream,Cea708Stream.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Cea708Stream.prototype.add708Bytes=function(packet){var data=packet.ccData,byte0=data>>>8,byte1=255&data;this.current708Packet.ptsVals.push(packet.pts),this.current708Packet.data.push(byte0),this.current708Packet.data.push(byte1)},Cea708Stream.prototype.push708Packet=function(){var packet708=this.current708Packet,packetData=packet708.data,serviceNum=null,blockSize=null,i=0,b=packetData[i++];for(packet708.seq=b>>6,packet708.sizeCode=63&b;i<packetData.length;i++)blockSize=31&(b=packetData[i++]),7===(serviceNum=b>>5)&&blockSize>0&&(serviceNum=b=packetData[i++]),this.pushServiceBlock(serviceNum,i,blockSize),blockSize>0&&(i+=blockSize-1)},Cea708Stream.prototype.pushServiceBlock=function(serviceNum,start,size){var b,i=start,packetData=this.current708Packet.data,service=this.services[serviceNum];for(service||(service=this.initService(serviceNum,i));i<start+size&&i<packetData.length;i++)b=packetData[i],within708TextBlock(b)?i=this.handleText(i,service):24===b?i=this.multiByteCharacter(i,service):16===b?i=this.extendedCommands(i,service):128<=b&&b<=135?i=this.setCurrentWindow(i,service):152<=b&&b<=159?i=this.defineWindow(i,service):136===b?i=this.clearWindows(i,service):140===b?i=this.deleteWindows(i,service):137===b?i=this.displayWindows(i,service):138===b?i=this.hideWindows(i,service):139===b?i=this.toggleWindows(i,service):151===b?i=this.setWindowAttributes(i,service):144===b?i=this.setPenAttributes(i,service):145===b?i=this.setPenColor(i,service):146===b?i=this.setPenLocation(i,service):143===b?service=this.reset(i,service):8===b?service.currentWindow.backspace():12===b?service.currentWindow.clearText():13===b?service.currentWindow.pendingNewLine=!0:14===b?service.currentWindow.clearText():141===b&&i++},Cea708Stream.prototype.extendedCommands=function(i,service){var b=this.current708Packet.data[++i];return within708TextBlock(b)&&(i=this.handleText(i,service,{isExtended:!0})),i},Cea708Stream.prototype.getPts=function(byteIndex){return this.current708Packet.ptsVals[Math.floor(byteIndex/2)]},Cea708Stream.prototype.initService=function(serviceNum,i){var serviceName,encoding,self=this;return(serviceName="SERVICE"+serviceNum)in this.serviceEncodings&&(encoding=this.serviceEncodings[serviceName]),this.services[serviceNum]=new Cea708Service(serviceNum,encoding,self),this.services[serviceNum].init(this.getPts(i),(function(pts){self.flushDisplayed(pts,self.services[serviceNum])})),this.services[serviceNum]},Cea708Stream.prototype.handleText=function(i,service,options){var _char,charCodeArray,isExtended=options&&options.isExtended,isMultiByte=options&&options.isMultiByte,packetData=this.current708Packet.data,extended=isExtended?4096:0,currentByte=packetData[i],nextByte=packetData[i+1],win=service.currentWindow;return service.textDecoder_&&!isExtended?(isMultiByte?(charCodeArray=[currentByte,nextByte],i++):charCodeArray=[currentByte],_char=service.textDecoder_.decode(new Uint8Array(charCodeArray))):_char=function get708CharFromCode(code){var newCode=CHARACTER_TRANSLATION_708[code]||code;return 4096&code&&code===newCode?"":String.fromCharCode(newCode)}(extended|currentByte),win.pendingNewLine&&!win.isEmpty()&&win.newLine(this.getPts(i)),win.pendingNewLine=!1,win.addText(_char),i},Cea708Stream.prototype.multiByteCharacter=function(i,service){var packetData=this.current708Packet.data,firstByte=packetData[i+1],secondByte=packetData[i+2];return within708TextBlock(firstByte)&&within708TextBlock(secondByte)&&(i=this.handleText(++i,service,{isMultiByte:!0})),i},Cea708Stream.prototype.setCurrentWindow=function(i,service){var windowNum=7&this.current708Packet.data[i];return service.setCurrentWindow(windowNum),i},Cea708Stream.prototype.defineWindow=function(i,service){var packetData=this.current708Packet.data,b=packetData[i],windowNum=7&b;service.setCurrentWindow(windowNum);var win=service.currentWindow;return b=packetData[++i],win.visible=(32&b)>>5,win.rowLock=(16&b)>>4,win.columnLock=(8&b)>>3,win.priority=7&b,b=packetData[++i],win.relativePositioning=(128&b)>>7,win.anchorVertical=127&b,b=packetData[++i],win.anchorHorizontal=b,b=packetData[++i],win.anchorPoint=(240&b)>>4,win.rowCount=15&b,b=packetData[++i],win.columnCount=63&b,b=packetData[++i],win.windowStyle=(56&b)>>3,win.penStyle=7&b,win.virtualRowCount=win.rowCount+1,i},Cea708Stream.prototype.setWindowAttributes=function(i,service){var packetData=this.current708Packet.data,b=packetData[i],winAttr=service.currentWindow.winAttr;return b=packetData[++i],winAttr.fillOpacity=(192&b)>>6,winAttr.fillRed=(48&b)>>4,winAttr.fillGreen=(12&b)>>2,winAttr.fillBlue=3&b,b=packetData[++i],winAttr.borderType=(192&b)>>6,winAttr.borderRed=(48&b)>>4,winAttr.borderGreen=(12&b)>>2,winAttr.borderBlue=3&b,b=packetData[++i],winAttr.borderType+=(128&b)>>5,winAttr.wordWrap=(64&b)>>6,winAttr.printDirection=(48&b)>>4,winAttr.scrollDirection=(12&b)>>2,winAttr.justify=3&b,b=packetData[++i],winAttr.effectSpeed=(240&b)>>4,winAttr.effectDirection=(12&b)>>2,winAttr.displayEffect=3&b,i},Cea708Stream.prototype.flushDisplayed=function(pts,service){for(var displayedText=[],winId=0;winId<8;winId++)service.windows[winId].visible&&!service.windows[winId].isEmpty()&&displayedText.push(service.windows[winId].getText());service.endPts=pts,service.text=displayedText.join("\n\n"),this.pushCaption(service),service.startPts=pts},Cea708Stream.prototype.pushCaption=function(service){""!==service.text&&(this.trigger("data",{startPts:service.startPts,endPts:service.endPts,text:service.text,stream:"cc708_"+service.serviceNum}),service.text="",service.startPts=service.endPts)},Cea708Stream.prototype.displayWindows=function(i,service){var b=this.current708Packet.data[++i],pts=this.getPts(i);this.flushDisplayed(pts,service);for(var winId=0;winId<8;winId++)b&1<<winId&&(service.windows[winId].visible=1);return i},Cea708Stream.prototype.hideWindows=function(i,service){var b=this.current708Packet.data[++i],pts=this.getPts(i);this.flushDisplayed(pts,service);for(var winId=0;winId<8;winId++)b&1<<winId&&(service.windows[winId].visible=0);return i},Cea708Stream.prototype.toggleWindows=function(i,service){var b=this.current708Packet.data[++i],pts=this.getPts(i);this.flushDisplayed(pts,service);for(var winId=0;winId<8;winId++)b&1<<winId&&(service.windows[winId].visible^=1);return i},Cea708Stream.prototype.clearWindows=function(i,service){var b=this.current708Packet.data[++i],pts=this.getPts(i);this.flushDisplayed(pts,service);for(var winId=0;winId<8;winId++)b&1<<winId&&service.windows[winId].clearText();return i},Cea708Stream.prototype.deleteWindows=function(i,service){var b=this.current708Packet.data[++i],pts=this.getPts(i);this.flushDisplayed(pts,service);for(var winId=0;winId<8;winId++)b&1<<winId&&service.windows[winId].reset();return i},Cea708Stream.prototype.setPenAttributes=function(i,service){var packetData=this.current708Packet.data,b=packetData[i],penAttr=service.currentWindow.penAttr;return b=packetData[++i],penAttr.textTag=(240&b)>>4,penAttr.offset=(12&b)>>2,penAttr.penSize=3&b,b=packetData[++i],penAttr.italics=(128&b)>>7,penAttr.underline=(64&b)>>6,penAttr.edgeType=(56&b)>>3,penAttr.fontStyle=7&b,i},Cea708Stream.prototype.setPenColor=function(i,service){var packetData=this.current708Packet.data,b=packetData[i],penColor=service.currentWindow.penColor;return b=packetData[++i],penColor.fgOpacity=(192&b)>>6,penColor.fgRed=(48&b)>>4,penColor.fgGreen=(12&b)>>2,penColor.fgBlue=3&b,b=packetData[++i],penColor.bgOpacity=(192&b)>>6,penColor.bgRed=(48&b)>>4,penColor.bgGreen=(12&b)>>2,penColor.bgBlue=3&b,b=packetData[++i],penColor.edgeRed=(48&b)>>4,penColor.edgeGreen=(12&b)>>2,penColor.edgeBlue=3&b,i},Cea708Stream.prototype.setPenLocation=function(i,service){var packetData=this.current708Packet.data,b=packetData[i],penLoc=service.currentWindow.penLoc;return service.currentWindow.pendingNewLine=!0,b=packetData[++i],penLoc.row=15&b,b=packetData[++i],penLoc.column=63&b,i},Cea708Stream.prototype.reset=function(i,service){var pts=this.getPts(i);return this.flushDisplayed(pts,service),this.initService(service.serviceNum,i)};var CHARACTER_TRANSLATION={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},getCharFromCode=function getCharFromCode(code){return null===code?"":(code=CHARACTER_TRANSLATION[code]||code,String.fromCharCode(code))},ROWS=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],createDisplayBuffer=function createDisplayBuffer(){for(var result=[],i=15;i--;)result.push("");return result},Cea608Stream=function Cea608Stream(field,dataChannel){Cea608Stream.prototype.init.call(this),this.field_=field||0,this.dataChannel_=dataChannel||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(packet){var data,swap,char0,char1,text;if((data=32639&packet.ccData)!==this.lastControlCode_){if(4096==(61440&data)?this.lastControlCode_=data:data!==this.PADDING_&&(this.lastControlCode_=null),char0=data>>>8,char1=255&data,data!==this.PADDING_)if(data===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(data===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(packet.pts),this.flushDisplayed(packet.pts),swap=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=swap,this.startPts_=packet.pts;else if(data===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(packet.pts);else if(data===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(packet.pts);else if(data===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(packet.pts);else if(data===this.CARRIAGE_RETURN_)this.clearFormatting(packet.pts),this.flushDisplayed(packet.pts),this.shiftRowsUp_(),this.startPts_=packet.pts;else if(data===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(data===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(packet.pts),this.displayed_=createDisplayBuffer();else if(data===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=createDisplayBuffer();else if(data===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(packet.pts),this.displayed_=createDisplayBuffer()),this.mode_="paintOn",this.startPts_=packet.pts;else if(this.isSpecialCharacter(char0,char1))text=getCharFromCode((char0=(3&char0)<<8)|char1),this[this.mode_](packet.pts,text),this.column_++;else if(this.isExtCharacter(char0,char1))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),text=getCharFromCode((char0=(3&char0)<<8)|char1),this[this.mode_](packet.pts,text),this.column_++;else if(this.isMidRowCode(char0,char1))this.clearFormatting(packet.pts),this[this.mode_](packet.pts," "),this.column_++,14==(14&char1)&&this.addFormatting(packet.pts,["i"]),1==(1&char1)&&this.addFormatting(packet.pts,["u"]);else if(this.isOffsetControlCode(char0,char1))this.column_+=3&char1;else if(this.isPAC(char0,char1)){var row=ROWS.indexOf(7968&data);"rollUp"===this.mode_&&(row-this.rollUpRows_+1<0&&(row=this.rollUpRows_-1),this.setRollUp(packet.pts,row)),row!==this.row_&&(this.clearFormatting(packet.pts),this.row_=row),1&char1&&-1===this.formatting_.indexOf("u")&&this.addFormatting(packet.pts,["u"]),16==(16&data)&&(this.column_=4*((14&data)>>1)),this.isColorPAC(char1)&&14==(14&char1)&&this.addFormatting(packet.pts,["i"])}else this.isNormalChar(char0)&&(0===char1&&(char1=null),text=getCharFromCode(char0),text+=getCharFromCode(char1),this[this.mode_](packet.pts,text),this.column_+=text.length)}else this.lastControlCode_=null}};Cea608Stream.prototype=new stream,Cea608Stream.prototype.flushDisplayed=function(pts){var content=this.displayed_.map((function(row,index){try{return row.trim()}catch(e){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+index+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");content.length&&this.trigger("data",{startPts:this.startPts_,endPts:pts,text:content,stream:this.name_})},Cea608Stream.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=createDisplayBuffer(),this.nonDisplayed_=createDisplayBuffer(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Cea608Stream.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Cea608Stream.prototype.isSpecialCharacter=function(char0,char1){return char0===this.EXT_&&char1>=48&&char1<=63},Cea608Stream.prototype.isExtCharacter=function(char0,char1){return(char0===this.EXT_+1||char0===this.EXT_+2)&&char1>=32&&char1<=63},Cea608Stream.prototype.isMidRowCode=function(char0,char1){return char0===this.EXT_&&char1>=32&&char1<=47},Cea608Stream.prototype.isOffsetControlCode=function(char0,char1){return char0===this.OFFSET_&&char1>=33&&char1<=35},Cea608Stream.prototype.isPAC=function(char0,char1){return char0>=this.BASE_&&char0<this.BASE_+8&&char1>=64&&char1<=127},Cea608Stream.prototype.isColorPAC=function(char1){return char1>=64&&char1<=79||char1>=96&&char1<=127},Cea608Stream.prototype.isNormalChar=function(_char2){return _char2>=32&&_char2<=127},Cea608Stream.prototype.setRollUp=function(pts,newBaseRow){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(pts),this.nonDisplayed_=createDisplayBuffer(),this.displayed_=createDisplayBuffer()),void 0!==newBaseRow&&newBaseRow!==this.row_)for(var i=0;i<this.rollUpRows_;i++)this.displayed_[newBaseRow-i]=this.displayed_[this.row_-i],this.displayed_[this.row_-i]="";void 0===newBaseRow&&(newBaseRow=this.row_),this.topRow_=newBaseRow-this.rollUpRows_+1},Cea608Stream.prototype.addFormatting=function(pts,format){this.formatting_=this.formatting_.concat(format);var text=format.reduce((function(text,format){return text+"<"+format+">"}),"");this[this.mode_](pts,text)},Cea608Stream.prototype.clearFormatting=function(pts){if(this.formatting_.length){var text=this.formatting_.reverse().reduce((function(text,format){return text+"</"+format+">"}),"");this.formatting_=[],this[this.mode_](pts,text)}},Cea608Stream.prototype.popOn=function(pts,text){var baseRow=this.nonDisplayed_[this.row_];baseRow+=text,this.nonDisplayed_[this.row_]=baseRow},Cea608Stream.prototype.rollUp=function(pts,text){var baseRow=this.displayed_[this.row_];baseRow+=text,this.displayed_[this.row_]=baseRow},Cea608Stream.prototype.shiftRowsUp_=function(){var i;for(i=0;i<this.topRow_;i++)this.displayed_[i]="";for(i=this.row_+1;i<15;i++)this.displayed_[i]="";for(i=this.topRow_;i<this.row_;i++)this.displayed_[i]=this.displayed_[i+1];this.displayed_[this.row_]=""},Cea608Stream.prototype.paintOn=function(pts,text){var baseRow=this.displayed_[this.row_];baseRow+=text,this.displayed_[this.row_]=baseRow};var captionStream={CaptionStream:CaptionStream$1,Cea608Stream,Cea708Stream},streamTypes={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},handleRollover$1=function handleRollover(value,reference){var direction=1;for(value>reference&&(direction=-1);Math.abs(reference-value)>4294967296;)value+=8589934592*direction;return value},TimestampRolloverStream$1=function TimestampRolloverStream(type){var lastDTS,referenceDTS;TimestampRolloverStream.prototype.init.call(this),this.type_=type||"shared",this.push=function(data){"shared"!==this.type_&&data.type!==this.type_||(void 0===referenceDTS&&(referenceDTS=data.dts),data.dts=handleRollover$1(data.dts,referenceDTS),data.pts=handleRollover$1(data.pts,referenceDTS),lastDTS=data.dts,this.trigger("data",data))},this.flush=function(){referenceDTS=lastDTS,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){referenceDTS=void 0,lastDTS=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};TimestampRolloverStream$1.prototype=new stream;var _MetadataStream,timestampRolloverStream_TimestampRolloverStream=TimestampRolloverStream$1,timestampRolloverStream_handleRollover=handleRollover$1,percentEncode$1=function percentEncode(bytes,start,end){var i,result="";for(i=start;i<end;i++)result+="%"+("00"+bytes[i].toString(16)).slice(-2);return result},parseUtf8=function parseUtf8(bytes,start,end){return decodeURIComponent(percentEncode$1(bytes,start,end))},parseIso88591$1=function parseIso88591(bytes,start,end){return unescape(percentEncode$1(bytes,start,end))},parseSyncSafeInteger$1=function parseSyncSafeInteger(data){return data[0]<<21|data[1]<<14|data[2]<<7|data[3]},tagParsers={TXXX:function TXXX(tag){var i;if(3===tag.data[0]){for(i=1;i<tag.data.length;i++)if(0===tag.data[i]){tag.description=parseUtf8(tag.data,1,i),tag.value=parseUtf8(tag.data,i+1,tag.data.length).replace(/\0*$/,"");break}tag.data=tag.value}},WXXX:function WXXX(tag){var i;if(3===tag.data[0])for(i=1;i<tag.data.length;i++)if(0===tag.data[i]){tag.description=parseUtf8(tag.data,1,i),tag.url=parseUtf8(tag.data,i+1,tag.data.length);break}},PRIV:function PRIV(tag){var i;for(i=0;i<tag.data.length;i++)if(0===tag.data[i]){tag.owner=parseIso88591$1(tag.data,0,i);break}tag.privateData=tag.data.subarray(i+1),tag.data=tag.privateData}};_MetadataStream=function MetadataStream(options){var i,settings={descriptor:options&&options.descriptor},tagSize=0,buffer=[],bufferSize=0;if(_MetadataStream.prototype.init.call(this),this.dispatchType=streamTypes.METADATA_STREAM_TYPE.toString(16),settings.descriptor)for(i=0;i<settings.descriptor.length;i++)this.dispatchType+=("00"+settings.descriptor[i].toString(16)).slice(-2);this.push=function(chunk){var tag,frameStart,frameSize,frame,i;if("timed-metadata"===chunk.type)if(chunk.dataAlignmentIndicator&&(bufferSize=0,buffer.length=0),0===buffer.length&&(chunk.data.length<10||chunk.data[0]!=="I".charCodeAt(0)||chunk.data[1]!=="D".charCodeAt(0)||chunk.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(buffer.push(chunk),bufferSize+=chunk.data.byteLength,1===buffer.length&&(tagSize=parseSyncSafeInteger$1(chunk.data.subarray(6,10)),tagSize+=10),!(bufferSize<tagSize)){for(tag={data:new Uint8Array(tagSize),frames:[],pts:buffer[0].pts,dts:buffer[0].dts},i=0;i<tagSize;)tag.data.set(buffer[0].data.subarray(0,tagSize-i),i),i+=buffer[0].data.byteLength,bufferSize-=buffer[0].data.byteLength,buffer.shift();frameStart=10,64&tag.data[5]&&(frameStart+=4,frameStart+=parseSyncSafeInteger$1(tag.data.subarray(10,14)),tagSize-=parseSyncSafeInteger$1(tag.data.subarray(16,20)));do{if((frameSize=parseSyncSafeInteger$1(tag.data.subarray(frameStart+4,frameStart+8)))<1)return void this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping metadata parsing."});if((frame={id:String.fromCharCode(tag.data[frameStart],tag.data[frameStart+1],tag.data[frameStart+2],tag.data[frameStart+3]),data:tag.data.subarray(frameStart+10,frameStart+frameSize+10)}).key=frame.id,tagParsers[frame.id]&&(tagParsers[frame.id](frame),"com.apple.streaming.transportStreamTimestamp"===frame.owner)){var d=frame.data,size=(1&d[3])<<30|d[4]<<22|d[5]<<14|d[6]<<6|d[7]>>>2;size*=4,size+=3&d[7],frame.timeStamp=size,void 0===tag.pts&&void 0===tag.dts&&(tag.pts=frame.timeStamp,tag.dts=frame.timeStamp),this.trigger("timestamp",frame)}tag.frames.push(frame),frameStart+=10,frameStart+=frameSize}while(frameStart<tagSize);this.trigger("data",tag)}}},_MetadataStream.prototype=new stream;var _TransportPacketStream,_TransportParseStream,_ElementaryStream,metadataStream=_MetadataStream,TimestampRolloverStream=timestampRolloverStream_TimestampRolloverStream;(_TransportPacketStream=function TransportPacketStream(){var buffer=new Uint8Array(188),bytesInBuffer=0;_TransportPacketStream.prototype.init.call(this),this.push=function(bytes){var everything,startIndex=0,endIndex=188;for(bytesInBuffer?((everything=new Uint8Array(bytes.byteLength+bytesInBuffer)).set(buffer.subarray(0,bytesInBuffer)),everything.set(bytes,bytesInBuffer),bytesInBuffer=0):everything=bytes;endIndex<everything.byteLength;)71!==everything[startIndex]||71!==everything[endIndex]?(startIndex++,endIndex++):(this.trigger("data",everything.subarray(startIndex,endIndex)),startIndex+=188,endIndex+=188);startIndex<everything.byteLength&&(buffer.set(everything.subarray(startIndex),0),bytesInBuffer=everything.byteLength-startIndex)},this.flush=function(){188===bytesInBuffer&&71===buffer[0]&&(this.trigger("data",buffer),bytesInBuffer=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){bytesInBuffer=0,this.trigger("reset")}}).prototype=new stream,_TransportParseStream=function TransportParseStream(){var parsePsi,parsePat,parsePmt,self;_TransportParseStream.prototype.init.call(this),self=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,parsePsi=function parsePsi(payload,psi){var offset=0;psi.payloadUnitStartIndicator&&(offset+=payload[offset]+1),"pat"===psi.type?parsePat(payload.subarray(offset),psi):parsePmt(payload.subarray(offset),psi)},parsePat=function parsePat(payload,pat){pat.section_number=payload[7],pat.last_section_number=payload[8],self.pmtPid=(31&payload[10])<<8|payload[11],pat.pmtPid=self.pmtPid},parsePmt=function parsePmt(payload,pmt){var tableEnd,offset;if(1&payload[5]){for(self.programMapTable={video:null,audio:null,"timed-metadata":{}},tableEnd=3+((15&payload[1])<<8|payload[2])-4,offset=12+((15&payload[10])<<8|payload[11]);offset<tableEnd;){var streamType=payload[offset],pid=(31&payload[offset+1])<<8|payload[offset+2];streamType===streamTypes.H264_STREAM_TYPE&&null===self.programMapTable.video?self.programMapTable.video=pid:streamType===streamTypes.ADTS_STREAM_TYPE&&null===self.programMapTable.audio?self.programMapTable.audio=pid:streamType===streamTypes.METADATA_STREAM_TYPE&&(self.programMapTable["timed-metadata"][pid]=streamType),offset+=5+((15&payload[offset+3])<<8|payload[offset+4])}pmt.programMapTable=self.programMapTable}},this.push=function(packet){var result={},offset=4;if(result.payloadUnitStartIndicator=!!(64&packet[1]),result.pid=31&packet[1],result.pid<<=8,result.pid|=packet[2],(48&packet[3])>>>4>1&&(offset+=packet[offset]+1),0===result.pid)result.type="pat",parsePsi(packet.subarray(offset),result),this.trigger("data",result);else if(result.pid===this.pmtPid)for(result.type="pmt",parsePsi(packet.subarray(offset),result),this.trigger("data",result);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([packet,offset,result]):this.processPes_(packet,offset,result)},this.processPes_=function(packet,offset,result){result.pid===this.programMapTable.video?result.streamType=streamTypes.H264_STREAM_TYPE:result.pid===this.programMapTable.audio?result.streamType=streamTypes.ADTS_STREAM_TYPE:result.streamType=this.programMapTable["timed-metadata"][result.pid],result.type="pes",result.data=packet.subarray(offset),this.trigger("data",result)}},_TransportParseStream.prototype=new stream,_TransportParseStream.STREAM_TYPES={h264:27,adts:15},_ElementaryStream=function ElementaryStream(){var programMapTable,self=this,segmentHadPmt=!1,video={data:[],size:0},audio={data:[],size:0},timedMetadata={data:[],size:0},flushStream=function flushStream(stream,type,forceFlush){var packetFlushable,fragment,packetData=new Uint8Array(stream.size),event={type},i=0,offset=0;if(stream.data.length&&!(stream.size<9)){for(event.trackId=stream.data[0].pid,i=0;i<stream.data.length;i++)fragment=stream.data[i],packetData.set(fragment.data,offset),offset+=fragment.data.byteLength;!function parsePes(payload,pes){var ptsDtsFlags,startPrefix=payload[0]<<16|payload[1]<<8|payload[2];pes.data=new Uint8Array,1===startPrefix&&(pes.packetLength=6+(payload[4]<<8|payload[5]),pes.dataAlignmentIndicator=0!=(4&payload[6]),192&(ptsDtsFlags=payload[7])&&(pes.pts=(14&payload[9])<<27|(255&payload[10])<<20|(254&payload[11])<<12|(255&payload[12])<<5|(254&payload[13])>>>3,pes.pts*=4,pes.pts+=(6&payload[13])>>>1,pes.dts=pes.pts,64&ptsDtsFlags&&(pes.dts=(14&payload[14])<<27|(255&payload[15])<<20|(254&payload[16])<<12|(255&payload[17])<<5|(254&payload[18])>>>3,pes.dts*=4,pes.dts+=(6&payload[18])>>>1)),pes.data=payload.subarray(9+payload[8]))}(packetData,event),packetFlushable="video"===type||event.packetLength<=stream.size,(forceFlush||packetFlushable)&&(stream.size=0,stream.data.length=0),packetFlushable&&self.trigger("data",event)}};_ElementaryStream.prototype.init.call(this),this.push=function(data){({pat:function pat(){},pes:function pes(){var stream,streamType;switch(data.streamType){case streamTypes.H264_STREAM_TYPE:stream=video,streamType="video";break;case streamTypes.ADTS_STREAM_TYPE:stream=audio,streamType="audio";break;case streamTypes.METADATA_STREAM_TYPE:stream=timedMetadata,streamType="timed-metadata";break;default:return}data.payloadUnitStartIndicator&&flushStream(stream,streamType,!0),stream.data.push(data),stream.size+=data.data.byteLength},pmt:function pmt(){var event={type:"metadata",tracks:[]};null!==(programMapTable=data.programMapTable).video&&event.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+programMapTable.video,codec:"avc",type:"video"}),null!==programMapTable.audio&&event.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+programMapTable.audio,codec:"adts",type:"audio"}),segmentHadPmt=!0,self.trigger("data",event)}})[data.type]()},this.reset=function(){video.size=0,video.data.length=0,audio.size=0,audio.data.length=0,this.trigger("reset")},this.flushStreams_=function(){flushStream(video,"video"),flushStream(audio,"audio"),flushStream(timedMetadata,"timed-metadata")},this.flush=function(){if(!segmentHadPmt&&programMapTable){var pmt={type:"metadata",tracks:[]};null!==programMapTable.video&&pmt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+programMapTable.video,codec:"avc",type:"video"}),null!==programMapTable.audio&&pmt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+programMapTable.audio,codec:"adts",type:"audio"}),self.trigger("data",pmt)}segmentHadPmt=!1,this.flushStreams_(),this.trigger("done")}},_ElementaryStream.prototype=new stream;var m2ts={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:_TransportPacketStream,TransportParseStream:_TransportParseStream,ElementaryStream:_ElementaryStream,TimestampRolloverStream,CaptionStream:captionStream.CaptionStream,Cea608Stream:captionStream.Cea608Stream,Cea708Stream:captionStream.Cea708Stream,MetadataStream:metadataStream};for(var type in streamTypes)streamTypes.hasOwnProperty(type)&&(m2ts[type]=streamTypes[type]);var _AdtsStream,m2ts_1=m2ts,ONE_SECOND_IN_TS$2=clock_ONE_SECOND_IN_TS,ADTS_SAMPLING_FREQUENCIES$1=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];_AdtsStream=function AdtsStream(handlePartialSegments){var buffer,frameNum=0;_AdtsStream.prototype.init.call(this),this.skipWarn_=function(start,end){this.trigger("log",{level:"warn",message:"adts skiping bytes "+start+" to "+end+" in frame "+frameNum+" outside syncword"})},this.push=function(packet){var frameLength,protectionSkipBytes,oldBuffer,sampleCount,adtsFrameDuration,i=0;if(handlePartialSegments||(frameNum=0),"audio"===packet.type){var skip;for(buffer&&buffer.length?(oldBuffer=buffer,(buffer=new Uint8Array(oldBuffer.byteLength+packet.data.byteLength)).set(oldBuffer),buffer.set(packet.data,oldBuffer.byteLength)):buffer=packet.data;i+7<buffer.length;)if(255===buffer[i]&&240==(246&buffer[i+1])){if("number"==typeof skip&&(this.skipWarn_(skip,i),skip=null),protectionSkipBytes=2*(1&~buffer[i+1]),frameLength=(3&buffer[i+3])<<11|buffer[i+4]<<3|(224&buffer[i+5])>>5,adtsFrameDuration=(sampleCount=1024*(1+(3&buffer[i+6])))*ONE_SECOND_IN_TS$2/ADTS_SAMPLING_FREQUENCIES$1[(60&buffer[i+2])>>>2],buffer.byteLength-i<frameLength)break;this.trigger("data",{pts:packet.pts+frameNum*adtsFrameDuration,dts:packet.dts+frameNum*adtsFrameDuration,sampleCount,audioobjecttype:1+(buffer[i+2]>>>6&3),channelcount:(1&buffer[i+2])<<2|(192&buffer[i+3])>>>6,samplerate:ADTS_SAMPLING_FREQUENCIES$1[(60&buffer[i+2])>>>2],samplingfrequencyindex:(60&buffer[i+2])>>>2,samplesize:16,data:buffer.subarray(i+7+protectionSkipBytes,i+frameLength)}),frameNum++,i+=frameLength}else"number"!=typeof skip&&(skip=i),i++;"number"==typeof skip&&(this.skipWarn_(skip,i),skip=null),buffer=buffer.subarray(i)}},this.flush=function(){frameNum=0,this.trigger("done")},this.reset=function(){buffer=void 0,this.trigger("reset")},this.endTimeline=function(){buffer=void 0,this.trigger("endedtimeline")}},_AdtsStream.prototype=new stream;var _H264Stream,_NalByteStream,PROFILES_WITH_OPTIONAL_SPS_DATA,adts=_AdtsStream,expGolomb=function ExpGolomb(workingData){var workingBytesAvailable=workingData.byteLength,workingWord=0,workingBitsAvailable=0;this.length=function(){return 8*workingBytesAvailable},this.bitsAvailable=function(){return 8*workingBytesAvailable+workingBitsAvailable},this.loadWord=function(){var position=workingData.byteLength-workingBytesAvailable,workingBytes=new Uint8Array(4),availableBytes=Math.min(4,workingBytesAvailable);if(0===availableBytes)throw new Error("no bytes available");workingBytes.set(workingData.subarray(position,position+availableBytes)),workingWord=new DataView(workingBytes.buffer).getUint32(0),workingBitsAvailable=8*availableBytes,workingBytesAvailable-=availableBytes},this.skipBits=function(count){var skipBytes;workingBitsAvailable>count?(workingWord<<=count,workingBitsAvailable-=count):(count-=workingBitsAvailable,count-=8*(skipBytes=Math.floor(count/8)),workingBytesAvailable-=skipBytes,this.loadWord(),workingWord<<=count,workingBitsAvailable-=count)},this.readBits=function(size){var bits=Math.min(workingBitsAvailable,size),valu=workingWord>>>32-bits;return(workingBitsAvailable-=bits)>0?workingWord<<=bits:workingBytesAvailable>0&&this.loadWord(),(bits=size-bits)>0?valu<<bits|this.readBits(bits):valu},this.skipLeadingZeros=function(){var leadingZeroCount;for(leadingZeroCount=0;leadingZeroCount<workingBitsAvailable;++leadingZeroCount)if(0!=(workingWord&2147483648>>>leadingZeroCount))return workingWord<<=leadingZeroCount,workingBitsAvailable-=leadingZeroCount,leadingZeroCount;return this.loadWord(),leadingZeroCount+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var clz=this.skipLeadingZeros();return this.readBits(clz+1)-1},this.readExpGolomb=function(){var valu=this.readUnsignedExpGolomb();return 1&valu?1+valu>>>1:-1*(valu>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};_NalByteStream=function NalByteStream(){var i,buffer,syncPoint=0;_NalByteStream.prototype.init.call(this),this.push=function(data){var swapBuffer;buffer?((swapBuffer=new Uint8Array(buffer.byteLength+data.data.byteLength)).set(buffer),swapBuffer.set(data.data,buffer.byteLength),buffer=swapBuffer):buffer=data.data;for(var len=buffer.byteLength;syncPoint<len-3;syncPoint++)if(1===buffer[syncPoint+2]){i=syncPoint+5;break}for(;i<len;)switch(buffer[i]){case 0:if(0!==buffer[i-1]){i+=2;break}if(0!==buffer[i-2]){i++;break}syncPoint+3!==i-2&&this.trigger("data",buffer.subarray(syncPoint+3,i-2));do{i++}while(1!==buffer[i]&&i<len);syncPoint=i-2,i+=3;break;case 1:if(0!==buffer[i-1]||0!==buffer[i-2]){i+=3;break}this.trigger("data",buffer.subarray(syncPoint+3,i-2)),syncPoint=i-2,i+=3;break;default:i+=3}buffer=buffer.subarray(syncPoint),i-=syncPoint,syncPoint=0},this.reset=function(){buffer=null,syncPoint=0,this.trigger("reset")},this.flush=function(){buffer&&buffer.byteLength>3&&this.trigger("data",buffer.subarray(syncPoint+3)),buffer=null,syncPoint=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},_NalByteStream.prototype=new stream,PROFILES_WITH_OPTIONAL_SPS_DATA={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},_H264Stream=function H264Stream(){var self,trackId,currentPts,currentDts,discardEmulationPreventionBytes,readSequenceParameterSet,skipScalingList,nalByteStream=new _NalByteStream;_H264Stream.prototype.init.call(this),self=this,this.push=function(packet){"video"===packet.type&&(trackId=packet.trackId,currentPts=packet.pts,currentDts=packet.dts,nalByteStream.push(packet))},nalByteStream.on("data",(function(data){var event={trackId,pts:currentPts,dts:currentDts,data,nalUnitTypeCode:31&data[0]};switch(event.nalUnitTypeCode){case 5:event.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:event.nalUnitType="sei_rbsp",event.escapedRBSP=discardEmulationPreventionBytes(data.subarray(1));break;case 7:event.nalUnitType="seq_parameter_set_rbsp",event.escapedRBSP=discardEmulationPreventionBytes(data.subarray(1)),event.config=readSequenceParameterSet(event.escapedRBSP);break;case 8:event.nalUnitType="pic_parameter_set_rbsp";break;case 9:event.nalUnitType="access_unit_delimiter_rbsp"}self.trigger("data",event)})),nalByteStream.on("done",(function(){self.trigger("done")})),nalByteStream.on("partialdone",(function(){self.trigger("partialdone")})),nalByteStream.on("reset",(function(){self.trigger("reset")})),nalByteStream.on("endedtimeline",(function(){self.trigger("endedtimeline")})),this.flush=function(){nalByteStream.flush()},this.partialFlush=function(){nalByteStream.partialFlush()},this.reset=function(){nalByteStream.reset()},this.endTimeline=function(){nalByteStream.endTimeline()},skipScalingList=function skipScalingList(count,expGolombDecoder){var j,lastScale=8,nextScale=8;for(j=0;j<count;j++)0!==nextScale&&(nextScale=(lastScale+expGolombDecoder.readExpGolomb()+256)%256),lastScale=0===nextScale?lastScale:nextScale},discardEmulationPreventionBytes=function discardEmulationPreventionBytes(data){for(var newLength,newData,length=data.byteLength,emulationPreventionBytesPositions=[],i=1;i<length-2;)0===data[i]&&0===data[i+1]&&3===data[i+2]?(emulationPreventionBytesPositions.push(i+2),i+=2):i++;if(0===emulationPreventionBytesPositions.length)return data;newLength=length-emulationPreventionBytesPositions.length,newData=new Uint8Array(newLength);var sourceIndex=0;for(i=0;i<newLength;sourceIndex++,i++)sourceIndex===emulationPreventionBytesPositions[0]&&(sourceIndex++,emulationPreventionBytesPositions.shift()),newData[i]=data[sourceIndex];return newData},readSequenceParameterSet=function readSequenceParameterSet(data){var expGolombDecoder,profileIdc,levelIdc,profileCompatibility,chromaFormatIdc,picOrderCntType,numRefFramesInPicOrderCntCycle,picWidthInMbsMinus1,picHeightInMapUnitsMinus1,frameMbsOnlyFlag,scalingListCount,i,frameCropLeftOffset=0,frameCropRightOffset=0,frameCropTopOffset=0,frameCropBottomOffset=0,sarRatio=[1,1];if(profileIdc=(expGolombDecoder=new expGolomb(data)).readUnsignedByte(),profileCompatibility=expGolombDecoder.readUnsignedByte(),levelIdc=expGolombDecoder.readUnsignedByte(),expGolombDecoder.skipUnsignedExpGolomb(),PROFILES_WITH_OPTIONAL_SPS_DATA[profileIdc]&&(3===(chromaFormatIdc=expGolombDecoder.readUnsignedExpGolomb())&&expGolombDecoder.skipBits(1),expGolombDecoder.skipUnsignedExpGolomb(),expGolombDecoder.skipUnsignedExpGolomb(),expGolombDecoder.skipBits(1),expGolombDecoder.readBoolean()))for(scalingListCount=3!==chromaFormatIdc?8:12,i=0;i<scalingListCount;i++)expGolombDecoder.readBoolean()&&skipScalingList(i<6?16:64,expGolombDecoder);if(expGolombDecoder.skipUnsignedExpGolomb(),0===(picOrderCntType=expGolombDecoder.readUnsignedExpGolomb()))expGolombDecoder.readUnsignedExpGolomb();else if(1===picOrderCntType)for(expGolombDecoder.skipBits(1),expGolombDecoder.skipExpGolomb(),expGolombDecoder.skipExpGolomb(),numRefFramesInPicOrderCntCycle=expGolombDecoder.readUnsignedExpGolomb(),i=0;i<numRefFramesInPicOrderCntCycle;i++)expGolombDecoder.skipExpGolomb();if(expGolombDecoder.skipUnsignedExpGolomb(),expGolombDecoder.skipBits(1),picWidthInMbsMinus1=expGolombDecoder.readUnsignedExpGolomb(),picHeightInMapUnitsMinus1=expGolombDecoder.readUnsignedExpGolomb(),0===(frameMbsOnlyFlag=expGolombDecoder.readBits(1))&&expGolombDecoder.skipBits(1),expGolombDecoder.skipBits(1),expGolombDecoder.readBoolean()&&(frameCropLeftOffset=expGolombDecoder.readUnsignedExpGolomb(),frameCropRightOffset=expGolombDecoder.readUnsignedExpGolomb(),frameCropTopOffset=expGolombDecoder.readUnsignedExpGolomb(),frameCropBottomOffset=expGolombDecoder.readUnsignedExpGolomb()),expGolombDecoder.readBoolean()&&expGolombDecoder.readBoolean()){switch(expGolombDecoder.readUnsignedByte()){case 1:sarRatio=[1,1];break;case 2:sarRatio=[12,11];break;case 3:sarRatio=[10,11];break;case 4:sarRatio=[16,11];break;case 5:sarRatio=[40,33];break;case 6:sarRatio=[24,11];break;case 7:sarRatio=[20,11];break;case 8:sarRatio=[32,11];break;case 9:sarRatio=[80,33];break;case 10:sarRatio=[18,11];break;case 11:sarRatio=[15,11];break;case 12:sarRatio=[64,33];break;case 13:sarRatio=[160,99];break;case 14:sarRatio=[4,3];break;case 15:sarRatio=[3,2];break;case 16:sarRatio=[2,1];break;case 255:sarRatio=[expGolombDecoder.readUnsignedByte()<<8|expGolombDecoder.readUnsignedByte(),expGolombDecoder.readUnsignedByte()<<8|expGolombDecoder.readUnsignedByte()]}sarRatio&&(sarRatio[0],sarRatio[1])}return{profileIdc,levelIdc,profileCompatibility,width:16*(picWidthInMbsMinus1+1)-2*frameCropLeftOffset-2*frameCropRightOffset,height:(2-frameMbsOnlyFlag)*(picHeightInMapUnitsMinus1+1)*16-2*frameCropTopOffset-2*frameCropBottomOffset,sarRatio}}},_H264Stream.prototype=new stream;var _AacStream,h264={H264Stream:_H264Stream,NalByteStream:_NalByteStream},ADTS_SAMPLING_FREQUENCIES=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],parseId3TagSize=function parseId3TagSize(header,byteIndex){var returnSize=header[byteIndex+6]<<21|header[byteIndex+7]<<14|header[byteIndex+8]<<7|header[byteIndex+9];return returnSize=returnSize>=0?returnSize:0,(16&header[byteIndex+5])>>4?returnSize+20:returnSize+10},getId3Offset=function getId3Offset(data,offset){return data.length-offset<10||data[offset]!=="I".charCodeAt(0)||data[offset+1]!=="D".charCodeAt(0)||data[offset+2]!=="3".charCodeAt(0)?offset:getId3Offset(data,offset+=parseId3TagSize(data,offset))},parseSyncSafeInteger=function parseSyncSafeInteger(data){return data[0]<<21|data[1]<<14|data[2]<<7|data[3]},parseIso88591=function parseIso88591(bytes,start,end){return unescape(function percentEncode(bytes,start,end){var i,result="";for(i=start;i<end;i++)result+="%"+("00"+bytes[i].toString(16)).slice(-2);return result}(bytes,start,end))},utils={isLikelyAacData:function isLikelyAacData(data){var offset=getId3Offset(data,0);return data.length>=offset+2&&255==(255&data[offset])&&240==(240&data[offset+1])&&16==(22&data[offset+1])},parseId3TagSize,parseAdtsSize:function parseAdtsSize(header,byteIndex){var lowThree=(224&header[byteIndex+5])>>5,middle=header[byteIndex+4]<<3;return 6144&header[byteIndex+3]|middle|lowThree},parseType:function parseType(header,byteIndex){return header[byteIndex]==="I".charCodeAt(0)&&header[byteIndex+1]==="D".charCodeAt(0)&&header[byteIndex+2]==="3".charCodeAt(0)?"timed-metadata":!0&header[byteIndex]&&240==(240&header[byteIndex+1])?"audio":null},parseSampleRate:function parseSampleRate(packet){for(var i=0;i+5<packet.length;){if(255===packet[i]&&240==(246&packet[i+1]))return ADTS_SAMPLING_FREQUENCIES[(60&packet[i+2])>>>2];i++}return null},parseAacTimestamp:function parseAacTimestamp(packet){var frameStart,frameSize,frame;frameStart=10,64&packet[5]&&(frameStart+=4,frameStart+=parseSyncSafeInteger(packet.subarray(10,14)));do{if((frameSize=parseSyncSafeInteger(packet.subarray(frameStart+4,frameStart+8)))<1)return null;if("PRIV"===String.fromCharCode(packet[frameStart],packet[frameStart+1],packet[frameStart+2],packet[frameStart+3])){frame=packet.subarray(frameStart+10,frameStart+frameSize+10);for(var i=0;i<frame.byteLength;i++)if(0===frame[i]){if("com.apple.streaming.transportStreamTimestamp"===parseIso88591(frame,0,i)){var d=frame.subarray(i+1),size=(1&d[3])<<30|d[4]<<22|d[5]<<14|d[6]<<6|d[7]>>>2;return size*=4,size+=3&d[7]}break}}frameStart+=10,frameStart+=frameSize}while(frameStart<packet.byteLength);return null}};(_AacStream=function AacStream(){var everything=new Uint8Array,timeStamp=0;_AacStream.prototype.init.call(this),this.setTimestamp=function(timestamp){timeStamp=timestamp},this.push=function(bytes){var bytesLeft,chunk,packet,tempLength,frameSize=0,byteIndex=0;for(everything.length?(tempLength=everything.length,(everything=new Uint8Array(bytes.byteLength+tempLength)).set(everything.subarray(0,tempLength)),everything.set(bytes,tempLength)):everything=bytes;everything.length-byteIndex>=3;)if(everything[byteIndex]!=="I".charCodeAt(0)||everything[byteIndex+1]!=="D".charCodeAt(0)||everything[byteIndex+2]!=="3".charCodeAt(0))if(255!=(255&everything[byteIndex])||240!=(240&everything[byteIndex+1]))byteIndex++;else{if(everything.length-byteIndex<7)break;if(byteIndex+(frameSize=utils.parseAdtsSize(everything,byteIndex))>everything.length)break;packet={type:"audio",data:everything.subarray(byteIndex,byteIndex+frameSize),pts:timeStamp,dts:timeStamp},this.trigger("data",packet),byteIndex+=frameSize}else{if(everything.length-byteIndex<10)break;if(byteIndex+(frameSize=utils.parseId3TagSize(everything,byteIndex))>everything.length)break;chunk={type:"timed-metadata",data:everything.subarray(byteIndex,byteIndex+frameSize)},this.trigger("data",chunk),byteIndex+=frameSize}bytesLeft=everything.length-byteIndex,everything=bytesLeft>0?everything.subarray(byteIndex):new Uint8Array},this.reset=function(){everything=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){everything=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new stream;var _VideoSegmentStream,_AudioSegmentStream,_Transmuxer,_CoalesceStream,aac=_AacStream,audioProperties=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],videoProperties=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],H264Stream=h264.H264Stream,isLikelyAacData=utils.isLikelyAacData,ONE_SECOND_IN_TS$1=clock_ONE_SECOND_IN_TS,retriggerForStream=function retriggerForStream(key,event){event.stream=key,this.trigger("log",event)},addPipelineLogRetriggers=function addPipelineLogRetriggers(transmuxer,pipeline){for(var keys=Object.keys(pipeline),i=0;i<keys.length;i++){var key=keys[i];"headOfPipeline"!==key&&pipeline[key].on&&pipeline[key].on("log",retriggerForStream.bind(transmuxer,key))}},arrayEquals=function arrayEquals(a,b){var i;if(a.length!==b.length)return!1;for(i=0;i<a.length;i++)if(a[i]!==b[i])return!1;return!0},generateSegmentTimingInfo=function generateSegmentTimingInfo(baseMediaDecodeTime,startDts,startPts,endDts,endPts,prependedContentDuration){return{start:{dts:baseMediaDecodeTime,pts:baseMediaDecodeTime+(startPts-startDts)},end:{dts:baseMediaDecodeTime+(endDts-startDts),pts:baseMediaDecodeTime+(endPts-startPts)},prependedContentDuration,baseMediaDecodeTime}};_AudioSegmentStream=function AudioSegmentStream(track,options){var sequenceNumber,adtsFrames=[],earliestAllowedDts=0,audioAppendStartTs=0,videoBaseMediaDecodeTime=1/0;sequenceNumber=(options=options||{}).firstSequenceNumber||0,_AudioSegmentStream.prototype.init.call(this),this.push=function(data){trackDecodeInfo_collectDtsInfo(track,data),track&&audioProperties.forEach((function(prop){track[prop]=data[prop]})),adtsFrames.push(data)},this.setEarliestDts=function(earliestDts){earliestAllowedDts=earliestDts},this.setVideoBaseMediaDecodeTime=function(baseMediaDecodeTime){videoBaseMediaDecodeTime=baseMediaDecodeTime},this.setAudioAppendStart=function(timestamp){audioAppendStartTs=timestamp},this.flush=function(){var frames,moof,mdat,boxes,frameDuration,segmentDuration,videoClockCyclesOfSilencePrefixed;0!==adtsFrames.length?(frames=audioFrameUtils_trimAdtsFramesByEarliestDts(adtsFrames,track,earliestAllowedDts),track.baseMediaDecodeTime=trackDecodeInfo_calculateTrackBaseMediaDecodeTime(track,options.keepOriginalTimestamps),videoClockCyclesOfSilencePrefixed=audioFrameUtils_prefixWithSilence(track,frames,audioAppendStartTs,videoBaseMediaDecodeTime),track.samples=audioFrameUtils_generateSampleTable(frames),mdat=mp4Generator_mdat(audioFrameUtils_concatenateFrameData(frames)),adtsFrames=[],moof=mp4Generator_moof(sequenceNumber,[track]),boxes=new Uint8Array(moof.byteLength+mdat.byteLength),sequenceNumber++,boxes.set(moof),boxes.set(mdat,moof.byteLength),trackDecodeInfo_clearDtsInfo(track),frameDuration=Math.ceil(1024*ONE_SECOND_IN_TS$1/track.samplerate),frames.length&&(segmentDuration=frames.length*frameDuration,this.trigger("segmentTimingInfo",generateSegmentTimingInfo(clock_audioTsToVideoTs(track.baseMediaDecodeTime,track.samplerate),frames[0].dts,frames[0].pts,frames[0].dts+segmentDuration,frames[0].pts+segmentDuration,videoClockCyclesOfSilencePrefixed||0)),this.trigger("timingInfo",{start:frames[0].pts,end:frames[0].pts+segmentDuration})),this.trigger("data",{track,boxes}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){trackDecodeInfo_clearDtsInfo(track),adtsFrames=[],this.trigger("reset")}},_AudioSegmentStream.prototype=new stream,_VideoSegmentStream=function VideoSegmentStream(track,options){var sequenceNumber,config,pps,nalUnits=[],gopsToAlignWith=[];sequenceNumber=(options=options||{}).firstSequenceNumber||0,_VideoSegmentStream.prototype.init.call(this),delete track.minPTS,this.gopCache_=[],this.push=function(nalUnit){trackDecodeInfo_collectDtsInfo(track,nalUnit),"seq_parameter_set_rbsp"!==nalUnit.nalUnitType||config||(config=nalUnit.config,track.sps=[nalUnit.data],videoProperties.forEach((function(prop){track[prop]=config[prop]}),this)),"pic_parameter_set_rbsp"!==nalUnit.nalUnitType||pps||(pps=nalUnit.data,track.pps=[nalUnit.data]),nalUnits.push(nalUnit)},this.flush=function(){for(var frames,gopForFusion,gops,moof,mdat,boxes,firstGop,lastGop,prependedContentDuration=0;nalUnits.length&&"access_unit_delimiter_rbsp"!==nalUnits[0].nalUnitType;)nalUnits.shift();if(0===nalUnits.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(frames=frameUtils_groupNalsIntoFrames(nalUnits),(gops=frameUtils_groupFramesIntoGops(frames))[0][0].keyFrame||((gopForFusion=this.getGopForFusion_(nalUnits[0],track))?(prependedContentDuration=gopForFusion.duration,gops.unshift(gopForFusion),gops.byteLength+=gopForFusion.byteLength,gops.nalCount+=gopForFusion.nalCount,gops.pts=gopForFusion.pts,gops.dts=gopForFusion.dts,gops.duration+=gopForFusion.duration):gops=frameUtils_extendFirstKeyFrame(gops)),gopsToAlignWith.length){var alignedGops;if(!(alignedGops=options.alignGopsAtEnd?this.alignGopsAtEnd_(gops):this.alignGopsAtStart_(gops)))return this.gopCache_.unshift({gop:gops.pop(),pps:track.pps,sps:track.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),nalUnits=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");trackDecodeInfo_clearDtsInfo(track),gops=alignedGops}trackDecodeInfo_collectDtsInfo(track,gops),track.samples=frameUtils_generateSampleTable(gops),mdat=mp4Generator_mdat(frameUtils_concatenateNalData(gops)),track.baseMediaDecodeTime=trackDecodeInfo_calculateTrackBaseMediaDecodeTime(track,options.keepOriginalTimestamps),this.trigger("processedGopsInfo",gops.map((function(gop){return{pts:gop.pts,dts:gop.dts,byteLength:gop.byteLength}}))),firstGop=gops[0],lastGop=gops[gops.length-1],this.trigger("segmentTimingInfo",generateSegmentTimingInfo(track.baseMediaDecodeTime,firstGop.dts,firstGop.pts,lastGop.dts+lastGop.duration,lastGop.pts+lastGop.duration,prependedContentDuration)),this.trigger("timingInfo",{start:gops[0].pts,end:gops[gops.length-1].pts+gops[gops.length-1].duration}),this.gopCache_.unshift({gop:gops.pop(),pps:track.pps,sps:track.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),nalUnits=[],this.trigger("baseMediaDecodeTime",track.baseMediaDecodeTime),this.trigger("timelineStartInfo",track.timelineStartInfo),moof=mp4Generator_moof(sequenceNumber,[track]),boxes=new Uint8Array(moof.byteLength+mdat.byteLength),sequenceNumber++,boxes.set(moof),boxes.set(mdat,moof.byteLength),this.trigger("data",{track,boxes}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),nalUnits=[],this.gopCache_.length=0,gopsToAlignWith.length=0,this.trigger("reset")},this.resetStream_=function(){trackDecodeInfo_clearDtsInfo(track),config=void 0,pps=void 0},this.getGopForFusion_=function(nalUnit){var dtsDistance,nearestGopObj,currentGop,currentGopObj,i,nearestDistance=1/0;for(i=0;i<this.gopCache_.length;i++)currentGop=(currentGopObj=this.gopCache_[i]).gop,track.pps&&arrayEquals(track.pps[0],currentGopObj.pps[0])&&track.sps&&arrayEquals(track.sps[0],currentGopObj.sps[0])&&(currentGop.dts<track.timelineStartInfo.dts||(dtsDistance=nalUnit.dts-currentGop.dts-currentGop.duration)>=-1e4&&dtsDistance<=45e3&&(!nearestGopObj||nearestDistance>dtsDistance)&&(nearestGopObj=currentGopObj,nearestDistance=dtsDistance));return nearestGopObj?nearestGopObj.gop:null},this.alignGopsAtStart_=function(gops){var alignIndex,gopIndex,align,gop,byteLength,nalCount,duration,alignedGops;for(byteLength=gops.byteLength,nalCount=gops.nalCount,duration=gops.duration,alignIndex=gopIndex=0;alignIndex<gopsToAlignWith.length&&gopIndex<gops.length&&(align=gopsToAlignWith[alignIndex],gop=gops[gopIndex],align.pts!==gop.pts);)gop.pts>align.pts?alignIndex++:(gopIndex++,byteLength-=gop.byteLength,nalCount-=gop.nalCount,duration-=gop.duration);return 0===gopIndex?gops:gopIndex===gops.length?null:((alignedGops=gops.slice(gopIndex)).byteLength=byteLength,alignedGops.duration=duration,alignedGops.nalCount=nalCount,alignedGops.pts=alignedGops[0].pts,alignedGops.dts=alignedGops[0].dts,alignedGops)},this.alignGopsAtEnd_=function(gops){var alignIndex,gopIndex,align,gop,alignEndIndex,matchFound,trimIndex;for(alignIndex=gopsToAlignWith.length-1,gopIndex=gops.length-1,alignEndIndex=null,matchFound=!1;alignIndex>=0&&gopIndex>=0;){if(align=gopsToAlignWith[alignIndex],gop=gops[gopIndex],align.pts===gop.pts){matchFound=!0;break}align.pts>gop.pts?alignIndex--:(alignIndex===gopsToAlignWith.length-1&&(alignEndIndex=gopIndex),gopIndex--)}if(!matchFound&&null===alignEndIndex)return null;if(0===(trimIndex=matchFound?gopIndex:alignEndIndex))return gops;var alignedGops=gops.slice(trimIndex),metadata=alignedGops.reduce((function(total,gop){return total.byteLength+=gop.byteLength,total.duration+=gop.duration,total.nalCount+=gop.nalCount,total}),{byteLength:0,duration:0,nalCount:0});return alignedGops.byteLength=metadata.byteLength,alignedGops.duration=metadata.duration,alignedGops.nalCount=metadata.nalCount,alignedGops.pts=alignedGops[0].pts,alignedGops.dts=alignedGops[0].dts,alignedGops},this.alignGopsWith=function(newGopsToAlignWith){gopsToAlignWith=newGopsToAlignWith}},_VideoSegmentStream.prototype=new stream,_CoalesceStream=function CoalesceStream(options,metadataStream){this.numberOfTracks=0,this.metadataStream=metadataStream,void 0!==(options=options||{}).remux?this.remuxTracks=!!options.remux:this.remuxTracks=!0,"boolean"==typeof options.keepOriginalTimestamps?this.keepOriginalTimestamps=options.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,_CoalesceStream.prototype.init.call(this),this.push=function(output){return output.text?this.pendingCaptions.push(output):output.frames?this.pendingMetadata.push(output):(this.pendingTracks.push(output.track),this.pendingBytes+=output.boxes.byteLength,"video"===output.track.type&&(this.videoTrack=output.track,this.pendingBoxes.push(output.boxes)),void("audio"===output.track.type&&(this.audioTrack=output.track,this.pendingBoxes.unshift(output.boxes))))}},_CoalesceStream.prototype=new stream,_CoalesceStream.prototype.flush=function(flushSource){var caption,id3,initSegment,i,offset=0,event={captions:[],captionStreams:{},metadata:[],info:{}},timelineStartPts=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==flushSource&&"AudioSegmentStream"!==flushSource)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(timelineStartPts=this.videoTrack.timelineStartInfo.pts,videoProperties.forEach((function(prop){event.info[prop]=this.videoTrack[prop]}),this)):this.audioTrack&&(timelineStartPts=this.audioTrack.timelineStartInfo.pts,audioProperties.forEach((function(prop){event.info[prop]=this.audioTrack[prop]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?event.type=this.pendingTracks[0].type:event.type="combined",this.emittedTracks+=this.pendingTracks.length,initSegment=mp4Generator_initSegment(this.pendingTracks),event.initSegment=new Uint8Array(initSegment.byteLength),event.initSegment.set(initSegment),event.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)event.data.set(this.pendingBoxes[i],offset),offset+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)(caption=this.pendingCaptions[i]).startTime=clock_metadataTsToSeconds(caption.startPts,timelineStartPts,this.keepOriginalTimestamps),caption.endTime=clock_metadataTsToSeconds(caption.endPts,timelineStartPts,this.keepOriginalTimestamps),event.captionStreams[caption.stream]=!0,event.captions.push(caption);for(i=0;i<this.pendingMetadata.length;i++)(id3=this.pendingMetadata[i]).cueTime=clock_metadataTsToSeconds(id3.pts,timelineStartPts,this.keepOriginalTimestamps),event.metadata.push(id3);for(event.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",event),i=0;i<event.captions.length;i++)caption=event.captions[i],this.trigger("caption",caption);for(i=0;i<event.metadata.length;i++)id3=event.metadata[i],this.trigger("id3Frame",id3)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},_CoalesceStream.prototype.setRemux=function(val){this.remuxTracks=val},_Transmuxer=function Transmuxer(options){var videoTrack,audioTrack,self=this,hasFlushed=!0;_Transmuxer.prototype.init.call(this),options=options||{},this.baseMediaDecodeTime=options.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var pipeline={};this.transmuxPipeline_=pipeline,pipeline.type="aac",pipeline.metadataStream=new m2ts_1.MetadataStream,pipeline.aacStream=new aac,pipeline.audioTimestampRolloverStream=new m2ts_1.TimestampRolloverStream("audio"),pipeline.timedMetadataTimestampRolloverStream=new m2ts_1.TimestampRolloverStream("timed-metadata"),pipeline.adtsStream=new adts,pipeline.coalesceStream=new _CoalesceStream(options,pipeline.metadataStream),pipeline.headOfPipeline=pipeline.aacStream,pipeline.aacStream.pipe(pipeline.audioTimestampRolloverStream).pipe(pipeline.adtsStream),pipeline.aacStream.pipe(pipeline.timedMetadataTimestampRolloverStream).pipe(pipeline.metadataStream).pipe(pipeline.coalesceStream),pipeline.metadataStream.on("timestamp",(function(frame){pipeline.aacStream.setTimestamp(frame.timeStamp)})),pipeline.aacStream.on("data",(function(data){"timed-metadata"!==data.type&&"audio"!==data.type||pipeline.audioSegmentStream||(audioTrack=audioTrack||{timelineStartInfo:{baseMediaDecodeTime:self.baseMediaDecodeTime},codec:"adts",type:"audio"},pipeline.coalesceStream.numberOfTracks++,pipeline.audioSegmentStream=new _AudioSegmentStream(audioTrack,options),pipeline.audioSegmentStream.on("log",self.getLogTrigger_("audioSegmentStream")),pipeline.audioSegmentStream.on("timingInfo",self.trigger.bind(self,"audioTimingInfo")),pipeline.adtsStream.pipe(pipeline.audioSegmentStream).pipe(pipeline.coalesceStream),self.trigger("trackinfo",{hasAudio:!!audioTrack,hasVideo:!!videoTrack}))})),pipeline.coalesceStream.on("data",this.trigger.bind(this,"data")),pipeline.coalesceStream.on("done",this.trigger.bind(this,"done")),addPipelineLogRetriggers(this,pipeline)},this.setupTsPipeline=function(){var pipeline={};this.transmuxPipeline_=pipeline,pipeline.type="ts",pipeline.metadataStream=new m2ts_1.MetadataStream,pipeline.packetStream=new m2ts_1.TransportPacketStream,pipeline.parseStream=new m2ts_1.TransportParseStream,pipeline.elementaryStream=new m2ts_1.ElementaryStream,pipeline.timestampRolloverStream=new m2ts_1.TimestampRolloverStream,pipeline.adtsStream=new adts,pipeline.h264Stream=new H264Stream,pipeline.captionStream=new m2ts_1.CaptionStream(options),pipeline.coalesceStream=new _CoalesceStream(options,pipeline.metadataStream),pipeline.headOfPipeline=pipeline.packetStream,pipeline.packetStream.pipe(pipeline.parseStream).pipe(pipeline.elementaryStream).pipe(pipeline.timestampRolloverStream),pipeline.timestampRolloverStream.pipe(pipeline.h264Stream),pipeline.timestampRolloverStream.pipe(pipeline.adtsStream),pipeline.timestampRolloverStream.pipe(pipeline.metadataStream).pipe(pipeline.coalesceStream),pipeline.h264Stream.pipe(pipeline.captionStream).pipe(pipeline.coalesceStream),pipeline.elementaryStream.on("data",(function(data){var i;if("metadata"===data.type){for(i=data.tracks.length;i--;)videoTrack||"video"!==data.tracks[i].type?audioTrack||"audio"!==data.tracks[i].type||((audioTrack=data.tracks[i]).timelineStartInfo.baseMediaDecodeTime=self.baseMediaDecodeTime):(videoTrack=data.tracks[i]).timelineStartInfo.baseMediaDecodeTime=self.baseMediaDecodeTime;videoTrack&&!pipeline.videoSegmentStream&&(pipeline.coalesceStream.numberOfTracks++,pipeline.videoSegmentStream=new _VideoSegmentStream(videoTrack,options),pipeline.videoSegmentStream.on("log",self.getLogTrigger_("videoSegmentStream")),pipeline.videoSegmentStream.on("timelineStartInfo",(function(timelineStartInfo){audioTrack&&!options.keepOriginalTimestamps&&(audioTrack.timelineStartInfo=timelineStartInfo,pipeline.audioSegmentStream.setEarliestDts(timelineStartInfo.dts-self.baseMediaDecodeTime))})),pipeline.videoSegmentStream.on("processedGopsInfo",self.trigger.bind(self,"gopInfo")),pipeline.videoSegmentStream.on("segmentTimingInfo",self.trigger.bind(self,"videoSegmentTimingInfo")),pipeline.videoSegmentStream.on("baseMediaDecodeTime",(function(baseMediaDecodeTime){audioTrack&&pipeline.audioSegmentStream.setVideoBaseMediaDecodeTime(baseMediaDecodeTime)})),pipeline.videoSegmentStream.on("timingInfo",self.trigger.bind(self,"videoTimingInfo")),pipeline.h264Stream.pipe(pipeline.videoSegmentStream).pipe(pipeline.coalesceStream)),audioTrack&&!pipeline.audioSegmentStream&&(pipeline.coalesceStream.numberOfTracks++,pipeline.audioSegmentStream=new _AudioSegmentStream(audioTrack,options),pipeline.audioSegmentStream.on("log",self.getLogTrigger_("audioSegmentStream")),pipeline.audioSegmentStream.on("timingInfo",self.trigger.bind(self,"audioTimingInfo")),pipeline.audioSegmentStream.on("segmentTimingInfo",self.trigger.bind(self,"audioSegmentTimingInfo")),pipeline.adtsStream.pipe(pipeline.audioSegmentStream).pipe(pipeline.coalesceStream)),self.trigger("trackinfo",{hasAudio:!!audioTrack,hasVideo:!!videoTrack})}})),pipeline.coalesceStream.on("data",this.trigger.bind(this,"data")),pipeline.coalesceStream.on("id3Frame",(function(id3Frame){id3Frame.dispatchType=pipeline.metadataStream.dispatchType,self.trigger("id3Frame",id3Frame)})),pipeline.coalesceStream.on("caption",this.trigger.bind(this,"caption")),pipeline.coalesceStream.on("done",this.trigger.bind(this,"done")),addPipelineLogRetriggers(this,pipeline)},this.setBaseMediaDecodeTime=function(baseMediaDecodeTime){var pipeline=this.transmuxPipeline_;options.keepOriginalTimestamps||(this.baseMediaDecodeTime=baseMediaDecodeTime),audioTrack&&(audioTrack.timelineStartInfo.dts=void 0,audioTrack.timelineStartInfo.pts=void 0,trackDecodeInfo_clearDtsInfo(audioTrack),pipeline.audioTimestampRolloverStream&&pipeline.audioTimestampRolloverStream.discontinuity()),videoTrack&&(pipeline.videoSegmentStream&&(pipeline.videoSegmentStream.gopCache_=[]),videoTrack.timelineStartInfo.dts=void 0,videoTrack.timelineStartInfo.pts=void 0,trackDecodeInfo_clearDtsInfo(videoTrack),pipeline.captionStream.reset()),pipeline.timestampRolloverStream&&pipeline.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(timestamp){audioTrack&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(timestamp)},this.setRemux=function(val){var pipeline=this.transmuxPipeline_;options.remux=val,pipeline&&pipeline.coalesceStream&&pipeline.coalesceStream.setRemux(val)},this.alignGopsWith=function(gopsToAlignWith){videoTrack&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(gopsToAlignWith)},this.getLogTrigger_=function(key){var self=this;return function(event){event.stream=key,self.trigger("log",event)}},this.push=function(data){if(hasFlushed){var isAac=isLikelyAacData(data);isAac&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():isAac||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),hasFlushed=!1}this.transmuxPipeline_.headOfPipeline.push(data)},this.flush=function(){hasFlushed=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},_Transmuxer.prototype=new stream;var startTime,getTracks,getTimescaleFromMediaHeader,transmuxer={Transmuxer:_Transmuxer,VideoSegmentStream:_VideoSegmentStream,AudioSegmentStream:_AudioSegmentStream,AUDIO_PROPERTIES:audioProperties,VIDEO_PROPERTIES:videoProperties,generateSegmentTimingInfo},bin_toUnsigned=function toUnsigned(value){return value>>>0},bin_toHexString=function toHexString(value){return("00"+value.toString(16)).slice(-2)},parseType_1=function parseType(buffer){var result="";return result+=String.fromCharCode(buffer[0]),result+=String.fromCharCode(buffer[1]),result+=String.fromCharCode(buffer[2]),result+=String.fromCharCode(buffer[3])},toUnsigned$2=bin_toUnsigned,findBox_1=function findBox(data,path){var i,size,type,end,subresults,results=[];if(!path.length)return null;for(i=0;i<data.byteLength;)size=toUnsigned$2(data[i]<<24|data[i+1]<<16|data[i+2]<<8|data[i+3]),type=parseType_1(data.subarray(i+4,i+8)),end=size>1?i+size:data.byteLength,type===path[0]&&(1===path.length?results.push(data.subarray(i+8,end)):(subresults=findBox(data.subarray(i+8,end),path.slice(1))).length&&(results=results.concat(subresults))),i=end;return results},toUnsigned$1=bin_toUnsigned,getUint64$1=numbers.getUint64,parseTfdt=function tfdt(data){var result={version:data[0],flags:new Uint8Array(data.subarray(1,4))};return 1===result.version?result.baseMediaDecodeTime=getUint64$1(data.subarray(4)):result.baseMediaDecodeTime=toUnsigned$1(data[4]<<24|data[5]<<16|data[6]<<8|data[7]),result},parseSampleFlags_1=function parseSampleFlags(flags){return{isLeading:(12&flags[0])>>>2,dependsOn:3&flags[0],isDependedOn:(192&flags[1])>>>6,hasRedundancy:(48&flags[1])>>>4,paddingValue:(14&flags[1])>>>1,isNonSyncSample:1&flags[1],degradationPriority:flags[2]<<8|flags[3]}},parseTrun=function trun(data){var sample,result={version:data[0],flags:new Uint8Array(data.subarray(1,4)),samples:[]},view=new DataView(data.buffer,data.byteOffset,data.byteLength),dataOffsetPresent=1&result.flags[2],firstSampleFlagsPresent=4&result.flags[2],sampleDurationPresent=1&result.flags[1],sampleSizePresent=2&result.flags[1],sampleFlagsPresent=4&result.flags[1],sampleCompositionTimeOffsetPresent=8&result.flags[1],sampleCount=view.getUint32(4),offset=8;for(dataOffsetPresent&&(result.dataOffset=view.getInt32(offset),offset+=4),firstSampleFlagsPresent&&sampleCount&&(sample={flags:parseSampleFlags_1(data.subarray(offset,offset+4))},offset+=4,sampleDurationPresent&&(sample.duration=view.getUint32(offset),offset+=4),sampleSizePresent&&(sample.size=view.getUint32(offset),offset+=4),sampleCompositionTimeOffsetPresent&&(1===result.version?sample.compositionTimeOffset=view.getInt32(offset):sample.compositionTimeOffset=view.getUint32(offset),offset+=4),result.samples.push(sample),sampleCount--);sampleCount--;)sample={},sampleDurationPresent&&(sample.duration=view.getUint32(offset),offset+=4),sampleSizePresent&&(sample.size=view.getUint32(offset),offset+=4),sampleFlagsPresent&&(sample.flags=parseSampleFlags_1(data.subarray(offset,offset+4)),offset+=4),sampleCompositionTimeOffsetPresent&&(1===result.version?sample.compositionTimeOffset=view.getInt32(offset):sample.compositionTimeOffset=view.getUint32(offset),offset+=4),result.samples.push(sample);return result},parseTfhd=function tfhd(data){var i,view=new DataView(data.buffer,data.byteOffset,data.byteLength),result={version:data[0],flags:new Uint8Array(data.subarray(1,4)),trackId:view.getUint32(4)},baseDataOffsetPresent=1&result.flags[2],sampleDescriptionIndexPresent=2&result.flags[2],defaultSampleDurationPresent=8&result.flags[2],defaultSampleSizePresent=16&result.flags[2],defaultSampleFlagsPresent=32&result.flags[2],durationIsEmpty=65536&result.flags[0],defaultBaseIsMoof=131072&result.flags[0];return i=8,baseDataOffsetPresent&&(i+=4,result.baseDataOffset=view.getUint32(12),i+=4),sampleDescriptionIndexPresent&&(result.sampleDescriptionIndex=view.getUint32(i),i+=4),defaultSampleDurationPresent&&(result.defaultSampleDuration=view.getUint32(i),i+=4),defaultSampleSizePresent&&(result.defaultSampleSize=view.getUint32(i),i+=4),defaultSampleFlagsPresent&&(result.defaultSampleFlags=view.getUint32(i)),durationIsEmpty&&(result.durationIsEmpty=!0),!baseDataOffsetPresent&&defaultBaseIsMoof&&(result.baseDataOffsetIsMoof=!0),result},commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{},window_1="undefined"!=typeof window?window:void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:{},discardEmulationPreventionBytes=captionPacketParser_discardEmulationPreventionBytes,CaptionStream=captionStream.CaptionStream,mapToSample=function mapToSample(offset,samples){for(var approximateOffset=offset,i=0;i<samples.length;i++){var sample=samples[i];if(approximateOffset<sample.size)return sample;approximateOffset-=sample.size}return null},parseCaptionNals=function parseCaptionNals(segment,videoTrackId){var trafs=findBox_1(segment,["moof","traf"]),mdats=findBox_1(segment,["mdat"]),captionNals={},mdatTrafPairs=[];return mdats.forEach((function(mdat,index){var matchingTraf=trafs[index];mdatTrafPairs.push({mdat,traf:matchingTraf})})),mdatTrafPairs.forEach((function(pair){var samples,result,mdat=pair.mdat,traf=pair.traf,tfhd=findBox_1(traf,["tfhd"]),headerInfo=parseTfhd(tfhd[0]),trackId=headerInfo.trackId,tfdt=findBox_1(traf,["tfdt"]),baseMediaDecodeTime=tfdt.length>0?parseTfdt(tfdt[0]).baseMediaDecodeTime:0,truns=findBox_1(traf,["trun"]);videoTrackId===trackId&&truns.length>0&&(samples=function parseSamples(truns,baseMediaDecodeTime,tfhd){var currentDts=baseMediaDecodeTime,defaultSampleDuration=tfhd.defaultSampleDuration||0,defaultSampleSize=tfhd.defaultSampleSize||0,trackId=tfhd.trackId,allSamples=[];return truns.forEach((function(trun){var samples=parseTrun(trun).samples;samples.forEach((function(sample){void 0===sample.duration&&(sample.duration=defaultSampleDuration),void 0===sample.size&&(sample.size=defaultSampleSize),sample.trackId=trackId,sample.dts=currentDts,void 0===sample.compositionTimeOffset&&(sample.compositionTimeOffset=0),"bigint"==typeof currentDts?(sample.pts=currentDts+window_1.BigInt(sample.compositionTimeOffset),currentDts+=window_1.BigInt(sample.duration)):(sample.pts=currentDts+sample.compositionTimeOffset,currentDts+=sample.duration)})),allSamples=allSamples.concat(samples)})),allSamples}(truns,baseMediaDecodeTime,headerInfo),result=function findSeiNals(avcStream,samples,trackId){var seiNal,i,length,lastMatchedSample,avcView=new DataView(avcStream.buffer,avcStream.byteOffset,avcStream.byteLength),result={logs:[],seiNals:[]};for(i=0;i+4<avcStream.length;i+=length)if(length=avcView.getUint32(i),i+=4,!(length<=0))switch(31&avcStream[i]){case 6:var data=avcStream.subarray(i+1,i+1+length),matchingSample=mapToSample(i,samples);if(seiNal={nalUnitType:"sei_rbsp",size:length,data,escapedRBSP:discardEmulationPreventionBytes(data),trackId},matchingSample)seiNal.pts=matchingSample.pts,seiNal.dts=matchingSample.dts,lastMatchedSample=matchingSample;else{if(!lastMatchedSample){result.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+i+" for trackId "+trackId+". See mux.js#223."});break}seiNal.pts=lastMatchedSample.pts,seiNal.dts=lastMatchedSample.dts}result.seiNals.push(seiNal)}return result}(mdat,samples,trackId),captionNals[trackId]||(captionNals[trackId]={seiNals:[],logs:[]}),captionNals[trackId].seiNals=captionNals[trackId].seiNals.concat(result.seiNals),captionNals[trackId].logs=captionNals[trackId].logs.concat(result.logs))})),captionNals},captionParser=function CaptionParser(){var captionStream,segmentCache,trackId,timescale,parsedCaptions,parsingPartial,isInitialized=!1;this.isInitialized=function(){return isInitialized},this.init=function(options){captionStream=new CaptionStream,isInitialized=!0,parsingPartial=!!options&&options.isPartial,captionStream.on("data",(function(event){event.startTime=event.startPts/timescale,event.endTime=event.endPts/timescale,parsedCaptions.captions.push(event),parsedCaptions.captionStreams[event.stream]=!0})),captionStream.on("log",(function(log){parsedCaptions.logs.push(log)}))},this.isNewInit=function(videoTrackIds,timescales){return!(videoTrackIds&&0===videoTrackIds.length||timescales&&"object"==typeof timescales&&0===Object.keys(timescales).length)&&(trackId!==videoTrackIds[0]||timescale!==timescales[trackId])},this.parse=function(segment,videoTrackIds,timescales){var parsedData;if(!this.isInitialized())return null;if(!videoTrackIds||!timescales)return null;if(this.isNewInit(videoTrackIds,timescales))trackId=videoTrackIds[0],timescale=timescales[trackId];else if(null===trackId||!timescale)return segmentCache.push(segment),null;for(;segmentCache.length>0;){var cachedSegment=segmentCache.shift();this.parse(cachedSegment,videoTrackIds,timescales)}return parsedData=function parseEmbeddedCaptions(segment,trackId,timescale){if(null===trackId)return null;var trackNals=parseCaptionNals(segment,trackId)[trackId]||{};return{seiNals:trackNals.seiNals,logs:trackNals.logs,timescale}}(segment,trackId,timescale),parsedData&&parsedData.logs&&(parsedCaptions.logs=parsedCaptions.logs.concat(parsedData.logs)),null!==parsedData&&parsedData.seiNals?(this.pushNals(parsedData.seiNals),this.flushStream(),parsedCaptions):parsedCaptions.logs.length?{logs:parsedCaptions.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(nals){if(!this.isInitialized()||!nals||0===nals.length)return null;nals.forEach((function(nal){captionStream.push(nal)}))},this.flushStream=function(){if(!this.isInitialized())return null;parsingPartial?captionStream.partialFlush():captionStream.flush()},this.clearParsedCaptions=function(){parsedCaptions.captions=[],parsedCaptions.captionStreams={},parsedCaptions.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;captionStream.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){segmentCache=[],trackId=null,timescale=null,parsedCaptions?this.clearParsedCaptions():parsedCaptions={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},toUnsigned=bin_toUnsigned,toHexString=bin_toHexString,getUint64=numbers.getUint64;startTime=function startTime(timescale,fragment){var lowestTime=findBox_1(fragment,["moof","traf"]).reduce((function(acc,traf){var baseTime,seconds,tfhd=findBox_1(traf,["tfhd"])[0],id=toUnsigned(tfhd[4]<<24|tfhd[5]<<16|tfhd[6]<<8|tfhd[7]),scale=timescale[id]||9e4,tfdt=findBox_1(traf,["tfdt"])[0],dv=new DataView(tfdt.buffer,tfdt.byteOffset,tfdt.byteLength);return"bigint"==typeof(baseTime=1===tfdt[0]?getUint64(tfdt.subarray(4,12)):dv.getUint32(4))?seconds=baseTime/window_1.BigInt(scale):"number"!=typeof baseTime||isNaN(baseTime)||(seconds=baseTime/scale),seconds<Number.MAX_SAFE_INTEGER&&(seconds=Number(seconds)),seconds<acc&&(acc=seconds),acc}),1/0);return"bigint"==typeof lowestTime||isFinite(lowestTime)?lowestTime:0},getTimescaleFromMediaHeader=function getTimescaleFromMediaHeader(mdhd){var index=0===mdhd[0]?12:20;return toUnsigned(mdhd[index]<<24|mdhd[index+1]<<16|mdhd[index+2]<<8|mdhd[index+3])},getTracks=function getTracks(init){var traks=findBox_1(init,["moov","trak"]),tracks=[];return traks.forEach((function(trak){var view,tkhdVersion,track={},tkhd=findBox_1(trak,["tkhd"])[0];tkhd&&(tkhdVersion=(view=new DataView(tkhd.buffer,tkhd.byteOffset,tkhd.byteLength)).getUint8(0),track.id=0===tkhdVersion?view.getUint32(12):view.getUint32(20));var hdlr=findBox_1(trak,["mdia","hdlr"])[0];if(hdlr){var type=parseType_1(hdlr.subarray(8,12));track.type="vide"===type?"video":"soun"===type?"audio":type}var stsd=findBox_1(trak,["mdia","minf","stbl","stsd"])[0];if(stsd){var sampleDescriptions=stsd.subarray(8);track.codec=parseType_1(sampleDescriptions.subarray(4,8));var codecConfig,codecBox=findBox_1(sampleDescriptions,[track.codec])[0];codecBox&&(/^[asm]vc[1-9]$/i.test(track.codec)?(codecConfig=codecBox.subarray(78),"avcC"===parseType_1(codecConfig.subarray(4,8))&&codecConfig.length>11?(track.codec+=".",track.codec+=toHexString(codecConfig[9]),track.codec+=toHexString(codecConfig[10]),track.codec+=toHexString(codecConfig[11])):track.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(track.codec)?(codecConfig=codecBox.subarray(28),"esds"===parseType_1(codecConfig.subarray(4,8))&&codecConfig.length>20&&0!==codecConfig[19]?(track.codec+="."+toHexString(codecConfig[19]),track.codec+="."+toHexString(codecConfig[20]>>>2&63).replace(/^0/,"")):track.codec="mp4a.40.2"):track.codec=track.codec.toLowerCase())}var mdhd=findBox_1(trak,["mdia","mdhd"])[0];mdhd&&(track.timescale=getTimescaleFromMediaHeader(mdhd)),tracks.push(track)})),tracks};var probe$2_startTime=startTime,probe$2_tracks=getTracks,parsePid=function parsePid(packet){var pid=31&packet[1];return pid<<=8,pid|=packet[2]},parsePayloadUnitStartIndicator=function parsePayloadUnitStartIndicator(packet){return!!(64&packet[1])},parseAdaptionField=function parseAdaptionField(packet){var offset=0;return(48&packet[3])>>>4>1&&(offset+=packet[4]+1),offset},parseNalUnitType=function parseNalUnitType(type){switch(type){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},probe$1={parseType:function parseType(packet,pmtPid){var pid=parsePid(packet);return 0===pid?"pat":pid===pmtPid?"pmt":pmtPid?"pes":null},parsePat:function parsePat(packet){var pusi=parsePayloadUnitStartIndicator(packet),offset=4+parseAdaptionField(packet);return pusi&&(offset+=packet[offset]+1),(31&packet[offset+10])<<8|packet[offset+11]},parsePmt:function parsePmt(packet){var programMapTable={},pusi=parsePayloadUnitStartIndicator(packet),payloadOffset=4+parseAdaptionField(packet);if(pusi&&(payloadOffset+=packet[payloadOffset]+1),1&packet[payloadOffset+5]){var tableEnd;tableEnd=3+((15&packet[payloadOffset+1])<<8|packet[payloadOffset+2])-4;for(var offset=12+((15&packet[payloadOffset+10])<<8|packet[payloadOffset+11]);offset<tableEnd;){var i=payloadOffset+offset;programMapTable[(31&packet[i+1])<<8|packet[i+2]]=packet[i],offset+=5+((15&packet[i+3])<<8|packet[i+4])}return programMapTable}},parsePayloadUnitStartIndicator,parsePesType:function parsePesType(packet,programMapTable){switch(programMapTable[parsePid(packet)]){case streamTypes.H264_STREAM_TYPE:return"video";case streamTypes.ADTS_STREAM_TYPE:return"audio";case streamTypes.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function parsePesTime(packet){if(!parsePayloadUnitStartIndicator(packet))return null;var offset=4+parseAdaptionField(packet);if(offset>=packet.byteLength)return null;var ptsDtsFlags,pes=null;return 192&(ptsDtsFlags=packet[offset+7])&&((pes={}).pts=(14&packet[offset+9])<<27|(255&packet[offset+10])<<20|(254&packet[offset+11])<<12|(255&packet[offset+12])<<5|(254&packet[offset+13])>>>3,pes.pts*=4,pes.pts+=(6&packet[offset+13])>>>1,pes.dts=pes.pts,64&ptsDtsFlags&&(pes.dts=(14&packet[offset+14])<<27|(255&packet[offset+15])<<20|(254&packet[offset+16])<<12|(255&packet[offset+17])<<5|(254&packet[offset+18])>>>3,pes.dts*=4,pes.dts+=(6&packet[offset+18])>>>1)),pes},videoPacketContainsKeyFrame:function videoPacketContainsKeyFrame(packet){for(var offset=4+parseAdaptionField(packet),frameBuffer=packet.subarray(offset),frameI=0,frameSyncPoint=0,foundKeyFrame=!1;frameSyncPoint<frameBuffer.byteLength-3;frameSyncPoint++)if(1===frameBuffer[frameSyncPoint+2]){frameI=frameSyncPoint+5;break}for(;frameI<frameBuffer.byteLength;)switch(frameBuffer[frameI]){case 0:if(0!==frameBuffer[frameI-1]){frameI+=2;break}if(0!==frameBuffer[frameI-2]){frameI++;break}frameSyncPoint+3!==frameI-2&&"slice_layer_without_partitioning_rbsp_idr"===parseNalUnitType(31&frameBuffer[frameSyncPoint+3])&&(foundKeyFrame=!0);do{frameI++}while(1!==frameBuffer[frameI]&&frameI<frameBuffer.length);frameSyncPoint=frameI-2,frameI+=3;break;case 1:if(0!==frameBuffer[frameI-1]||0!==frameBuffer[frameI-2]){frameI+=3;break}"slice_layer_without_partitioning_rbsp_idr"===parseNalUnitType(31&frameBuffer[frameSyncPoint+3])&&(foundKeyFrame=!0),frameSyncPoint=frameI-2,frameI+=3;break;default:frameI+=3}return frameBuffer=frameBuffer.subarray(frameSyncPoint),frameI-=frameSyncPoint,frameSyncPoint=0,frameBuffer&&frameBuffer.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===parseNalUnitType(31&frameBuffer[frameSyncPoint+3])&&(foundKeyFrame=!0),foundKeyFrame}},handleRollover=timestampRolloverStream_handleRollover,probe={};probe.ts=probe$1,probe.aac=utils;var ONE_SECOND_IN_TS=clock_ONE_SECOND_IN_TS,parseAudioPes_=function parseAudioPes_(bytes,pmt,result){for(var packet,pesType,pusi,parsed,startIndex=0,endIndex=188,endLoop=!1;endIndex<=bytes.byteLength;)if(71!==bytes[startIndex]||71!==bytes[endIndex]&&endIndex!==bytes.byteLength)startIndex++,endIndex++;else{if(packet=bytes.subarray(startIndex,endIndex),"pes"===probe.ts.parseType(packet,pmt.pid))pesType=probe.ts.parsePesType(packet,pmt.table),pusi=probe.ts.parsePayloadUnitStartIndicator(packet),"audio"===pesType&&pusi&&(parsed=probe.ts.parsePesTime(packet))&&(parsed.type="audio",result.audio.push(parsed),endLoop=!0);if(endLoop)break;startIndex+=188,endIndex+=188}for(startIndex=(endIndex=bytes.byteLength)-188,endLoop=!1;startIndex>=0;)if(71!==bytes[startIndex]||71!==bytes[endIndex]&&endIndex!==bytes.byteLength)startIndex--,endIndex--;else{if(packet=bytes.subarray(startIndex,endIndex),"pes"===probe.ts.parseType(packet,pmt.pid))pesType=probe.ts.parsePesType(packet,pmt.table),pusi=probe.ts.parsePayloadUnitStartIndicator(packet),"audio"===pesType&&pusi&&(parsed=probe.ts.parsePesTime(packet))&&(parsed.type="audio",result.audio.push(parsed),endLoop=!0);if(endLoop)break;startIndex-=188,endIndex-=188}},parseVideoPes_=function parseVideoPes_(bytes,pmt,result){for(var packet,pesType,pusi,parsed,frame,i,pes,startIndex=0,endIndex=188,endLoop=!1,currentFrame={data:[],size:0};endIndex<bytes.byteLength;)if(71!==bytes[startIndex]||71!==bytes[endIndex])startIndex++,endIndex++;else{if(packet=bytes.subarray(startIndex,endIndex),"pes"===probe.ts.parseType(packet,pmt.pid))if(pesType=probe.ts.parsePesType(packet,pmt.table),pusi=probe.ts.parsePayloadUnitStartIndicator(packet),"video"===pesType&&(pusi&&!endLoop&&(parsed=probe.ts.parsePesTime(packet))&&(parsed.type="video",result.video.push(parsed),endLoop=!0),!result.firstKeyFrame)){if(pusi&&0!==currentFrame.size){for(frame=new Uint8Array(currentFrame.size),i=0;currentFrame.data.length;)pes=currentFrame.data.shift(),frame.set(pes,i),i+=pes.byteLength;if(probe.ts.videoPacketContainsKeyFrame(frame)){var firstKeyFrame=probe.ts.parsePesTime(frame);firstKeyFrame?(result.firstKeyFrame=firstKeyFrame,result.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}currentFrame.size=0}currentFrame.data.push(packet),currentFrame.size+=packet.byteLength}if(endLoop&&result.firstKeyFrame)break;startIndex+=188,endIndex+=188}for(startIndex=(endIndex=bytes.byteLength)-188,endLoop=!1;startIndex>=0;)if(71!==bytes[startIndex]||71!==bytes[endIndex])startIndex--,endIndex--;else{if(packet=bytes.subarray(startIndex,endIndex),"pes"===probe.ts.parseType(packet,pmt.pid))pesType=probe.ts.parsePesType(packet,pmt.table),pusi=probe.ts.parsePayloadUnitStartIndicator(packet),"video"===pesType&&pusi&&(parsed=probe.ts.parsePesTime(packet))&&(parsed.type="video",result.video.push(parsed),endLoop=!0);if(endLoop)break;startIndex-=188,endIndex-=188}},inspectTs_=function inspectTs_(bytes){var pmt={pid:null,table:null},result={};for(var pid in function parsePsi_(bytes,pmt){for(var packet,startIndex=0,endIndex=188;endIndex<bytes.byteLength;)if(71!==bytes[startIndex]||71!==bytes[endIndex])startIndex++,endIndex++;else{switch(packet=bytes.subarray(startIndex,endIndex),probe.ts.parseType(packet,pmt.pid)){case"pat":pmt.pid=probe.ts.parsePat(packet);break;case"pmt":var table=probe.ts.parsePmt(packet);pmt.table=pmt.table||{},Object.keys(table).forEach((function(key){pmt.table[key]=table[key]}))}startIndex+=188,endIndex+=188}}(bytes,pmt),pmt.table){if(pmt.table.hasOwnProperty(pid))switch(pmt.table[pid]){case streamTypes.H264_STREAM_TYPE:result.video=[],parseVideoPes_(bytes,pmt,result),0===result.video.length&&delete result.video;break;case streamTypes.ADTS_STREAM_TYPE:result.audio=[],parseAudioPes_(bytes,pmt,result),0===result.audio.length&&delete result.audio}}return result},tsInspector_inspect=function inspect(bytes,baseTimestamp){var result;return result=probe.aac.isLikelyAacData(bytes)?function inspectAac_(bytes){for(var packet,endLoop=!1,audioCount=0,sampleRate=null,timestamp=null,frameSize=0,byteIndex=0;bytes.length-byteIndex>=3;){switch(probe.aac.parseType(bytes,byteIndex)){case"timed-metadata":if(bytes.length-byteIndex<10){endLoop=!0;break}if((frameSize=probe.aac.parseId3TagSize(bytes,byteIndex))>bytes.length){endLoop=!0;break}null===timestamp&&(packet=bytes.subarray(byteIndex,byteIndex+frameSize),timestamp=probe.aac.parseAacTimestamp(packet)),byteIndex+=frameSize;break;case"audio":if(bytes.length-byteIndex<7){endLoop=!0;break}if((frameSize=probe.aac.parseAdtsSize(bytes,byteIndex))>bytes.length){endLoop=!0;break}null===sampleRate&&(packet=bytes.subarray(byteIndex,byteIndex+frameSize),sampleRate=probe.aac.parseSampleRate(packet)),audioCount++,byteIndex+=frameSize;break;default:byteIndex++}if(endLoop)return null}if(null===sampleRate||null===timestamp)return null;var audioTimescale=ONE_SECOND_IN_TS/sampleRate;return{audio:[{type:"audio",dts:timestamp,pts:timestamp},{type:"audio",dts:timestamp+1024*audioCount*audioTimescale,pts:timestamp+1024*audioCount*audioTimescale}]}}(bytes):inspectTs_(bytes),result&&(result.audio||result.video)?(function adjustTimestamp_(segmentInfo,baseTimestamp){if(segmentInfo.audio&&segmentInfo.audio.length){var audioBaseTimestamp=baseTimestamp;(void 0===audioBaseTimestamp||isNaN(audioBaseTimestamp))&&(audioBaseTimestamp=segmentInfo.audio[0].dts),segmentInfo.audio.forEach((function(info){info.dts=handleRollover(info.dts,audioBaseTimestamp),info.pts=handleRollover(info.pts,audioBaseTimestamp),info.dtsTime=info.dts/ONE_SECOND_IN_TS,info.ptsTime=info.pts/ONE_SECOND_IN_TS}))}if(segmentInfo.video&&segmentInfo.video.length){var videoBaseTimestamp=baseTimestamp;if((void 0===videoBaseTimestamp||isNaN(videoBaseTimestamp))&&(videoBaseTimestamp=segmentInfo.video[0].dts),segmentInfo.video.forEach((function(info){info.dts=handleRollover(info.dts,videoBaseTimestamp),info.pts=handleRollover(info.pts,videoBaseTimestamp),info.dtsTime=info.dts/ONE_SECOND_IN_TS,info.ptsTime=info.pts/ONE_SECOND_IN_TS})),segmentInfo.firstKeyFrame){var frame=segmentInfo.firstKeyFrame;frame.dts=handleRollover(frame.dts,videoBaseTimestamp),frame.pts=handleRollover(frame.pts,videoBaseTimestamp),frame.dtsTime=frame.dts/ONE_SECOND_IN_TS,frame.ptsTime=frame.pts/ONE_SECOND_IN_TS}}}(result,baseTimestamp),result):null},MessageHandlers=function(){function MessageHandlers(self,options){this.options=options||{},this.self=self,this.init()}var _proto=MessageHandlers.prototype;return _proto.init=function init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new transmuxer.Transmuxer(this.options),function wireTransmuxerEvents(self,transmuxer){transmuxer.on("data",(function(segment){var initArray=segment.initSegment;segment.initSegment={data:initArray.buffer,byteOffset:initArray.byteOffset,byteLength:initArray.byteLength};var typedArray=segment.data;segment.data=typedArray.buffer,self.postMessage({action:"data",segment,byteOffset:typedArray.byteOffset,byteLength:typedArray.byteLength},[segment.data])})),transmuxer.on("done",(function(data){self.postMessage({action:"done"})})),transmuxer.on("gopInfo",(function(gopInfo){self.postMessage({action:"gopInfo",gopInfo})})),transmuxer.on("videoSegmentTimingInfo",(function(timingInfo){var videoSegmentTimingInfo={start:{decode:clock_videoTsToSeconds(timingInfo.start.dts),presentation:clock_videoTsToSeconds(timingInfo.start.pts)},end:{decode:clock_videoTsToSeconds(timingInfo.end.dts),presentation:clock_videoTsToSeconds(timingInfo.end.pts)},baseMediaDecodeTime:clock_videoTsToSeconds(timingInfo.baseMediaDecodeTime)};timingInfo.prependedContentDuration&&(videoSegmentTimingInfo.prependedContentDuration=clock_videoTsToSeconds(timingInfo.prependedContentDuration)),self.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo})})),transmuxer.on("audioSegmentTimingInfo",(function(timingInfo){var audioSegmentTimingInfo={start:{decode:clock_videoTsToSeconds(timingInfo.start.dts),presentation:clock_videoTsToSeconds(timingInfo.start.pts)},end:{decode:clock_videoTsToSeconds(timingInfo.end.dts),presentation:clock_videoTsToSeconds(timingInfo.end.pts)},baseMediaDecodeTime:clock_videoTsToSeconds(timingInfo.baseMediaDecodeTime)};timingInfo.prependedContentDuration&&(audioSegmentTimingInfo.prependedContentDuration=clock_videoTsToSeconds(timingInfo.prependedContentDuration)),self.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo})})),transmuxer.on("id3Frame",(function(id3Frame){self.postMessage({action:"id3Frame",id3Frame})})),transmuxer.on("caption",(function(caption){self.postMessage({action:"caption",caption})})),transmuxer.on("trackinfo",(function(trackInfo){self.postMessage({action:"trackinfo",trackInfo})})),transmuxer.on("audioTimingInfo",(function(audioTimingInfo){self.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:clock_videoTsToSeconds(audioTimingInfo.start),end:clock_videoTsToSeconds(audioTimingInfo.end)}})})),transmuxer.on("videoTimingInfo",(function(videoTimingInfo){self.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:clock_videoTsToSeconds(videoTimingInfo.start),end:clock_videoTsToSeconds(videoTimingInfo.end)}})})),transmuxer.on("log",(function(log){self.postMessage({action:"log",log})}))}(this.self,this.transmuxer)},_proto.pushMp4Captions=function pushMp4Captions(data){this.captionParser||(this.captionParser=new captionParser,this.captionParser.init());var segment=new Uint8Array(data.data,data.byteOffset,data.byteLength),parsed=this.captionParser.parse(segment,data.trackIds,data.timescales);this.self.postMessage({action:"mp4Captions",captions:parsed&&parsed.captions||[],logs:parsed&&parsed.logs||[],data:segment.buffer},[segment.buffer])},_proto.probeMp4StartTime=function probeMp4StartTime(_ref){var timescales=_ref.timescales,data=_ref.data,startTime=probe$2_startTime(timescales,data);this.self.postMessage({action:"probeMp4StartTime",startTime,data},[data.buffer])},_proto.probeMp4Tracks=function probeMp4Tracks(_ref2){var data=_ref2.data,tracks=probe$2_tracks(data);this.self.postMessage({action:"probeMp4Tracks",tracks,data},[data.buffer])},_proto.probeTs=function probeTs(_ref3){var data=_ref3.data,baseStartTime=_ref3.baseStartTime,tsStartTime="number"!=typeof baseStartTime||isNaN(baseStartTime)?void 0:baseStartTime*clock_ONE_SECOND_IN_TS,timeInfo=tsInspector_inspect(data,tsStartTime),result=null;timeInfo&&((result={hasVideo:timeInfo.video&&2===timeInfo.video.length||!1,hasAudio:timeInfo.audio&&2===timeInfo.audio.length||!1}).hasVideo&&(result.videoStart=timeInfo.video[0].ptsTime),result.hasAudio&&(result.audioStart=timeInfo.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result,data},[data.buffer])},_proto.clearAllMp4Captions=function clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()},_proto.clearParsedMp4Captions=function clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()},_proto.push=function push(data){var segment=new Uint8Array(data.data,data.byteOffset,data.byteLength);this.transmuxer.push(segment)},_proto.reset=function reset(){this.transmuxer.reset()},_proto.setTimestampOffset=function setTimestampOffset(data){var timestampOffset=data.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(clock_secondsToVideoTs(timestampOffset)))},_proto.setAudioAppendStart=function setAudioAppendStart(data){this.transmuxer.setAudioAppendStart(Math.ceil(clock_secondsToVideoTs(data.appendStart)))},_proto.setRemux=function setRemux(data){this.transmuxer.setRemux(data.remux)},_proto.flush=function flush(data){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},_proto.endTimeline=function endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},_proto.alignGopsWith=function alignGopsWith(data){this.transmuxer.alignGopsWith(data.gopsToAlignWith.slice())},MessageHandlers}();self.onmessage=function(event){"init"===event.data.action&&event.data.options?this.messageHandlers=new MessageHandlers(self,event.data.options):(this.messageHandlers||(this.messageHandlers=new MessageHandlers(self)),event.data&&event.data.action&&"init"!==event.data.action&&this.messageHandlers[event.data.action]&&this.messageHandlers[event.data.action](event.data))}}))),TransmuxWorker=factory(workerCode$1),processTransmux=function processTransmux(options){var transmuxer=options.transmuxer,bytes=options.bytes,audioAppendStart=options.audioAppendStart,gopsToAlignWith=options.gopsToAlignWith,remux=options.remux,onData=options.onData,onTrackInfo=options.onTrackInfo,onAudioTimingInfo=options.onAudioTimingInfo,onVideoTimingInfo=options.onVideoTimingInfo,onVideoSegmentTimingInfo=options.onVideoSegmentTimingInfo,onAudioSegmentTimingInfo=options.onAudioSegmentTimingInfo,onId3=options.onId3,onCaptions=options.onCaptions,onDone=options.onDone,onEndedTimeline=options.onEndedTimeline,onTransmuxerLog=options.onTransmuxerLog,isEndOfTimeline=options.isEndOfTimeline,transmuxedData={buffer:[]},waitForEndedTimelineEvent=isEndOfTimeline;if(transmuxer.onmessage=function handleMessage(event){transmuxer.currentTransmux===options&&("data"===event.data.action&&function handleData_(event,transmuxedData,callback){var _event$data$segment=event.data.segment,type=_event$data$segment.type,initSegment=_event$data$segment.initSegment,captions=_event$data$segment.captions,captionStreams=_event$data$segment.captionStreams,metadata=_event$data$segment.metadata,videoFrameDtsTime=_event$data$segment.videoFrameDtsTime,videoFramePtsTime=_event$data$segment.videoFramePtsTime;transmuxedData.buffer.push({captions,captionStreams,metadata});var boxes=event.data.segment.boxes||{data:event.data.segment.data},result={type,data:new Uint8Array(boxes.data,boxes.data.byteOffset,boxes.data.byteLength),initSegment:new Uint8Array(initSegment.data,initSegment.byteOffset,initSegment.byteLength)};void 0!==videoFrameDtsTime&&(result.videoFrameDtsTime=videoFrameDtsTime),void 0!==videoFramePtsTime&&(result.videoFramePtsTime=videoFramePtsTime),callback(result)}(event,transmuxedData,onData),"trackinfo"===event.data.action&&onTrackInfo(event.data.trackInfo),"gopInfo"===event.data.action&&function handleGopInfo_(event,transmuxedData){transmuxedData.gopInfo=event.data.gopInfo}(event,transmuxedData),"audioTimingInfo"===event.data.action&&onAudioTimingInfo(event.data.audioTimingInfo),"videoTimingInfo"===event.data.action&&onVideoTimingInfo(event.data.videoTimingInfo),"videoSegmentTimingInfo"===event.data.action&&onVideoSegmentTimingInfo(event.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===event.data.action&&onAudioSegmentTimingInfo(event.data.audioSegmentTimingInfo),"id3Frame"===event.data.action&&onId3([event.data.id3Frame],event.data.id3Frame.dispatchType),"caption"===event.data.action&&onCaptions(event.data.caption),"endedtimeline"===event.data.action&&(waitForEndedTimelineEvent=!1,onEndedTimeline()),"log"===event.data.action&&onTransmuxerLog(event.data.log),"transmuxed"===event.data.type&&(waitForEndedTimelineEvent||(transmuxer.onmessage=null,function handleDone_(_ref){var transmuxedData=_ref.transmuxedData,callback=_ref.callback;transmuxedData.buffer=[],callback(transmuxedData)}({transmuxedData,callback:onDone}),dequeue(transmuxer))))},audioAppendStart&&transmuxer.postMessage({action:"setAudioAppendStart",appendStart:audioAppendStart}),Array.isArray(gopsToAlignWith)&&transmuxer.postMessage({action:"alignGopsWith",gopsToAlignWith}),void 0!==remux&&transmuxer.postMessage({action:"setRemux",remux}),bytes.byteLength){var buffer=bytes instanceof ArrayBuffer?bytes:bytes.buffer,byteOffset=bytes instanceof ArrayBuffer?0:bytes.byteOffset;transmuxer.postMessage({action:"push",data:buffer,byteOffset,byteLength:bytes.byteLength},[buffer])}isEndOfTimeline&&transmuxer.postMessage({action:"endTimeline"}),transmuxer.postMessage({action:"flush"})},dequeue=function dequeue(transmuxer){transmuxer.currentTransmux=null,transmuxer.transmuxQueue.length&&(transmuxer.currentTransmux=transmuxer.transmuxQueue.shift(),"function"==typeof transmuxer.currentTransmux?transmuxer.currentTransmux():processTransmux(transmuxer.currentTransmux))},processAction=function processAction(transmuxer,action){transmuxer.postMessage({action}),dequeue(transmuxer)},enqueueAction=function enqueueAction(action,transmuxer){if(!transmuxer.currentTransmux)return transmuxer.currentTransmux=action,void processAction(transmuxer,action);transmuxer.transmuxQueue.push(processAction.bind(null,transmuxer,action))},transmux=function transmux(options){if(!options.transmuxer.currentTransmux)return options.transmuxer.currentTransmux=options,void processTransmux(options);options.transmuxer.transmuxQueue.push(options)},segmentTransmuxer_reset=function reset(transmuxer){enqueueAction("reset",transmuxer)},segmentTransmuxer_createTransmuxer=function createTransmuxer(options){var transmuxer=new TransmuxWorker;transmuxer.currentTransmux=null,transmuxer.transmuxQueue=[];var term=transmuxer.terminate;return transmuxer.terminate=function(){return transmuxer.currentTransmux=null,transmuxer.transmuxQueue.length=0,term.call(transmuxer)},transmuxer.postMessage({action:"init",options}),transmuxer},workerCallback=function workerCallback(options){var transmuxer=options.transmuxer,endAction=options.endAction||options.action,callback=options.callback,message=(0,esm_extends.Z)({},options,{endAction:null,transmuxer:null,callback:null});if(transmuxer.addEventListener("message",(function listenForEndEvent(event){event.data.action===endAction&&(transmuxer.removeEventListener("message",listenForEndEvent),event.data.data&&(event.data.data=new Uint8Array(event.data.data,options.byteOffset||0,options.byteLength||event.data.data.byteLength),options.data&&(options.data=event.data.data)),callback(event.data))})),options.data){var isArrayBuffer=options.data instanceof ArrayBuffer;message.byteOffset=isArrayBuffer?0:options.data.byteOffset,message.byteLength=options.data.byteLength;var transfers=[isArrayBuffer?options.data:options.data.buffer];transmuxer.postMessage(message,transfers)}else transmuxer.postMessage(message)},REQUEST_ERRORS_FAILURE=2,REQUEST_ERRORS_TIMEOUT=-101,REQUEST_ERRORS_ABORTED=-102,abortAll=function abortAll(activeXhrs){activeXhrs.forEach((function(xhr){xhr.abort()}))},handleErrors=function handleErrors(error,request){return request.timedout?{status:request.status,message:"HLS request timed-out at URL: "+request.uri,code:REQUEST_ERRORS_TIMEOUT,xhr:request}:request.aborted?{status:request.status,message:"HLS request aborted at URL: "+request.uri,code:REQUEST_ERRORS_ABORTED,xhr:request}:error?{status:request.status,message:"HLS request errored at URL: "+request.uri,code:REQUEST_ERRORS_FAILURE,xhr:request}:"arraybuffer"===request.responseType&&0===request.response.byteLength?{status:request.status,message:"Empty HLS response at URL: "+request.uri,code:REQUEST_ERRORS_FAILURE,xhr:request}:null},handleKeyResponse=function handleKeyResponse(segment,objects,finishProcessingFn){return function(error,request){var response=request.response,errorObj=handleErrors(error,request);if(errorObj)return finishProcessingFn(errorObj,segment);if(16!==response.byteLength)return finishProcessingFn({status:request.status,message:"Invalid HLS key at URL: "+request.uri,code:REQUEST_ERRORS_FAILURE,xhr:request},segment);for(var view=new DataView(response),bytes=new Uint32Array([view.getUint32(0),view.getUint32(4),view.getUint32(8),view.getUint32(12)]),i=0;i<objects.length;i++)objects[i].bytes=bytes;return finishProcessingFn(null,segment)}},parseInitSegment=function parseInitSegment(segment,_callback){var type=detectContainerForBytes(segment.map.bytes);if("mp4"!==type){var uri=segment.map.resolvedUri||segment.map.uri;return _callback({internal:!0,message:"Found unsupported "+(type||"unknown")+" container for initialization segment at URL: "+uri,code:REQUEST_ERRORS_FAILURE})}workerCallback({action:"probeMp4Tracks",data:segment.map.bytes,transmuxer:segment.transmuxer,callback:function callback(_ref){var tracks=_ref.tracks,data=_ref.data;return segment.map.bytes=data,tracks.forEach((function(track){segment.map.tracks=segment.map.tracks||{},segment.map.tracks[track.type]||(segment.map.tracks[track.type]=track,"number"==typeof track.id&&track.timescale&&(segment.map.timescales=segment.map.timescales||{},segment.map.timescales[track.id]=track.timescale))})),_callback(null)}})},handleSegmentResponse=function handleSegmentResponse(_ref3){var segment=_ref3.segment,finishProcessingFn=_ref3.finishProcessingFn,responseType=_ref3.responseType;return function(error,request){var errorObj=handleErrors(error,request);if(errorObj)return finishProcessingFn(errorObj,segment);var newBytes="arraybuffer"!==responseType&&request.responseText?function stringToArrayBuffer(string){for(var view=new Uint8Array(new ArrayBuffer(string.length)),i=0;i<string.length;i++)view[i]=string.charCodeAt(i);return view.buffer}(request.responseText.substring(segment.lastReachedChar||0)):request.response;return segment.stats=function getRequestStats(request){return{bandwidth:request.bandwidth,bytesReceived:request.bytesReceived||0,roundTripTime:request.roundTripTime||0}}(request),segment.key?segment.encryptedBytes=new Uint8Array(newBytes):segment.bytes=new Uint8Array(newBytes),finishProcessingFn(null,segment)}},transmuxAndNotify=function transmuxAndNotify(_ref4){var segment=_ref4.segment,bytes=_ref4.bytes,trackInfoFn=_ref4.trackInfoFn,timingInfoFn=_ref4.timingInfoFn,videoSegmentTimingInfoFn=_ref4.videoSegmentTimingInfoFn,audioSegmentTimingInfoFn=_ref4.audioSegmentTimingInfoFn,id3Fn=_ref4.id3Fn,captionsFn=_ref4.captionsFn,isEndOfTimeline=_ref4.isEndOfTimeline,endedTimelineFn=_ref4.endedTimelineFn,dataFn=_ref4.dataFn,doneFn=_ref4.doneFn,onTransmuxerLog=_ref4.onTransmuxerLog,fmp4Tracks=segment.map&&segment.map.tracks||{},isMuxed=Boolean(fmp4Tracks.audio&&fmp4Tracks.video),audioStartFn=timingInfoFn.bind(null,segment,"audio","start"),audioEndFn=timingInfoFn.bind(null,segment,"audio","end"),videoStartFn=timingInfoFn.bind(null,segment,"video","start"),videoEndFn=timingInfoFn.bind(null,segment,"video","end");workerCallback({action:"probeTs",transmuxer:segment.transmuxer,data:bytes,baseStartTime:segment.baseStartTime,callback:function callback(data){segment.bytes=bytes=data.data;var probeResult=data.result;probeResult&&(trackInfoFn(segment,{hasAudio:probeResult.hasAudio,hasVideo:probeResult.hasVideo,isMuxed}),trackInfoFn=null,probeResult.hasAudio&&!isMuxed&&audioStartFn(probeResult.audioStart),probeResult.hasVideo&&videoStartFn(probeResult.videoStart),audioStartFn=null,videoStartFn=null),function finish(){transmux({bytes,transmuxer:segment.transmuxer,audioAppendStart:segment.audioAppendStart,gopsToAlignWith:segment.gopsToAlignWith,remux:isMuxed,onData:function onData(result){result.type="combined"===result.type?"video":result.type,dataFn(segment,result)},onTrackInfo:function onTrackInfo(trackInfo){trackInfoFn&&(isMuxed&&(trackInfo.isMuxed=!0),trackInfoFn(segment,trackInfo))},onAudioTimingInfo:function onAudioTimingInfo(audioTimingInfo){audioStartFn&&void 0!==audioTimingInfo.start&&(audioStartFn(audioTimingInfo.start),audioStartFn=null),audioEndFn&&void 0!==audioTimingInfo.end&&audioEndFn(audioTimingInfo.end)},onVideoTimingInfo:function onVideoTimingInfo(videoTimingInfo){videoStartFn&&void 0!==videoTimingInfo.start&&(videoStartFn(videoTimingInfo.start),videoStartFn=null),videoEndFn&&void 0!==videoTimingInfo.end&&videoEndFn(videoTimingInfo.end)},onVideoSegmentTimingInfo:function onVideoSegmentTimingInfo(videoSegmentTimingInfo){videoSegmentTimingInfoFn(videoSegmentTimingInfo)},onAudioSegmentTimingInfo:function onAudioSegmentTimingInfo(audioSegmentTimingInfo){audioSegmentTimingInfoFn(audioSegmentTimingInfo)},onId3:function onId3(id3Frames,dispatchType){id3Fn(segment,id3Frames,dispatchType)},onCaptions:function onCaptions(captions){captionsFn(segment,[captions])},isEndOfTimeline,onEndedTimeline:function onEndedTimeline(){endedTimelineFn()},onTransmuxerLog,onDone:function onDone(result){doneFn&&(result.type="combined"===result.type?"video":result.type,doneFn(null,segment,result))}})}()}})},handleSegmentBytes=function handleSegmentBytes(_ref5){var segment=_ref5.segment,bytes=_ref5.bytes,trackInfoFn=_ref5.trackInfoFn,timingInfoFn=_ref5.timingInfoFn,videoSegmentTimingInfoFn=_ref5.videoSegmentTimingInfoFn,audioSegmentTimingInfoFn=_ref5.audioSegmentTimingInfoFn,id3Fn=_ref5.id3Fn,captionsFn=_ref5.captionsFn,isEndOfTimeline=_ref5.isEndOfTimeline,endedTimelineFn=_ref5.endedTimelineFn,dataFn=_ref5.dataFn,doneFn=_ref5.doneFn,onTransmuxerLog=_ref5.onTransmuxerLog,bytesAsUint8Array=new Uint8Array(bytes);if(function isLikelyFmp4MediaSegment(bytes){return findBox(bytes,["moof"]).length>0}(bytesAsUint8Array)){segment.isFmp4=!0;var tracks=segment.map.tracks,trackInfo={isFmp4:!0,hasVideo:!!tracks.video,hasAudio:!!tracks.audio};tracks.audio&&tracks.audio.codec&&"enca"!==tracks.audio.codec&&(trackInfo.audioCodec=tracks.audio.codec),tracks.video&&tracks.video.codec&&"encv"!==tracks.video.codec&&(trackInfo.videoCodec=tracks.video.codec),tracks.video&&tracks.audio&&(trackInfo.isMuxed=!0),trackInfoFn(segment,trackInfo);var finishLoading=function finishLoading(captions){dataFn(segment,{data:bytesAsUint8Array,type:trackInfo.hasAudio&&!trackInfo.isMuxed?"audio":"video"}),captions&&captions.length&&captionsFn(segment,captions),doneFn(null,segment,{})};workerCallback({action:"probeMp4StartTime",timescales:segment.map.timescales,data:bytesAsUint8Array,transmuxer:segment.transmuxer,callback:function callback(_ref6){var data=_ref6.data,startTime=_ref6.startTime;bytes=data.buffer,segment.bytes=bytesAsUint8Array=data,trackInfo.hasAudio&&!trackInfo.isMuxed&&timingInfoFn(segment,"audio","start",startTime),trackInfo.hasVideo&&timingInfoFn(segment,"video","start",startTime),tracks.video&&data.byteLength&&segment.transmuxer?workerCallback({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:segment.transmuxer,data:bytesAsUint8Array,timescales:segment.map.timescales,trackIds:[tracks.video.id],callback:function callback(message){bytes=message.data.buffer,segment.bytes=bytesAsUint8Array=message.data,message.logs.forEach((function(log){onTransmuxerLog(videojs.mergeOptions(log,{stream:"mp4CaptionParser"}))})),finishLoading(message.captions)}}):finishLoading()}})}else if(segment.transmuxer){if(void 0===segment.container&&(segment.container=detectContainerForBytes(bytesAsUint8Array)),"ts"!==segment.container&&"aac"!==segment.container)return trackInfoFn(segment,{hasAudio:!1,hasVideo:!1}),void doneFn(null,segment,{});transmuxAndNotify({segment,bytes,trackInfoFn,timingInfoFn,videoSegmentTimingInfoFn,audioSegmentTimingInfoFn,id3Fn,captionsFn,isEndOfTimeline,endedTimelineFn,dataFn,doneFn,onTransmuxerLog})}else doneFn(null,segment,{})},decrypt=function decrypt(_ref7,callback){var keyBytes,id=_ref7.id,key=_ref7.key,encryptedBytes=_ref7.encryptedBytes,decryptionWorker=_ref7.decryptionWorker;decryptionWorker.addEventListener("message",(function decryptionHandler(event){if(event.data.source===id){decryptionWorker.removeEventListener("message",decryptionHandler);var decrypted=event.data.decrypted;callback(new Uint8Array(decrypted.bytes,decrypted.byteOffset,decrypted.byteLength))}})),keyBytes=key.bytes.slice?key.bytes.slice():new Uint32Array(Array.prototype.slice.call(key.bytes)),decryptionWorker.postMessage(createTransferableMessage({source:id,encrypted:encryptedBytes,key:keyBytes,iv:key.iv}),[encryptedBytes.buffer,keyBytes.buffer])},waitForCompletion=function waitForCompletion(_ref9){var activeXhrs=_ref9.activeXhrs,decryptionWorker=_ref9.decryptionWorker,trackInfoFn=_ref9.trackInfoFn,timingInfoFn=_ref9.timingInfoFn,videoSegmentTimingInfoFn=_ref9.videoSegmentTimingInfoFn,audioSegmentTimingInfoFn=_ref9.audioSegmentTimingInfoFn,id3Fn=_ref9.id3Fn,captionsFn=_ref9.captionsFn,isEndOfTimeline=_ref9.isEndOfTimeline,endedTimelineFn=_ref9.endedTimelineFn,dataFn=_ref9.dataFn,doneFn=_ref9.doneFn,onTransmuxerLog=_ref9.onTransmuxerLog,count=0,didError=!1;return function(error,segment){if(!didError){if(error)return didError=!0,abortAll(activeXhrs),doneFn(error,segment);if((count+=1)===activeXhrs.length){var segmentFinish=function segmentFinish(){if(segment.encryptedBytes)return function decryptSegment(_ref8){var decryptionWorker=_ref8.decryptionWorker,segment=_ref8.segment,trackInfoFn=_ref8.trackInfoFn,timingInfoFn=_ref8.timingInfoFn,videoSegmentTimingInfoFn=_ref8.videoSegmentTimingInfoFn,audioSegmentTimingInfoFn=_ref8.audioSegmentTimingInfoFn,id3Fn=_ref8.id3Fn,captionsFn=_ref8.captionsFn,isEndOfTimeline=_ref8.isEndOfTimeline,endedTimelineFn=_ref8.endedTimelineFn,dataFn=_ref8.dataFn,doneFn=_ref8.doneFn,onTransmuxerLog=_ref8.onTransmuxerLog;decrypt({id:segment.requestId,key:segment.key,encryptedBytes:segment.encryptedBytes,decryptionWorker},(function(decryptedBytes){segment.bytes=decryptedBytes,handleSegmentBytes({segment,bytes:segment.bytes,trackInfoFn,timingInfoFn,videoSegmentTimingInfoFn,audioSegmentTimingInfoFn,id3Fn,captionsFn,isEndOfTimeline,endedTimelineFn,dataFn,doneFn,onTransmuxerLog})}))}({decryptionWorker,segment,trackInfoFn,timingInfoFn,videoSegmentTimingInfoFn,audioSegmentTimingInfoFn,id3Fn,captionsFn,isEndOfTimeline,endedTimelineFn,dataFn,doneFn,onTransmuxerLog});handleSegmentBytes({segment,bytes:segment.bytes,trackInfoFn,timingInfoFn,videoSegmentTimingInfoFn,audioSegmentTimingInfoFn,id3Fn,captionsFn,isEndOfTimeline,endedTimelineFn,dataFn,doneFn,onTransmuxerLog})};if(segment.endOfAllRequests=Date.now(),segment.map&&segment.map.encryptedBytes&&!segment.map.bytes)return decrypt({decryptionWorker,id:segment.requestId+"-init",encryptedBytes:segment.map.encryptedBytes,key:segment.map.key},(function(decryptedBytes){segment.map.bytes=decryptedBytes,parseInitSegment(segment,(function(parseError){if(parseError)return abortAll(activeXhrs),doneFn(parseError,segment);segmentFinish()}))}));segmentFinish()}}}},handleProgress=function handleProgress(_ref11){var segment=_ref11.segment,progressFn=_ref11.progressFn;return _ref11.trackInfoFn,_ref11.timingInfoFn,_ref11.videoSegmentTimingInfoFn,_ref11.audioSegmentTimingInfoFn,_ref11.id3Fn,_ref11.captionsFn,_ref11.isEndOfTimeline,_ref11.endedTimelineFn,_ref11.dataFn,function(event){if(!event.target.aborted)return segment.stats=videojs.mergeOptions(segment.stats,function getProgressStats(progressEvent){var request=progressEvent.target,stats={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-request.requestTime||0};return stats.bytesReceived=progressEvent.loaded,stats.bandwidth=Math.floor(stats.bytesReceived/stats.roundTripTime*8*1e3),stats}(event)),!segment.stats.firstBytesReceivedAt&&segment.stats.bytesReceived&&(segment.stats.firstBytesReceivedAt=Date.now()),progressFn(event,segment)}},mediaSegmentRequest=function mediaSegmentRequest(_ref12){var xhr=_ref12.xhr,xhrOptions=_ref12.xhrOptions,decryptionWorker=_ref12.decryptionWorker,segment=_ref12.segment,abortFn=_ref12.abortFn,progressFn=_ref12.progressFn,trackInfoFn=_ref12.trackInfoFn,timingInfoFn=_ref12.timingInfoFn,videoSegmentTimingInfoFn=_ref12.videoSegmentTimingInfoFn,audioSegmentTimingInfoFn=_ref12.audioSegmentTimingInfoFn,id3Fn=_ref12.id3Fn,captionsFn=_ref12.captionsFn,isEndOfTimeline=_ref12.isEndOfTimeline,endedTimelineFn=_ref12.endedTimelineFn,dataFn=_ref12.dataFn,doneFn=_ref12.doneFn,onTransmuxerLog=_ref12.onTransmuxerLog,activeXhrs=[],finishProcessingFn=waitForCompletion({activeXhrs,decryptionWorker,trackInfoFn,timingInfoFn,videoSegmentTimingInfoFn,audioSegmentTimingInfoFn,id3Fn,captionsFn,isEndOfTimeline,endedTimelineFn,dataFn,doneFn,onTransmuxerLog});if(segment.key&&!segment.key.bytes){var objects=[segment.key];segment.map&&!segment.map.bytes&&segment.map.key&&segment.map.key.resolvedUri===segment.key.resolvedUri&&objects.push(segment.map.key);var keyXhr=xhr(videojs.mergeOptions(xhrOptions,{uri:segment.key.resolvedUri,responseType:"arraybuffer"}),handleKeyResponse(segment,objects,finishProcessingFn));activeXhrs.push(keyXhr)}if(segment.map&&!segment.map.bytes){if(segment.map.key&&(!segment.key||segment.key.resolvedUri!==segment.map.key.resolvedUri)){var mapKeyXhr=xhr(videojs.mergeOptions(xhrOptions,{uri:segment.map.key.resolvedUri,responseType:"arraybuffer"}),handleKeyResponse(segment,[segment.map.key],finishProcessingFn));activeXhrs.push(mapKeyXhr)}var initSegmentOptions=videojs.mergeOptions(xhrOptions,{uri:segment.map.resolvedUri,responseType:"arraybuffer",headers:segmentXhrHeaders(segment.map)}),initSegmentRequestCallback=function handleInitSegmentResponse(_ref2){var segment=_ref2.segment,finishProcessingFn=_ref2.finishProcessingFn;return function(error,request){var errorObj=handleErrors(error,request);if(errorObj)return finishProcessingFn(errorObj,segment);var bytes=new Uint8Array(request.response);if(segment.map.key)return segment.map.encryptedBytes=bytes,finishProcessingFn(null,segment);segment.map.bytes=bytes,parseInitSegment(segment,(function(parseError){if(parseError)return parseError.xhr=request,parseError.status=request.status,finishProcessingFn(parseError,segment);finishProcessingFn(null,segment)}))}}({segment,finishProcessingFn}),initSegmentXhr=xhr(initSegmentOptions,initSegmentRequestCallback);activeXhrs.push(initSegmentXhr)}var segmentRequestOptions=videojs.mergeOptions(xhrOptions,{uri:segment.part&&segment.part.resolvedUri||segment.resolvedUri,responseType:"arraybuffer",headers:segmentXhrHeaders(segment)}),segmentXhr=xhr(segmentRequestOptions,handleSegmentResponse({segment,finishProcessingFn,responseType:segmentRequestOptions.responseType}));segmentXhr.addEventListener("progress",handleProgress({segment,progressFn,trackInfoFn,timingInfoFn,videoSegmentTimingInfoFn,audioSegmentTimingInfoFn,id3Fn,captionsFn,isEndOfTimeline,endedTimelineFn,dataFn})),activeXhrs.push(segmentXhr);var loadendState={};return activeXhrs.forEach((function(activeXhr){activeXhr.addEventListener("loadend",function handleLoadEnd(_ref10){var loadendState=_ref10.loadendState,abortFn=_ref10.abortFn;return function(event){event.target.aborted&&abortFn&&!loadendState.calledAbortFn&&(abortFn(),loadendState.calledAbortFn=!0)}}({loadendState,abortFn}))})),function(){return abortAll(activeXhrs)}},logFn$1=logger("CodecUtils"),isMaat=function isMaat(master,media){var mediaAttributes=media.attributes||{};return master&&master.mediaGroups&&master.mediaGroups.AUDIO&&mediaAttributes.AUDIO&&master.mediaGroups.AUDIO[mediaAttributes.AUDIO]},unwrapCodecList=function unwrapCodecList(codecList){var codecs={};return codecList.forEach((function(_ref){var mediaType=_ref.mediaType,type=_ref.type,details=_ref.details;codecs[mediaType]=codecs[mediaType]||[],codecs[mediaType].push(translateLegacyCodec(""+type+details))})),Object.keys(codecs).forEach((function(mediaType){if(codecs[mediaType].length>1)return logFn$1("multiple "+mediaType+" codecs found as attributes: "+codecs[mediaType].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),void(codecs[mediaType]=null);codecs[mediaType]=codecs[mediaType][0]})),codecs},codecCount=function codecCount(codecObj){var count=0;return codecObj.audio&&count++,codecObj.video&&count++,count},codecsForPlaylist=function codecsForPlaylist(master,media){var mediaAttributes=media.attributes||{},codecInfo=unwrapCodecList(function getCodecs(media){var mediaAttributes=media.attributes||{};if(mediaAttributes.CODECS)return parseCodecs(mediaAttributes.CODECS)}(media)||[]);if(isMaat(master,media)&&!codecInfo.audio&&!function isMuxed(master,media){if(!isMaat(master,media))return!0;var mediaAttributes=media.attributes||{},audioGroup=master.mediaGroups.AUDIO[mediaAttributes.AUDIO];for(var groupId in audioGroup)if(!audioGroup[groupId].uri&&!audioGroup[groupId].playlists)return!0;return!1}(master,media)){var defaultCodecs=unwrapCodecList(function codecsFromDefault(master,audioGroupId){if(!master.mediaGroups.AUDIO||!audioGroupId)return null;var audioGroup=master.mediaGroups.AUDIO[audioGroupId];if(!audioGroup)return null;for(var name in audioGroup){var audioType=audioGroup[name];if(audioType.default&&audioType.playlists)return parseCodecs(audioType.playlists[0].attributes.CODECS)}return null}(master,mediaAttributes.AUDIO)||[]);defaultCodecs.audio&&(codecInfo.audio=defaultCodecs.audio)}return codecInfo},logFn=logger("PlaylistSelector"),representationToString=function representationToString(representation){if(representation&&representation.playlist){var playlist=representation.playlist;return JSON.stringify({id:playlist.id,bandwidth:representation.bandwidth,width:representation.width,height:representation.height,codecs:playlist.attributes&&playlist.attributes.CODECS||""})}},safeGetComputedStyle=function safeGetComputedStyle(el,property){if(!el)return"";var result=window_default().getComputedStyle(el);return result?result[property]:""},stableSort=function stableSort(array,sortFn){var newArray=array.slice();array.sort((function(left,right){var cmp=sortFn(left,right);return 0===cmp?newArray.indexOf(left)-newArray.indexOf(right):cmp}))},comparePlaylistBandwidth=function comparePlaylistBandwidth(left,right){var leftBandwidth,rightBandwidth;return left.attributes.BANDWIDTH&&(leftBandwidth=left.attributes.BANDWIDTH),leftBandwidth=leftBandwidth||window_default().Number.MAX_VALUE,right.attributes.BANDWIDTH&&(rightBandwidth=right.attributes.BANDWIDTH),leftBandwidth-(rightBandwidth=rightBandwidth||window_default().Number.MAX_VALUE)},simpleSelector=function simpleSelector(master,playerBandwidth,playerWidth,playerHeight,limitRenditionByPlayerDimensions,masterPlaylistController){if(master){var options={bandwidth:playerBandwidth,width:playerWidth,height:playerHeight,limitRenditionByPlayerDimensions},playlists=master.playlists;Playlist.isAudioOnly(master)&&(playlists=masterPlaylistController.getAudioTrackPlaylists_(),options.audioOnly=!0);var sortedPlaylistReps=playlists.map((function(playlist){var width=playlist.attributes&&playlist.attributes.RESOLUTION&&playlist.attributes.RESOLUTION.width,height=playlist.attributes&&playlist.attributes.RESOLUTION&&playlist.attributes.RESOLUTION.height;return{bandwidth:playlist.attributes&&playlist.attributes.BANDWIDTH||window_default().Number.MAX_VALUE,width,height,playlist}}));stableSort(sortedPlaylistReps,(function(left,right){return left.bandwidth-right.bandwidth}));var enabledPlaylistReps=(sortedPlaylistReps=sortedPlaylistReps.filter((function(rep){return!Playlist.isIncompatible(rep.playlist)}))).filter((function(rep){return Playlist.isEnabled(rep.playlist)}));enabledPlaylistReps.length||(enabledPlaylistReps=sortedPlaylistReps.filter((function(rep){return!Playlist.isDisabled(rep.playlist)})));var bandwidthPlaylistReps=enabledPlaylistReps.filter((function(rep){return rep.bandwidth*Config.BANDWIDTH_VARIANCE<playerBandwidth})),highestRemainingBandwidthRep=bandwidthPlaylistReps[bandwidthPlaylistReps.length-1],bandwidthBestRep=bandwidthPlaylistReps.filter((function(rep){return rep.bandwidth===highestRemainingBandwidthRep.bandwidth}))[0];if(!1===limitRenditionByPlayerDimensions){var _chosenRep=bandwidthBestRep||enabledPlaylistReps[0]||sortedPlaylistReps[0];if(_chosenRep&&_chosenRep.playlist){var type="sortedPlaylistReps";return bandwidthBestRep&&(type="bandwidthBestRep"),enabledPlaylistReps[0]&&(type="enabledPlaylistReps"),logFn("choosing "+representationToString(_chosenRep)+" using "+type+" with options",options),_chosenRep.playlist}return logFn("could not choose a playlist with options",options),null}var haveResolution=bandwidthPlaylistReps.filter((function(rep){return rep.width&&rep.height}));stableSort(haveResolution,(function(left,right){return left.width-right.width}));var resolutionBestRepList=haveResolution.filter((function(rep){return rep.width===playerWidth&&rep.height===playerHeight}));highestRemainingBandwidthRep=resolutionBestRepList[resolutionBestRepList.length-1];var resolutionPlusOneList,resolutionPlusOneSmallest,resolutionPlusOneRep,leastPixelDiffRep,resolutionBestRep=resolutionBestRepList.filter((function(rep){return rep.bandwidth===highestRemainingBandwidthRep.bandwidth}))[0];if(resolutionBestRep||(resolutionPlusOneSmallest=(resolutionPlusOneList=haveResolution.filter((function(rep){return rep.width>playerWidth||rep.height>playerHeight}))).filter((function(rep){return rep.width===resolutionPlusOneList[0].width&&rep.height===resolutionPlusOneList[0].height})),highestRemainingBandwidthRep=resolutionPlusOneSmallest[resolutionPlusOneSmallest.length-1],resolutionPlusOneRep=resolutionPlusOneSmallest.filter((function(rep){return rep.bandwidth===highestRemainingBandwidthRep.bandwidth}))[0]),masterPlaylistController.experimentalLeastPixelDiffSelector){var leastPixelDiffList=haveResolution.map((function(rep){return rep.pixelDiff=Math.abs(rep.width-playerWidth)+Math.abs(rep.height-playerHeight),rep}));stableSort(leastPixelDiffList,(function(left,right){return left.pixelDiff===right.pixelDiff?right.bandwidth-left.bandwidth:left.pixelDiff-right.pixelDiff})),leastPixelDiffRep=leastPixelDiffList[0]}var chosenRep=leastPixelDiffRep||resolutionPlusOneRep||resolutionBestRep||bandwidthBestRep||enabledPlaylistReps[0]||sortedPlaylistReps[0];if(chosenRep&&chosenRep.playlist){var _type="sortedPlaylistReps";return leastPixelDiffRep?_type="leastPixelDiffRep":resolutionPlusOneRep?_type="resolutionPlusOneRep":resolutionBestRep?_type="resolutionBestRep":bandwidthBestRep?_type="bandwidthBestRep":enabledPlaylistReps[0]&&(_type="enabledPlaylistReps"),logFn("choosing "+representationToString(chosenRep)+" using "+_type+" with options",options),chosenRep.playlist}return logFn("could not choose a playlist with options",options),null}},lastBandwidthSelector=function lastBandwidthSelector(){var pixelRatio=this.useDevicePixelRatio&&window_default().devicePixelRatio||1;return simpleSelector(this.playlists.master,this.systemBandwidth,parseInt(safeGetComputedStyle(this.tech_.el(),"width"),10)*pixelRatio,parseInt(safeGetComputedStyle(this.tech_.el(),"height"),10)*pixelRatio,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},addMetadata=function addMetadata(_ref2){var inbandTextTracks=_ref2.inbandTextTracks,metadataArray=_ref2.metadataArray,timestampOffset=_ref2.timestampOffset,videoDuration=_ref2.videoDuration;if(metadataArray){var Cue=window_default().WebKitDataCue||window_default().VTTCue,metadataTrack=inbandTextTracks.metadataTrack_;if(metadataTrack&&(metadataArray.forEach((function(metadata){var time=metadata.cueTime+timestampOffset;!("number"!=typeof time||window_default().isNaN(time)||time<0)&&time<1/0&&metadata.frames.forEach((function(frame){var cue=new Cue(time,time,frame.value||frame.url||frame.data||"");cue.frame=frame,cue.value=frame,function deprecateOldCue(cue){Object.defineProperties(cue.frame,{id:{get:function get(){return videojs.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),cue.value.key}},value:{get:function get(){return videojs.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),cue.value.data}},privateData:{get:function get(){return videojs.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),cue.value.data}}})}(cue),metadataTrack.addCue(cue)}))})),metadataTrack.cues&&metadataTrack.cues.length)){for(var cues=metadataTrack.cues,cuesArray=[],i=0;i<cues.length;i++)cues[i]&&cuesArray.push(cues[i]);var cuesGroupedByStartTime=cuesArray.reduce((function(obj,cue){var timeSlot=obj[cue.startTime]||[];return timeSlot.push(cue),obj[cue.startTime]=timeSlot,obj}),{}),sortedStartTimes=Object.keys(cuesGroupedByStartTime).sort((function(a,b){return Number(a)-Number(b)}));sortedStartTimes.forEach((function(startTime,idx){var cueGroup=cuesGroupedByStartTime[startTime],nextTime=Number(sortedStartTimes[idx+1])||videoDuration;cueGroup.forEach((function(cue){cue.endTime=nextTime}))}))}}},removeCuesFromTrack=function removeCuesFromTrack(start,end,track){var i,cue;if(track&&track.cues)for(i=track.cues.length;i--;)(cue=track.cues[i]).startTime>=start&&cue.endTime<=end&&track.removeCue(cue)},finite=function finite(num){return"number"==typeof num&&isFinite(num)},segmentInfoString=function segmentInfoString(segmentInfo){var startOfSegment=segmentInfo.startOfSegment,duration=segmentInfo.duration,segment=segmentInfo.segment,part=segmentInfo.part,_segmentInfo$playlist=segmentInfo.playlist,seq=_segmentInfo$playlist.mediaSequence,id=_segmentInfo$playlist.id,_segmentInfo$playlist2=_segmentInfo$playlist.segments,segments=void 0===_segmentInfo$playlist2?[]:_segmentInfo$playlist2,index=segmentInfo.mediaIndex,partIndex=segmentInfo.partIndex,timeline=segmentInfo.timeline,segmentLen=segments.length-1,selection="mediaIndex/partIndex increment";segmentInfo.getMediaInfoForTime?selection="getMediaInfoForTime ("+segmentInfo.getMediaInfoForTime+")":segmentInfo.isSyncRequest&&(selection="getSyncSegmentCandidate (isSyncRequest)"),segmentInfo.independent&&(selection+=" with independent "+segmentInfo.independent);var hasPartIndex="number"==typeof partIndex,name=segmentInfo.segment.uri?"segment":"pre-segment",zeroBasedPartCount=hasPartIndex?getKnownPartCount({preloadSegment:segment})-1:0;return name+" ["+(seq+index)+"/"+(seq+segmentLen)+"]"+(hasPartIndex?" part ["+partIndex+"/"+zeroBasedPartCount+"]":"")+" segment start/end ["+segment.start+" => "+segment.end+"]"+(hasPartIndex?" part start/end ["+part.start+" => "+part.end+"]":"")+" startOfSegment ["+startOfSegment+"] duration ["+duration+"] timeline ["+timeline+"] selected by ["+selection+"] playlist ["+id+"]"},timingInfoPropertyForMedia=function timingInfoPropertyForMedia(mediaType){return mediaType+"TimingInfo"},shouldWaitForTimelineChange=function shouldWaitForTimelineChange(_ref2){var timelineChangeController=_ref2.timelineChangeController,currentTimeline=_ref2.currentTimeline,segmentTimeline=_ref2.segmentTimeline,loaderType=_ref2.loaderType,audioDisabled=_ref2.audioDisabled;if(currentTimeline===segmentTimeline)return!1;if("audio"===loaderType){var lastMainTimelineChange=timelineChangeController.lastTimelineChange({type:"main"});return!lastMainTimelineChange||lastMainTimelineChange.to!==segmentTimeline}if("main"===loaderType&&audioDisabled){var pendingAudioTimelineChange=timelineChangeController.pendingTimelineChange({type:"audio"});return!pendingAudioTimelineChange||pendingAudioTimelineChange.to!==segmentTimeline}return!1},segmentTooLong=function segmentTooLong(_ref3){var segmentDuration=_ref3.segmentDuration,maxDuration=_ref3.maxDuration;return!!segmentDuration&&Math.round(segmentDuration)>maxDuration+.03333333333333333},getTroublesomeSegmentDurationMessage=function getTroublesomeSegmentDurationMessage(segmentInfo,sourceType){if("hls"!==sourceType)return null;var segmentDuration=function mediaDuration(timingInfos){var maxDuration=0;return["video","audio"].forEach((function(type){var typeTimingInfo=timingInfos[type+"TimingInfo"];if(typeTimingInfo){var duration,start=typeTimingInfo.start,end=typeTimingInfo.end;"bigint"==typeof start||"bigint"==typeof end?duration=window_default().BigInt(end)-window_default().BigInt(start):"number"==typeof start&&"number"==typeof end&&(duration=end-start),void 0!==duration&&duration>maxDuration&&(maxDuration=duration)}})),"bigint"==typeof maxDuration&&maxDuration<Number.MAX_SAFE_INTEGER&&(maxDuration=Number(maxDuration)),maxDuration}({audioTimingInfo:segmentInfo.audioTimingInfo,videoTimingInfo:segmentInfo.videoTimingInfo});if(!segmentDuration)return null;var targetDuration=segmentInfo.playlist.targetDuration,isSegmentWayTooLong=segmentTooLong({segmentDuration,maxDuration:2*targetDuration}),isSegmentSlightlyTooLong=segmentTooLong({segmentDuration,maxDuration:targetDuration}),segmentTooLongMessage="Segment with index "+segmentInfo.mediaIndex+" from playlist "+segmentInfo.playlist.id+" has a duration of "+segmentDuration+" when the reported duration is "+segmentInfo.duration+" and the target duration is "+targetDuration+". For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1";return isSegmentWayTooLong||isSegmentSlightlyTooLong?{severity:isSegmentWayTooLong?"warn":"info",message:segmentTooLongMessage}:null},SegmentLoader=function(_videojs$EventTarget){function SegmentLoader(settings,options){var _this;if(_this=_videojs$EventTarget.call(this)||this,!settings)throw new TypeError("Initialization settings are required");if("function"!=typeof settings.currentTime)throw new TypeError("No currentTime getter specified");if(!settings.mediaSource)throw new TypeError("No MediaSource specified");return _this.bandwidth=settings.bandwidth,_this.throughput={rate:0,count:0},_this.roundTrip=NaN,_this.resetStats_(),_this.mediaIndex=null,_this.partIndex=null,_this.hasPlayed_=settings.hasPlayed,_this.currentTime_=settings.currentTime,_this.seekable_=settings.seekable,_this.seeking_=settings.seeking,_this.duration_=settings.duration,_this.mediaSource_=settings.mediaSource,_this.vhs_=settings.vhs,_this.loaderType_=settings.loaderType,_this.currentMediaInfo_=void 0,_this.startingMediaInfo_=void 0,_this.segmentMetadataTrack_=settings.segmentMetadataTrack,_this.goalBufferLength_=settings.goalBufferLength,_this.sourceType_=settings.sourceType,_this.sourceUpdater_=settings.sourceUpdater,_this.inbandTextTracks_=settings.inbandTextTracks,_this.state_="INIT",_this.timelineChangeController_=settings.timelineChangeController,_this.shouldSaveSegmentTimingInfo_=!0,_this.parse708captions_=settings.parse708captions,_this.captionServices_=settings.captionServices,_this.experimentalExactManifestTimings=settings.experimentalExactManifestTimings,_this.checkBufferTimeout_=null,_this.error_=void 0,_this.currentTimeline_=-1,_this.pendingSegment_=null,_this.xhrOptions_=null,_this.pendingSegments_=[],_this.audioDisabled_=!1,_this.isPendingTimestampOffset_=!1,_this.gopBuffer_=[],_this.timeMapping_=0,_this.safeAppend_=videojs.browser.IE_VERSION>=11,_this.appendInitSegment_={audio:!0,video:!0},_this.playlistOfLastInitSegment_={audio:null,video:null},_this.callQueue_=[],_this.loadQueue_=[],_this.metadataQueue_={id3:[],caption:[]},_this.waitingOnRemove_=!1,_this.quotaExceededErrorRetryTimeout_=null,_this.activeInitSegmentId_=null,_this.initSegments_={},_this.cacheEncryptionKeys_=settings.cacheEncryptionKeys,_this.keyCache_={},_this.decrypter_=settings.decrypter,_this.syncController_=settings.syncController,_this.syncPoint_={segmentIndex:0,time:0},_this.transmuxer_=_this.createTransmuxer_(),_this.triggerSyncInfoUpdate_=function(){return _this.trigger("syncinfoupdate")},_this.syncController_.on("syncinfoupdate",_this.triggerSyncInfoUpdate_),_this.mediaSource_.addEventListener("sourceopen",(function(){_this.isEndOfStream_()||(_this.ended_=!1)})),_this.fetchAtBuffer_=!1,_this.logger_=logger("SegmentLoader["+_this.loaderType_+"]"),Object.defineProperty((0,assertThisInitialized.Z)(_this),"state",{get:function get(){return this.state_},set:function set(newState){newState!==this.state_&&(this.logger_(this.state_+" -> "+newState),this.state_=newState,this.trigger("statechange"))}}),_this.sourceUpdater_.on("ready",(function(){_this.hasEnoughInfoToAppend_()&&_this.processCallQueue_()})),"main"===_this.loaderType_&&_this.timelineChangeController_.on("pendingtimelinechange",(function(){_this.hasEnoughInfoToAppend_()&&_this.processCallQueue_()})),"audio"===_this.loaderType_&&_this.timelineChangeController_.on("timelinechange",(function(){_this.hasEnoughInfoToLoad_()&&_this.processLoadQueue_(),_this.hasEnoughInfoToAppend_()&&_this.processCallQueue_()})),_this}(0,inheritsLoose.Z)(SegmentLoader,_videojs$EventTarget);var _proto=SegmentLoader.prototype;return _proto.createTransmuxer_=function createTransmuxer_(){return segmentTransmuxer_createTransmuxer({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},_proto.resetStats_=function resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},_proto.dispose=function dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&window_default().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},_proto.setAudio=function setAudio(enable){this.audioDisabled_=!enable,enable?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},_proto.abort=function abort(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},_proto.abort_=function abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,window_default().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},_proto.checkForAbort_=function checkForAbort_(requestId){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==requestId:(this.state="READY",!0)},_proto.error=function error(_error){return void 0!==_error&&(this.logger_("error occurred:",_error),this.error_=_error),this.pendingSegment_=null,this.error_},_proto.endOfStream=function endOfStream(){this.ended_=!0,this.transmuxer_&&segmentTransmuxer_reset(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},_proto.buffered_=function buffered_(){var trackInfo=this.getMediaInfo_();if(!this.sourceUpdater_||!trackInfo)return videojs.createTimeRanges();if("main"===this.loaderType_){var hasAudio=trackInfo.hasAudio,hasVideo=trackInfo.hasVideo,isMuxed=trackInfo.isMuxed;if(hasVideo&&hasAudio&&!this.audioDisabled_&&!isMuxed)return this.sourceUpdater_.buffered();if(hasVideo)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},_proto.initSegmentForMap=function initSegmentForMap(map,set){if(void 0===set&&(set=!1),!map)return null;var id=initSegmentId(map),storedMap=this.initSegments_[id];return set&&!storedMap&&map.bytes&&(this.initSegments_[id]=storedMap={resolvedUri:map.resolvedUri,byterange:map.byterange,bytes:map.bytes,tracks:map.tracks,timescales:map.timescales}),storedMap||map},_proto.segmentKey=function segmentKey(key,set){if(void 0===set&&(set=!1),!key)return null;var id=segmentKeyId(key),storedKey=this.keyCache_[id];this.cacheEncryptionKeys_&&set&&!storedKey&&key.bytes&&(this.keyCache_[id]=storedKey={resolvedUri:key.resolvedUri,bytes:key.bytes});var result={resolvedUri:(storedKey||key).resolvedUri};return storedKey&&(result.bytes=storedKey.bytes),result},_proto.couldBeginLoading_=function couldBeginLoading_(){return this.playlist_&&!this.paused()},_proto.load=function load(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))},_proto.init_=function init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},_proto.playlist=function playlist(newPlaylist,options){if(void 0===options&&(options={}),newPlaylist){var oldPlaylist=this.playlist_,segmentInfo=this.pendingSegment_;this.playlist_=newPlaylist,this.xhrOptions_=options,"INIT"===this.state&&(newPlaylist.syncInfo={mediaSequence:newPlaylist.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(newPlaylist));var oldId=null;if(oldPlaylist&&(oldPlaylist.id?oldId=oldPlaylist.id:oldPlaylist.uri&&(oldId=oldPlaylist.uri)),this.logger_("playlist update ["+oldId+" => "+(newPlaylist.id||newPlaylist.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!oldPlaylist||oldPlaylist.uri!==newPlaylist.uri)return null!==this.mediaIndex&&(newPlaylist.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");var mediaSequenceDiff=newPlaylist.mediaSequence-oldPlaylist.mediaSequence;if(this.logger_("live window shift ["+mediaSequenceDiff+"]"),null!==this.mediaIndex)if(this.mediaIndex-=mediaSequenceDiff,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var segment=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!segment.parts||!segment.parts.length||!segment.parts[this.partIndex])){var mediaIndex=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=mediaIndex}}segmentInfo&&(segmentInfo.mediaIndex-=mediaSequenceDiff,segmentInfo.mediaIndex<0?(segmentInfo.mediaIndex=null,segmentInfo.partIndex=null):(segmentInfo.mediaIndex>=0&&(segmentInfo.segment=newPlaylist.segments[segmentInfo.mediaIndex]),segmentInfo.partIndex>=0&&segmentInfo.segment.parts&&(segmentInfo.part=segmentInfo.segment.parts[segmentInfo.partIndex]))),this.syncController_.saveExpiredSegmentInfo(oldPlaylist,newPlaylist)}},_proto.pause=function pause(){this.checkBufferTimeout_&&(window_default().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},_proto.paused=function paused(){return null===this.checkBufferTimeout_},_proto.resetEverything=function resetEverything(done){this.ended_=!1,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,done),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},_proto.resetLoader=function resetLoader(){this.fetchAtBuffer_=!1,this.resyncLoader()},_proto.resyncLoader=function resyncLoader(){this.transmuxer_&&segmentTransmuxer_reset(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},_proto.remove=function remove(start,end,done,force){if(void 0===done&&(done=function done(){}),void 0===force&&(force=!1),end===1/0&&(end=this.duration_()),end<=start)this.logger_("skipping remove because end ${end} is <= start ${start}");else if(this.sourceUpdater_&&this.getMediaInfo_()){var removesRemaining=1,removeFinished=function removeFinished(){0===--removesRemaining&&done()};for(var track in!force&&this.audioDisabled_||(removesRemaining++,this.sourceUpdater_.removeAudio(start,end,removeFinished)),(force||"main"===this.loaderType_)&&(this.gopBuffer_=function removeGopBuffer(buffer,start,end,mapping){for(var startPts=Math.ceil((start-mapping)*clock.ONE_SECOND_IN_TS),endPts=Math.ceil((end-mapping)*clock.ONE_SECOND_IN_TS),updatedBuffer=buffer.slice(),i=buffer.length;i--&&!(buffer[i].pts<=endPts););if(-1===i)return updatedBuffer;for(var j=i+1;j--&&!(buffer[j].pts<=startPts););return j=Math.max(j,0),updatedBuffer.splice(j,i-j+1),updatedBuffer}(this.gopBuffer_,start,end,this.timeMapping_),removesRemaining++,this.sourceUpdater_.removeVideo(start,end,removeFinished)),this.inbandTextTracks_)removeCuesFromTrack(start,end,this.inbandTextTracks_[track]);removeCuesFromTrack(start,end,this.segmentMetadataTrack_),removeFinished()}else this.logger_("skipping remove because no source updater or starting media info")},_proto.monitorBuffer_=function monitorBuffer_(){this.checkBufferTimeout_&&window_default().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=window_default().setTimeout(this.monitorBufferTick_.bind(this),1)},_proto.monitorBufferTick_=function monitorBufferTick_(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&window_default().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=window_default().setTimeout(this.monitorBufferTick_.bind(this),500)},_proto.fillBuffer_=function fillBuffer_(){if(!this.sourceUpdater_.updating()){var segmentInfo=this.chooseNextRequest_();segmentInfo&&("number"==typeof segmentInfo.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:segmentInfo.timeline})),this.loadSegment_(segmentInfo))}},_proto.isEndOfStream_=function isEndOfStream_(mediaIndex,playlist,partIndex){if(void 0===mediaIndex&&(mediaIndex=this.mediaIndex),void 0===playlist&&(playlist=this.playlist_),void 0===partIndex&&(partIndex=this.partIndex),!playlist||!this.mediaSource_)return!1;var segment="number"==typeof mediaIndex&&playlist.segments[mediaIndex],appendedLastSegment=mediaIndex+1===playlist.segments.length,appendedLastPart=!segment||!segment.parts||partIndex+1===segment.parts.length;return playlist.endList&&"open"===this.mediaSource_.readyState&&appendedLastSegment&&appendedLastPart},_proto.chooseNextRequest_=function chooseNextRequest_(){var buffered=this.buffered_(),bufferedEnd=lastBufferedEnd(buffered)||0,bufferedTime=timeAheadOf(buffered,this.currentTime_()),preloaded=!this.hasPlayed_()&&bufferedTime>=1,haveEnoughBuffer=bufferedTime>=this.goalBufferLength_(),segments=this.playlist_.segments;if(!segments.length||preloaded||haveEnoughBuffer)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var next={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(next.isSyncRequest)next.mediaIndex=function getSyncSegmentCandidate(currentTimeline,segments,targetTime){segments=segments||[];for(var timelineSegments=[],time=0,i=0;i<segments.length;i++){var segment=segments[i];if(currentTimeline===segment.timeline&&(timelineSegments.push(i),(time+=segment.duration)>targetTime))return i}return 0===timelineSegments.length?0:timelineSegments[timelineSegments.length-1]}(this.currentTimeline_,segments,bufferedEnd);else if(null!==this.mediaIndex){var segment=segments[this.mediaIndex],partIndex="number"==typeof this.partIndex?this.partIndex:-1;next.startOfSegment=segment.end?segment.end:bufferedEnd,segment.parts&&segment.parts[partIndex+1]?(next.mediaIndex=this.mediaIndex,next.partIndex=partIndex+1):next.mediaIndex=this.mediaIndex+1}else{var _Playlist$getMediaInf=Playlist.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?bufferedEnd:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),segmentIndex=_Playlist$getMediaInf.segmentIndex,startTime=_Playlist$getMediaInf.startTime,_partIndex=_Playlist$getMediaInf.partIndex;next.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+bufferedEnd:"currentTime "+this.currentTime_(),next.mediaIndex=segmentIndex,next.startOfSegment=startTime,next.partIndex=_partIndex}var nextSegment=segments[next.mediaIndex],nextPart=nextSegment&&"number"==typeof next.partIndex&&nextSegment.parts&&nextSegment.parts[next.partIndex];if(!nextSegment||"number"==typeof next.partIndex&&!nextPart)return null;if("number"!=typeof next.partIndex&&nextSegment.parts&&(next.partIndex=0,nextPart=nextSegment.parts[0]),!bufferedTime&&nextPart&&!nextPart.independent)if(0===next.partIndex){var lastSegment=segments[next.mediaIndex-1],lastSegmentLastPart=lastSegment.parts&&lastSegment.parts.length&&lastSegment.parts[lastSegment.parts.length-1];lastSegmentLastPart&&lastSegmentLastPart.independent&&(next.mediaIndex-=1,next.partIndex=lastSegment.parts.length-1,next.independent="previous segment")}else nextSegment.parts[next.partIndex-1].independent&&(next.partIndex-=1,next.independent="previous part");var ended=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return next.mediaIndex>=segments.length-1&&ended&&!this.seeking_()?null:this.generateSegmentInfo_(next)},_proto.generateSegmentInfo_=function generateSegmentInfo_(options){var independent=options.independent,playlist=options.playlist,mediaIndex=options.mediaIndex,startOfSegment=options.startOfSegment,isSyncRequest=options.isSyncRequest,partIndex=options.partIndex,forceTimestampOffset=options.forceTimestampOffset,getMediaInfoForTime=options.getMediaInfoForTime,segment=playlist.segments[mediaIndex],part="number"==typeof partIndex&&segment.parts[partIndex],segmentInfo={requestId:"segment-loader-"+Math.random(),uri:part&&part.resolvedUri||segment.resolvedUri,mediaIndex,partIndex:part?partIndex:null,isSyncRequest,startOfSegment,playlist,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:segment.timeline,duration:part&&part.duration||segment.duration,segment,part,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime,independent},overrideCheck=void 0!==forceTimestampOffset?forceTimestampOffset:this.isPendingTimestampOffset_;segmentInfo.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:segment.timeline,currentTimeline:this.currentTimeline_,startOfSegment,buffered:this.buffered_(),overrideCheck});var audioBufferedEnd=lastBufferedEnd(this.sourceUpdater_.audioBuffered());return"number"==typeof audioBufferedEnd&&(segmentInfo.audioAppendStart=audioBufferedEnd-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(segmentInfo.gopsToAlignWith=function gopsSafeToAlignWith(buffer,currentTime,mapping){if(null==currentTime||!buffer.length)return[];var i,currentTimePts=Math.ceil((currentTime-mapping+3)*clock.ONE_SECOND_IN_TS);for(i=0;i<buffer.length&&!(buffer[i].pts>currentTimePts);i++);return buffer.slice(i)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),segmentInfo},_proto.timestampOffsetForSegment_=function timestampOffsetForSegment_(options){return function timestampOffsetForSegment(_ref){var segmentTimeline=_ref.segmentTimeline,currentTimeline=_ref.currentTimeline,startOfSegment=_ref.startOfSegment,buffered=_ref.buffered;return _ref.overrideCheck||segmentTimeline!==currentTimeline?segmentTimeline<currentTimeline?startOfSegment:buffered.length?buffered.end(buffered.length-1):startOfSegment:null}(options)},_proto.earlyAbortWhenNeeded_=function earlyAbortWhenNeeded_(stats){if(!this.vhs_.tech_.paused()&&this.xhrOptions_.timeout&&this.playlist_.attributes.BANDWIDTH&&!(Date.now()-(stats.firstBytesReceivedAt||Date.now())<1e3)){var currentTime=this.currentTime_(),measuredBandwidth=stats.bandwidth,segmentDuration=this.pendingSegment_.duration,requestTimeRemaining=Playlist.estimateSegmentRequestTime(segmentDuration,measuredBandwidth,this.playlist_,stats.bytesReceived),timeUntilRebuffer$1=function timeUntilRebuffer(buffered,currentTime,playbackRate){return void 0===playbackRate&&(playbackRate=1),((buffered.length?buffered.end(buffered.length-1):0)-currentTime)/playbackRate}(this.buffered_(),currentTime,this.vhs_.tech_.playbackRate())-1;if(!(requestTimeRemaining<=timeUntilRebuffer$1)){var switchCandidate=function minRebufferMaxBandwidthSelector(settings){var master=settings.master,currentTime=settings.currentTime,bandwidth=settings.bandwidth,duration=settings.duration,segmentDuration=settings.segmentDuration,timeUntilRebuffer=settings.timeUntilRebuffer,currentTimeline=settings.currentTimeline,syncController=settings.syncController,compatiblePlaylists=master.playlists.filter((function(playlist){return!Playlist.isIncompatible(playlist)})),enabledPlaylists=compatiblePlaylists.filter(Playlist.isEnabled);enabledPlaylists.length||(enabledPlaylists=compatiblePlaylists.filter((function(playlist){return!Playlist.isDisabled(playlist)})));var rebufferingEstimates=enabledPlaylists.filter(Playlist.hasAttribute.bind(null,"BANDWIDTH")).map((function(playlist){var numRequests=syncController.getSyncPoint(playlist,duration,currentTimeline,currentTime)?1:2;return{playlist,rebufferingImpact:Playlist.estimateSegmentRequestTime(segmentDuration,bandwidth,playlist)*numRequests-timeUntilRebuffer}})),noRebufferingPlaylists=rebufferingEstimates.filter((function(estimate){return estimate.rebufferingImpact<=0}));return stableSort(noRebufferingPlaylists,(function(a,b){return comparePlaylistBandwidth(b.playlist,a.playlist)})),noRebufferingPlaylists.length?noRebufferingPlaylists[0]:(stableSort(rebufferingEstimates,(function(a,b){return a.rebufferingImpact-b.rebufferingImpact})),rebufferingEstimates[0]||null)}({master:this.vhs_.playlists.master,currentTime,bandwidth:measuredBandwidth,duration:this.duration_(),segmentDuration,timeUntilRebuffer:timeUntilRebuffer$1,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(switchCandidate){var timeSavedBySwitching=requestTimeRemaining-timeUntilRebuffer$1-switchCandidate.rebufferingImpact,minimumTimeSaving=.5;timeUntilRebuffer$1<=.03333333333333333&&(minimumTimeSaving=1),!switchCandidate.playlist||switchCandidate.playlist.uri===this.playlist_.uri||timeSavedBySwitching<minimumTimeSaving||(this.bandwidth=switchCandidate.playlist.attributes.BANDWIDTH*Config.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}}}},_proto.handleAbort_=function handleAbort_(segmentInfo){this.logger_("Aborting "+segmentInfoString(segmentInfo)),this.mediaRequestsAborted+=1},_proto.handleProgress_=function handleProgress_(event,simpleSegment){this.earlyAbortWhenNeeded_(simpleSegment.stats),this.checkForAbort_(simpleSegment.requestId)||this.trigger("progress")},_proto.handleTrackInfo_=function handleTrackInfo_(simpleSegment,trackInfo){this.earlyAbortWhenNeeded_(simpleSegment.stats),this.checkForAbort_(simpleSegment.requestId)||this.checkForIllegalMediaSwitch(trackInfo)||(trackInfo=trackInfo||{},function shallowEqual(a,b){if(!a&&!b||!a&&b||a&&!b)return!1;if(a===b)return!0;var akeys=Object.keys(a).sort(),bkeys=Object.keys(b).sort();if(akeys.length!==bkeys.length)return!1;for(var i=0;i<akeys.length;i++){var key=akeys[i];if(key!==bkeys[i])return!1;if(a[key]!==b[key])return!1}return!0}(this.currentMediaInfo_,trackInfo)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=trackInfo,this.currentMediaInfo_=trackInfo,this.logger_("trackinfo update",trackInfo),this.trigger("trackinfo")),this.checkForAbort_(simpleSegment.requestId)||(this.pendingSegment_.trackInfo=trackInfo,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},_proto.handleTimingInfo_=function handleTimingInfo_(simpleSegment,mediaType,timeType,time){if(this.earlyAbortWhenNeeded_(simpleSegment.stats),!this.checkForAbort_(simpleSegment.requestId)){var segmentInfo=this.pendingSegment_,timingInfoProperty=timingInfoPropertyForMedia(mediaType);segmentInfo[timingInfoProperty]=segmentInfo[timingInfoProperty]||{},segmentInfo[timingInfoProperty][timeType]=time,this.logger_("timinginfo: "+mediaType+" - "+timeType+" - "+time),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}},_proto.handleCaptions_=function handleCaptions_(simpleSegment,captionData){var _this2=this;if(this.earlyAbortWhenNeeded_(simpleSegment.stats),!this.checkForAbort_(simpleSegment.requestId))if(0!==captionData.length)if(this.pendingSegment_.hasAppendedData_){var timestampOffset=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),captionTracks={};captionData.forEach((function(caption){captionTracks[caption.stream]=captionTracks[caption.stream]||{startTime:1/0,captions:[],endTime:0};var captionTrack=captionTracks[caption.stream];captionTrack.startTime=Math.min(captionTrack.startTime,caption.startTime+timestampOffset),captionTrack.endTime=Math.max(captionTrack.endTime,caption.endTime+timestampOffset),captionTrack.captions.push(caption)})),Object.keys(captionTracks).forEach((function(trackName){var _captionTracks$trackN=captionTracks[trackName],startTime=_captionTracks$trackN.startTime,endTime=_captionTracks$trackN.endTime,captions=_captionTracks$trackN.captions,inbandTextTracks=_this2.inbandTextTracks_;_this2.logger_("adding cues from "+startTime+" -> "+endTime+" for "+trackName),function createCaptionsTrackIfNotExists(inbandTextTracks,tech,captionStream){if(!inbandTextTracks[captionStream]){tech.trigger({type:"usage",name:"vhs-608"}),tech.trigger({type:"usage",name:"hls-608"});var instreamId=captionStream;/^cc708_/.test(captionStream)&&(instreamId="SERVICE"+captionStream.split("_")[1]);var track=tech.textTracks().getTrackById(instreamId);if(track)inbandTextTracks[captionStream]=track;else{var label=captionStream,language=captionStream,def=!1,captionService=(tech.options_.vhs&&tech.options_.vhs.captionServices||{})[instreamId];captionService&&(label=captionService.label,language=captionService.language,def=captionService.default),inbandTextTracks[captionStream]=tech.addRemoteTextTrack({kind:"captions",id:instreamId,default:def,label,language},!1).track}}}(inbandTextTracks,_this2.vhs_.tech_,trackName),removeCuesFromTrack(startTime,endTime,inbandTextTracks[trackName]),function addCaptionData(_ref){var inbandTextTracks=_ref.inbandTextTracks,captionArray=_ref.captionArray,timestampOffset=_ref.timestampOffset;if(captionArray){var Cue=window_default().WebKitDataCue||window_default().VTTCue;captionArray.forEach((function(caption){var track=caption.stream;inbandTextTracks[track].addCue(new Cue(caption.startTime+timestampOffset,caption.endTime+timestampOffset,caption.text))}))}}({captionArray:captions,inbandTextTracks,timestampOffset})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}else this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,simpleSegment,captionData));else this.logger_("SegmentLoader received no captions from a caption event")},_proto.handleId3_=function handleId3_(simpleSegment,id3Frames,dispatchType){if(this.earlyAbortWhenNeeded_(simpleSegment.stats),!this.checkForAbort_(simpleSegment.requestId))if(this.pendingSegment_.hasAppendedData_){var timestampOffset=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();!function createMetadataTrackIfNotExists(inbandTextTracks,dispatchType,tech){inbandTextTracks.metadataTrack_||(inbandTextTracks.metadataTrack_=tech.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,inbandTextTracks.metadataTrack_.inBandMetadataTrackDispatchType=dispatchType)}(this.inbandTextTracks_,dispatchType,this.vhs_.tech_),addMetadata({inbandTextTracks:this.inbandTextTracks_,metadataArray:id3Frames,timestampOffset,videoDuration:this.duration_()})}else this.metadataQueue_.id3.push(this.handleId3_.bind(this,simpleSegment,id3Frames,dispatchType))},_proto.processMetadataQueue_=function processMetadataQueue_(){this.metadataQueue_.id3.forEach((function(fn){return fn()})),this.metadataQueue_.caption.forEach((function(fn){return fn()})),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},_proto.processCallQueue_=function processCallQueue_(){var callQueue=this.callQueue_;this.callQueue_=[],callQueue.forEach((function(fun){return fun()}))},_proto.processLoadQueue_=function processLoadQueue_(){var loadQueue=this.loadQueue_;this.loadQueue_=[],loadQueue.forEach((function(fun){return fun()}))},_proto.hasEnoughInfoToLoad_=function hasEnoughInfoToLoad_(){if("audio"!==this.loaderType_)return!0;var segmentInfo=this.pendingSegment_;return!!segmentInfo&&(!this.getCurrentMediaInfo_()||!shouldWaitForTimelineChange({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:segmentInfo.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},_proto.getCurrentMediaInfo_=function getCurrentMediaInfo_(segmentInfo){return void 0===segmentInfo&&(segmentInfo=this.pendingSegment_),segmentInfo&&segmentInfo.trackInfo||this.currentMediaInfo_},_proto.getMediaInfo_=function getMediaInfo_(segmentInfo){return void 0===segmentInfo&&(segmentInfo=this.pendingSegment_),this.getCurrentMediaInfo_(segmentInfo)||this.startingMediaInfo_},_proto.hasEnoughInfoToAppend_=function hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var segmentInfo=this.pendingSegment_,trackInfo=this.getCurrentMediaInfo_();if(!segmentInfo||!trackInfo)return!1;var hasAudio=trackInfo.hasAudio,hasVideo=trackInfo.hasVideo,isMuxed=trackInfo.isMuxed;return!(hasVideo&&!segmentInfo.videoTimingInfo)&&(!(hasAudio&&!this.audioDisabled_&&!isMuxed&&!segmentInfo.audioTimingInfo)&&!shouldWaitForTimelineChange({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:segmentInfo.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},_proto.handleData_=function handleData_(simpleSegment,result){if(this.earlyAbortWhenNeeded_(simpleSegment.stats),!this.checkForAbort_(simpleSegment.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var segmentInfo=this.pendingSegment_;if(this.setTimeMapping_(segmentInfo.timeline),this.updateMediaSecondsLoaded_(segmentInfo.part||segmentInfo.segment),"closed"!==this.mediaSource_.readyState){if(simpleSegment.map&&(simpleSegment.map=this.initSegmentForMap(simpleSegment.map,!0),segmentInfo.segment.map=simpleSegment.map),simpleSegment.key&&this.segmentKey(simpleSegment.key,!0),segmentInfo.isFmp4=simpleSegment.isFmp4,segmentInfo.timingInfo=segmentInfo.timingInfo||{},segmentInfo.isFmp4)this.trigger("fmp4"),segmentInfo.timingInfo.start=segmentInfo[timingInfoPropertyForMedia(result.type)].start;else{var firstVideoFrameTimeForData,trackInfo=this.getCurrentMediaInfo_(),useVideoTimingInfo="main"===this.loaderType_&&trackInfo&&trackInfo.hasVideo;useVideoTimingInfo&&(firstVideoFrameTimeForData=segmentInfo.videoTimingInfo.start),segmentInfo.timingInfo.start=this.trueSegmentStart_({currentStart:segmentInfo.timingInfo.start,playlist:segmentInfo.playlist,mediaIndex:segmentInfo.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo,firstVideoFrameTimeForData,videoTimingInfo:segmentInfo.videoTimingInfo,audioTimingInfo:segmentInfo.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(segmentInfo,result.type),this.updateSourceBufferTimestampOffset_(segmentInfo),segmentInfo.isSyncRequest){this.updateTimingInfoEnd_(segmentInfo),this.syncController_.saveSegmentTimingInfo({segmentInfo,shouldSaveTimelineMapping:"main"===this.loaderType_});var next=this.chooseNextRequest_();if(next.mediaIndex!==segmentInfo.mediaIndex||next.partIndex!==segmentInfo.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}segmentInfo.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(segmentInfo,result)}}else this.callQueue_.push(this.handleData_.bind(this,simpleSegment,result))},_proto.updateAppendInitSegmentStatus=function updateAppendInitSegmentStatus(segmentInfo,type){"main"!==this.loaderType_||"number"!=typeof segmentInfo.timestampOffset||segmentInfo.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[type]!==segmentInfo.playlist&&(this.appendInitSegment_[type]=!0)},_proto.getInitSegmentAndUpdateState_=function getInitSegmentAndUpdateState_(_ref4){var type=_ref4.type,initSegment=_ref4.initSegment,map=_ref4.map,playlist=_ref4.playlist;if(map){var id=initSegmentId(map);if(this.activeInitSegmentId_===id)return null;initSegment=this.initSegmentForMap(map,!0).bytes,this.activeInitSegmentId_=id}return initSegment&&this.appendInitSegment_[type]?(this.playlistOfLastInitSegment_[type]=playlist,this.appendInitSegment_[type]=!1,this.activeInitSegmentId_=null,initSegment):null},_proto.handleQuotaExceededError_=function handleQuotaExceededError_(_ref5,error){var _this3=this,segmentInfo=_ref5.segmentInfo,type=_ref5.type,bytes=_ref5.bytes,audioBuffered=this.sourceUpdater_.audioBuffered(),videoBuffered=this.sourceUpdater_.videoBuffered();audioBuffered.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+timeRangesToArray(audioBuffered).join(", ")),videoBuffered.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+timeRangesToArray(videoBuffered).join(", "));var audioBufferStart=audioBuffered.length?audioBuffered.start(0):0,audioBufferEnd=audioBuffered.length?audioBuffered.end(audioBuffered.length-1):0,videoBufferStart=videoBuffered.length?videoBuffered.start(0):0,videoBufferEnd=videoBuffered.length?videoBuffered.end(videoBuffered.length-1):0;if(audioBufferEnd-audioBufferStart<=1&&videoBufferEnd-videoBufferStart<=1)return this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: "+bytes.byteLength+", audio buffer: "+timeRangesToArray(audioBuffered).join(", ")+", video buffer: "+timeRangesToArray(videoBuffered).join(", ")+", "),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo,type,bytes}));var timeToRemoveUntil=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+timeToRemoveUntil),this.remove(0,timeToRemoveUntil,(function(){_this3.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),_this3.waitingOnRemove_=!1,_this3.quotaExceededErrorRetryTimeout_=window_default().setTimeout((function(){_this3.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),_this3.quotaExceededErrorRetryTimeout_=null,_this3.processCallQueue_()}),1e3)}),!0)},_proto.handleAppendError_=function handleAppendError_(_ref6,error){var segmentInfo=_ref6.segmentInfo,type=_ref6.type,bytes=_ref6.bytes;error&&(22!==error.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",error),this.error(type+" append of "+bytes.length+"b failed for segment #"+segmentInfo.mediaIndex+" in playlist "+segmentInfo.playlist.id),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo,type,bytes}))},_proto.appendToSourceBuffer_=function appendToSourceBuffer_(_ref7){var segmentInfo=_ref7.segmentInfo,type=_ref7.type,initSegment=_ref7.initSegment,data=_ref7.data,bytes=_ref7.bytes;if(!bytes){var segments=[data],byteLength=data.byteLength;initSegment&&(segments.unshift(initSegment),byteLength+=initSegment.byteLength),bytes=function concatSegments(segmentObj){var tempBuffer,offset=0;return segmentObj.bytes&&(tempBuffer=new Uint8Array(segmentObj.bytes),segmentObj.segments.forEach((function(segment){tempBuffer.set(segment,offset),offset+=segment.byteLength}))),tempBuffer}({bytes:byteLength,segments})}this.sourceUpdater_.appendBuffer({segmentInfo,type,bytes},this.handleAppendError_.bind(this,{segmentInfo,type,bytes}))},_proto.handleSegmentTimingInfo_=function handleSegmentTimingInfo_(type,requestId,segmentTimingInfo){if(this.pendingSegment_&&requestId===this.pendingSegment_.requestId){var segment=this.pendingSegment_.segment,timingInfoProperty=type+"TimingInfo";segment[timingInfoProperty]||(segment[timingInfoProperty]={}),segment[timingInfoProperty].transmuxerPrependedSeconds=segmentTimingInfo.prependedContentDuration||0,segment[timingInfoProperty].transmuxedPresentationStart=segmentTimingInfo.start.presentation,segment[timingInfoProperty].transmuxedDecodeStart=segmentTimingInfo.start.decode,segment[timingInfoProperty].transmuxedPresentationEnd=segmentTimingInfo.end.presentation,segment[timingInfoProperty].transmuxedDecodeEnd=segmentTimingInfo.end.decode,segment[timingInfoProperty].baseMediaDecodeTime=segmentTimingInfo.baseMediaDecodeTime}},_proto.appendData_=function appendData_(segmentInfo,result){var type=result.type,data=result.data;if(data&&data.byteLength&&("audio"!==type||!this.audioDisabled_)){var initSegment=this.getInitSegmentAndUpdateState_({type,initSegment:result.initSegment,playlist:segmentInfo.playlist,map:segmentInfo.isFmp4?segmentInfo.segment.map:null});this.appendToSourceBuffer_({segmentInfo,type,initSegment,data})}},_proto.loadSegment_=function loadSegment_(segmentInfo){var _this4=this;this.state="WAITING",this.pendingSegment_=segmentInfo,this.trimBackBuffer_(segmentInfo),"number"==typeof segmentInfo.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(segmentInfo):this.loadQueue_.push((function(){var options=(0,esm_extends.Z)({},segmentInfo,{forceTimestampOffset:!0});(0,esm_extends.Z)(segmentInfo,_this4.generateSegmentInfo_(options)),_this4.isPendingTimestampOffset_=!1,_this4.updateTransmuxerAndRequestSegment_(segmentInfo)}))},_proto.updateTransmuxerAndRequestSegment_=function updateTransmuxerAndRequestSegment_(segmentInfo){var _this5=this;this.shouldUpdateTransmuxerTimestampOffset_(segmentInfo.timestampOffset)&&(this.gopBuffer_.length=0,segmentInfo.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:segmentInfo.timestampOffset}));var simpleSegment=this.createSimplifiedSegmentObj_(segmentInfo),isEndOfStream=this.isEndOfStream_(segmentInfo.mediaIndex,segmentInfo.playlist,segmentInfo.partIndex),isWalkingForward=null!==this.mediaIndex,isDiscontinuity=segmentInfo.timeline!==this.currentTimeline_&&segmentInfo.timeline>0,isEndOfTimeline=isEndOfStream||isWalkingForward&&isDiscontinuity;this.logger_("Requesting "+segmentInfoString(segmentInfo)),simpleSegment.map&&!simpleSegment.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),segmentInfo.abortRequests=mediaSegmentRequest({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:simpleSegment,abortFn:this.handleAbort_.bind(this,segmentInfo),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",segmentInfo.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",segmentInfo.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline,endedTimelineFn:function endedTimelineFn(){_this5.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function onTransmuxerLog(_ref8){var message=_ref8.message,level=_ref8.level,stream=_ref8.stream;_this5.logger_(segmentInfoString(segmentInfo)+" logged from transmuxer stream "+stream+" as a "+level+": "+message)}})},_proto.trimBackBuffer_=function trimBackBuffer_(segmentInfo){var removeToTime=function safeBackBufferTrimTime(seekable,currentTime,targetDuration){var trimTime=currentTime-Config.BACK_BUFFER_LENGTH;seekable.length&&(trimTime=Math.max(trimTime,seekable.start(0)));var maxTrimTime=currentTime-targetDuration;return Math.min(maxTrimTime,trimTime)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);removeToTime>0&&this.remove(0,removeToTime)},_proto.createSimplifiedSegmentObj_=function createSimplifiedSegmentObj_(segmentInfo){var segment=segmentInfo.segment,part=segmentInfo.part,simpleSegment={resolvedUri:part?part.resolvedUri:segment.resolvedUri,byterange:part?part.byterange:segment.byterange,requestId:segmentInfo.requestId,transmuxer:segmentInfo.transmuxer,audioAppendStart:segmentInfo.audioAppendStart,gopsToAlignWith:segmentInfo.gopsToAlignWith,part:segmentInfo.part},previousSegment=segmentInfo.playlist.segments[segmentInfo.mediaIndex-1];if(previousSegment&&previousSegment.timeline===segment.timeline&&(previousSegment.videoTimingInfo?simpleSegment.baseStartTime=previousSegment.videoTimingInfo.transmuxedDecodeEnd:previousSegment.audioTimingInfo&&(simpleSegment.baseStartTime=previousSegment.audioTimingInfo.transmuxedDecodeEnd)),segment.key){var iv=segment.key.iv||new Uint32Array([0,0,0,segmentInfo.mediaIndex+segmentInfo.playlist.mediaSequence]);simpleSegment.key=this.segmentKey(segment.key),simpleSegment.key.iv=iv}return segment.map&&(simpleSegment.map=this.initSegmentForMap(segment.map)),simpleSegment},_proto.saveTransferStats_=function saveTransferStats_(stats){this.mediaRequests+=1,stats&&(this.mediaBytesTransferred+=stats.bytesReceived,this.mediaTransferDuration+=stats.roundTripTime)},_proto.saveBandwidthRelatedStats_=function saveBandwidthRelatedStats_(duration,stats){this.pendingSegment_.byteLength=stats.bytesReceived,duration<.016666666666666666?this.logger_("Ignoring segment's bandwidth because its duration of "+duration+" is less than the min to record 0.016666666666666666"):(this.bandwidth=stats.bandwidth,this.roundTrip=stats.roundTripTime)},_proto.handleTimeout_=function handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate")},_proto.segmentRequestFinished_=function segmentRequestFinished_(error,simpleSegment,result){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,error,simpleSegment,result));else if(this.saveTransferStats_(simpleSegment.stats),this.pendingSegment_&&simpleSegment.requestId===this.pendingSegment_.requestId){if(error){if(this.pendingSegment_=null,this.state="READY",error.code===REQUEST_ERRORS_ABORTED)return;return this.pause(),error.code===REQUEST_ERRORS_TIMEOUT?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(error),void this.trigger("error"))}var segmentInfo=this.pendingSegment_;this.saveBandwidthRelatedStats_(segmentInfo.duration,simpleSegment.stats),segmentInfo.endOfAllRequests=simpleSegment.endOfAllRequests,result.gopInfo&&(this.gopBuffer_=function updateGopBuffer(buffer,gops,replace){if(!gops.length)return buffer;if(replace)return gops.slice();for(var start=gops[0].pts,i=0;i<buffer.length&&!(buffer[i].pts>=start);i++);return buffer.slice(0,i).concat(gops)}(this.gopBuffer_,result.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(segmentInfo)}},_proto.setTimeMapping_=function setTimeMapping_(timeline){var timelineMapping=this.syncController_.mappingForTimeline(timeline);null!==timelineMapping&&(this.timeMapping_=timelineMapping)},_proto.updateMediaSecondsLoaded_=function updateMediaSecondsLoaded_(segment){"number"==typeof segment.start&&"number"==typeof segment.end?this.mediaSecondsLoaded+=segment.end-segment.start:this.mediaSecondsLoaded+=segment.duration},_proto.shouldUpdateTransmuxerTimestampOffset_=function shouldUpdateTransmuxerTimestampOffset_(timestampOffset){return null!==timestampOffset&&("main"===this.loaderType_&×tampOffset!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&×tampOffset!==this.sourceUpdater_.audioTimestampOffset())},_proto.trueSegmentStart_=function trueSegmentStart_(_ref9){var currentStart=_ref9.currentStart,playlist=_ref9.playlist,mediaIndex=_ref9.mediaIndex,firstVideoFrameTimeForData=_ref9.firstVideoFrameTimeForData,currentVideoTimestampOffset=_ref9.currentVideoTimestampOffset,useVideoTimingInfo=_ref9.useVideoTimingInfo,videoTimingInfo=_ref9.videoTimingInfo,audioTimingInfo=_ref9.audioTimingInfo;if(void 0!==currentStart)return currentStart;if(!useVideoTimingInfo)return audioTimingInfo.start;var previousSegment=playlist.segments[mediaIndex-1];return 0!==mediaIndex&&previousSegment&&void 0!==previousSegment.start&&previousSegment.end===firstVideoFrameTimeForData+currentVideoTimestampOffset?videoTimingInfo.start:firstVideoFrameTimeForData},_proto.waitForAppendsToComplete_=function waitForAppendsToComplete_(segmentInfo){var trackInfo=this.getCurrentMediaInfo_(segmentInfo);if(!trackInfo)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var hasAudio=trackInfo.hasAudio,hasVideo=trackInfo.hasVideo,isMuxed=trackInfo.isMuxed,waitForVideo="main"===this.loaderType_&&hasVideo,waitForAudio=!this.audioDisabled_&&hasAudio&&!isMuxed;if(segmentInfo.waitingOnAppends=0,!segmentInfo.hasAppendedData_)return segmentInfo.timingInfo||"number"!=typeof segmentInfo.timestampOffset||(this.isPendingTimestampOffset_=!0),segmentInfo.timingInfo={start:0},segmentInfo.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(segmentInfo),this.processMetadataQueue_()),void this.checkAppendsDone_(segmentInfo);waitForVideo&&segmentInfo.waitingOnAppends++,waitForAudio&&segmentInfo.waitingOnAppends++,waitForVideo&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,segmentInfo)),waitForAudio&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,segmentInfo))},_proto.checkAppendsDone_=function checkAppendsDone_(segmentInfo){this.checkForAbort_(segmentInfo.requestId)||(segmentInfo.waitingOnAppends--,0===segmentInfo.waitingOnAppends&&this.handleAppendsDone_())},_proto.checkForIllegalMediaSwitch=function checkForIllegalMediaSwitch(trackInfo){var illegalMediaSwitchError=function illegalMediaSwitch(loaderType,startingMedia,trackInfo){return"main"===loaderType&&startingMedia&&trackInfo?trackInfo.hasAudio||trackInfo.hasVideo?startingMedia.hasVideo&&!trackInfo.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!startingMedia.hasVideo&&trackInfo.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null}(this.loaderType_,this.getCurrentMediaInfo_(),trackInfo);return!!illegalMediaSwitchError&&(this.error({message:illegalMediaSwitchError,blacklistDuration:1/0}),this.trigger("error"),!0)},_proto.updateSourceBufferTimestampOffset_=function updateSourceBufferTimestampOffset_(segmentInfo){if(null!==segmentInfo.timestampOffset&&"number"==typeof segmentInfo.timingInfo.start&&!segmentInfo.changedTimestampOffset&&"main"===this.loaderType_){var didChange=!1;segmentInfo.timestampOffset-=segmentInfo.timingInfo.start,segmentInfo.changedTimestampOffset=!0,segmentInfo.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(segmentInfo.timestampOffset),didChange=!0),segmentInfo.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(segmentInfo.timestampOffset),didChange=!0),didChange&&this.trigger("timestampoffset")}},_proto.updateTimingInfoEnd_=function updateTimingInfoEnd_(segmentInfo){segmentInfo.timingInfo=segmentInfo.timingInfo||{};var trackInfo=this.getMediaInfo_(),prioritizedTimingInfo="main"===this.loaderType_&&trackInfo&&trackInfo.hasVideo&&segmentInfo.videoTimingInfo?segmentInfo.videoTimingInfo:segmentInfo.audioTimingInfo;prioritizedTimingInfo&&(segmentInfo.timingInfo.end="number"==typeof prioritizedTimingInfo.end?prioritizedTimingInfo.end:prioritizedTimingInfo.start+segmentInfo.duration)},_proto.handleAppendsDone_=function handleAppendsDone_(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var segmentInfo=this.pendingSegment_;this.updateTimingInfoEnd_(segmentInfo),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo,shouldSaveTimelineMapping:"main"===this.loaderType_});var segmentDurationMessage=getTroublesomeSegmentDurationMessage(segmentInfo,this.sourceType_);if(segmentDurationMessage&&("warn"===segmentDurationMessage.severity?videojs.log.warn(segmentDurationMessage.message):this.logger_(segmentDurationMessage.message)),this.recordThroughput_(segmentInfo),this.pendingSegment_=null,this.state="READY",!segmentInfo.isSyncRequest||(this.trigger("syncinfoupdate"),segmentInfo.hasAppendedData_)){this.logger_("Appended "+segmentInfoString(segmentInfo)),this.addSegmentMetadataCue_(segmentInfo),this.fetchAtBuffer_=!0,this.currentTimeline_!==segmentInfo.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:segmentInfo.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:segmentInfo.timeline})),this.currentTimeline_=segmentInfo.timeline,this.trigger("syncinfoupdate");var segment=segmentInfo.segment,part=segmentInfo.part,badSegmentGuess=segment.end&&this.currentTime_()-segment.end>3*segmentInfo.playlist.targetDuration,badPartGuess=part&&part.end&&this.currentTime_()-part.end>3*segmentInfo.playlist.partTargetDuration;if(badSegmentGuess||badPartGuess)return this.logger_("bad "+(badSegmentGuess?"segment":"part")+" "+segmentInfoString(segmentInfo)),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=segmentInfo.mediaIndex,this.partIndex=segmentInfo.partIndex,this.isEndOfStream_(segmentInfo.mediaIndex,segmentInfo.playlist,segmentInfo.partIndex)&&this.endOfStream(),this.trigger("appended"),segmentInfo.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}else this.logger_("Throwing away un-appended sync request "+segmentInfoString(segmentInfo))},_proto.recordThroughput_=function recordThroughput_(segmentInfo){if(segmentInfo.duration<.016666666666666666)this.logger_("Ignoring segment's throughput because its duration of "+segmentInfo.duration+" is less than the min to record 0.016666666666666666");else{var rate=this.throughput.rate,segmentProcessingTime=Date.now()-segmentInfo.endOfAllRequests+1,segmentProcessingThroughput=Math.floor(segmentInfo.byteLength/segmentProcessingTime*8*1e3);this.throughput.rate+=(segmentProcessingThroughput-rate)/++this.throughput.count}},_proto.addSegmentMetadataCue_=function addSegmentMetadataCue_(segmentInfo){if(this.segmentMetadataTrack_){var segment=segmentInfo.segment,start=segment.start,end=segment.end;if(finite(start)&&finite(end)){removeCuesFromTrack(start,end,this.segmentMetadataTrack_);var Cue=window_default().WebKitDataCue||window_default().VTTCue,value={custom:segment.custom,dateTimeObject:segment.dateTimeObject,dateTimeString:segment.dateTimeString,bandwidth:segmentInfo.playlist.attributes.BANDWIDTH,resolution:segmentInfo.playlist.attributes.RESOLUTION,codecs:segmentInfo.playlist.attributes.CODECS,byteLength:segmentInfo.byteLength,uri:segmentInfo.uri,timeline:segmentInfo.timeline,playlist:segmentInfo.playlist.id,start,end},cue=new Cue(start,end,JSON.stringify(value));cue.value=value,this.segmentMetadataTrack_.addCue(cue)}}},SegmentLoader}(videojs.EventTarget);function noop(){}var Vhs$1,toTitleCase=function toTitleCase(string){return"string"!=typeof string?string:string.replace(/./,(function(w){return w.toUpperCase()}))},bufferTypes=["video","audio"],_updating=function updating(type,sourceUpdater){var sourceBuffer=sourceUpdater[type+"Buffer"];return sourceBuffer&&sourceBuffer.updating||sourceUpdater.queuePending[type]},shiftQueue=function shiftQueue(type,sourceUpdater){if(0!==sourceUpdater.queue.length){var queueIndex=0,queueEntry=sourceUpdater.queue[queueIndex];if("mediaSource"!==queueEntry.type){if("mediaSource"!==type&&sourceUpdater.ready()&&"closed"!==sourceUpdater.mediaSource.readyState&&!_updating(type,sourceUpdater)){if(queueEntry.type!==type){if(queueIndex=function nextQueueIndexOfType(type,queue){for(var i=0;i<queue.length;i++){var queueEntry=queue[i];if("mediaSource"===queueEntry.type)return null;if(queueEntry.type===type)return i}return null}(type,sourceUpdater.queue),null===queueIndex)return;queueEntry=sourceUpdater.queue[queueIndex]}return sourceUpdater.queue.splice(queueIndex,1),sourceUpdater.queuePending[type]=queueEntry,queueEntry.action(type,sourceUpdater),queueEntry.doneFn?void 0:(sourceUpdater.queuePending[type]=null,void shiftQueue(type,sourceUpdater))}}else sourceUpdater.updating()||"closed"===sourceUpdater.mediaSource.readyState||(sourceUpdater.queue.shift(),queueEntry.action(sourceUpdater),queueEntry.doneFn&&queueEntry.doneFn(),shiftQueue("audio",sourceUpdater),shiftQueue("video",sourceUpdater))}},cleanupBuffer=function cleanupBuffer(type,sourceUpdater){var buffer=sourceUpdater[type+"Buffer"],titleType=toTitleCase(type);buffer&&(buffer.removeEventListener("updateend",sourceUpdater["on"+titleType+"UpdateEnd_"]),buffer.removeEventListener("error",sourceUpdater["on"+titleType+"Error_"]),sourceUpdater.codecs[type]=null,sourceUpdater[type+"Buffer"]=null)},inSourceBuffers=function inSourceBuffers(mediaSource,sourceBuffer){return mediaSource&&sourceBuffer&&-1!==Array.prototype.indexOf.call(mediaSource.sourceBuffers,sourceBuffer)},actions_appendBuffer=function appendBuffer(bytes,segmentInfo,onError){return function(type,sourceUpdater){var sourceBuffer=sourceUpdater[type+"Buffer"];if(inSourceBuffers(sourceUpdater.mediaSource,sourceBuffer)){sourceUpdater.logger_("Appending segment "+segmentInfo.mediaIndex+"'s "+bytes.length+" bytes to "+type+"Buffer");try{sourceBuffer.appendBuffer(bytes)}catch(e){sourceUpdater.logger_("Error with code "+e.code+" "+(22===e.code?"(QUOTA_EXCEEDED_ERR) ":"")+"when appending segment "+segmentInfo.mediaIndex+" to "+type+"Buffer"),sourceUpdater.queuePending[type]=null,onError(e)}}}},actions_remove=function remove(start,end){return function(type,sourceUpdater){var sourceBuffer=sourceUpdater[type+"Buffer"];if(inSourceBuffers(sourceUpdater.mediaSource,sourceBuffer)){sourceUpdater.logger_("Removing "+start+" to "+end+" from "+type+"Buffer");try{sourceBuffer.remove(start,end)}catch(e){sourceUpdater.logger_("Remove "+start+" to "+end+" from "+type+"Buffer failed")}}}},actions_timestampOffset=function timestampOffset(offset){return function(type,sourceUpdater){var sourceBuffer=sourceUpdater[type+"Buffer"];inSourceBuffers(sourceUpdater.mediaSource,sourceBuffer)&&(sourceUpdater.logger_("Setting "+type+"timestampOffset to "+offset),sourceBuffer.timestampOffset=offset)}},actions_callback=function callback(_callback){return function(type,sourceUpdater){_callback()}},actions_endOfStream=function endOfStream(error){return function(sourceUpdater){if("open"===sourceUpdater.mediaSource.readyState){sourceUpdater.logger_("Calling mediaSource endOfStream("+(error||"")+")");try{sourceUpdater.mediaSource.endOfStream(error)}catch(e){videojs.log.warn("Failed to call media source endOfStream",e)}}}},actions_duration=function duration(_duration){return function(sourceUpdater){sourceUpdater.logger_("Setting mediaSource duration to "+_duration);try{sourceUpdater.mediaSource.duration=_duration}catch(e){videojs.log.warn("Failed to set media source duration",e)}}},actions_abort=function abort(){return function(type,sourceUpdater){if("open"===sourceUpdater.mediaSource.readyState){var sourceBuffer=sourceUpdater[type+"Buffer"];if(inSourceBuffers(sourceUpdater.mediaSource,sourceBuffer)){sourceUpdater.logger_("calling abort on "+type+"Buffer");try{sourceBuffer.abort()}catch(e){videojs.log.warn("Failed to abort on "+type+"Buffer",e)}}}}},actions_addSourceBuffer=function addSourceBuffer(type,codec){return function(sourceUpdater){var titleType=toTitleCase(type),mime=getMimeForCodec(codec);sourceUpdater.logger_("Adding "+type+"Buffer with codec "+codec+" to mediaSource");var sourceBuffer=sourceUpdater.mediaSource.addSourceBuffer(mime);sourceBuffer.addEventListener("updateend",sourceUpdater["on"+titleType+"UpdateEnd_"]),sourceBuffer.addEventListener("error",sourceUpdater["on"+titleType+"Error_"]),sourceUpdater.codecs[type]=codec,sourceUpdater[type+"Buffer"]=sourceBuffer}},actions_removeSourceBuffer=function removeSourceBuffer(type){return function(sourceUpdater){var sourceBuffer=sourceUpdater[type+"Buffer"];if(cleanupBuffer(type,sourceUpdater),inSourceBuffers(sourceUpdater.mediaSource,sourceBuffer)){sourceUpdater.logger_("Removing "+type+"Buffer with codec "+sourceUpdater.codecs[type]+" from mediaSource");try{sourceUpdater.mediaSource.removeSourceBuffer(sourceBuffer)}catch(e){videojs.log.warn("Failed to removeSourceBuffer "+type+"Buffer",e)}}}},actions_changeType=function changeType(codec){return function(type,sourceUpdater){var sourceBuffer=sourceUpdater[type+"Buffer"],mime=getMimeForCodec(codec);inSourceBuffers(sourceUpdater.mediaSource,sourceBuffer)&&sourceUpdater.codecs[type]!==codec&&(sourceUpdater.logger_("changing "+type+"Buffer codec from "+sourceUpdater.codecs[type]+" to "+codec),sourceBuffer.changeType(mime),sourceUpdater.codecs[type]=codec)}},pushQueue=function pushQueue(_ref){var type=_ref.type,sourceUpdater=_ref.sourceUpdater,action=_ref.action,doneFn=_ref.doneFn,name=_ref.name;sourceUpdater.queue.push({type,action,doneFn,name}),shiftQueue(type,sourceUpdater)},onUpdateend=function onUpdateend(type,sourceUpdater){return function(e){if(sourceUpdater.queuePending[type]){var doneFn=sourceUpdater.queuePending[type].doneFn;sourceUpdater.queuePending[type]=null,doneFn&&doneFn(sourceUpdater[type+"Error_"])}shiftQueue(type,sourceUpdater)}},SourceUpdater=function(_videojs$EventTarget){function SourceUpdater(mediaSource){var _this;return(_this=_videojs$EventTarget.call(this)||this).mediaSource=mediaSource,_this.sourceopenListener_=function(){return shiftQueue("mediaSource",(0,assertThisInitialized.Z)(_this))},_this.mediaSource.addEventListener("sourceopen",_this.sourceopenListener_),_this.logger_=logger("SourceUpdater"),_this.audioTimestampOffset_=0,_this.videoTimestampOffset_=0,_this.queue=[],_this.queuePending={audio:null,video:null},_this.delayedAudioAppendQueue_=[],_this.videoAppendQueued_=!1,_this.codecs={},_this.onVideoUpdateEnd_=onUpdateend("video",(0,assertThisInitialized.Z)(_this)),_this.onAudioUpdateEnd_=onUpdateend("audio",(0,assertThisInitialized.Z)(_this)),_this.onVideoError_=function(e){_this.videoError_=e},_this.onAudioError_=function(e){_this.audioError_=e},_this.createdSourceBuffers_=!1,_this.initializedEme_=!1,_this.triggeredReady_=!1,_this}(0,inheritsLoose.Z)(SourceUpdater,_videojs$EventTarget);var _proto=SourceUpdater.prototype;return _proto.initializedEme=function initializedEme(){this.initializedEme_=!0,this.triggerReady()},_proto.hasCreatedSourceBuffers=function hasCreatedSourceBuffers(){return this.createdSourceBuffers_},_proto.hasInitializedAnyEme=function hasInitializedAnyEme(){return this.initializedEme_},_proto.ready=function ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},_proto.createSourceBuffers=function createSourceBuffers(codecs){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(codecs),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())},_proto.triggerReady=function triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))},_proto.addSourceBuffer=function addSourceBuffer(type,codec){pushQueue({type:"mediaSource",sourceUpdater:this,action:actions_addSourceBuffer(type,codec),name:"addSourceBuffer"})},_proto.abort=function abort(type){pushQueue({type,sourceUpdater:this,action:actions_abort(type),name:"abort"})},_proto.removeSourceBuffer=function removeSourceBuffer(type){this.canRemoveSourceBuffer()?pushQueue({type:"mediaSource",sourceUpdater:this,action:actions_removeSourceBuffer(type),name:"removeSourceBuffer"}):videojs.log.error("removeSourceBuffer is not supported!")},_proto.canRemoveSourceBuffer=function canRemoveSourceBuffer(){return!videojs.browser.IE_VERSION&&!videojs.browser.IS_FIREFOX&&window_default().MediaSource&&window_default().MediaSource.prototype&&"function"==typeof window_default().MediaSource.prototype.removeSourceBuffer},SourceUpdater.canChangeType=function canChangeType(){return window_default().SourceBuffer&&window_default().SourceBuffer.prototype&&"function"==typeof window_default().SourceBuffer.prototype.changeType},_proto.canChangeType=function canChangeType(){return this.constructor.canChangeType()},_proto.changeType=function changeType(type,codec){this.canChangeType()?pushQueue({type,sourceUpdater:this,action:actions_changeType(codec),name:"changeType"}):videojs.log.error("changeType is not supported!")},_proto.addOrChangeSourceBuffers=function addOrChangeSourceBuffers(codecs){var _this2=this;if(!codecs||"object"!=typeof codecs||0===Object.keys(codecs).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(codecs).forEach((function(type){var codec=codecs[type];if(!_this2.hasCreatedSourceBuffers())return _this2.addSourceBuffer(type,codec);_this2.canChangeType()&&_this2.changeType(type,codec)}))},_proto.appendBuffer=function appendBuffer(options,doneFn){var _this3=this,segmentInfo=options.segmentInfo,type=options.type,bytes=options.bytes;if(this.processedAppend_=!0,"audio"===type&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([options,doneFn]),void this.logger_("delayed audio append of "+bytes.length+" until video append");if(pushQueue({type,sourceUpdater:this,action:actions_appendBuffer(bytes,segmentInfo||{mediaIndex:-1},doneFn),doneFn,name:"appendBuffer"}),"video"===type){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;var queue=this.delayedAudioAppendQueue_.slice();this.logger_("queuing delayed audio "+queue.length+" appendBuffers"),this.delayedAudioAppendQueue_.length=0,queue.forEach((function(que){_this3.appendBuffer.apply(_this3,que)}))}},_proto.audioBuffered=function audioBuffered(){return inSourceBuffers(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:videojs.createTimeRange()},_proto.videoBuffered=function videoBuffered(){return inSourceBuffers(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:videojs.createTimeRange()},_proto.buffered=function buffered(){var video=inSourceBuffers(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,audio=inSourceBuffers(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return audio&&!video?this.audioBuffered():video&&!audio?this.videoBuffered():function bufferIntersection(bufferA,bufferB){var start=null,end=null,arity=0,extents=[],ranges=[];if(!(bufferA&&bufferA.length&&bufferB&&bufferB.length))return videojs.createTimeRange();for(var count=bufferA.length;count--;)extents.push({time:bufferA.start(count),type:"start"}),extents.push({time:bufferA.end(count),type:"end"});for(count=bufferB.length;count--;)extents.push({time:bufferB.start(count),type:"start"}),extents.push({time:bufferB.end(count),type:"end"});for(extents.sort((function(a,b){return a.time-b.time})),count=0;count<extents.length;count++)"start"===extents[count].type?2==++arity&&(start=extents[count].time):"end"===extents[count].type&&1==--arity&&(end=extents[count].time),null!==start&&null!==end&&(ranges.push([start,end]),start=null,end=null);return videojs.createTimeRanges(ranges)}(this.audioBuffered(),this.videoBuffered())},_proto.setDuration=function setDuration(duration,doneFn){void 0===doneFn&&(doneFn=noop),pushQueue({type:"mediaSource",sourceUpdater:this,action:actions_duration(duration),name:"duration",doneFn})},_proto.endOfStream=function endOfStream(error,doneFn){void 0===error&&(error=null),void 0===doneFn&&(doneFn=noop),"string"!=typeof error&&(error=void 0),pushQueue({type:"mediaSource",sourceUpdater:this,action:actions_endOfStream(error),name:"endOfStream",doneFn})},_proto.removeAudio=function removeAudio(start,end,done){void 0===done&&(done=noop),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?pushQueue({type:"audio",sourceUpdater:this,action:actions_remove(start,end),doneFn:done,name:"remove"}):done()},_proto.removeVideo=function removeVideo(start,end,done){void 0===done&&(done=noop),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?pushQueue({type:"video",sourceUpdater:this,action:actions_remove(start,end),doneFn:done,name:"remove"}):done()},_proto.updating=function updating(){return!(!_updating("audio",this)&&!_updating("video",this))},_proto.audioTimestampOffset=function audioTimestampOffset(offset){return void 0!==offset&&this.audioBuffer&&this.audioTimestampOffset_!==offset&&(pushQueue({type:"audio",sourceUpdater:this,action:actions_timestampOffset(offset),name:"timestampOffset"}),this.audioTimestampOffset_=offset),this.audioTimestampOffset_},_proto.videoTimestampOffset=function videoTimestampOffset(offset){return void 0!==offset&&this.videoBuffer&&this.videoTimestampOffset!==offset&&(pushQueue({type:"video",sourceUpdater:this,action:actions_timestampOffset(offset),name:"timestampOffset"}),this.videoTimestampOffset_=offset),this.videoTimestampOffset_},_proto.audioQueueCallback=function audioQueueCallback(callback){this.audioBuffer&&pushQueue({type:"audio",sourceUpdater:this,action:actions_callback(callback),name:"callback"})},_proto.videoQueueCallback=function videoQueueCallback(callback){this.videoBuffer&&pushQueue({type:"video",sourceUpdater:this,action:actions_callback(callback),name:"callback"})},_proto.dispose=function dispose(){var _this4=this;this.trigger("dispose"),bufferTypes.forEach((function(type){_this4.abort(type),_this4.canRemoveSourceBuffer()?_this4.removeSourceBuffer(type):_this4[type+"QueueCallback"]((function(){return cleanupBuffer(type,_this4)}))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},SourceUpdater}(videojs.EventTarget),uint8ToUtf8=function uint8ToUtf8(uintArray){return decodeURIComponent(escape(String.fromCharCode.apply(null,uintArray)))},VTT_LINE_TERMINATORS=new Uint8Array("\n\n".split("").map((function(_char3){return _char3.charCodeAt(0)}))),VTTSegmentLoader=function(_SegmentLoader){function VTTSegmentLoader(settings,options){var _this;return void 0===options&&(options={}),(_this=_SegmentLoader.call(this,settings,options)||this).mediaSource_=null,_this.subtitlesTrack_=null,_this.loaderType_="subtitle",_this.featuresNativeTextTracks_=settings.featuresNativeTextTracks,_this.shouldSaveSegmentTimingInfo_=!1,_this}(0,inheritsLoose.Z)(VTTSegmentLoader,_SegmentLoader);var _proto=VTTSegmentLoader.prototype;return _proto.createTransmuxer_=function createTransmuxer_(){return null},_proto.buffered_=function buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return videojs.createTimeRanges();var cues=this.subtitlesTrack_.cues,start=cues[0].startTime,end=cues[cues.length-1].startTime;return videojs.createTimeRanges([[start,end]])},_proto.initSegmentForMap=function initSegmentForMap(map,set){if(void 0===set&&(set=!1),!map)return null;var id=initSegmentId(map),storedMap=this.initSegments_[id];if(set&&!storedMap&&map.bytes){var combinedByteLength=VTT_LINE_TERMINATORS.byteLength+map.bytes.byteLength,combinedSegment=new Uint8Array(combinedByteLength);combinedSegment.set(map.bytes),combinedSegment.set(VTT_LINE_TERMINATORS,map.bytes.byteLength),this.initSegments_[id]=storedMap={resolvedUri:map.resolvedUri,byterange:map.byterange,bytes:combinedSegment}}return storedMap||map},_proto.couldBeginLoading_=function couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},_proto.init_=function init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},_proto.track=function track(_track){return void 0===_track||(this.subtitlesTrack_=_track,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},_proto.remove=function remove(start,end){removeCuesFromTrack(start,end,this.subtitlesTrack_)},_proto.fillBuffer_=function fillBuffer_(){var _this2=this,segmentInfo=this.chooseNextRequest_();if(segmentInfo){if(null===this.syncController_.timestampOffsetForTimeline(segmentInfo.timeline)){return this.syncController_.one("timestampoffset",(function checkTimestampOffset(){_this2.state="READY",_this2.paused()||_this2.monitorBuffer_()})),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(segmentInfo)}},_proto.timestampOffsetForSegment_=function timestampOffsetForSegment_(){return null},_proto.chooseNextRequest_=function chooseNextRequest_(){return this.skipEmptySegments_(_SegmentLoader.prototype.chooseNextRequest_.call(this))},_proto.skipEmptySegments_=function skipEmptySegments_(segmentInfo){for(;segmentInfo&&segmentInfo.segment.empty;){if(segmentInfo.mediaIndex+1>=segmentInfo.playlist.segments.length){segmentInfo=null;break}segmentInfo=this.generateSegmentInfo_({playlist:segmentInfo.playlist,mediaIndex:segmentInfo.mediaIndex+1,startOfSegment:segmentInfo.startOfSegment+segmentInfo.duration,isSyncRequest:segmentInfo.isSyncRequest})}return segmentInfo},_proto.stopForError=function stopForError(error){this.error(error),this.state="READY",this.pause(),this.trigger("error")},_proto.segmentRequestFinished_=function segmentRequestFinished_(error,simpleSegment,result){var _this3=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(simpleSegment.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(error)return error.code===REQUEST_ERRORS_TIMEOUT&&this.handleTimeout_(),error.code===REQUEST_ERRORS_ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(error);var segmentInfo=this.pendingSegment_;this.saveBandwidthRelatedStats_(segmentInfo.duration,simpleSegment.stats),this.state="APPENDING",this.trigger("appending");var segment=segmentInfo.segment;if(segment.map&&(segment.map.bytes=simpleSegment.map.bytes),segmentInfo.bytes=simpleSegment.bytes,"function"!=typeof window_default().WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var loadHandler,errorHandler=function errorHandler(){_this3.subtitlesTrack_.tech_.off("vttjsloaded",loadHandler),_this3.stopForError({message:"Error loading vtt.js"})};return loadHandler=function loadHandler(){_this3.subtitlesTrack_.tech_.off("vttjserror",errorHandler),_this3.segmentRequestFinished_(error,simpleSegment,result)},this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",loadHandler),void this.subtitlesTrack_.tech_.one("vttjserror",errorHandler)}segment.requested=!0;try{this.parseVTTCues_(segmentInfo)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(segmentInfo,this.syncController_.timelines[segmentInfo.timeline],this.playlist_),segmentInfo.cues.length?segmentInfo.timingInfo={start:segmentInfo.cues[0].startTime,end:segmentInfo.cues[segmentInfo.cues.length-1].endTime}:segmentInfo.timingInfo={start:segmentInfo.startOfSegment,end:segmentInfo.startOfSegment+segmentInfo.duration},segmentInfo.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");segmentInfo.byteLength=segmentInfo.bytes.byteLength,this.mediaSecondsLoaded+=segment.duration,segmentInfo.cues.forEach((function(cue){_this3.subtitlesTrack_.addCue(_this3.featuresNativeTextTracks_?new(window_default().VTTCue)(cue.startTime,cue.endTime,cue.text):cue)})),function removeDuplicateCuesFromTrack(track){var cues=track.cues;if(cues)for(var i=0;i<cues.length;i++){for(var duplicates=[],occurrences=0,j=0;j<cues.length;j++)cues[i].startTime===cues[j].startTime&&cues[i].endTime===cues[j].endTime&&cues[i].text===cues[j].text&&++occurrences>1&&duplicates.push(cues[j]);duplicates.length&&duplicates.forEach((function(dupe){return track.removeCue(dupe)}))}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state="READY"},_proto.handleData_=function handleData_(){},_proto.updateTimingInfoEnd_=function updateTimingInfoEnd_(){},_proto.parseVTTCues_=function parseVTTCues_(segmentInfo){var decoder,decodeBytesToString=!1;"function"==typeof window_default().TextDecoder?decoder=new(window_default().TextDecoder)("utf8"):(decoder=window_default().WebVTT.StringDecoder(),decodeBytesToString=!0);var parser=new(window_default().WebVTT.Parser)(window_default(),window_default().vttjs,decoder);if(segmentInfo.cues=[],segmentInfo.timestampmap={MPEGTS:0,LOCAL:0},parser.oncue=segmentInfo.cues.push.bind(segmentInfo.cues),parser.ontimestampmap=function(map){segmentInfo.timestampmap=map},parser.onparsingerror=function(error){videojs.log.warn("Error encountered when parsing cues: "+error.message)},segmentInfo.segment.map){var mapData=segmentInfo.segment.map.bytes;decodeBytesToString&&(mapData=uint8ToUtf8(mapData)),parser.parse(mapData)}var segmentData=segmentInfo.bytes;decodeBytesToString&&(segmentData=uint8ToUtf8(segmentData)),parser.parse(segmentData),parser.flush()},_proto.updateTimeMapping_=function updateTimeMapping_(segmentInfo,mappingObj,playlist){var segment=segmentInfo.segment;if(mappingObj)if(segmentInfo.cues.length){var timestampmap=segmentInfo.timestampmap,diff=timestampmap.MPEGTS/clock.ONE_SECOND_IN_TS-timestampmap.LOCAL+mappingObj.mapping;if(segmentInfo.cues.forEach((function(cue){cue.startTime+=diff,cue.endTime+=diff})),!playlist.syncInfo){var firstStart=segmentInfo.cues[0].startTime,lastStart=segmentInfo.cues[segmentInfo.cues.length-1].startTime;playlist.syncInfo={mediaSequence:playlist.mediaSequence+segmentInfo.mediaIndex,time:Math.min(firstStart,lastStart-segment.duration)}}}else segment.empty=!0},VTTSegmentLoader}(SegmentLoader),findAdCue=function findAdCue(track,mediaTime){for(var cues=track.cues,i=0;i<cues.length;i++){var cue=cues[i];if(mediaTime>=cue.adStartTime&&mediaTime<=cue.adEndTime)return cue}return null},syncPointStrategies=[{name:"VOD",run:function run(syncController,playlist,duration,currentTimeline,currentTime){if(duration!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:function run(syncController,playlist,duration,currentTimeline,currentTime){if(!Object.keys(syncController.timelineToDatetimeMappings).length)return null;var syncPoint=null,lastDistance=null,partsAndSegments=getPartsAndSegments(playlist);currentTime=currentTime||0;for(var i=0;i<partsAndSegments.length;i++){var partAndSegment=partsAndSegments[playlist.endList||0===currentTime?i:partsAndSegments.length-(i+1)],segment=partAndSegment.segment,datetimeMapping=syncController.timelineToDatetimeMappings[segment.timeline];if(datetimeMapping&&segment.dateTimeObject){var start=segment.dateTimeObject.getTime()/1e3+datetimeMapping;if(segment.parts&&"number"==typeof partAndSegment.partIndex)for(var z=0;z<partAndSegment.partIndex;z++)start+=segment.parts[z].duration;var distance=Math.abs(currentTime-start);if(null!==lastDistance&&(0===distance||lastDistance<distance))break;lastDistance=distance,syncPoint={time:start,segmentIndex:partAndSegment.segmentIndex,partIndex:partAndSegment.partIndex}}}return syncPoint}},{name:"Segment",run:function run(syncController,playlist,duration,currentTimeline,currentTime){var syncPoint=null,lastDistance=null;currentTime=currentTime||0;for(var partsAndSegments=getPartsAndSegments(playlist),i=0;i<partsAndSegments.length;i++){var partAndSegment=partsAndSegments[playlist.endList||0===currentTime?i:partsAndSegments.length-(i+1)],segment=partAndSegment.segment,start=partAndSegment.part&&partAndSegment.part.start||segment&&segment.start;if(segment.timeline===currentTimeline&&void 0!==start){var distance=Math.abs(currentTime-start);if(null!==lastDistance&&lastDistance<distance)break;(!syncPoint||null===lastDistance||lastDistance>=distance)&&(lastDistance=distance,syncPoint={time:start,segmentIndex:partAndSegment.segmentIndex,partIndex:partAndSegment.partIndex})}}return syncPoint}},{name:"Discontinuity",run:function run(syncController,playlist,duration,currentTimeline,currentTime){var syncPoint=null;if(currentTime=currentTime||0,playlist.discontinuityStarts&&playlist.discontinuityStarts.length)for(var lastDistance=null,i=0;i<playlist.discontinuityStarts.length;i++){var segmentIndex=playlist.discontinuityStarts[i],discontinuity=playlist.discontinuitySequence+i+1,discontinuitySync=syncController.discontinuities[discontinuity];if(discontinuitySync){var distance=Math.abs(currentTime-discontinuitySync.time);if(null!==lastDistance&&lastDistance<distance)break;(!syncPoint||null===lastDistance||lastDistance>=distance)&&(lastDistance=distance,syncPoint={time:discontinuitySync.time,segmentIndex,partIndex:null})}}return syncPoint}},{name:"Playlist",run:function run(syncController,playlist,duration,currentTimeline,currentTime){return playlist.syncInfo?{time:playlist.syncInfo.time,segmentIndex:playlist.syncInfo.mediaSequence-playlist.mediaSequence,partIndex:null}:null}}],SyncController=function(_videojs$EventTarget){function SyncController(options){var _this;return(_this=_videojs$EventTarget.call(this)||this).timelines=[],_this.discontinuities=[],_this.timelineToDatetimeMappings={},_this.logger_=logger("SyncController"),_this}(0,inheritsLoose.Z)(SyncController,_videojs$EventTarget);var _proto=SyncController.prototype;return _proto.getSyncPoint=function getSyncPoint(playlist,duration,currentTimeline,currentTime){var syncPoints=this.runStrategies_(playlist,duration,currentTimeline,currentTime);return syncPoints.length?this.selectSyncPoint_(syncPoints,{key:"time",value:currentTime}):null},_proto.getExpiredTime=function getExpiredTime(playlist,duration){if(!playlist||!playlist.segments)return null;var syncPoints=this.runStrategies_(playlist,duration,playlist.discontinuitySequence,0);if(!syncPoints.length)return null;var syncPoint=this.selectSyncPoint_(syncPoints,{key:"segmentIndex",value:0});return syncPoint.segmentIndex>0&&(syncPoint.time*=-1),Math.abs(syncPoint.time+sumDurations({defaultDuration:playlist.targetDuration,durationList:playlist.segments,startIndex:syncPoint.segmentIndex,endIndex:0}))},_proto.runStrategies_=function runStrategies_(playlist,duration,currentTimeline,currentTime){for(var syncPoints=[],i=0;i<syncPointStrategies.length;i++){var strategy=syncPointStrategies[i],syncPoint=strategy.run(this,playlist,duration,currentTimeline,currentTime);syncPoint&&(syncPoint.strategy=strategy.name,syncPoints.push({strategy:strategy.name,syncPoint}))}return syncPoints},_proto.selectSyncPoint_=function selectSyncPoint_(syncPoints,target){for(var bestSyncPoint=syncPoints[0].syncPoint,bestDistance=Math.abs(syncPoints[0].syncPoint[target.key]-target.value),bestStrategy=syncPoints[0].strategy,i=1;i<syncPoints.length;i++){var newDistance=Math.abs(syncPoints[i].syncPoint[target.key]-target.value);newDistance<bestDistance&&(bestDistance=newDistance,bestSyncPoint=syncPoints[i].syncPoint,bestStrategy=syncPoints[i].strategy)}return this.logger_("syncPoint for ["+target.key+": "+target.value+"] chosen with strategy ["+bestStrategy+"]: [time:"+bestSyncPoint.time+", segmentIndex:"+bestSyncPoint.segmentIndex+("number"==typeof bestSyncPoint.partIndex?",partIndex:"+bestSyncPoint.partIndex:"")+"]"),bestSyncPoint},_proto.saveExpiredSegmentInfo=function saveExpiredSegmentInfo(oldPlaylist,newPlaylist){var mediaSequenceDiff=newPlaylist.mediaSequence-oldPlaylist.mediaSequence;if(mediaSequenceDiff>86400)videojs.log.warn("Not saving expired segment info. Media sequence gap "+mediaSequenceDiff+" is too large.");else for(var i=mediaSequenceDiff-1;i>=0;i--){var lastRemovedSegment=oldPlaylist.segments[i];if(lastRemovedSegment&&void 0!==lastRemovedSegment.start){newPlaylist.syncInfo={mediaSequence:oldPlaylist.mediaSequence+i,time:lastRemovedSegment.start},this.logger_("playlist refresh sync: [time:"+newPlaylist.syncInfo.time+", mediaSequence: "+newPlaylist.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},_proto.setDateTimeMappingForStart=function setDateTimeMappingForStart(playlist){if(this.timelineToDatetimeMappings={},playlist.segments&&playlist.segments.length&&playlist.segments[0].dateTimeObject){var firstSegment=playlist.segments[0],playlistTimestamp=firstSegment.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[firstSegment.timeline]=-playlistTimestamp}},_proto.saveSegmentTimingInfo=function saveSegmentTimingInfo(_ref){var segmentInfo=_ref.segmentInfo,shouldSaveTimelineMapping=_ref.shouldSaveTimelineMapping,didCalculateSegmentTimeMapping=this.calculateSegmentTimeMapping_(segmentInfo,segmentInfo.timingInfo,shouldSaveTimelineMapping),segment=segmentInfo.segment;didCalculateSegmentTimeMapping&&(this.saveDiscontinuitySyncInfo_(segmentInfo),segmentInfo.playlist.syncInfo||(segmentInfo.playlist.syncInfo={mediaSequence:segmentInfo.playlist.mediaSequence+segmentInfo.mediaIndex,time:segment.start}));var dateTime=segment.dateTimeObject;segment.discontinuity&&shouldSaveTimelineMapping&&dateTime&&(this.timelineToDatetimeMappings[segment.timeline]=-dateTime.getTime()/1e3)},_proto.timestampOffsetForTimeline=function timestampOffsetForTimeline(timeline){return void 0===this.timelines[timeline]?null:this.timelines[timeline].time},_proto.mappingForTimeline=function mappingForTimeline(timeline){return void 0===this.timelines[timeline]?null:this.timelines[timeline].mapping},_proto.calculateSegmentTimeMapping_=function calculateSegmentTimeMapping_(segmentInfo,timingInfo,shouldSaveTimelineMapping){var start,end,segment=segmentInfo.segment,part=segmentInfo.part,mappingObj=this.timelines[segmentInfo.timeline];if("number"==typeof segmentInfo.timestampOffset)mappingObj={time:segmentInfo.startOfSegment,mapping:segmentInfo.startOfSegment-timingInfo.start},shouldSaveTimelineMapping&&(this.timelines[segmentInfo.timeline]=mappingObj,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+segmentInfo.timeline+": [time: "+mappingObj.time+"] [mapping: "+mappingObj.mapping+"]")),start=segmentInfo.startOfSegment,end=timingInfo.end+mappingObj.mapping;else{if(!mappingObj)return!1;start=timingInfo.start+mappingObj.mapping,end=timingInfo.end+mappingObj.mapping}return part&&(part.start=start,part.end=end),(!segment.start||start<segment.start)&&(segment.start=start),segment.end=end,!0},_proto.saveDiscontinuitySyncInfo_=function saveDiscontinuitySyncInfo_(segmentInfo){var playlist=segmentInfo.playlist,segment=segmentInfo.segment;if(segment.discontinuity)this.discontinuities[segment.timeline]={time:segment.start,accuracy:0};else if(playlist.discontinuityStarts&&playlist.discontinuityStarts.length)for(var i=0;i<playlist.discontinuityStarts.length;i++){var segmentIndex=playlist.discontinuityStarts[i],discontinuity=playlist.discontinuitySequence+i+1,mediaIndexDiff=segmentIndex-segmentInfo.mediaIndex,accuracy=Math.abs(mediaIndexDiff);if(!this.discontinuities[discontinuity]||this.discontinuities[discontinuity].accuracy>accuracy){var time=void 0;time=mediaIndexDiff<0?segment.start-sumDurations({defaultDuration:playlist.targetDuration,durationList:playlist.segments,startIndex:segmentInfo.mediaIndex,endIndex:segmentIndex}):segment.end+sumDurations({defaultDuration:playlist.targetDuration,durationList:playlist.segments,startIndex:segmentInfo.mediaIndex+1,endIndex:segmentIndex}),this.discontinuities[discontinuity]={time,accuracy}}}},_proto.dispose=function dispose(){this.trigger("dispose"),this.off()},SyncController}(videojs.EventTarget),TimelineChangeController=function(_videojs$EventTarget){function TimelineChangeController(){var _this;return(_this=_videojs$EventTarget.call(this)||this).pendingTimelineChanges_={},_this.lastTimelineChanges_={},_this}(0,inheritsLoose.Z)(TimelineChangeController,_videojs$EventTarget);var _proto=TimelineChangeController.prototype;return _proto.clearPendingTimelineChange=function clearPendingTimelineChange(type){this.pendingTimelineChanges_[type]=null,this.trigger("pendingtimelinechange")},_proto.pendingTimelineChange=function pendingTimelineChange(_ref){var type=_ref.type,from=_ref.from,to=_ref.to;return"number"==typeof from&&"number"==typeof to&&(this.pendingTimelineChanges_[type]={type,from,to},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[type]},_proto.lastTimelineChange=function lastTimelineChange(_ref2){var type=_ref2.type,from=_ref2.from,to=_ref2.to;return"number"==typeof from&&"number"==typeof to&&(this.lastTimelineChanges_[type]={type,from,to},delete this.pendingTimelineChanges_[type],this.trigger("timelinechange")),this.lastTimelineChanges_[type]},_proto.dispose=function dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},TimelineChangeController}(videojs.EventTarget),workerCode=transform(getWorkerString((function(){function createCommonjsModule(fn,basedir,module){return fn(module={path:basedir,exports:{},require:function require(path,base){return function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==base&&module.path)}},module.exports),module.exports}var createClass=createCommonjsModule((function(module){function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}module.exports=function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor},module.exports.default=module.exports,module.exports.__esModule=!0})),setPrototypeOf=createCommonjsModule((function(module){function _setPrototypeOf(o,p){return module.exports=_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},module.exports.default=module.exports,module.exports.__esModule=!0,_setPrototypeOf(o,p)}module.exports=_setPrototypeOf,module.exports.default=module.exports,module.exports.__esModule=!0})),inheritsLoose=createCommonjsModule((function(module){module.exports=function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,setPrototypeOf(subClass,superClass)},module.exports.default=module.exports,module.exports.__esModule=!0})),Stream=function(){function Stream(){this.listeners={}}var _proto=Stream.prototype;return _proto.on=function on(type,listener){this.listeners[type]||(this.listeners[type]=[]),this.listeners[type].push(listener)},_proto.off=function off(type,listener){if(!this.listeners[type])return!1;var index=this.listeners[type].indexOf(listener);return this.listeners[type]=this.listeners[type].slice(0),this.listeners[type].splice(index,1),index>-1},_proto.trigger=function trigger(type){var callbacks=this.listeners[type];if(callbacks)if(2===arguments.length)for(var length=callbacks.length,i=0;i<length;++i)callbacks[i].call(this,arguments[1]);else for(var args=Array.prototype.slice.call(arguments,1),_length=callbacks.length,_i=0;_i<_length;++_i)callbacks[_i].apply(this,args)},_proto.dispose=function dispose(){this.listeners={}},_proto.pipe=function pipe(destination){this.on("data",(function(data){destination.push(data)}))},Stream}();var aesTables=null,AES=function(){function AES(key){var i,j,tmp;aesTables||(aesTables=function precompute(){var i,x,xInv,x2,x4,s,tEnc,tDec,tables=[[[],[],[],[],[]],[[],[],[],[],[]]],encTable=tables[0],decTable=tables[1],sbox=encTable[4],sboxInv=decTable[4],d=[],th=[];for(i=0;i<256;i++)th[(d[i]=i<<1^283*(i>>7))^i]=i;for(x=xInv=0;!sbox[x];x^=x2||1,xInv=th[xInv]||1)for(s=(s=xInv^xInv<<1^xInv<<2^xInv<<3^xInv<<4)>>8^255&s^99,sbox[x]=s,sboxInv[s]=x,tDec=16843009*d[x4=d[x2=d[x]]]^65537*x4^257*x2^16843008*x,tEnc=257*d[s]^16843008*s,i=0;i<4;i++)encTable[i][x]=tEnc=tEnc<<24^tEnc>>>8,decTable[i][s]=tDec=tDec<<24^tDec>>>8;for(i=0;i<5;i++)encTable[i]=encTable[i].slice(0),decTable[i]=decTable[i].slice(0);return tables}()),this._tables=[[aesTables[0][0].slice(),aesTables[0][1].slice(),aesTables[0][2].slice(),aesTables[0][3].slice(),aesTables[0][4].slice()],[aesTables[1][0].slice(),aesTables[1][1].slice(),aesTables[1][2].slice(),aesTables[1][3].slice(),aesTables[1][4].slice()]];var sbox=this._tables[0][4],decTable=this._tables[1],keyLen=key.length,rcon=1;if(4!==keyLen&&6!==keyLen&&8!==keyLen)throw new Error("Invalid aes key size");var encKey=key.slice(0),decKey=[];for(this._key=[encKey,decKey],i=keyLen;i<4*keyLen+28;i++)tmp=encKey[i-1],(i%keyLen==0||8===keyLen&&i%keyLen==4)&&(tmp=sbox[tmp>>>24]<<24^sbox[tmp>>16&255]<<16^sbox[tmp>>8&255]<<8^sbox[255&tmp],i%keyLen==0&&(tmp=tmp<<8^tmp>>>24^rcon<<24,rcon=rcon<<1^283*(rcon>>7))),encKey[i]=encKey[i-keyLen]^tmp;for(j=0;i;j++,i--)tmp=encKey[3&j?i:i-4],decKey[j]=i<=4||j<4?tmp:decTable[0][sbox[tmp>>>24]]^decTable[1][sbox[tmp>>16&255]]^decTable[2][sbox[tmp>>8&255]]^decTable[3][sbox[255&tmp]]}return AES.prototype.decrypt=function decrypt(encrypted0,encrypted1,encrypted2,encrypted3,out,offset){var a2,b2,c2,i,key=this._key[1],a=encrypted0^key[0],b=encrypted3^key[1],c=encrypted2^key[2],d=encrypted1^key[3],nInnerRounds=key.length/4-2,kIndex=4,table=this._tables[1],table0=table[0],table1=table[1],table2=table[2],table3=table[3],sbox=table[4];for(i=0;i<nInnerRounds;i++)a2=table0[a>>>24]^table1[b>>16&255]^table2[c>>8&255]^table3[255&d]^key[kIndex],b2=table0[b>>>24]^table1[c>>16&255]^table2[d>>8&255]^table3[255&a]^key[kIndex+1],c2=table0[c>>>24]^table1[d>>16&255]^table2[a>>8&255]^table3[255&b]^key[kIndex+2],d=table0[d>>>24]^table1[a>>16&255]^table2[b>>8&255]^table3[255&c]^key[kIndex+3],kIndex+=4,a=a2,b=b2,c=c2;for(i=0;i<4;i++)out[(3&-i)+offset]=sbox[a>>>24]<<24^sbox[b>>16&255]<<16^sbox[c>>8&255]<<8^sbox[255&d]^key[kIndex++],a2=a,a=b,b=c,c=d,d=a2},AES}(),AsyncStream=function(_Stream){function AsyncStream(){var _this;return(_this=_Stream.call(this,Stream)||this).jobs=[],_this.delay=1,_this.timeout_=null,_this}inheritsLoose(AsyncStream,_Stream);var _proto=AsyncStream.prototype;return _proto.processJob_=function processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},_proto.push=function push(job){this.jobs.push(job),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},AsyncStream}(Stream),ntoh=function ntoh(word){return word<<24|(65280&word)<<8|(16711680&word)>>8|word>>>24},Decrypter=function(){function Decrypter(encrypted,key,initVector,done){var step=Decrypter.STEP,encrypted32=new Int32Array(encrypted.buffer),decrypted=new Uint8Array(encrypted.byteLength),i=0;for(this.asyncStream_=new AsyncStream,this.asyncStream_.push(this.decryptChunk_(encrypted32.subarray(i,i+step),key,initVector,decrypted)),i=step;i<encrypted32.length;i+=step)initVector=new Uint32Array([ntoh(encrypted32[i-4]),ntoh(encrypted32[i-3]),ntoh(encrypted32[i-2]),ntoh(encrypted32[i-1])]),this.asyncStream_.push(this.decryptChunk_(encrypted32.subarray(i,i+step),key,initVector,decrypted));this.asyncStream_.push((function(){done(null,function unpad(padded){return padded.subarray(0,padded.byteLength-padded[padded.byteLength-1])}(decrypted))}))}return Decrypter.prototype.decryptChunk_=function decryptChunk_(encrypted,key,initVector,decrypted){return function(){var bytes=function decrypt(encrypted,key,initVector){var init0,init1,init2,init3,encrypted0,encrypted1,encrypted2,encrypted3,wordIx,encrypted32=new Int32Array(encrypted.buffer,encrypted.byteOffset,encrypted.byteLength>>2),decipher=new AES(Array.prototype.slice.call(key)),decrypted=new Uint8Array(encrypted.byteLength),decrypted32=new Int32Array(decrypted.buffer);for(init0=initVector[0],init1=initVector[1],init2=initVector[2],init3=initVector[3],wordIx=0;wordIx<encrypted32.length;wordIx+=4)encrypted0=ntoh(encrypted32[wordIx]),encrypted1=ntoh(encrypted32[wordIx+1]),encrypted2=ntoh(encrypted32[wordIx+2]),encrypted3=ntoh(encrypted32[wordIx+3]),decipher.decrypt(encrypted0,encrypted1,encrypted2,encrypted3,decrypted32,wordIx),decrypted32[wordIx]=ntoh(decrypted32[wordIx]^init0),decrypted32[wordIx+1]=ntoh(decrypted32[wordIx+1]^init1),decrypted32[wordIx+2]=ntoh(decrypted32[wordIx+2]^init2),decrypted32[wordIx+3]=ntoh(decrypted32[wordIx+3]^init3),init0=encrypted0,init1=encrypted1,init2=encrypted2,init3=encrypted3;return decrypted}(encrypted,key,initVector);decrypted.set(bytes,encrypted.byteOffset)}},createClass(Decrypter,null,[{key:"STEP",get:function get(){return 32e3}}]),Decrypter}();self.onmessage=function(event){var data=event.data,encrypted=new Uint8Array(data.encrypted.bytes,data.encrypted.byteOffset,data.encrypted.byteLength),key=new Uint32Array(data.key.bytes,data.key.byteOffset,data.key.byteLength/4),iv=new Uint32Array(data.iv.bytes,data.iv.byteOffset,data.iv.byteLength/4);new Decrypter(encrypted,key,iv,(function(err,bytes){self.postMessage(function createTransferableMessage(message){var transferable={};return Object.keys(message).forEach((function(key){var value=message[key];ArrayBuffer.isView(value)?transferable[key]={bytes:value.buffer,byteOffset:value.byteOffset,byteLength:value.byteLength}:transferable[key]=value})),transferable}({source:data.source,decrypted:bytes}),[bytes.buffer])}))}}))),Decrypter=factory(workerCode),audioTrackKind_=function audioTrackKind_(properties){var kind=properties.default?"main":"alternative";return properties.characteristics&&properties.characteristics.indexOf("public.accessibility.describes-video")>=0&&(kind="main-desc"),kind},stopLoaders=function stopLoaders(segmentLoader,mediaType){segmentLoader.abort(),segmentLoader.pause(),mediaType&&mediaType.activePlaylistLoader&&(mediaType.activePlaylistLoader.pause(),mediaType.activePlaylistLoader=null)},startLoaders=function startLoaders(playlistLoader,mediaType){mediaType.activePlaylistLoader=playlistLoader,playlistLoader.load()},onError={AUDIO:function AUDIO(type,settings){return function(){var segmentLoader=settings.segmentLoaders[type],mediaType=settings.mediaTypes[type],blacklistCurrentPlaylist=settings.blacklistCurrentPlaylist;stopLoaders(segmentLoader,mediaType);var activeTrack=mediaType.activeTrack(),activeGroup=mediaType.activeGroup(),id=(activeGroup.filter((function(group){return group.default}))[0]||activeGroup[0]).id,defaultTrack=mediaType.tracks[id];if(activeTrack!==defaultTrack){for(var trackId in videojs.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),mediaType.tracks)mediaType.tracks[trackId].enabled=mediaType.tracks[trackId]===defaultTrack;mediaType.onTrackChanged()}else blacklistCurrentPlaylist({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function SUBTITLES(type,settings){return function(){var segmentLoader=settings.segmentLoaders[type],mediaType=settings.mediaTypes[type];videojs.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),stopLoaders(segmentLoader,mediaType);var track=mediaType.activeTrack();track&&(track.mode="disabled"),mediaType.onTrackChanged()}}},setupListeners={AUDIO:function AUDIO(type,playlistLoader,settings){if(playlistLoader){var tech=settings.tech,requestOptions=settings.requestOptions,segmentLoader=settings.segmentLoaders[type];playlistLoader.on("loadedmetadata",(function(){var media=playlistLoader.media();segmentLoader.playlist(media,requestOptions),(!tech.paused()||media.endList&&"none"!==tech.preload())&&segmentLoader.load()})),playlistLoader.on("loadedplaylist",(function(){segmentLoader.playlist(playlistLoader.media(),requestOptions),tech.paused()||segmentLoader.load()})),playlistLoader.on("error",onError[type](type,settings))}},SUBTITLES:function SUBTITLES(type,playlistLoader,settings){var tech=settings.tech,requestOptions=settings.requestOptions,segmentLoader=settings.segmentLoaders[type],mediaType=settings.mediaTypes[type];playlistLoader.on("loadedmetadata",(function(){var media=playlistLoader.media();segmentLoader.playlist(media,requestOptions),segmentLoader.track(mediaType.activeTrack()),(!tech.paused()||media.endList&&"none"!==tech.preload())&&segmentLoader.load()})),playlistLoader.on("loadedplaylist",(function(){segmentLoader.playlist(playlistLoader.media(),requestOptions),tech.paused()||segmentLoader.load()})),playlistLoader.on("error",onError[type](type,settings))}},initialize={AUDIO:function AUDIO(type,settings){var vhs=settings.vhs,sourceType=settings.sourceType,segmentLoader=settings.segmentLoaders[type],requestOptions=settings.requestOptions,mediaGroups=settings.master.mediaGroups,_settings$mediaTypes$=settings.mediaTypes[type],groups=_settings$mediaTypes$.groups,tracks=_settings$mediaTypes$.tracks,logger_=_settings$mediaTypes$.logger_,masterPlaylistLoader=settings.masterPlaylistLoader,audioOnlyMaster=isAudioOnly(masterPlaylistLoader.master);for(var groupId in mediaGroups[type]&&0!==Object.keys(mediaGroups[type]).length||(mediaGroups[type]={main:{default:{default:!0}}},audioOnlyMaster&&(mediaGroups[type].main.default.playlists=masterPlaylistLoader.master.playlists)),mediaGroups[type])for(var variantLabel in groups[groupId]||(groups[groupId]=[]),mediaGroups[type][groupId]){var properties=mediaGroups[type][groupId][variantLabel],playlistLoader=void 0;if(audioOnlyMaster?(logger_("AUDIO group '"+groupId+"' label '"+variantLabel+"' is a master playlist"),properties.isMasterPlaylist=!0,playlistLoader=null):playlistLoader="vhs-json"===sourceType&&properties.playlists?new PlaylistLoader(properties.playlists[0],vhs,requestOptions):properties.resolvedUri?new PlaylistLoader(properties.resolvedUri,vhs,requestOptions):properties.playlists&&"dash"===sourceType?new DashPlaylistLoader(properties.playlists[0],vhs,requestOptions,masterPlaylistLoader):null,properties=videojs.mergeOptions({id:variantLabel,playlistLoader},properties),setupListeners[type](type,properties.playlistLoader,settings),groups[groupId].push(properties),void 0===tracks[variantLabel]){var track=new videojs.AudioTrack({id:variantLabel,kind:audioTrackKind_(properties),enabled:!1,language:properties.language,default:properties.default,label:variantLabel});tracks[variantLabel]=track}}segmentLoader.on("error",onError[type](type,settings))},SUBTITLES:function SUBTITLES(type,settings){var tech=settings.tech,vhs=settings.vhs,sourceType=settings.sourceType,segmentLoader=settings.segmentLoaders[type],requestOptions=settings.requestOptions,mediaGroups=settings.master.mediaGroups,_settings$mediaTypes$2=settings.mediaTypes[type],groups=_settings$mediaTypes$2.groups,tracks=_settings$mediaTypes$2.tracks,masterPlaylistLoader=settings.masterPlaylistLoader;for(var groupId in mediaGroups[type])for(var variantLabel in groups[groupId]||(groups[groupId]=[]),mediaGroups[type][groupId])if(!mediaGroups[type][groupId][variantLabel].forced){var properties=mediaGroups[type][groupId][variantLabel],playlistLoader=void 0;if("hls"===sourceType)playlistLoader=new PlaylistLoader(properties.resolvedUri,vhs,requestOptions);else if("dash"===sourceType){if(!properties.playlists.filter((function(p){return p.excludeUntil!==1/0})).length)return;playlistLoader=new DashPlaylistLoader(properties.playlists[0],vhs,requestOptions,masterPlaylistLoader)}else"vhs-json"===sourceType&&(playlistLoader=new PlaylistLoader(properties.playlists?properties.playlists[0]:properties.resolvedUri,vhs,requestOptions));if(properties=videojs.mergeOptions({id:variantLabel,playlistLoader},properties),setupListeners[type](type,properties.playlistLoader,settings),groups[groupId].push(properties),void 0===tracks[variantLabel]){var track=tech.addRemoteTextTrack({id:variantLabel,kind:"subtitles",default:properties.default&&properties.autoselect,language:properties.language,label:variantLabel},!1).track;tracks[variantLabel]=track}}segmentLoader.on("error",onError[type](type,settings))},"CLOSED-CAPTIONS":function CLOSEDCAPTIONS(type,settings){var tech=settings.tech,mediaGroups=settings.master.mediaGroups,_settings$mediaTypes$3=settings.mediaTypes[type],groups=_settings$mediaTypes$3.groups,tracks=_settings$mediaTypes$3.tracks;for(var groupId in mediaGroups[type])for(var variantLabel in groups[groupId]||(groups[groupId]=[]),mediaGroups[type][groupId]){var properties=mediaGroups[type][groupId][variantLabel];if(/^(?:CC|SERVICE)/.test(properties.instreamId)){var captionServices=tech.options_.vhs&&tech.options_.vhs.captionServices||{},newProps={label:variantLabel,language:properties.language,instreamId:properties.instreamId,default:properties.default&&properties.autoselect};if(captionServices[newProps.instreamId]&&(newProps=videojs.mergeOptions(newProps,captionServices[newProps.instreamId])),void 0===newProps.default&&delete newProps.default,groups[groupId].push(videojs.mergeOptions({id:variantLabel},properties)),void 0===tracks[variantLabel]){var track=tech.addRemoteTextTrack({id:newProps.instreamId,kind:"captions",default:newProps.default,language:newProps.language,label:newProps.label},!1).track;tracks[variantLabel]=track}}}}},groupMatch=function groupMatch(list,media){for(var i=0;i<list.length;i++){if(playlistMatch(media,list[i]))return!0;if(list[i].playlists&&groupMatch(list[i].playlists,media))return!0}return!1},activeTrack={AUDIO:function AUDIO(type,settings){return function(){var tracks=settings.mediaTypes[type].tracks;for(var id in tracks)if(tracks[id].enabled)return tracks[id];return null}},SUBTITLES:function SUBTITLES(type,settings){return function(){var tracks=settings.mediaTypes[type].tracks;for(var id in tracks)if("showing"===tracks[id].mode||"hidden"===tracks[id].mode)return tracks[id];return null}}},setupMediaGroups=function setupMediaGroups(settings){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(type){initialize[type](type,settings)}));var mediaTypes=settings.mediaTypes,masterPlaylistLoader=settings.masterPlaylistLoader,tech=settings.tech,vhs=settings.vhs,_settings$segmentLoad3=settings.segmentLoaders,audioSegmentLoader=_settings$segmentLoad3.AUDIO,mainSegmentLoader=_settings$segmentLoad3.main;["AUDIO","SUBTITLES"].forEach((function(type){mediaTypes[type].activeGroup=function activeGroup(type,settings){return function(track){var masterPlaylistLoader=settings.masterPlaylistLoader,groups=settings.mediaTypes[type].groups,media=masterPlaylistLoader.media();if(!media)return null;var variants=null;media.attributes[type]&&(variants=groups[media.attributes[type]]);var groupKeys=Object.keys(groups);if(!variants)if("AUDIO"===type&&groupKeys.length>1&&isAudioOnly(settings.master))for(var i=0;i<groupKeys.length;i++){var groupPropertyList=groups[groupKeys[i]];if(groupMatch(groupPropertyList,media)){variants=groupPropertyList;break}}else groups.main?variants=groups.main:1===groupKeys.length&&(variants=groups[groupKeys[0]]);return void 0===track?variants:null!==track&&variants&&variants.filter((function(props){return props.id===track.id}))[0]||null}}(type,settings),mediaTypes[type].activeTrack=activeTrack[type](type,settings),mediaTypes[type].onGroupChanged=function onGroupChanged(type,settings){return function(){var _settings$segmentLoad=settings.segmentLoaders,segmentLoader=_settings$segmentLoad[type],mainSegmentLoader=_settings$segmentLoad.main,mediaType=settings.mediaTypes[type],activeTrack=mediaType.activeTrack(),activeGroup=mediaType.getActiveGroup(),previousActiveLoader=mediaType.activePlaylistLoader,lastGroup=mediaType.lastGroup_;activeGroup&&lastGroup&&activeGroup.id===lastGroup.id||(mediaType.lastGroup_=activeGroup,mediaType.lastTrack_=activeTrack,stopLoaders(segmentLoader,mediaType),activeGroup&&!activeGroup.isMasterPlaylist&&(activeGroup.playlistLoader?(segmentLoader.resyncLoader(),startLoaders(activeGroup.playlistLoader,mediaType)):previousActiveLoader&&mainSegmentLoader.resetEverything()))}}(type,settings),mediaTypes[type].onGroupChanging=function onGroupChanging(type,settings){return function(){var segmentLoader=settings.segmentLoaders[type];settings.mediaTypes[type].lastGroup_=null,segmentLoader.abort(),segmentLoader.pause()}}(type,settings),mediaTypes[type].onTrackChanged=function onTrackChanged(type,settings){return function(){var masterPlaylistLoader=settings.masterPlaylistLoader,_settings$segmentLoad2=settings.segmentLoaders,segmentLoader=_settings$segmentLoad2[type],mainSegmentLoader=_settings$segmentLoad2.main,mediaType=settings.mediaTypes[type],activeTrack=mediaType.activeTrack(),activeGroup=mediaType.getActiveGroup(),previousActiveLoader=mediaType.activePlaylistLoader,lastTrack=mediaType.lastTrack_;if((!lastTrack||!activeTrack||lastTrack.id!==activeTrack.id)&&(mediaType.lastGroup_=activeGroup,mediaType.lastTrack_=activeTrack,stopLoaders(segmentLoader,mediaType),activeGroup)){if(activeGroup.isMasterPlaylist){if(!activeTrack||!lastTrack||activeTrack.id===lastTrack.id)return;var mpc=settings.vhs.masterPlaylistController_,newPlaylist=mpc.selectPlaylist();if(mpc.media()===newPlaylist)return;return mediaType.logger_("track change. Switching master audio from "+lastTrack.id+" to "+activeTrack.id),masterPlaylistLoader.pause(),mainSegmentLoader.resetEverything(),void mpc.fastQualityChange_(newPlaylist)}if("AUDIO"===type){if(!activeGroup.playlistLoader)return mainSegmentLoader.setAudio(!0),void mainSegmentLoader.resetEverything();segmentLoader.setAudio(!0),mainSegmentLoader.setAudio(!1)}previousActiveLoader!==activeGroup.playlistLoader?(segmentLoader.track&&segmentLoader.track(activeTrack),segmentLoader.resetEverything(),startLoaders(activeGroup.playlistLoader,mediaType)):startLoaders(activeGroup.playlistLoader,mediaType)}}}(type,settings),mediaTypes[type].getActiveGroup=function getActiveGroup(type,_ref){var mediaTypes=_ref.mediaTypes;return function(){var activeTrack_=mediaTypes[type].activeTrack();return activeTrack_?mediaTypes[type].activeGroup(activeTrack_):null}}(type,settings)}));var audioGroup=mediaTypes.AUDIO.activeGroup();if(audioGroup){var groupId=(audioGroup.filter((function(group){return group.default}))[0]||audioGroup[0]).id;mediaTypes.AUDIO.tracks[groupId].enabled=!0,mediaTypes.AUDIO.onGroupChanged(),mediaTypes.AUDIO.onTrackChanged(),mediaTypes.AUDIO.getActiveGroup().playlistLoader?(mainSegmentLoader.setAudio(!1),audioSegmentLoader.setAudio(!0)):mainSegmentLoader.setAudio(!0)}masterPlaylistLoader.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(type){return mediaTypes[type].onGroupChanged()}))})),masterPlaylistLoader.on("mediachanging",(function(){["AUDIO","SUBTITLES"].forEach((function(type){return mediaTypes[type].onGroupChanging()}))}));var onAudioTrackChanged=function onAudioTrackChanged(){mediaTypes.AUDIO.onTrackChanged(),tech.trigger({type:"usage",name:"vhs-audio-change"}),tech.trigger({type:"usage",name:"hls-audio-change"})};for(var id in tech.audioTracks().addEventListener("change",onAudioTrackChanged),tech.remoteTextTracks().addEventListener("change",mediaTypes.SUBTITLES.onTrackChanged),vhs.on("dispose",(function(){tech.audioTracks().removeEventListener("change",onAudioTrackChanged),tech.remoteTextTracks().removeEventListener("change",mediaTypes.SUBTITLES.onTrackChanged)})),tech.clearTracks("audio"),mediaTypes.AUDIO.tracks)tech.audioTracks().addTrack(mediaTypes.AUDIO.tracks[id])},loaderStats=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],sumLoaderStat=function sumLoaderStat(stat){return this.audioSegmentLoader_[stat]+this.mainSegmentLoader_[stat]},MasterPlaylistController=function(_videojs$EventTarget){function MasterPlaylistController(options){var _this;_this=_videojs$EventTarget.call(this)||this;var src=options.src,handleManifestRedirects=options.handleManifestRedirects,withCredentials=options.withCredentials,tech=options.tech,bandwidth=options.bandwidth,externVhs=options.externVhs,useCueTags=options.useCueTags,blacklistDuration=options.blacklistDuration,enableLowInitialPlaylist=options.enableLowInitialPlaylist,sourceType=options.sourceType,cacheEncryptionKeys=options.cacheEncryptionKeys,experimentalBufferBasedABR=options.experimentalBufferBasedABR,experimentalLeastPixelDiffSelector=options.experimentalLeastPixelDiffSelector,captionServices=options.captionServices;if(!src)throw new Error("A non-empty playlist URL or JSON manifest string is required");var maxPlaylistRetries=options.maxPlaylistRetries;null==maxPlaylistRetries&&(maxPlaylistRetries=1/0),Vhs$1=externVhs,_this.experimentalBufferBasedABR=Boolean(experimentalBufferBasedABR),_this.experimentalLeastPixelDiffSelector=Boolean(experimentalLeastPixelDiffSelector),_this.withCredentials=withCredentials,_this.tech_=tech,_this.vhs_=tech.vhs,_this.sourceType_=sourceType,_this.useCueTags_=useCueTags,_this.blacklistDuration=blacklistDuration,_this.maxPlaylistRetries=maxPlaylistRetries,_this.enableLowInitialPlaylist=enableLowInitialPlaylist,_this.useCueTags_&&(_this.cueTagsTrack_=_this.tech_.addTextTrack("metadata","ad-cues"),_this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),_this.requestOptions_={withCredentials,handleManifestRedirects,maxPlaylistRetries,timeout:null},_this.on("error",_this.pauseLoading),_this.mediaTypes_=function createMediaTypes(){var mediaTypes={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(type){mediaTypes[type]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:noop,activeTrack:noop,getActiveGroup:noop,onGroupChanged:noop,onTrackChanged:noop,lastTrack_:null,logger_:logger("MediaGroups["+type+"]")}})),mediaTypes}(),_this.mediaSource=new(window_default().MediaSource),_this.handleDurationChange_=_this.handleDurationChange_.bind((0,assertThisInitialized.Z)(_this)),_this.handleSourceOpen_=_this.handleSourceOpen_.bind((0,assertThisInitialized.Z)(_this)),_this.handleSourceEnded_=_this.handleSourceEnded_.bind((0,assertThisInitialized.Z)(_this)),_this.mediaSource.addEventListener("durationchange",_this.handleDurationChange_),_this.mediaSource.addEventListener("sourceopen",_this.handleSourceOpen_),_this.mediaSource.addEventListener("sourceended",_this.handleSourceEnded_),_this.seekable_=videojs.createTimeRanges(),_this.hasPlayed_=!1,_this.syncController_=new SyncController(options),_this.segmentMetadataTrack_=tech.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,_this.decrypter_=new Decrypter,_this.sourceUpdater_=new SourceUpdater(_this.mediaSource),_this.inbandTextTracks_={},_this.timelineChangeController_=new TimelineChangeController;var segmentLoaderSettings={vhs:_this.vhs_,parse708captions:options.parse708captions,captionServices,mediaSource:_this.mediaSource,currentTime:_this.tech_.currentTime.bind(_this.tech_),seekable:function seekable(){return _this.seekable()},seeking:function seeking(){return _this.tech_.seeking()},duration:function duration(){return _this.duration()},hasPlayed:function hasPlayed(){return _this.hasPlayed_},goalBufferLength:function goalBufferLength(){return _this.goalBufferLength()},bandwidth,syncController:_this.syncController_,decrypter:_this.decrypter_,sourceType:_this.sourceType_,inbandTextTracks:_this.inbandTextTracks_,cacheEncryptionKeys,sourceUpdater:_this.sourceUpdater_,timelineChangeController:_this.timelineChangeController_,experimentalExactManifestTimings:options.experimentalExactManifestTimings};_this.masterPlaylistLoader_="dash"===_this.sourceType_?new DashPlaylistLoader(src,_this.vhs_,_this.requestOptions_):new PlaylistLoader(src,_this.vhs_,_this.requestOptions_),_this.setupMasterPlaylistLoaderListeners_(),_this.mainSegmentLoader_=new SegmentLoader(videojs.mergeOptions(segmentLoaderSettings,{segmentMetadataTrack:_this.segmentMetadataTrack_,loaderType:"main"}),options),_this.audioSegmentLoader_=new SegmentLoader(videojs.mergeOptions(segmentLoaderSettings,{loaderType:"audio"}),options),_this.subtitleSegmentLoader_=new VTTSegmentLoader(videojs.mergeOptions(segmentLoaderSettings,{loaderType:"vtt",featuresNativeTextTracks:_this.tech_.featuresNativeTextTracks}),options),_this.setupSegmentLoaderListeners_(),_this.experimentalBufferBasedABR&&(_this.masterPlaylistLoader_.one("loadedplaylist",(function(){return _this.startABRTimer_()})),_this.tech_.on("pause",(function(){return _this.stopABRTimer_()})),_this.tech_.on("play",(function(){return _this.startABRTimer_()}))),loaderStats.forEach((function(stat){_this[stat+"_"]=sumLoaderStat.bind((0,assertThisInitialized.Z)(_this),stat)})),_this.logger_=logger("MPC"),_this.triggeredFmp4Usage=!1,"none"===_this.tech_.preload()?(_this.loadOnPlay_=function(){_this.loadOnPlay_=null,_this.masterPlaylistLoader_.load()},_this.tech_.one("play",_this.loadOnPlay_)):_this.masterPlaylistLoader_.load(),_this.timeToLoadedData__=-1,_this.mainAppendsToLoadedData__=-1,_this.audioAppendsToLoadedData__=-1;var event="none"===_this.tech_.preload()?"play":"loadstart";return _this.tech_.one(event,(function(){var timeToLoadedDataStart=Date.now();_this.tech_.one("loadeddata",(function(){_this.timeToLoadedData__=Date.now()-timeToLoadedDataStart,_this.mainAppendsToLoadedData__=_this.mainSegmentLoader_.mediaAppends,_this.audioAppendsToLoadedData__=_this.audioSegmentLoader_.mediaAppends}))})),_this}(0,inheritsLoose.Z)(MasterPlaylistController,_videojs$EventTarget);var _proto=MasterPlaylistController.prototype;return _proto.mainAppendsToLoadedData_=function mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__},_proto.audioAppendsToLoadedData_=function audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__},_proto.appendsToLoadedData_=function appendsToLoadedData_(){var main=this.mainAppendsToLoadedData_(),audio=this.audioAppendsToLoadedData_();return-1===main||-1===audio?-1:main+audio},_proto.timeToLoadedData_=function timeToLoadedData_(){return this.timeToLoadedData__},_proto.checkABR_=function checkABR_(){var nextPlaylist=this.selectPlaylist();nextPlaylist&&this.shouldSwitchToMedia_(nextPlaylist)&&this.switchMedia_(nextPlaylist,"abr")},_proto.switchMedia_=function switchMedia_(playlist,cause,delay){var oldMedia=this.media(),oldId=oldMedia&&(oldMedia.id||oldMedia.uri),newId=playlist.id||playlist.uri;oldId&&oldId!==newId&&(this.logger_("switch media "+oldId+" -> "+newId+" from "+cause),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+cause})),this.masterPlaylistLoader_.media(playlist,delay)},_proto.startABRTimer_=function startABRTimer_(){var _this2=this;this.stopABRTimer_(),this.abrTimer_=window_default().setInterval((function(){return _this2.checkABR_()}),250)},_proto.stopABRTimer_=function stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(window_default().clearInterval(this.abrTimer_),this.abrTimer_=null)},_proto.getAudioTrackPlaylists_=function getAudioTrackPlaylists_(){var master=this.master(),defaultPlaylists=master&&master.playlists||[];if(!master||!master.mediaGroups||!master.mediaGroups.AUDIO)return defaultPlaylists;var track,AUDIO=master.mediaGroups.AUDIO,groupKeys=Object.keys(AUDIO);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)track=this.mediaTypes_.AUDIO.activeTrack();else{var defaultGroup=AUDIO.main||groupKeys.length&&AUDIO[groupKeys[0]];for(var label in defaultGroup)if(defaultGroup[label].default){track={label};break}}if(!track)return defaultPlaylists;var playlists=[];for(var group in AUDIO)if(AUDIO[group][track.label]){var properties=AUDIO[group][track.label];if(properties.playlists&&properties.playlists.length)playlists.push.apply(playlists,properties.playlists);else if(properties.uri)playlists.push(properties);else if(master.playlists.length)for(var i=0;i<master.playlists.length;i++){var playlist=master.playlists[i];playlist.attributes&&playlist.attributes.AUDIO&&playlist.attributes.AUDIO===group&&playlists.push(playlist)}}return playlists.length?playlists:defaultPlaylists},_proto.setupMasterPlaylistLoaderListeners_=function setupMasterPlaylistLoaderListeners_(){var _this3=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var media=_this3.masterPlaylistLoader_.media(),requestTimeout=1.5*media.targetDuration*1e3;isLowestEnabledRendition(_this3.masterPlaylistLoader_.master,_this3.masterPlaylistLoader_.media())?_this3.requestOptions_.timeout=0:_this3.requestOptions_.timeout=requestTimeout,media.endList&&"none"!==_this3.tech_.preload()&&(_this3.mainSegmentLoader_.playlist(media,_this3.requestOptions_),_this3.mainSegmentLoader_.load()),setupMediaGroups({sourceType:_this3.sourceType_,segmentLoaders:{AUDIO:_this3.audioSegmentLoader_,SUBTITLES:_this3.subtitleSegmentLoader_,main:_this3.mainSegmentLoader_},tech:_this3.tech_,requestOptions:_this3.requestOptions_,masterPlaylistLoader:_this3.masterPlaylistLoader_,vhs:_this3.vhs_,master:_this3.master(),mediaTypes:_this3.mediaTypes_,blacklistCurrentPlaylist:_this3.blacklistCurrentPlaylist.bind(_this3)}),_this3.triggerPresenceUsage_(_this3.master(),media),_this3.setupFirstPlay(),!_this3.mediaTypes_.AUDIO.activePlaylistLoader||_this3.mediaTypes_.AUDIO.activePlaylistLoader.media()?_this3.trigger("selectedinitialmedia"):_this3.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(function(){_this3.trigger("selectedinitialmedia")}))})),this.masterPlaylistLoader_.on("loadedplaylist",(function(){_this3.loadOnPlay_&&_this3.tech_.off("play",_this3.loadOnPlay_);var updatedPlaylist=_this3.masterPlaylistLoader_.media();if(!updatedPlaylist){var selectedMedia;if(_this3.excludeUnsupportedVariants_(),_this3.enableLowInitialPlaylist&&(selectedMedia=_this3.selectInitialPlaylist()),selectedMedia||(selectedMedia=_this3.selectPlaylist()),!selectedMedia||!_this3.shouldSwitchToMedia_(selectedMedia))return;if(_this3.initialMedia_=selectedMedia,_this3.switchMedia_(_this3.initialMedia_,"initial"),!("vhs-json"===_this3.sourceType_&&_this3.initialMedia_.segments))return;updatedPlaylist=_this3.initialMedia_}_this3.handleUpdatedMediaPlaylist(updatedPlaylist)})),this.masterPlaylistLoader_.on("error",(function(){_this3.blacklistCurrentPlaylist(_this3.masterPlaylistLoader_.error)})),this.masterPlaylistLoader_.on("mediachanging",(function(){_this3.mainSegmentLoader_.abort(),_this3.mainSegmentLoader_.pause()})),this.masterPlaylistLoader_.on("mediachange",(function(){var media=_this3.masterPlaylistLoader_.media(),requestTimeout=1.5*media.targetDuration*1e3;isLowestEnabledRendition(_this3.masterPlaylistLoader_.master,_this3.masterPlaylistLoader_.media())?_this3.requestOptions_.timeout=0:_this3.requestOptions_.timeout=requestTimeout,_this3.mainSegmentLoader_.playlist(media,_this3.requestOptions_),_this3.mainSegmentLoader_.load(),_this3.tech_.trigger({type:"mediachange",bubbles:!0})})),this.masterPlaylistLoader_.on("playlistunchanged",(function(){var updatedPlaylist=_this3.masterPlaylistLoader_.media();"playlist-unchanged"!==updatedPlaylist.lastExcludeReason_&&(_this3.stuckAtPlaylistEnd_(updatedPlaylist)&&(_this3.blacklistCurrentPlaylist({message:"Playlist no longer updating.",reason:"playlist-unchanged"}),_this3.tech_.trigger("playliststuck")))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){_this3.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),_this3.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){_this3.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),_this3.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))},_proto.handleUpdatedMediaPlaylist=function handleUpdatedMediaPlaylist(updatedPlaylist){this.useCueTags_&&this.updateAdCues_(updatedPlaylist),this.mainSegmentLoader_.playlist(updatedPlaylist,this.requestOptions_),this.updateDuration(!updatedPlaylist.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},_proto.triggerPresenceUsage_=function triggerPresenceUsage_(master,media){var mediaGroups=master.mediaGroups||{},defaultDemuxed=!0,audioGroupKeys=Object.keys(mediaGroups.AUDIO);for(var mediaGroup in mediaGroups.AUDIO)for(var label in mediaGroups.AUDIO[mediaGroup]){mediaGroups.AUDIO[mediaGroup][label].uri||(defaultDemuxed=!1)}defaultDemuxed&&(this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),this.tech_.trigger({type:"usage",name:"hls-demuxed"})),Object.keys(mediaGroups.SUBTITLES).length&&(this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),this.tech_.trigger({type:"usage",name:"hls-webvtt"})),Vhs$1.Playlist.isAes(media)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),audioGroupKeys.length&&Object.keys(mediaGroups.AUDIO[audioGroupKeys[0]]).length>1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},_proto.shouldSwitchToMedia_=function shouldSwitchToMedia_(nextPlaylist){var currentPlaylist=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,currentTime=this.tech_.currentTime(),bufferLowWaterLine=this.bufferLowWaterLine(),bufferHighWaterLine=this.bufferHighWaterLine();return function shouldSwitchToMedia(_ref){var currentPlaylist=_ref.currentPlaylist,buffered=_ref.buffered,currentTime=_ref.currentTime,nextPlaylist=_ref.nextPlaylist,bufferLowWaterLine=_ref.bufferLowWaterLine,bufferHighWaterLine=_ref.bufferHighWaterLine,duration=_ref.duration,experimentalBufferBasedABR=_ref.experimentalBufferBasedABR,log=_ref.log;if(!nextPlaylist)return videojs.log.warn("We received no playlist to switch to. Please check your stream."),!1;var sharedLogLine="allowing switch "+(currentPlaylist&¤tPlaylist.id||"null")+" -> "+nextPlaylist.id;if(!currentPlaylist)return log(sharedLogLine+" as current playlist is not set"),!0;if(nextPlaylist.id===currentPlaylist.id)return!1;var isBuffered=Boolean(findRange(buffered,currentTime).length);if(!currentPlaylist.endList)return isBuffered||"number"!=typeof currentPlaylist.partTargetDuration?(log(sharedLogLine+" as current playlist is live"),!0):(log("not "+sharedLogLine+" as current playlist is live llhls, but currentTime isn't in buffered."),!1);var forwardBuffer=timeAheadOf(buffered,currentTime),maxBufferLowWaterLine=experimentalBufferBasedABR?Config.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Config.MAX_BUFFER_LOW_WATER_LINE;if(duration<maxBufferLowWaterLine)return log(sharedLogLine+" as duration < max low water line ("+duration+" < "+maxBufferLowWaterLine+")"),!0;var nextBandwidth=nextPlaylist.attributes.BANDWIDTH,currBandwidth=currentPlaylist.attributes.BANDWIDTH;if(nextBandwidth<currBandwidth&&(!experimentalBufferBasedABR||forwardBuffer<bufferHighWaterLine)){var logLine=sharedLogLine+" as next bandwidth < current bandwidth ("+nextBandwidth+" < "+currBandwidth+")";return experimentalBufferBasedABR&&(logLine+=" and forwardBuffer < bufferHighWaterLine ("+forwardBuffer+" < "+bufferHighWaterLine+")"),log(logLine),!0}if((!experimentalBufferBasedABR||nextBandwidth>currBandwidth)&&forwardBuffer>=bufferLowWaterLine){var _logLine=sharedLogLine+" as forwardBuffer >= bufferLowWaterLine ("+forwardBuffer+" >= "+bufferLowWaterLine+")";return experimentalBufferBasedABR&&(_logLine+=" and next bandwidth > current bandwidth ("+nextBandwidth+" > "+currBandwidth+")"),log(_logLine),!0}return log("not "+sharedLogLine+" as no switching criteria met"),!1}({buffered:this.tech_.buffered(),currentTime,currentPlaylist,nextPlaylist,bufferLowWaterLine,bufferHighWaterLine,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},_proto.setupSegmentLoaderListeners_=function setupSegmentLoaderListeners_(){var _this4=this;this.experimentalBufferBasedABR||(this.mainSegmentLoader_.on("bandwidthupdate",(function(){var nextPlaylist=_this4.selectPlaylist();_this4.shouldSwitchToMedia_(nextPlaylist)&&_this4.switchMedia_(nextPlaylist,"bandwidthupdate"),_this4.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("progress",(function(){_this4.trigger("progress")}))),this.mainSegmentLoader_.on("error",(function(){_this4.blacklistCurrentPlaylist(_this4.mainSegmentLoader_.error())})),this.mainSegmentLoader_.on("appenderror",(function(){_this4.error=_this4.mainSegmentLoader_.error_,_this4.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){_this4.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){_this4.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),_this4.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){_this4.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(function(){_this4.error=_this4.audioSegmentLoader_.error_,_this4.trigger("error")})),this.mainSegmentLoader_.on("ended",(function(){_this4.logger_("main segment loader ended"),_this4.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(event){_this4.experimentalBufferBasedABR||(_this4.delegateLoaders_("all",["abort"]),_this4.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))}));var updateCodecs=function updateCodecs(){if(!_this4.sourceUpdater_.hasCreatedSourceBuffers())return _this4.tryToCreateSourceBuffers_();var codecs=_this4.getCodecsOrExclude_();codecs&&_this4.sourceUpdater_.addOrChangeSourceBuffers(codecs)};this.mainSegmentLoader_.on("trackinfo",updateCodecs),this.audioSegmentLoader_.on("trackinfo",updateCodecs),this.mainSegmentLoader_.on("fmp4",(function(){_this4.triggeredFmp4Usage||(_this4.tech_.trigger({type:"usage",name:"vhs-fmp4"}),_this4.tech_.trigger({type:"usage",name:"hls-fmp4"}),_this4.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(function(){_this4.triggeredFmp4Usage||(_this4.tech_.trigger({type:"usage",name:"vhs-fmp4"}),_this4.tech_.trigger({type:"usage",name:"hls-fmp4"}),_this4.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(function(){_this4.logger_("audioSegmentLoader ended"),_this4.onEndOfStream()}))},_proto.mediaSecondsLoaded_=function mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},_proto.load=function load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},_proto.smoothQualityChange_=function smoothQualityChange_(media){void 0===media&&(media=this.selectPlaylist()),this.fastQualityChange_(media)},_proto.fastQualityChange_=function fastQualityChange_(media){var _this5=this;void 0===media&&(media=this.selectPlaylist()),media!==this.masterPlaylistLoader_.media()?(this.switchMedia_(media,"fast-quality"),this.mainSegmentLoader_.resetEverything((function(){videojs.browser.IE_VERSION||videojs.browser.IS_EDGE?_this5.tech_.setCurrentTime(_this5.tech_.currentTime()+.04):_this5.tech_.setCurrentTime(_this5.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")},_proto.play=function play(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var seekable=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<seekable.start(0)?this.tech_.setCurrentTime(seekable.end(seekable.length-1)):void 0}},_proto.setupFirstPlay=function setupFirstPlay(){var _this6=this,media=this.masterPlaylistLoader_.media();if(!media||this.tech_.paused()||this.hasPlayed_)return!1;if(!media.endList){var seekable=this.seekable();if(!seekable.length)return!1;if(videojs.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(function(){_this6.trigger("firstplay"),_this6.tech_.setCurrentTime(seekable.end(0)),_this6.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(seekable.end(0))}return this.hasPlayed_=!0,this.load(),!0},_proto.handleSourceOpen_=function handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){var playPromise=this.tech_.play();void 0!==playPromise&&"function"==typeof playPromise.then&&playPromise.then(null,(function(e){}))}this.trigger("sourceopen")},_proto.handleSourceEnded_=function handleSourceEnded_(){if(this.inbandTextTracks_.metadataTrack_){var cues=this.inbandTextTracks_.metadataTrack_.cues;if(cues&&cues.length){var duration=this.duration();cues[cues.length-1].endTime=isNaN(duration)||Math.abs(duration)===1/0?Number.MAX_VALUE:duration}}},_proto.handleDurationChange_=function handleDurationChange_(){this.tech_.trigger("durationchange")},_proto.onEndOfStream=function onEndOfStream(){var isEndOfStream=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){var mainMediaInfo=this.mainSegmentLoader_.getCurrentMediaInfo_();isEndOfStream=!mainMediaInfo||mainMediaInfo.hasVideo?isEndOfStream&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}isEndOfStream&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},_proto.stuckAtPlaylistEnd_=function stuckAtPlaylistEnd_(playlist){if(!this.seekable().length)return!1;var expired=this.syncController_.getExpiredTime(playlist,this.duration());if(null===expired)return!1;var absolutePlaylistEnd=Vhs$1.Playlist.playlistEnd(playlist,expired),currentTime=this.tech_.currentTime(),buffered=this.tech_.buffered();if(!buffered.length)return absolutePlaylistEnd-currentTime<=.1;var bufferedEnd=buffered.end(buffered.length-1);return bufferedEnd-currentTime<=.1&&absolutePlaylistEnd-bufferedEnd<=.1},_proto.blacklistCurrentPlaylist=function blacklistCurrentPlaylist(error,blacklistDuration){void 0===error&&(error={});var currentPlaylist=error.playlist||this.masterPlaylistLoader_.media();if(blacklistDuration=blacklistDuration||error.blacklistDuration||this.blacklistDuration,!currentPlaylist)return this.error=error,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));currentPlaylist.playlistErrors_++;var excludeUntil,playlists=this.masterPlaylistLoader_.master.playlists,enabledPlaylists=playlists.filter(isEnabled),isFinalRendition=1===enabledPlaylists.length&&enabledPlaylists[0]===currentPlaylist;if(1===playlists.length&&blacklistDuration!==1/0)return videojs.log.warn("Problem encountered with playlist "+currentPlaylist.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(isFinalRendition);if(isFinalRendition){var reincluded=!1;playlists.forEach((function(playlist){if(playlist!==currentPlaylist){var excludeUntil=playlist.excludeUntil;void 0!==excludeUntil&&excludeUntil!==1/0&&(reincluded=!0,delete playlist.excludeUntil)}})),reincluded&&(videojs.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}excludeUntil=currentPlaylist.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*blacklistDuration,currentPlaylist.excludeUntil=excludeUntil,error.reason&&(currentPlaylist.lastExcludeReason_=error.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var nextPlaylist=this.selectPlaylist();if(!nextPlaylist)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");var logFn=error.internal?this.logger_:videojs.log.warn,errorMessage=error.message?" "+error.message:"";logFn((error.internal?"Internal problem":"Problem")+" encountered with playlist "+currentPlaylist.id+"."+errorMessage+" Switching to playlist "+nextPlaylist.id+"."),nextPlaylist.attributes.AUDIO!==currentPlaylist.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),nextPlaylist.attributes.SUBTITLES!==currentPlaylist.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var delayDuration=nextPlaylist.targetDuration/2*1e3||5e3,shouldDelay="number"==typeof nextPlaylist.lastRequest&&Date.now()-nextPlaylist.lastRequest<=delayDuration;return this.switchMedia_(nextPlaylist,"exclude",isFinalRendition||shouldDelay)},_proto.pauseLoading=function pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},_proto.delegateLoaders_=function delegateLoaders_(filter,fnNames){var _this7=this,loaders=[],dontFilterPlaylist="all"===filter;(dontFilterPlaylist||"main"===filter)&&loaders.push(this.masterPlaylistLoader_);var mediaTypes=[];(dontFilterPlaylist||"audio"===filter)&&mediaTypes.push("AUDIO"),(dontFilterPlaylist||"subtitle"===filter)&&(mediaTypes.push("CLOSED-CAPTIONS"),mediaTypes.push("SUBTITLES")),mediaTypes.forEach((function(mediaType){var loader=_this7.mediaTypes_[mediaType]&&_this7.mediaTypes_[mediaType].activePlaylistLoader;loader&&loaders.push(loader)})),["main","audio","subtitle"].forEach((function(name){var loader=_this7[name+"SegmentLoader_"];!loader||filter!==name&&"all"!==filter||loaders.push(loader)})),loaders.forEach((function(loader){return fnNames.forEach((function(fnName){"function"==typeof loader[fnName]&&loader[fnName]()}))}))},_proto.setCurrentTime=function setCurrentTime(currentTime){var buffered=findRange(this.tech_.buffered(),currentTime);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?buffered&&buffered.length?currentTime:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0},_proto.duration=function duration(){if(!this.masterPlaylistLoader_)return 0;var media=this.masterPlaylistLoader_.media();return media?media.endList?this.mediaSource?this.mediaSource.duration:Vhs$1.Playlist.duration(media):1/0:0},_proto.seekable=function seekable(){return this.seekable_},_proto.onSyncInfoUpdate_=function onSyncInfoUpdate_(){var audioSeekable;if(this.masterPlaylistLoader_){var media=this.masterPlaylistLoader_.media();if(media){var expired=this.syncController_.getExpiredTime(media,this.duration());if(null!==expired){var master=this.masterPlaylistLoader_.master,mainSeekable=Vhs$1.Playlist.seekable(media,expired,Vhs$1.Playlist.liveEdgeDelay(master,media));if(0!==mainSeekable.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(media=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(expired=this.syncController_.getExpiredTime(media,this.duration())))return;if(0===(audioSeekable=Vhs$1.Playlist.seekable(media,expired,Vhs$1.Playlist.liveEdgeDelay(master,media))).length)return}var oldEnd,oldStart;this.seekable_&&this.seekable_.length&&(oldEnd=this.seekable_.end(0),oldStart=this.seekable_.start(0)),audioSeekable?audioSeekable.start(0)>mainSeekable.end(0)||mainSeekable.start(0)>audioSeekable.end(0)?this.seekable_=mainSeekable:this.seekable_=videojs.createTimeRanges([[audioSeekable.start(0)>mainSeekable.start(0)?audioSeekable.start(0):mainSeekable.start(0),audioSeekable.end(0)<mainSeekable.end(0)?audioSeekable.end(0):mainSeekable.end(0)]]):this.seekable_=mainSeekable,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===oldEnd&&this.seekable_.start(0)===oldStart||(this.logger_("seekable updated ["+printableRange(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},_proto.updateDuration=function updateDuration(isLive){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,isLive),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(isLive){var seekable=this.seekable();if(!seekable.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<seekable.end(seekable.length-1))&&this.sourceUpdater_.setDuration(seekable.end(seekable.length-1))}else{var buffered=this.tech_.buffered(),duration=Vhs$1.Playlist.duration(this.masterPlaylistLoader_.media());buffered.length>0&&(duration=Math.max(duration,buffered.end(buffered.length-1))),this.mediaSource.duration!==duration&&this.sourceUpdater_.setDuration(duration)}},_proto.dispose=function dispose(){var _this8=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((function(type){var groups=_this8.mediaTypes_[type].groups;for(var id in groups)groups[id].forEach((function(group){group.playlistLoader&&group.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},_proto.master=function master(){return this.masterPlaylistLoader_.master},_proto.media=function media(){return this.masterPlaylistLoader_.media()||this.initialMedia_},_proto.areMediaTypesKnown_=function areMediaTypesKnown_(){var usingAudioLoader=!!this.mediaTypes_.AUDIO.activePlaylistLoader,hasMainMediaInfo=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),hasAudioMediaInfo=!usingAudioLoader||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!hasMainMediaInfo||!hasAudioMediaInfo)},_proto.getCodecsOrExclude_=function getCodecsOrExclude_(){var _this9=this,media={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}};media.video=media.main;var playlistCodecs=codecsForPlaylist(this.master(),this.media()),codecs={},usingAudioLoader=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(media.main.hasVideo&&(codecs.video=playlistCodecs.video||media.main.videoCodec||"avc1.4d400d"),media.main.isMuxed&&(codecs.video+=","+(playlistCodecs.audio||media.main.audioCodec||"mp4a.40.2")),(media.main.hasAudio&&!media.main.isMuxed||media.audio.hasAudio||usingAudioLoader)&&(codecs.audio=playlistCodecs.audio||media.main.audioCodec||media.audio.audioCodec||"mp4a.40.2",media.audio.isFmp4=media.main.hasAudio&&!media.main.isMuxed?media.main.isFmp4:media.audio.isFmp4),codecs.audio||codecs.video){var unsupportedAudio,unsupportedCodecs={};if(["video","audio"].forEach((function(type){if(codecs.hasOwnProperty(type)&&!function supportFunction(isFmp4,codec){return isFmp4?browserSupportsCodec(codec):muxerSupportsCodec(codec)}(media[type].isFmp4,codecs[type])){var supporter=media[type].isFmp4?"browser":"muxer";unsupportedCodecs[supporter]=unsupportedCodecs[supporter]||[],unsupportedCodecs[supporter].push(codecs[type]),"audio"===type&&(unsupportedAudio=supporter)}})),usingAudioLoader&&unsupportedAudio&&this.media().attributes.AUDIO){var audioGroup=this.media().attributes.AUDIO;this.master().playlists.forEach((function(variant){(variant.attributes&&variant.attributes.AUDIO)===audioGroup&&variant!==_this9.media()&&(variant.excludeUntil=1/0)})),this.logger_("excluding audio group "+audioGroup+" as "+unsupportedAudio+' does not support codec(s): "'+codecs.audio+'"')}if(!Object.keys(unsupportedCodecs).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var switchMessages=[];if(["video","audio"].forEach((function(type){var newCodec=(parseCodecs(_this9.sourceUpdater_.codecs[type]||"")[0]||{}).type,oldCodec=(parseCodecs(codecs[type]||"")[0]||{}).type;newCodec&&oldCodec&&newCodec.toLowerCase()!==oldCodec.toLowerCase()&&switchMessages.push('"'+_this9.sourceUpdater_.codecs[type]+'" -> "'+codecs[type]+'"')})),switchMessages.length)return void this.blacklistCurrentPlaylist({playlist:this.media(),message:"Codec switching not supported: "+switchMessages.join(", ")+".",blacklistDuration:1/0,internal:!0})}return codecs}var message=Object.keys(unsupportedCodecs).reduce((function(acc,supporter){return acc&&(acc+=", "),acc+=supporter+' does not support codec(s): "'+unsupportedCodecs[supporter].join(",")+'"'}),"")+".";this.blacklistCurrentPlaylist({playlist:this.media(),internal:!0,message,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:this.media(),message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},_proto.tryToCreateSourceBuffers_=function tryToCreateSourceBuffers_(){if("open"===this.mediaSource.readyState&&!this.sourceUpdater_.hasCreatedSourceBuffers()&&this.areMediaTypesKnown_()){var codecs=this.getCodecsOrExclude_();if(codecs){this.sourceUpdater_.createSourceBuffers(codecs);var codecString=[codecs.video,codecs.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(codecString)}}},_proto.excludeUnsupportedVariants_=function excludeUnsupportedVariants_(){var _this10=this,playlists=this.master().playlists,ids=[];Object.keys(playlists).forEach((function(key){var variant=playlists[key];if(-1===ids.indexOf(variant.id)){ids.push(variant.id);var codecs=codecsForPlaylist(_this10.master,variant),unsupported=[];!codecs.audio||muxerSupportsCodec(codecs.audio)||browserSupportsCodec(codecs.audio)||unsupported.push("audio codec "+codecs.audio),!codecs.video||muxerSupportsCodec(codecs.video)||browserSupportsCodec(codecs.video)||unsupported.push("video codec "+codecs.video),codecs.text&&"stpp.ttml.im1t"===codecs.text&&unsupported.push("text codec "+codecs.text),unsupported.length&&(variant.excludeUntil=1/0,_this10.logger_("excluding "+variant.id+" for unsupported: "+unsupported.join(", ")))}}))},_proto.excludeIncompatibleVariants_=function excludeIncompatibleVariants_(codecString){var _this11=this,ids=[],playlists=this.master().playlists,codecs=unwrapCodecList(parseCodecs(codecString)),codecCount_=codecCount(codecs),videoDetails=codecs.video&&parseCodecs(codecs.video)[0]||null,audioDetails=codecs.audio&&parseCodecs(codecs.audio)[0]||null;Object.keys(playlists).forEach((function(key){var variant=playlists[key];if(-1===ids.indexOf(variant.id)&&variant.excludeUntil!==1/0){ids.push(variant.id);var blacklistReasons=[],variantCodecs=codecsForPlaylist(_this11.masterPlaylistLoader_.master,variant),variantCodecCount=codecCount(variantCodecs);if(variantCodecs.audio||variantCodecs.video){if(variantCodecCount!==codecCount_&&blacklistReasons.push('codec count "'+variantCodecCount+'" !== "'+codecCount_+'"'),!_this11.sourceUpdater_.canChangeType()){var variantVideoDetails=variantCodecs.video&&parseCodecs(variantCodecs.video)[0]||null,variantAudioDetails=variantCodecs.audio&&parseCodecs(variantCodecs.audio)[0]||null;variantVideoDetails&&videoDetails&&variantVideoDetails.type.toLowerCase()!==videoDetails.type.toLowerCase()&&blacklistReasons.push('video codec "'+variantVideoDetails.type+'" !== "'+videoDetails.type+'"'),variantAudioDetails&&audioDetails&&variantAudioDetails.type.toLowerCase()!==audioDetails.type.toLowerCase()&&blacklistReasons.push('audio codec "'+variantAudioDetails.type+'" !== "'+audioDetails.type+'"')}blacklistReasons.length&&(variant.excludeUntil=1/0,_this11.logger_("blacklisting "+variant.id+": "+blacklistReasons.join(" && ")))}}}))},_proto.updateAdCues_=function updateAdCues_(media){var offset=0,seekable=this.seekable();seekable.length&&(offset=seekable.start(0)),function updateAdCues(media,track,offset){if(void 0===offset&&(offset=0),media.segments)for(var cue,mediaTime=offset,i=0;i<media.segments.length;i++){var segment=media.segments[i];if(cue||(cue=findAdCue(track,mediaTime+segment.duration/2)),cue){if("cueIn"in segment){cue.endTime=mediaTime,cue.adEndTime=mediaTime,mediaTime+=segment.duration,cue=null;continue}if(mediaTime<cue.endTime){mediaTime+=segment.duration;continue}cue.endTime+=segment.duration}else if("cueOut"in segment&&((cue=new(window_default().VTTCue)(mediaTime,mediaTime+segment.duration,segment.cueOut)).adStartTime=mediaTime,cue.adEndTime=mediaTime+parseFloat(segment.cueOut),track.addCue(cue)),"cueOutCont"in segment){var _segment$cueOutCont$s=segment.cueOutCont.split("/").map(parseFloat),adOffset=_segment$cueOutCont$s[0],adTotal=_segment$cueOutCont$s[1];(cue=new(window_default().VTTCue)(mediaTime,mediaTime+segment.duration,"")).adStartTime=mediaTime-adOffset,cue.adEndTime=cue.adStartTime+adTotal,track.addCue(cue)}mediaTime+=segment.duration}}(media,this.cueTagsTrack_,offset)},_proto.goalBufferLength=function goalBufferLength(){var currentTime=this.tech_.currentTime(),initial=Config.GOAL_BUFFER_LENGTH,rate=Config.GOAL_BUFFER_LENGTH_RATE,max=Math.max(initial,Config.MAX_GOAL_BUFFER_LENGTH);return Math.min(initial+currentTime*rate,max)},_proto.bufferLowWaterLine=function bufferLowWaterLine(){var currentTime=this.tech_.currentTime(),initial=Config.BUFFER_LOW_WATER_LINE,rate=Config.BUFFER_LOW_WATER_LINE_RATE,max=Math.max(initial,Config.MAX_BUFFER_LOW_WATER_LINE),newMax=Math.max(initial,Config.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(initial+currentTime*rate,this.experimentalBufferBasedABR?newMax:max)},_proto.bufferHighWaterLine=function bufferHighWaterLine(){return Config.BUFFER_HIGH_WATER_LINE},MasterPlaylistController}(videojs.EventTarget),Representation=function Representation(vhsHandler,playlist,id){var mpc=vhsHandler.masterPlaylistController_,qualityChangeFunction=mpc[(vhsHandler.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(mpc);if(playlist.attributes){var resolution=playlist.attributes.RESOLUTION;this.width=resolution&&resolution.width,this.height=resolution&&resolution.height,this.bandwidth=playlist.attributes.BANDWIDTH}this.codecs=codecsForPlaylist(mpc.master(),playlist),this.playlist=playlist,this.id=id,this.enabled=function enableFunction(loader,playlistID,changePlaylistFn){return function(enable){var playlist=loader.master.playlists[playlistID],incompatible=isIncompatible(playlist),currentlyEnabled=isEnabled(playlist);return void 0===enable?currentlyEnabled:(enable?delete playlist.disabled:playlist.disabled=!0,enable===currentlyEnabled||incompatible||(changePlaylistFn(),enable?loader.trigger("renditionenabled"):loader.trigger("renditiondisabled")),enable)}}(vhsHandler.playlists,playlist.id,qualityChangeFunction)},timerCancelEvents=["seeking","seeked","pause","playing","error"],PlaybackWatcher=function(){function PlaybackWatcher(options){var _this=this;this.masterPlaylistController_=options.masterPlaylistController,this.tech_=options.tech,this.seekable=options.seekable,this.allowSeeksWithinUnsafeLiveWindow=options.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=options.liveRangeSafeTimeDelta,this.media=options.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=logger("PlaybackWatcher"),this.logger_("initialize");var playHandler=function playHandler(){return _this.monitorCurrentTime_()},canPlayHandler=function canPlayHandler(){return _this.monitorCurrentTime_()},waitingHandler=function waitingHandler(){return _this.techWaiting_()},cancelTimerHandler=function cancelTimerHandler(){return _this.cancelTimer_()},mpc=this.masterPlaylistController_,loaderTypes=["main","subtitle","audio"],loaderChecks={};loaderTypes.forEach((function(type){loaderChecks[type]={reset:function reset(){return _this.resetSegmentDownloads_(type)},updateend:function updateend(){return _this.checkSegmentDownloads_(type)}},mpc[type+"SegmentLoader_"].on("appendsdone",loaderChecks[type].updateend),mpc[type+"SegmentLoader_"].on("playlistupdate",loaderChecks[type].reset),_this.tech_.on(["seeked","seeking"],loaderChecks[type].reset)}));var setSeekingHandlers=function setSeekingHandlers(fn){["main","audio"].forEach((function(type){mpc[type+"SegmentLoader_"][fn]("appended",_this.seekingAppendCheck_)}))};this.seekingAppendCheck_=function(){_this.fixesBadSeeks_()&&(_this.consecutiveUpdates=0,_this.lastRecordedTime=_this.tech_.currentTime(),setSeekingHandlers("off"))},this.clearSeekingAppendCheck_=function(){return setSeekingHandlers("off")},this.watchForBadSeeking_=function(){_this.clearSeekingAppendCheck_(),setSeekingHandlers("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",waitingHandler),this.tech_.on(timerCancelEvents,cancelTimerHandler),this.tech_.on("canplay",canPlayHandler),this.tech_.one("play",playHandler),this.dispose=function(){_this.clearSeekingAppendCheck_(),_this.logger_("dispose"),_this.tech_.off("waiting",waitingHandler),_this.tech_.off(timerCancelEvents,cancelTimerHandler),_this.tech_.off("canplay",canPlayHandler),_this.tech_.off("play",playHandler),_this.tech_.off("seeking",_this.watchForBadSeeking_),_this.tech_.off("seeked",_this.clearSeekingAppendCheck_),loaderTypes.forEach((function(type){mpc[type+"SegmentLoader_"].off("appendsdone",loaderChecks[type].updateend),mpc[type+"SegmentLoader_"].off("playlistupdate",loaderChecks[type].reset),_this.tech_.off(["seeked","seeking"],loaderChecks[type].reset)})),_this.checkCurrentTimeTimeout_&&window_default().clearTimeout(_this.checkCurrentTimeTimeout_),_this.cancelTimer_()}}var _proto=PlaybackWatcher.prototype;return _proto.monitorCurrentTime_=function monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&window_default().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=window_default().setTimeout(this.monitorCurrentTime_.bind(this),250)},_proto.resetSegmentDownloads_=function resetSegmentDownloads_(type){var loader=this.masterPlaylistController_[type+"SegmentLoader_"];this[type+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+type+" loader"),this[type+"StalledDownloads_"]=0,this[type+"Buffered_"]=loader.buffered_()},_proto.checkSegmentDownloads_=function checkSegmentDownloads_(type){var mpc=this.masterPlaylistController_,loader=mpc[type+"SegmentLoader_"],buffered=loader.buffered_(),isBufferedDifferent=function isRangeDifferent(a,b){if(a===b)return!1;if(!a&&b||!b&&a)return!0;if(a.length!==b.length)return!0;for(var i=0;i<a.length;i++)if(a.start(i)!==b.start(i)||a.end(i)!==b.end(i))return!0;return!1}(this[type+"Buffered_"],buffered);this[type+"Buffered_"]=buffered,isBufferedDifferent?this.resetSegmentDownloads_(type):(this[type+"StalledDownloads_"]++,this.logger_("found #"+this[type+"StalledDownloads_"]+" "+type+" appends that did not increase buffer (possible stalled download)",{playlistId:loader.playlist_&&loader.playlist_.id,buffered:timeRangesToArray(buffered)}),this[type+"StalledDownloads_"]<10||(this.logger_(type+" loader stalled download exclusion"),this.resetSegmentDownloads_(type),this.tech_.trigger({type:"usage",name:"vhs-"+type+"-download-exclusion"}),"subtitle"!==type&&mpc.blacklistCurrentPlaylist({message:"Excessive "+type+" segment downloading detected."},1/0)))},_proto.checkCurrentTime_=function checkCurrentTime_(){if(!this.tech_.paused()&&!this.tech_.seeking()){var currentTime=this.tech_.currentTime(),buffered=this.tech_.buffered();if(this.lastRecordedTime===currentTime&&(!buffered.length||currentTime+.1>=buffered.end(buffered.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&¤tTime===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):currentTime===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=currentTime)}},_proto.cancelTimer_=function cancelTimer_(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},_proto.fixesBadSeeks_=function fixesBadSeeks_(){if(!this.tech_.seeking())return!1;var seekTo,seekable=this.seekable(),currentTime=this.tech_.currentTime();this.afterSeekableWindow_(seekable,currentTime,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(seekTo=seekable.end(seekable.length-1));if(this.beforeSeekableWindow_(seekable,currentTime)){var seekableStart=seekable.start(0);seekTo=seekableStart+(seekableStart===seekable.end(0)?0:.1)}if(void 0!==seekTo)return this.logger_("Trying to seek outside of seekable at time "+currentTime+" with seekable range "+printableRange(seekable)+". Seeking to "+seekTo+"."),this.tech_.setCurrentTime(seekTo),!0;for(var sourceUpdater=this.masterPlaylistController_.sourceUpdater_,buffered=this.tech_.buffered(),audioBuffered=sourceUpdater.audioBuffer?sourceUpdater.audioBuffered():null,videoBuffered=sourceUpdater.videoBuffer?sourceUpdater.videoBuffered():null,media=this.media(),minAppendedDuration=media.partTargetDuration?media.partTargetDuration:2*(media.targetDuration-.03333333333333333),bufferedToCheck=[audioBuffered,videoBuffered],i=0;i<bufferedToCheck.length;i++){if(bufferedToCheck[i])if(timeAheadOf(bufferedToCheck[i],currentTime)<minAppendedDuration)return!1}var nextRange=findNextRange(buffered,currentTime);return 0!==nextRange.length&&(seekTo=nextRange.start(0)+.1,this.logger_("Buffered region starts ("+nextRange.start(0)+") just beyond seek point ("+currentTime+"). Seeking to "+seekTo+"."),this.tech_.setCurrentTime(seekTo),!0)},_proto.waiting_=function waiting_(){if(!this.techWaiting_()){var currentTime=this.tech_.currentTime(),buffered=this.tech_.buffered(),currentRange=findRange(buffered,currentTime);return currentRange.length&¤tTime+3<=currentRange.end(0)?(this.cancelTimer_(),this.tech_.setCurrentTime(currentTime),this.logger_("Stopped at "+currentTime+" while inside a buffered region ["+currentRange.start(0)+" -> "+currentRange.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}},_proto.techWaiting_=function techWaiting_(){var seekable=this.seekable(),currentTime=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(seekable,currentTime)){var livePoint=seekable.end(seekable.length-1);return this.logger_("Fell out of live window at time "+currentTime+". Seeking to live point (seekable end) "+livePoint),this.cancelTimer_(),this.tech_.setCurrentTime(livePoint),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var sourceUpdater=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,buffered=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:sourceUpdater.audioBuffered(),videoBuffered:sourceUpdater.videoBuffered(),currentTime}))return this.cancelTimer_(),this.tech_.setCurrentTime(currentTime),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var nextRange=findNextRange(buffered,currentTime);if(nextRange.length>0){var difference=nextRange.start(0)-currentTime;return this.logger_("Stopped at "+currentTime+", setting timer for "+difference+", seeking to "+nextRange.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*difference,currentTime),!0}return!1},_proto.afterSeekableWindow_=function afterSeekableWindow_(seekable,currentTime,playlist,allowSeeksWithinUnsafeLiveWindow){if(void 0===allowSeeksWithinUnsafeLiveWindow&&(allowSeeksWithinUnsafeLiveWindow=!1),!seekable.length)return!1;var allowedEnd=seekable.end(seekable.length-1)+.1;return!playlist.endList&&allowSeeksWithinUnsafeLiveWindow&&(allowedEnd=seekable.end(seekable.length-1)+3*playlist.targetDuration),currentTime>allowedEnd},_proto.beforeSeekableWindow_=function beforeSeekableWindow_(seekable,currentTime){return!!(seekable.length&&seekable.start(0)>0&¤tTime<seekable.start(0)-this.liveRangeSafeTimeDelta)},_proto.videoUnderflow_=function videoUnderflow_(_ref){var videoBuffered=_ref.videoBuffered,audioBuffered=_ref.audioBuffered,currentTime=_ref.currentTime;if(videoBuffered){var gap;if(videoBuffered.length&&audioBuffered.length){var lastVideoRange=findRange(videoBuffered,currentTime-3),videoRange=findRange(videoBuffered,currentTime),audioRange=findRange(audioBuffered,currentTime);audioRange.length&&!videoRange.length&&lastVideoRange.length&&(gap={start:lastVideoRange.end(0),end:audioRange.end(0)})}else{findNextRange(videoBuffered,currentTime).length||(gap=this.gapFromVideoUnderflow_(videoBuffered,currentTime))}return!!gap&&(this.logger_("Encountered a gap in video from "+gap.start+" to "+gap.end+". Seeking to current time "+currentTime),!0)}},_proto.skipTheGap_=function skipTheGap_(scheduledCurrentTime){var buffered=this.tech_.buffered(),currentTime=this.tech_.currentTime(),nextRange=findNextRange(buffered,currentTime);this.cancelTimer_(),0!==nextRange.length&¤tTime===scheduledCurrentTime&&(this.logger_("skipTheGap_:","currentTime:",currentTime,"scheduled currentTime:",scheduledCurrentTime,"nextRange start:",nextRange.start(0)),this.tech_.setCurrentTime(nextRange.start(0)+.03333333333333333),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))},_proto.gapFromVideoUnderflow_=function gapFromVideoUnderflow_(buffered,currentTime){for(var gaps=function findGaps(buffered){if(buffered.length<2)return videojs.createTimeRanges();for(var ranges=[],i=1;i<buffered.length;i++){var start=buffered.end(i-1),end=buffered.start(i);ranges.push([start,end])}return videojs.createTimeRanges(ranges)}(buffered),i=0;i<gaps.length;i++){var start=gaps.start(i),end=gaps.end(i);if(currentTime-start<4&¤tTime-start>2)return{start,end}}return null},PlaybackWatcher}(),defaultOptions={errorInterval:30,getSource:function getSource(next){return next(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},initPlugin=function initPlugin(player,options){var lastCalled=0,seekTo=0,localOptions=videojs.mergeOptions(defaultOptions,options);player.ready((function(){player.trigger({type:"usage",name:"vhs-error-reload-initialized"}),player.trigger({type:"usage",name:"hls-error-reload-initialized"})}));var loadedMetadataHandler=function loadedMetadataHandler(){seekTo&&player.currentTime(seekTo)},setSource=function setSource(sourceObj){null!=sourceObj&&(seekTo=player.duration()!==1/0&&player.currentTime()||0,player.one("loadedmetadata",loadedMetadataHandler),player.src(sourceObj),player.trigger({type:"usage",name:"vhs-error-reload"}),player.trigger({type:"usage",name:"hls-error-reload"}),player.play())},errorHandler=function errorHandler(){return Date.now()-lastCalled<1e3*localOptions.errorInterval?(player.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void player.trigger({type:"usage",name:"hls-error-reload-canceled"})):localOptions.getSource&&"function"==typeof localOptions.getSource?(lastCalled=Date.now(),localOptions.getSource.call(player,setSource)):void videojs.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")},cleanupEvents=function cleanupEvents(){player.off("loadedmetadata",loadedMetadataHandler),player.off("error",errorHandler),player.off("dispose",cleanupEvents)};player.on("error",errorHandler),player.on("dispose",cleanupEvents),player.reloadSourceOnError=function reinitPlugin(newOptions){cleanupEvents(),initPlugin(player,newOptions)}},Vhs={PlaylistLoader,Playlist,utils,STANDARD_PLAYLIST_SELECTOR:lastBandwidthSelector,INITIAL_PLAYLIST_SELECTOR:function lowestBitrateCompatibleVariantSelector(){var _this=this,playlists=this.playlists.master.playlists.filter(Playlist.isEnabled);return stableSort(playlists,(function(a,b){return comparePlaylistBandwidth(a,b)})),playlists.filter((function(playlist){return!!codecsForPlaylist(_this.playlists.master,playlist).video}))[0]||null},lastBandwidthSelector,movingAverageBandwidthSelector:function movingAverageBandwidthSelector(decay){var average=-1,lastSystemBandwidth=-1;if(decay<0||decay>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var pixelRatio=this.useDevicePixelRatio&&window_default().devicePixelRatio||1;return average<0&&(average=this.systemBandwidth,lastSystemBandwidth=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==lastSystemBandwidth&&(average=decay*this.systemBandwidth+(1-decay)*average,lastSystemBandwidth=this.systemBandwidth),simpleSelector(this.playlists.master,average,parseInt(safeGetComputedStyle(this.tech_.el(),"width"),10)*pixelRatio,parseInt(safeGetComputedStyle(this.tech_.el(),"height"),10)*pixelRatio,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth,comparePlaylistResolution:function comparePlaylistResolution(left,right){var leftWidth,rightWidth;return left.attributes.RESOLUTION&&left.attributes.RESOLUTION.width&&(leftWidth=left.attributes.RESOLUTION.width),leftWidth=leftWidth||window_default().Number.MAX_VALUE,right.attributes.RESOLUTION&&right.attributes.RESOLUTION.width&&(rightWidth=right.attributes.RESOLUTION.width),leftWidth===(rightWidth=rightWidth||window_default().Number.MAX_VALUE)&&left.attributes.BANDWIDTH&&right.attributes.BANDWIDTH?left.attributes.BANDWIDTH-right.attributes.BANDWIDTH:leftWidth-rightWidth},xhr:xhrFactory()};Object.keys(Config).forEach((function(prop){Object.defineProperty(Vhs,prop,{get:function get(){return videojs.log.warn("using Vhs."+prop+" is UNSAFE be sure you know what you are doing"),Config[prop]},set:function set(value){videojs.log.warn("using Vhs."+prop+" is UNSAFE be sure you know what you are doing"),"number"!=typeof value||value<0?videojs.log.warn("value of Vhs."+prop+" must be greater than or equal to 0"):Config[prop]=value}})}));var handleVhsMediaChange=function handleVhsMediaChange(qualityLevels,playlistLoader){for(var newPlaylist=playlistLoader.media(),selectedIndex=-1,i=0;i<qualityLevels.length;i++)if(qualityLevels[i].id===newPlaylist.id){selectedIndex=i;break}qualityLevels.selectedIndex_=selectedIndex,qualityLevels.trigger({selectedIndex,type:"change"})};Vhs.canPlaySource=function(){return videojs.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var waitForKeySessionCreation=function waitForKeySessionCreation(_ref){var player=_ref.player,sourceKeySystems=_ref.sourceKeySystems,audioMedia=_ref.audioMedia,mainPlaylists=_ref.mainPlaylists;if(!player.eme.initializeMediaKeys)return Promise.resolve();var keySystemsOptionsArr=function getAllPsshKeySystemsOptions(playlists,keySystems){return playlists.reduce((function(keySystemsArr,playlist){if(!playlist.contentProtection)return keySystemsArr;var keySystemsOptions=keySystems.reduce((function(keySystemsObj,keySystem){var keySystemOptions=playlist.contentProtection[keySystem];return keySystemOptions&&keySystemOptions.pssh&&(keySystemsObj[keySystem]={pssh:keySystemOptions.pssh}),keySystemsObj}),{});return Object.keys(keySystemsOptions).length&&keySystemsArr.push(keySystemsOptions),keySystemsArr}),[])}(audioMedia?mainPlaylists.concat([audioMedia]):mainPlaylists,Object.keys(sourceKeySystems)),initializationFinishedPromises=[],keySessionCreatedPromises=[];return keySystemsOptionsArr.forEach((function(keySystemsOptions){keySessionCreatedPromises.push(new Promise((function(resolve,reject){player.tech_.one("keysessioncreated",resolve)}))),initializationFinishedPromises.push(new Promise((function(resolve,reject){player.eme.initializeMediaKeys({keySystems:keySystemsOptions},(function(err){err?reject(err):resolve()}))})))})),Promise.race([Promise.all(initializationFinishedPromises),Promise.race(keySessionCreatedPromises)])},setupEmeOptions=function setupEmeOptions(_ref2){var player=_ref2.player,sourceOptions=function emeKeySystems(keySystemOptions,mainPlaylist,audioPlaylist){if(!keySystemOptions)return keySystemOptions;var codecs={};mainPlaylist&&mainPlaylist.attributes&&mainPlaylist.attributes.CODECS&&(codecs=unwrapCodecList(parseCodecs(mainPlaylist.attributes.CODECS))),audioPlaylist&&audioPlaylist.attributes&&audioPlaylist.attributes.CODECS&&(codecs.audio=audioPlaylist.attributes.CODECS);var videoContentType=getMimeForCodec(codecs.video),audioContentType=getMimeForCodec(codecs.audio),keySystemContentTypes={};for(var keySystem in keySystemOptions)keySystemContentTypes[keySystem]={},audioContentType&&(keySystemContentTypes[keySystem].audioContentType=audioContentType),videoContentType&&(keySystemContentTypes[keySystem].videoContentType=videoContentType),mainPlaylist.contentProtection&&mainPlaylist.contentProtection[keySystem]&&mainPlaylist.contentProtection[keySystem].pssh&&(keySystemContentTypes[keySystem].pssh=mainPlaylist.contentProtection[keySystem].pssh),"string"==typeof keySystemOptions[keySystem]&&(keySystemContentTypes[keySystem].url=keySystemOptions[keySystem]);return videojs.mergeOptions(keySystemOptions,keySystemContentTypes)}(_ref2.sourceKeySystems,_ref2.media,_ref2.audioMedia);return!!sourceOptions&&(player.currentSource().keySystems=sourceOptions,!(sourceOptions&&!player.eme)||(videojs.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},getVhsLocalStorage=function getVhsLocalStorage(){if(!window_default().localStorage)return null;var storedObject=window_default().localStorage.getItem("videojs-vhs");if(!storedObject)return null;try{return JSON.parse(storedObject)}catch(e){return null}};Vhs.supportsNativeHls=function(){if(!document_default()||!document_default().createElement)return!1;var video=document_default().createElement("video");if(!videojs.getTech("Html5").isSupported())return!1;return["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(canItPlay){return/maybe|probably/i.test(video.canPlayType(canItPlay))}))}(),Vhs.supportsNativeDash=!!(document_default()&&document_default().createElement&&videojs.getTech("Html5").isSupported())&&/maybe|probably/i.test(document_default().createElement("video").canPlayType("application/dash+xml")),Vhs.supportsTypeNatively=function(type){return"hls"===type?Vhs.supportsNativeHls:"dash"===type&&Vhs.supportsNativeDash},Vhs.isSupported=function(){return videojs.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var VhsHandler=function(_Component){function VhsHandler(source,tech,options){var _this;if(_this=_Component.call(this,tech,videojs.mergeOptions(options.hls,options.vhs))||this,options.hls&&Object.keys(options.hls).length&&videojs.log.warn("Using hls options is deprecated. Use vhs instead."),"number"==typeof options.initialBandwidth&&(_this.options_.bandwidth=options.initialBandwidth),_this.logger_=logger("VhsHandler"),tech.options_&&tech.options_.playerId){var _player=videojs(tech.options_.playerId);_player.hasOwnProperty("hls")||Object.defineProperty(_player,"hls",{get:function get(){return videojs.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),tech.trigger({type:"usage",name:"hls-player-access"}),(0,assertThisInitialized.Z)(_this)},configurable:!0}),_player.hasOwnProperty("vhs")||Object.defineProperty(_player,"vhs",{get:function get(){return videojs.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),tech.trigger({type:"usage",name:"vhs-player-access"}),(0,assertThisInitialized.Z)(_this)},configurable:!0}),_player.hasOwnProperty("dash")||Object.defineProperty(_player,"dash",{get:function get(){return videojs.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),(0,assertThisInitialized.Z)(_this)},configurable:!0}),_this.player_=_player}if(_this.tech_=tech,_this.source_=source,_this.stats={},_this.ignoreNextSeekingEvent_=!1,_this.setOptions_(),_this.options_.overrideNative&&tech.overrideNativeAudioTracks&&tech.overrideNativeVideoTracks)tech.overrideNativeAudioTracks(!0),tech.overrideNativeVideoTracks(!0);else if(_this.options_.overrideNative&&(tech.featuresNativeVideoTracks||tech.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return _this.on(document_default(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(function(event){var fullscreenElement=document_default().fullscreenElement||document_default().webkitFullscreenElement||document_default().mozFullScreenElement||document_default().msFullscreenElement;fullscreenElement&&fullscreenElement.contains(_this.tech_.el())?_this.masterPlaylistController_.fastQualityChange_():_this.masterPlaylistController_.checkABR_()})),_this.on(_this.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),_this.on(_this.tech_,"error",(function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),_this.on(_this.tech_,"play",_this.play),_this}(0,inheritsLoose.Z)(VhsHandler,_Component);var _proto=VhsHandler.prototype;return _proto.setOptions_=function setOptions_(){var _this2=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=!1!==this.options_.handleManifestRedirects,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,"number"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){var storedObject=getVhsLocalStorage();storedObject&&storedObject.bandwidth&&(this.options_.bandwidth=storedObject.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),storedObject&&storedObject.throughput&&(this.options_.throughput=storedObject.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=Config.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Config.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","experimentalBufferBasedABR","liveRangeSafeTimeDelta","experimentalLLHLS","useNetworkInformationApi","experimentalExactManifestTimings","experimentalLeastPixelDiffSelector"].forEach((function(option){void 0!==_this2.source_[option]&&(_this2.options_[option]=_this2.source_[option])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},_proto.src=function src(_src,type){var _this3=this;if(_src){this.setOptions_(),this.options_.src=function expandDataUri(dataUri){return 0===dataUri.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(dataUri.substring(dataUri.indexOf(",")+1)):dataUri}(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=Vhs,this.options_.sourceType=simpleTypeFromSourceType(type),this.options_.seekTo=function(time){_this3.tech_.setCurrentTime(time)},this.options_.smoothQualityChange&&videojs.log.warn("smoothQualityChange is deprecated and will be removed in the next major version"),this.masterPlaylistController_=new MasterPlaylistController(this.options_);var playbackWatcherOptions=videojs.mergeOptions({liveRangeSafeTimeDelta:.1},this.options_,{seekable:function seekable(){return _this3.seekable()},media:function media(){return _this3.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_});this.playbackWatcher_=new PlaybackWatcher(playbackWatcherOptions),this.masterPlaylistController_.on("error",(function(){var player=videojs.players[_this3.tech_.options_.playerId],error=_this3.masterPlaylistController_.error;"object"!=typeof error||error.code?"string"==typeof error&&(error={message:error,code:3}):error.code=3,player.error(error)}));var defaultSelector=this.options_.experimentalBufferBasedABR?Vhs.movingAverageBandwidthSelector(.55):Vhs.STANDARD_PLAYLIST_SELECTOR;this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):defaultSelector.bind(this),this.masterPlaylistController_.selectInitialPlaylist=Vhs.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function get(){return this.masterPlaylistController_.selectPlaylist},set:function set(selectPlaylist){this.masterPlaylistController_.selectPlaylist=selectPlaylist.bind(this)}},throughput:{get:function get(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function set(throughput){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=throughput,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function get(){var playerBandwidthEst=this.masterPlaylistController_.mainSegmentLoader_.bandwidth,networkInformation=window_default().navigator.connection||window_default().navigator.mozConnection||window_default().navigator.webkitConnection;if(this.options_.useNetworkInformationApi&&networkInformation){var networkInfoBandwidthEstBitsPerSec=1e3*networkInformation.downlink*1e3;playerBandwidthEst=networkInfoBandwidthEstBitsPerSec>=1e7&&playerBandwidthEst>=1e7?Math.max(playerBandwidthEst,networkInfoBandwidthEstBitsPerSec):networkInfoBandwidthEstBitsPerSec}return playerBandwidthEst},set:function set(bandwidth){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=bandwidth,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function get(){var invThroughput,invBandwidth=1/(this.bandwidth||1);return invThroughput=this.throughput>0?1/this.throughput:0,Math.floor(1/(invBandwidth+invThroughput))},set:function set(){videojs.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function get(){return _this3.bandwidth||0},enumerable:!0},mediaRequests:{get:function get(){return _this3.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function get(){return _this3.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function get(){return _this3.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function get(){return _this3.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function get(){return _this3.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function get(){return _this3.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function get(){return _this3.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function get(){return _this3.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function get(){return _this3.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function get(){return _this3.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function get(){return _this3.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function get(){return _this3.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function get(){return timeRangesToArray(_this3.tech_.buffered())},enumerable:!0},currentTime:{get:function get(){return _this3.tech_.currentTime()},enumerable:!0},currentSource:{get:function get(){return _this3.tech_.currentSource_},enumerable:!0},currentTech:{get:function get(){return _this3.tech_.name_},enumerable:!0},duration:{get:function get(){return _this3.tech_.duration()},enumerable:!0},master:{get:function get(){return _this3.playlists.master},enumerable:!0},playerDimensions:{get:function get(){return _this3.tech_.currentDimensions()},enumerable:!0},seekable:{get:function get(){return timeRangesToArray(_this3.tech_.seekable())},enumerable:!0},timestamp:{get:function get(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function get(){return _this3.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",(function(){_this3.options_.useBandwidthFromLocalStorage&&function updateVhsLocalStorage(options){if(!window_default().localStorage)return!1;var objectToStore=getVhsLocalStorage();objectToStore=objectToStore?videojs.mergeOptions(objectToStore,options):options;try{window_default().localStorage.setItem("videojs-vhs",JSON.stringify(objectToStore))}catch(e){return!1}}({bandwidth:_this3.bandwidth,throughput:Math.round(_this3.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){!function renditionSelectionMixin(vhsHandler){vhsHandler.representations=function(){var master=vhsHandler.masterPlaylistController_.master(),playlists=isAudioOnly(master)?vhsHandler.masterPlaylistController_.getAudioTrackPlaylists_():master.playlists;return playlists?playlists.filter((function(media){return!isIncompatible(media)})).map((function(e,i){return new Representation(vhsHandler,e,e.id)})):[]}}(_this3)})),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",(function(){_this3.setupEme_()})),this.on(this.masterPlaylistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.masterPlaylistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=window_default().URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},_proto.createKeySessions_=function createKeySessions_(){var _this4=this,audioPlaylistLoader=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),waitForKeySessionCreation({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:audioPlaylistLoader&&audioPlaylistLoader.media(),mainPlaylists:this.playlists.master.playlists}).then((function(){_this4.logger_("created EME key session"),_this4.masterPlaylistController_.sourceUpdater_.initializedEme()})).catch((function(err){_this4.logger_("error while creating EME key session",err),_this4.player_.error({message:"Failed to initialize media keys for EME",code:3})}))},_proto.handleWaitingForKey_=function handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},_proto.setupEme_=function setupEme_(){var _this5=this,audioPlaylistLoader=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,didSetupEmeOptions=setupEmeOptions({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:audioPlaylistLoader&&audioPlaylistLoader.media()});this.player_.tech_.on("keystatuschange",(function(e){"output-restricted"===e.status&&_this5.masterPlaylistController_.blacklistCurrentPlaylist({playlist:_this5.masterPlaylistController_.media(),message:"DRM keystatus changed to "+e.status+". Playlist will fail to play. Check for HDCP content.",blacklistDuration:1/0})})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==videojs.browser.IE_VERSION&&didSetupEmeOptions?this.createKeySessions_():this.masterPlaylistController_.sourceUpdater_.initializedEme()},_proto.setupQualityLevels_=function setupQualityLevels_(){var _this6=this,player=videojs.players[this.tech_.options_.playerId];player&&player.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=player.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){!function handleVhsLoadedMetadata(qualityLevels,vhs){vhs.representations().forEach((function(rep){qualityLevels.addQualityLevel(rep)})),handleVhsMediaChange(qualityLevels,vhs.playlists)}(_this6.qualityLevels_,_this6)})),this.playlists.on("mediachange",(function(){handleVhsMediaChange(_this6.qualityLevels_,_this6.playlists)})))},VhsHandler.version=function version$5(){return{"@videojs/http-streaming":"2.13.1","mux.js":"6.0.1","mpd-parser":"0.21.0","m3u8-parser":"4.7.0","aes-decrypter":"3.1.2"}},_proto.version=function version(){return this.constructor.version()},_proto.canChangeType=function canChangeType(){return SourceUpdater.canChangeType()},_proto.play=function play(){this.masterPlaylistController_.play()},_proto.setCurrentTime=function setCurrentTime(currentTime){this.masterPlaylistController_.setCurrentTime(currentTime)},_proto.duration=function duration(){return this.masterPlaylistController_.duration()},_proto.seekable=function seekable(){return this.masterPlaylistController_.seekable()},_proto.dispose=function dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&window_default().URL.revokeObjectURL&&(window_default().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),_Component.prototype.dispose.call(this)},_proto.convertToProgramTime=function convertToProgramTime(time,callback){return getProgramTime({playlist:this.masterPlaylistController_.media(),time,callback})},_proto.seekToProgramTime=function seekToProgramTime$1(programTime,callback,pauseAfterSeek,retryCount){return void 0===pauseAfterSeek&&(pauseAfterSeek=!0),void 0===retryCount&&(retryCount=2),seekToProgramTime({programTime,playlist:this.masterPlaylistController_.media(),retryCount,pauseAfterSeek,seekTo:this.options_.seekTo,tech:this.options_.tech,callback})},VhsHandler}(videojs.getComponent("Component")),VhsSourceHandler={name:"videojs-http-streaming",VERSION:"2.13.1",canHandleSource:function canHandleSource(srcObj,options){void 0===options&&(options={});var localOptions=videojs.mergeOptions(videojs.options,options);return VhsSourceHandler.canPlayType(srcObj.type,localOptions)},handleSource:function handleSource(source,tech,options){void 0===options&&(options={});var localOptions=videojs.mergeOptions(videojs.options,options);return tech.vhs=new VhsHandler(source,tech,localOptions),videojs.hasOwnProperty("hls")||Object.defineProperty(tech,"hls",{get:function get(){return videojs.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),tech.vhs},configurable:!0}),tech.vhs.xhr=xhrFactory(),tech.vhs.src(source.src,source.type),tech.vhs},canPlayType:function canPlayType(type,options){void 0===options&&(options={});var _videojs$mergeOptions=videojs.mergeOptions(videojs.options,options),_videojs$mergeOptions2=_videojs$mergeOptions.vhs,_videojs$mergeOptions3=(_videojs$mergeOptions2=void 0===_videojs$mergeOptions2?{}:_videojs$mergeOptions2).overrideNative,overrideNative=void 0===_videojs$mergeOptions3?!videojs.browser.IS_ANY_SAFARI:_videojs$mergeOptions3,_videojs$mergeOptions4=_videojs$mergeOptions.hls,_videojs$mergeOptions5=(_videojs$mergeOptions4=void 0===_videojs$mergeOptions4?{}:_videojs$mergeOptions4).overrideNative,legacyOverrideNative=void 0!==_videojs$mergeOptions5&&_videojs$mergeOptions5,supportedType=simpleTypeFromSourceType(type);return supportedType&&(!Vhs.supportsTypeNatively(supportedType)||legacyOverrideNative||overrideNative)?"maybe":""}};(function supportsNativeMediaSources(){return browserSupportsCodec("avc1.4d400d,mp4a.40.2")}()&&videojs.getTech("Html5").registerSourceHandler(VhsSourceHandler,0),videojs.VhsHandler=VhsHandler,Object.defineProperty(videojs,"HlsHandler",{get:function get(){return videojs.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),VhsHandler},configurable:!0}),videojs.VhsSourceHandler=VhsSourceHandler,Object.defineProperty(videojs,"HlsSourceHandler",{get:function get(){return videojs.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),VhsSourceHandler},configurable:!0}),videojs.Vhs=Vhs,Object.defineProperty(videojs,"Hls",{get:function get(){return videojs.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),Vhs},configurable:!0}),videojs.use||(videojs.registerComponent("Hls",Vhs),videojs.registerComponent("Vhs",Vhs)),videojs.options.vhs=videojs.options.vhs||{},videojs.options.hls=videojs.options.hls||{},videojs.getPlugin&&videojs.getPlugin("reloadSourceOnError"))||(videojs.registerPlugin||videojs.plugin)("reloadSourceOnError",(function reloadSourceOnError(options){initPlugin(this,options)}));const video_es=videojs},"./node_modules/videojs-vtt.js/lib/browser-index.js":(module,__unused_webpack_exports,__webpack_require__)=>{var window=__webpack_require__("./node_modules/global/window.js"),vttjs=module.exports={WebVTT:__webpack_require__("./node_modules/videojs-vtt.js/lib/vtt.js"),VTTCue:__webpack_require__("./node_modules/videojs-vtt.js/lib/vttcue.js"),VTTRegion:__webpack_require__("./node_modules/videojs-vtt.js/lib/vttregion.js")};window.vttjs=vttjs,window.WebVTT=vttjs.WebVTT;var cueShim=vttjs.VTTCue,regionShim=vttjs.VTTRegion,nativeVTTCue=window.VTTCue,nativeVTTRegion=window.VTTRegion;vttjs.shim=function(){window.VTTCue=cueShim,window.VTTRegion=regionShim},vttjs.restore=function(){window.VTTCue=nativeVTTCue,window.VTTRegion=nativeVTTRegion},window.VTTCue||vttjs.shim()},"./node_modules/videojs-vtt.js/lib/vtt.js":(module,__unused_webpack_exports,__webpack_require__)=>{var document=__webpack_require__("./node_modules/global/document.js"),_objCreate=Object.create||function(){function F(){}return function(o){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return F.prototype=o,new F}}();function ParsingError(errorData,message){this.name="ParsingError",this.code=errorData.code,this.message=message||errorData.message}function parseTimeStamp(input){function computeSeconds(h,m,s,f){return 3600*(0|h)+60*(0|m)+(0|s)+(0|f)/1e3}var m=input.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return m?m[3]?computeSeconds(m[1],m[2],m[3].replace(":",""),m[4]):m[1]>59?computeSeconds(m[1],m[2],0,m[4]):computeSeconds(0,m[1],m[2],m[4]):null}function Settings(){this.values=_objCreate(null)}function parseOptions(input,callback,keyValueDelim,groupDelim){var groups=groupDelim?input.split(groupDelim):[input];for(var i in groups)if("string"==typeof groups[i]){var kv=groups[i].split(keyValueDelim);if(2===kv.length)callback(kv[0],kv[1])}}function parseCue(input,cue,regionList){var oInput=input;function consumeTimeStamp(){var ts=parseTimeStamp(input);if(null===ts)throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed timestamp: "+oInput);return input=input.replace(/^[^\sa-zA-Z-]+/,""),ts}function skipWhitespace(){input=input.replace(/^\s+/,"")}if(skipWhitespace(),cue.startTime=consumeTimeStamp(),skipWhitespace(),"--\x3e"!==input.substr(0,3))throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+oInput);input=input.substr(3),skipWhitespace(),cue.endTime=consumeTimeStamp(),skipWhitespace(),function consumeCueSettings(input,cue){var settings=new Settings;parseOptions(input,(function(k,v){switch(k){case"region":for(var i=regionList.length-1;i>=0;i--)if(regionList[i].id===v){settings.set(k,regionList[i].region);break}break;case"vertical":settings.alt(k,v,["rl","lr"]);break;case"line":var vals=v.split(","),vals0=vals[0];settings.integer(k,vals0),settings.percent(k,vals0)&&settings.set("snapToLines",!1),settings.alt(k,vals0,["auto"]),2===vals.length&&settings.alt("lineAlign",vals[1],["start","center","end"]);break;case"position":vals=v.split(","),settings.percent(k,vals[0]),2===vals.length&&settings.alt("positionAlign",vals[1],["start","center","end"]);break;case"size":settings.percent(k,v);break;case"align":settings.alt(k,v,["start","center","end","left","right"])}}),/:/,/\s/),cue.region=settings.get("region",null),cue.vertical=settings.get("vertical","");try{cue.line=settings.get("line","auto")}catch(e){}cue.lineAlign=settings.get("lineAlign","start"),cue.snapToLines=settings.get("snapToLines",!0),cue.size=settings.get("size",100);try{cue.align=settings.get("align","center")}catch(e){cue.align=settings.get("align","middle")}try{cue.position=settings.get("position","auto")}catch(e){cue.position=settings.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},cue.align)}cue.positionAlign=settings.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},cue.align)}(input,cue)}ParsingError.prototype=_objCreate(Error.prototype),ParsingError.prototype.constructor=ParsingError,ParsingError.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},Settings.prototype={set:function(k,v){this.get(k)||""===v||(this.values[k]=v)},get:function(k,dflt,defaultKey){return defaultKey?this.has(k)?this.values[k]:dflt[defaultKey]:this.has(k)?this.values[k]:dflt},has:function(k){return k in this.values},alt:function(k,v,a){for(var n=0;n<a.length;++n)if(v===a[n]){this.set(k,v);break}},integer:function(k,v){/^-?\d+$/.test(v)&&this.set(k,parseInt(v,10))},percent:function(k,v){return!!(v.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(v=parseFloat(v))>=0&&v<=100)&&(this.set(k,v),!0)}};var TEXTAREA_ELEMENT=document.createElement&&document.createElement("textarea"),TAG_NAME={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},DEFAULT_COLOR_CLASS={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},TAG_ANNOTATION={v:"title",lang:"lang"},NEEDS_PARENT={rt:"ruby"};function parseContent(window,input){function nextToken(){if(!input)return null;var m=input.match(/^([^<]*)(<[^>]*>?)?/);return function consume(result){return input=input.substr(result.length),result}(m[1]?m[1]:m[2])}function shouldAdd(current,element){return!NEEDS_PARENT[element.localName]||NEEDS_PARENT[element.localName]===current.localName}function createElement(type,annotation){var tagName=TAG_NAME[type];if(!tagName)return null;var element=window.document.createElement(tagName),name=TAG_ANNOTATION[type];return name&&annotation&&(element[name]=annotation.trim()),element}for(var t,s,rootDiv=window.document.createElement("div"),current=rootDiv,tagStack=[];null!==(t=nextToken());)if("<"!==t[0])current.appendChild(window.document.createTextNode((s=t,TEXTAREA_ELEMENT.innerHTML=s,s=TEXTAREA_ELEMENT.textContent,TEXTAREA_ELEMENT.textContent="",s)));else{if("/"===t[1]){tagStack.length&&tagStack[tagStack.length-1]===t.substr(2).replace(">","")&&(tagStack.pop(),current=current.parentNode);continue}var node,ts=parseTimeStamp(t.substr(1,t.length-2));if(ts){node=window.document.createProcessingInstruction("timestamp",ts),current.appendChild(node);continue}var m=t.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!m)continue;if(!(node=createElement(m[1],m[3])))continue;if(!shouldAdd(current,node))continue;if(m[2]){var classes=m[2].split(".");classes.forEach((function(cl){var bgColor=/^bg_/.test(cl),colorName=bgColor?cl.slice(3):cl;if(DEFAULT_COLOR_CLASS.hasOwnProperty(colorName)){var propName=bgColor?"background-color":"color",propValue=DEFAULT_COLOR_CLASS[colorName];node.style[propName]=propValue}})),node.className=classes.join(" ")}tagStack.push(m[1]),current.appendChild(node),current=node}return rootDiv}var strongRTLRanges=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function isStrongRTLChar(charCode){for(var i=0;i<strongRTLRanges.length;i++){var currentRange=strongRTLRanges[i];if(charCode>=currentRange[0]&&charCode<=currentRange[1])return!0}return!1}function determineBidi(cueDiv){var nodeStack=[],text="";if(!cueDiv||!cueDiv.childNodes)return"ltr";function pushNodes(nodeStack,node){for(var i=node.childNodes.length-1;i>=0;i--)nodeStack.push(node.childNodes[i])}function nextTextNode(nodeStack){if(!nodeStack||!nodeStack.length)return null;var node=nodeStack.pop(),text=node.textContent||node.innerText;if(text){var m=text.match(/^.*(\n|\r)/);return m?(nodeStack.length=0,m[0]):text}return"ruby"===node.tagName?nextTextNode(nodeStack):node.childNodes?(pushNodes(nodeStack,node),nextTextNode(nodeStack)):void 0}for(pushNodes(nodeStack,cueDiv);text=nextTextNode(nodeStack);)for(var i=0;i<text.length;i++)if(isStrongRTLChar(text.charCodeAt(i)))return"rtl";return"ltr"}function StyleBox(){}function CueStyleBox(window,cue,styleOptions){StyleBox.call(this),this.cue=cue,this.cueDiv=parseContent(window,cue.text);var styles={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===cue.vertical?"horizontal-tb":"lr"===cue.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(styles,this.cueDiv),this.div=window.document.createElement("div"),styles={direction:determineBidi(this.cueDiv),writingMode:""===cue.vertical?"horizontal-tb":"lr"===cue.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===cue.align?"center":cue.align,font:styleOptions.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(styles),this.div.appendChild(this.cueDiv);var textPos=0;switch(cue.positionAlign){case"start":textPos=cue.position;break;case"center":textPos=cue.position-cue.size/2;break;case"end":textPos=cue.position-cue.size}""===cue.vertical?this.applyStyles({left:this.formatStyle(textPos,"%"),width:this.formatStyle(cue.size,"%")}):this.applyStyles({top:this.formatStyle(textPos,"%"),height:this.formatStyle(cue.size,"%")}),this.move=function(box){this.applyStyles({top:this.formatStyle(box.top,"px"),bottom:this.formatStyle(box.bottom,"px"),left:this.formatStyle(box.left,"px"),right:this.formatStyle(box.right,"px"),height:this.formatStyle(box.height,"px"),width:this.formatStyle(box.width,"px")})}}function BoxPosition(obj){var lh,height,width,top;if(obj.div){height=obj.div.offsetHeight,width=obj.div.offsetWidth,top=obj.div.offsetTop;var rects=(rects=obj.div.childNodes)&&(rects=rects[0])&&rects.getClientRects&&rects.getClientRects();obj=obj.div.getBoundingClientRect(),lh=rects?Math.max(rects[0]&&rects[0].height||0,obj.height/rects.length):0}this.left=obj.left,this.right=obj.right,this.top=obj.top||top,this.height=obj.height||height,this.bottom=obj.bottom||top+(obj.height||height),this.width=obj.width||width,this.lineHeight=void 0!==lh?lh:obj.lineHeight}function moveBoxToLinePosition(window,styleBox,containerBox,boxPositions){var boxPosition=new BoxPosition(styleBox),cue=styleBox.cue,linePos=function computeLinePos(cue){if("number"==typeof cue.line&&(cue.snapToLines||cue.line>=0&&cue.line<=100))return cue.line;if(!cue.track||!cue.track.textTrackList||!cue.track.textTrackList.mediaElement)return-1;for(var track=cue.track,trackList=track.textTrackList,count=0,i=0;i<trackList.length&&trackList[i]!==track;i++)"showing"===trackList[i].mode&&count++;return-1*++count}(cue),axis=[];if(cue.snapToLines){var size;switch(cue.vertical){case"":axis=["+y","-y"],size="height";break;case"rl":axis=["+x","-x"],size="width";break;case"lr":axis=["-x","+x"],size="width"}var step=boxPosition.lineHeight,position=step*Math.round(linePos),maxPosition=containerBox[size]+step,initialAxis=axis[0];Math.abs(position)>maxPosition&&(position=position<0?-1:1,position*=Math.ceil(maxPosition/step)*step),linePos<0&&(position+=""===cue.vertical?containerBox.height:containerBox.width,axis=axis.reverse()),boxPosition.move(initialAxis,position)}else{var calculatedPercentage=boxPosition.lineHeight/containerBox.height*100;switch(cue.lineAlign){case"center":linePos-=calculatedPercentage/2;break;case"end":linePos-=calculatedPercentage}switch(cue.vertical){case"":styleBox.applyStyles({top:styleBox.formatStyle(linePos,"%")});break;case"rl":styleBox.applyStyles({left:styleBox.formatStyle(linePos,"%")});break;case"lr":styleBox.applyStyles({right:styleBox.formatStyle(linePos,"%")})}axis=["+y","-x","+x","-y"],boxPosition=new BoxPosition(styleBox)}var bestPosition=function findBestPosition(b,axis){for(var bestPosition,specifiedPosition=new BoxPosition(b),percentage=1,i=0;i<axis.length;i++){for(;b.overlapsOppositeAxis(containerBox,axis[i])||b.within(containerBox)&&b.overlapsAny(boxPositions);)b.move(axis[i]);if(b.within(containerBox))return b;var p=b.intersectPercentage(containerBox);percentage>p&&(bestPosition=new BoxPosition(b),percentage=p),b=new BoxPosition(specifiedPosition)}return bestPosition||specifiedPosition}(boxPosition,axis);styleBox.move(bestPosition.toCSSCompatValues(containerBox))}function WebVTT(){}StyleBox.prototype.applyStyles=function(styles,div){for(var prop in div=div||this.div,styles)styles.hasOwnProperty(prop)&&(div.style[prop]=styles[prop])},StyleBox.prototype.formatStyle=function(val,unit){return 0===val?0:val+unit},CueStyleBox.prototype=_objCreate(StyleBox.prototype),CueStyleBox.prototype.constructor=CueStyleBox,BoxPosition.prototype.move=function(axis,toMove){switch(toMove=void 0!==toMove?toMove:this.lineHeight,axis){case"+x":this.left+=toMove,this.right+=toMove;break;case"-x":this.left-=toMove,this.right-=toMove;break;case"+y":this.top+=toMove,this.bottom+=toMove;break;case"-y":this.top-=toMove,this.bottom-=toMove}},BoxPosition.prototype.overlaps=function(b2){return this.left<b2.right&&this.right>b2.left&&this.top<b2.bottom&&this.bottom>b2.top},BoxPosition.prototype.overlapsAny=function(boxes){for(var i=0;i<boxes.length;i++)if(this.overlaps(boxes[i]))return!0;return!1},BoxPosition.prototype.within=function(container){return this.top>=container.top&&this.bottom<=container.bottom&&this.left>=container.left&&this.right<=container.right},BoxPosition.prototype.overlapsOppositeAxis=function(container,axis){switch(axis){case"+x":return this.left<container.left;case"-x":return this.right>container.right;case"+y":return this.top<container.top;case"-y":return this.bottom>container.bottom}},BoxPosition.prototype.intersectPercentage=function(b2){return Math.max(0,Math.min(this.right,b2.right)-Math.max(this.left,b2.left))*Math.max(0,Math.min(this.bottom,b2.bottom)-Math.max(this.top,b2.top))/(this.height*this.width)},BoxPosition.prototype.toCSSCompatValues=function(reference){return{top:this.top-reference.top,bottom:reference.bottom-this.bottom,left:this.left-reference.left,right:reference.right-this.right,height:this.height,width:this.width}},BoxPosition.getSimpleBoxPosition=function(obj){var height=obj.div?obj.div.offsetHeight:obj.tagName?obj.offsetHeight:0,width=obj.div?obj.div.offsetWidth:obj.tagName?obj.offsetWidth:0,top=obj.div?obj.div.offsetTop:obj.tagName?obj.offsetTop:0;return{left:(obj=obj.div?obj.div.getBoundingClientRect():obj.tagName?obj.getBoundingClientRect():obj).left,right:obj.right,top:obj.top||top,height:obj.height||height,bottom:obj.bottom||top+(obj.height||height),width:obj.width||width}},WebVTT.StringDecoder=function(){return{decode:function(data){if(!data)return"";if("string"!=typeof data)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(data))}}},WebVTT.convertCueToDOMTree=function(window,cuetext){return window&&cuetext?parseContent(window,cuetext):null};WebVTT.processCues=function(window,cues,overlay){if(!window||!cues||!overlay)return null;for(;overlay.firstChild;)overlay.removeChild(overlay.firstChild);var paddedOverlay=window.document.createElement("div");if(paddedOverlay.style.position="absolute",paddedOverlay.style.left="0",paddedOverlay.style.right="0",paddedOverlay.style.top="0",paddedOverlay.style.bottom="0",paddedOverlay.style.margin="1.5%",overlay.appendChild(paddedOverlay),function shouldCompute(cues){for(var i=0;i<cues.length;i++)if(cues[i].hasBeenReset||!cues[i].displayState)return!0;return!1}(cues)){var boxPositions=[],containerBox=BoxPosition.getSimpleBoxPosition(paddedOverlay),styleOptions={font:Math.round(.05*containerBox.height*100)/100+"px sans-serif"};!function(){for(var styleBox,cue,i=0;i<cues.length;i++)cue=cues[i],styleBox=new CueStyleBox(window,cue,styleOptions),paddedOverlay.appendChild(styleBox.div),moveBoxToLinePosition(0,styleBox,containerBox,boxPositions),cue.displayState=styleBox.div,boxPositions.push(BoxPosition.getSimpleBoxPosition(styleBox))}()}else for(var i=0;i<cues.length;i++)paddedOverlay.appendChild(cues[i].displayState)},WebVTT.Parser=function(window,vttjs,decoder){decoder||(decoder=vttjs,vttjs={}),vttjs||(vttjs={}),this.window=window,this.vttjs=vttjs,this.state="INITIAL",this.buffer="",this.decoder=decoder||new TextDecoder("utf8"),this.regionList=[]},WebVTT.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof ParsingError))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(data){var self=this;function collectNextLine(){for(var buffer=self.buffer,pos=0;pos<buffer.length&&"\r"!==buffer[pos]&&"\n"!==buffer[pos];)++pos;var line=buffer.substr(0,pos);return"\r"===buffer[pos]&&++pos,"\n"===buffer[pos]&&++pos,self.buffer=buffer.substr(pos),line}function parseHeader(input){input.match(/X-TIMESTAMP-MAP/)?parseOptions(input,(function(k,v){if("X-TIMESTAMP-MAP"===k)!function parseTimestampMap(input){var settings=new Settings;parseOptions(input,(function(k,v){switch(k){case"MPEGT":settings.integer(k+"S",v);break;case"LOCA":settings.set(k+"L",parseTimeStamp(v))}}),/[^\d]:/,/,/),self.ontimestampmap&&self.ontimestampmap({MPEGTS:settings.get("MPEGTS"),LOCAL:settings.get("LOCAL")})}(v)}),/=/):parseOptions(input,(function(k,v){if("Region"===k)!function parseRegion(input){var settings=new Settings;if(parseOptions(input,(function(k,v){switch(k){case"id":settings.set(k,v);break;case"width":settings.percent(k,v);break;case"lines":settings.integer(k,v);break;case"regionanchor":case"viewportanchor":var xy=v.split(",");if(2!==xy.length)break;var anchor=new Settings;if(anchor.percent("x",xy[0]),anchor.percent("y",xy[1]),!anchor.has("x")||!anchor.has("y"))break;settings.set(k+"X",anchor.get("x")),settings.set(k+"Y",anchor.get("y"));break;case"scroll":settings.alt(k,v,["up"])}}),/=/,/\s/),settings.has("id")){var region=new(self.vttjs.VTTRegion||self.window.VTTRegion);region.width=settings.get("width",100),region.lines=settings.get("lines",3),region.regionAnchorX=settings.get("regionanchorX",0),region.regionAnchorY=settings.get("regionanchorY",100),region.viewportAnchorX=settings.get("viewportanchorX",0),region.viewportAnchorY=settings.get("viewportanchorY",100),region.scroll=settings.get("scroll",""),self.onregion&&self.onregion(region),self.regionList.push({id:settings.get("id"),region})}}(v)}),/:/)}data&&(self.buffer+=self.decoder.decode(data,{stream:!0}));try{var line;if("INITIAL"===self.state){if(!/\r\n|\n/.test(self.buffer))return this;var m=(line=collectNextLine()).match(/^WEBVTT([ \t].*)?$/);if(!m||!m[0])throw new ParsingError(ParsingError.Errors.BadSignature);self.state="HEADER"}for(var alreadyCollectedLine=!1;self.buffer;){if(!/\r\n|\n/.test(self.buffer))return this;switch(alreadyCollectedLine?alreadyCollectedLine=!1:line=collectNextLine(),self.state){case"HEADER":/:/.test(line)?parseHeader(line):line||(self.state="ID");continue;case"NOTE":line||(self.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(line)){self.state="NOTE";break}if(!line)continue;self.cue=new(self.vttjs.VTTCue||self.window.VTTCue)(0,0,"");try{self.cue.align="center"}catch(e){self.cue.align="middle"}if(self.state="CUE",-1===line.indexOf("--\x3e")){self.cue.id=line;continue}case"CUE":try{parseCue(line,self.cue,self.regionList)}catch(e){self.reportOrThrowError(e),self.cue=null,self.state="BADCUE";continue}self.state="CUETEXT";continue;case"CUETEXT":var hasSubstring=-1!==line.indexOf("--\x3e");if(!line||hasSubstring&&(alreadyCollectedLine=!0)){self.oncue&&self.oncue(self.cue),self.cue=null,self.state="ID";continue}self.cue.text&&(self.cue.text+="\n"),self.cue.text+=line.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":line||(self.state="ID");continue}}}catch(e){self.reportOrThrowError(e),"CUETEXT"===self.state&&self.cue&&self.oncue&&self.oncue(self.cue),self.cue=null,self.state="INITIAL"===self.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new ParsingError(ParsingError.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},module.exports=WebVTT},"./node_modules/videojs-vtt.js/lib/vttcue.js":module=>{var directionSetting={"":1,lr:1,rl:1},alignSetting={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function findAlignSetting(value){return"string"==typeof value&&(!!alignSetting[value.toLowerCase()]&&value.toLowerCase())}function VTTCue(startTime,endTime,text){this.hasBeenReset=!1;var _id="",_pauseOnExit=!1,_startTime=startTime,_endTime=endTime,_text=text,_region=null,_vertical="",_snapToLines=!0,_line="auto",_lineAlign="start",_position="auto",_positionAlign="auto",_size=100,_align="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return _id},set:function(value){_id=""+value}},pauseOnExit:{enumerable:!0,get:function(){return _pauseOnExit},set:function(value){_pauseOnExit=!!value}},startTime:{enumerable:!0,get:function(){return _startTime},set:function(value){if("number"!=typeof value)throw new TypeError("Start time must be set to a number.");_startTime=value,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return _endTime},set:function(value){if("number"!=typeof value)throw new TypeError("End time must be set to a number.");_endTime=value,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return _text},set:function(value){_text=""+value,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return _region},set:function(value){_region=value,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return _vertical},set:function(value){var setting=function findDirectionSetting(value){return"string"==typeof value&&!!directionSetting[value.toLowerCase()]&&value.toLowerCase()}(value);if(!1===setting)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");_vertical=setting,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return _snapToLines},set:function(value){_snapToLines=!!value,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return _line},set:function(value){if("number"!=typeof value&&"auto"!==value)throw new SyntaxError("Line: an invalid number or illegal string was specified.");_line=value,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return _lineAlign},set:function(value){var setting=findAlignSetting(value);setting?(_lineAlign=setting,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return _position},set:function(value){if(value<0||value>100)throw new Error("Position must be between 0 and 100.");_position=value,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return _positionAlign},set:function(value){var setting=findAlignSetting(value);setting?(_positionAlign=setting,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return _size},set:function(value){if(value<0||value>100)throw new Error("Size must be between 0 and 100.");_size=value,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return _align},set:function(value){var setting=findAlignSetting(value);if(!setting)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");_align=setting,this.hasBeenReset=!0}}}),this.displayState=void 0}VTTCue.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},module.exports=VTTCue},"./node_modules/videojs-vtt.js/lib/vttregion.js":module=>{var scrollSetting={"":!0,up:!0};function isValidPercentValue(value){return"number"==typeof value&&value>=0&&value<=100}module.exports=function VTTRegion(){var _width=100,_lines=3,_regionAnchorX=0,_regionAnchorY=100,_viewportAnchorX=0,_viewportAnchorY=100,_scroll="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return _width},set:function(value){if(!isValidPercentValue(value))throw new Error("Width must be between 0 and 100.");_width=value}},lines:{enumerable:!0,get:function(){return _lines},set:function(value){if("number"!=typeof value)throw new TypeError("Lines must be set to a number.");_lines=value}},regionAnchorY:{enumerable:!0,get:function(){return _regionAnchorY},set:function(value){if(!isValidPercentValue(value))throw new Error("RegionAnchorX must be between 0 and 100.");_regionAnchorY=value}},regionAnchorX:{enumerable:!0,get:function(){return _regionAnchorX},set:function(value){if(!isValidPercentValue(value))throw new Error("RegionAnchorY must be between 0 and 100.");_regionAnchorX=value}},viewportAnchorY:{enumerable:!0,get:function(){return _viewportAnchorY},set:function(value){if(!isValidPercentValue(value))throw new Error("ViewportAnchorY must be between 0 and 100.");_viewportAnchorY=value}},viewportAnchorX:{enumerable:!0,get:function(){return _viewportAnchorX},set:function(value){if(!isValidPercentValue(value))throw new Error("ViewportAnchorX must be between 0 and 100.");_viewportAnchorX=value}},scroll:{enumerable:!0,get:function(){return _scroll},set:function(value){var setting=function findScrollSetting(value){return"string"==typeof value&&!!scrollSetting[value.toLowerCase()]&&value.toLowerCase()}(value);!1===setting?console.warn("Scroll: an invalid or illegal string was specified."):_scroll=setting}}})}},"./node_modules/es-abstract/2020/IsArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $Array=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Array%"),toStr=!$Array.isArray&&__webpack_require__("./node_modules/call-bind/callBound.js")("Object.prototype.toString");module.exports=$Array.isArray||function IsArray(argument){return"[object Array]"===toStr(argument)}},"./node_modules/es-abstract/2021/AddEntriesFromIterable.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var inspect=__webpack_require__("./node_modules/object-inspect/index.js"),$TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Call=__webpack_require__("./node_modules/es-abstract/2021/Call.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),GetIterator=__webpack_require__("./node_modules/es-abstract/2021/GetIterator.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),IteratorClose=__webpack_require__("./node_modules/es-abstract/2021/IteratorClose.js"),IteratorStep=__webpack_require__("./node_modules/es-abstract/2021/IteratorStep.js"),IteratorValue=__webpack_require__("./node_modules/es-abstract/2021/IteratorValue.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function AddEntriesFromIterable(target,iterable,adder){if(!IsCallable(adder))throw new $TypeError("Assertion failed: `adder` is not callable");if(null==iterable)throw new $TypeError("Assertion failed: `iterable` is present, and not nullish");for(var iteratorRecord=GetIterator(iterable);;){var next=IteratorStep(iteratorRecord);if(!next)return target;var nextItem=IteratorValue(next);if("Object"!==Type(nextItem)){var error=new $TypeError("iterator next must return an Object, got "+inspect(nextItem));return IteratorClose(iteratorRecord,(function(){throw error}))}try{var k=Get(nextItem,"0"),v=Get(nextItem,"1");Call(adder,target,[k,v])}catch(e){return IteratorClose(iteratorRecord,(function(){throw e}))}}}},"./node_modules/es-abstract/2021/AdvanceStringIndex.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),CodePointAt=__webpack_require__("./node_modules/es-abstract/2021/CodePointAt.js"),IsIntegralNumber=__webpack_require__("./node_modules/es-abstract/2021/IsIntegralNumber.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),MAX_SAFE_INTEGER=__webpack_require__("./node_modules/es-abstract/helpers/maxSafeInteger.js"),$TypeError=GetIntrinsic("%TypeError%");module.exports=function AdvanceStringIndex(S,index,unicode){if("String"!==Type(S))throw new $TypeError("Assertion failed: `S` must be a String");if(!IsIntegralNumber(index)||index<0||index>MAX_SAFE_INTEGER)throw new $TypeError("Assertion failed: `length` must be an integer >= 0 and <= 2**53");if("Boolean"!==Type(unicode))throw new $TypeError("Assertion failed: `unicode` must be a Boolean");return unicode?index+1>=S.length?index+1:index+CodePointAt(S,index)["[[CodeUnitCount]]"]:index+1}},"./node_modules/es-abstract/2021/ArrayCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$ArrayPrototype=GetIntrinsic("%Array.prototype%"),$RangeError=GetIntrinsic("%RangeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),$TypeError=GetIntrinsic("%TypeError%"),IsIntegralNumber=__webpack_require__("./node_modules/es-abstract/2021/IsIntegralNumber.js"),MAX_ARRAY_LENGTH=Math.pow(2,32)-1,$setProto=GetIntrinsic("%Object.setPrototypeOf%",!0)||([].__proto__!==$ArrayPrototype?null:function(O,proto){return O.__proto__=proto,O});module.exports=function ArrayCreate(length){if(!IsIntegralNumber(length)||length<0)throw new $TypeError("Assertion failed: `length` must be an integer Number >= 0");if(length>MAX_ARRAY_LENGTH)throw new $RangeError("length is greater than (2**32 - 1)");var proto=arguments.length>1?arguments[1]:$ArrayPrototype,A=[];if(proto!==$ArrayPrototype){if(!$setProto)throw new $SyntaxError("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");$setProto(A,proto)}return 0!==length&&(A.length=length),A}},"./node_modules/es-abstract/2021/ArraySpeciesCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$species=GetIntrinsic("%Symbol.species%",!0),$TypeError=GetIntrinsic("%TypeError%"),ArrayCreate=__webpack_require__("./node_modules/es-abstract/2021/ArrayCreate.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),IsArray=__webpack_require__("./node_modules/es-abstract/2021/IsArray.js"),IsConstructor=__webpack_require__("./node_modules/es-abstract/2021/IsConstructor.js"),IsIntegralNumber=__webpack_require__("./node_modules/es-abstract/2021/IsIntegralNumber.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function ArraySpeciesCreate(originalArray,length){if(!IsIntegralNumber(length)||length<0)throw new $TypeError("Assertion failed: length must be an integer >= 0");if(!IsArray(originalArray))return ArrayCreate(length);var C=Get(originalArray,"constructor");if($species&&"Object"===Type(C)&&null===(C=Get(C,$species))&&(C=void 0),void 0===C)return ArrayCreate(length);if(!IsConstructor(C))throw new $TypeError("C must be a constructor");return new C(length)}},"./node_modules/es-abstract/2021/Call.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),$TypeError=GetIntrinsic("%TypeError%"),IsArray=__webpack_require__("./node_modules/es-abstract/2021/IsArray.js"),$apply=GetIntrinsic("%Reflect.apply%",!0)||callBound("%Function.prototype.apply%");module.exports=function Call(F,V){var argumentsList=arguments.length>2?arguments[2]:[];if(!IsArray(argumentsList))throw new $TypeError("Assertion failed: optional `argumentsList`, if provided, must be a List");return $apply(F,V,argumentsList)}},"./node_modules/es-abstract/2021/CodePointAt.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),isLeadingSurrogate=__webpack_require__("./node_modules/es-abstract/helpers/isLeadingSurrogate.js"),isTrailingSurrogate=__webpack_require__("./node_modules/es-abstract/helpers/isTrailingSurrogate.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),UTF16SurrogatePairToCodePoint=__webpack_require__("./node_modules/es-abstract/2021/UTF16SurrogatePairToCodePoint.js"),$charAt=callBound("String.prototype.charAt"),$charCodeAt=callBound("String.prototype.charCodeAt");module.exports=function CodePointAt(string,position){if("String"!==Type(string))throw new $TypeError("Assertion failed: `string` must be a String");var size=string.length;if(position<0||position>=size)throw new $TypeError("Assertion failed: `position` must be >= 0, and < the length of `string`");var first=$charCodeAt(string,position),cp=$charAt(string,position),firstIsLeading=isLeadingSurrogate(first),firstIsTrailing=isTrailingSurrogate(first);if(!firstIsLeading&&!firstIsTrailing)return{"[[CodePoint]]":cp,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!1};if(firstIsTrailing||position+1===size)return{"[[CodePoint]]":cp,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0};var second=$charCodeAt(string,position+1);return isTrailingSurrogate(second)?{"[[CodePoint]]":UTF16SurrogatePairToCodePoint(first,second),"[[CodeUnitCount]]":2,"[[IsUnpairedSurrogate]]":!1}:{"[[CodePoint]]":cp,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0}}},"./node_modules/es-abstract/2021/CreateDataProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),DefineOwnProperty=__webpack_require__("./node_modules/es-abstract/helpers/DefineOwnProperty.js"),FromPropertyDescriptor=__webpack_require__("./node_modules/es-abstract/2021/FromPropertyDescriptor.js"),OrdinaryGetOwnProperty=__webpack_require__("./node_modules/es-abstract/2021/OrdinaryGetOwnProperty.js"),IsDataDescriptor=__webpack_require__("./node_modules/es-abstract/2021/IsDataDescriptor.js"),IsExtensible=__webpack_require__("./node_modules/es-abstract/2021/IsExtensible.js"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),SameValue=__webpack_require__("./node_modules/es-abstract/2021/SameValue.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function CreateDataProperty(O,P,V){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var oldDesc=OrdinaryGetOwnProperty(O,P),extensible=!oldDesc||IsExtensible(O);return!(oldDesc&&!oldDesc["[[Configurable]]"]||!extensible)&&DefineOwnProperty(IsDataDescriptor,SameValue,FromPropertyDescriptor,O,P,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":V,"[[Writable]]":!0})}},"./node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),CreateDataProperty=__webpack_require__("./node_modules/es-abstract/2021/CreateDataProperty.js"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function CreateDataPropertyOrThrow(O,P,V){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var success=CreateDataProperty(O,P,V);if(!success)throw new $TypeError("unable to create data property");return success}},"./node_modules/es-abstract/2021/CreateIterResultObject.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function CreateIterResultObject(value,done){if("Boolean"!==Type(done))throw new $TypeError("Assertion failed: Type(done) is not Boolean");return{value,done}}},"./node_modules/es-abstract/2021/CreateMethodProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),DefineOwnProperty=__webpack_require__("./node_modules/es-abstract/helpers/DefineOwnProperty.js"),FromPropertyDescriptor=__webpack_require__("./node_modules/es-abstract/2021/FromPropertyDescriptor.js"),IsDataDescriptor=__webpack_require__("./node_modules/es-abstract/2021/IsDataDescriptor.js"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),SameValue=__webpack_require__("./node_modules/es-abstract/2021/SameValue.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function CreateMethodProperty(O,P,V){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return DefineOwnProperty(IsDataDescriptor,SameValue,FromPropertyDescriptor,O,P,{"[[Configurable]]":!0,"[[Enumerable]]":!1,"[[Value]]":V,"[[Writable]]":!0})}},"./node_modules/es-abstract/2021/CreateRegExpStringIterator.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),$TypeError=GetIntrinsic("%TypeError%"),IteratorPrototype=GetIntrinsic("%IteratorPrototype%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),AdvanceStringIndex=__webpack_require__("./node_modules/es-abstract/2021/AdvanceStringIndex.js"),CreateIterResultObject=__webpack_require__("./node_modules/es-abstract/2021/CreateIterResultObject.js"),CreateMethodProperty=__webpack_require__("./node_modules/es-abstract/2021/CreateMethodProperty.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),OrdinaryObjectCreate=__webpack_require__("./node_modules/es-abstract/2021/OrdinaryObjectCreate.js"),RegExpExec=__webpack_require__("./node_modules/es-abstract/2021/RegExpExec.js"),Set=__webpack_require__("./node_modules/es-abstract/2021/Set.js"),ToLength=__webpack_require__("./node_modules/es-abstract/2021/ToLength.js"),ToString=__webpack_require__("./node_modules/es-abstract/2021/ToString.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),SLOT=__webpack_require__("./node_modules/internal-slot/index.js"),RegExpStringIterator=function RegExpStringIterator(R,S,global,fullUnicode){if("String"!==Type(S))throw new $TypeError("`S` must be a string");if("Boolean"!==Type(global))throw new $TypeError("`global` must be a boolean");if("Boolean"!==Type(fullUnicode))throw new $TypeError("`fullUnicode` must be a boolean");SLOT.set(this,"[[IteratingRegExp]]",R),SLOT.set(this,"[[IteratedString]]",S),SLOT.set(this,"[[Global]]",global),SLOT.set(this,"[[Unicode]]",fullUnicode),SLOT.set(this,"[[Done]]",!1)};IteratorPrototype&&(RegExpStringIterator.prototype=OrdinaryObjectCreate(IteratorPrototype));if(CreateMethodProperty(RegExpStringIterator.prototype,"next",(function next(){var O=this;if("Object"!==Type(O))throw new $TypeError("receiver must be an object");if(!(O instanceof RegExpStringIterator&&SLOT.has(O,"[[IteratingRegExp]]")&&SLOT.has(O,"[[IteratedString]]")&&SLOT.has(O,"[[Global]]")&&SLOT.has(O,"[[Unicode]]")&&SLOT.has(O,"[[Done]]")))throw new $TypeError('"this" value must be a RegExpStringIterator instance');if(SLOT.get(O,"[[Done]]"))return CreateIterResultObject(void 0,!0);var R=SLOT.get(O,"[[IteratingRegExp]]"),S=SLOT.get(O,"[[IteratedString]]"),global=SLOT.get(O,"[[Global]]"),fullUnicode=SLOT.get(O,"[[Unicode]]"),match=RegExpExec(R,S);if(null===match)return SLOT.set(O,"[[Done]]",!0),CreateIterResultObject(void 0,!0);if(global){if(""===ToString(Get(match,"0"))){var thisIndex=ToLength(Get(R,"lastIndex")),nextIndex=AdvanceStringIndex(S,thisIndex,fullUnicode);Set(R,"lastIndex",nextIndex,!0)}return CreateIterResultObject(match,!1)}return SLOT.set(O,"[[Done]]",!0),CreateIterResultObject(match,!1)})),hasSymbols&&(Symbol.toStringTag&&($defineProperty?$defineProperty(RegExpStringIterator.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!1,value:"RegExp String Iterator",writable:!1}):RegExpStringIterator.prototype[Symbol.toStringTag]="RegExp String Iterator"),Symbol.iterator&&"function"!=typeof RegExpStringIterator.prototype[Symbol.iterator])){CreateMethodProperty(RegExpStringIterator.prototype,Symbol.iterator,(function SymbolIterator(){return this}))}module.exports=function CreateRegExpStringIterator(R,S,global,fullUnicode){return new RegExpStringIterator(R,S,global,fullUnicode)}},"./node_modules/es-abstract/2021/DefinePropertyOrThrow.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),isPropertyDescriptor=__webpack_require__("./node_modules/es-abstract/helpers/isPropertyDescriptor.js"),DefineOwnProperty=__webpack_require__("./node_modules/es-abstract/helpers/DefineOwnProperty.js"),FromPropertyDescriptor=__webpack_require__("./node_modules/es-abstract/2021/FromPropertyDescriptor.js"),IsAccessorDescriptor=__webpack_require__("./node_modules/es-abstract/2021/IsAccessorDescriptor.js"),IsDataDescriptor=__webpack_require__("./node_modules/es-abstract/2021/IsDataDescriptor.js"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),SameValue=__webpack_require__("./node_modules/es-abstract/2021/SameValue.js"),ToPropertyDescriptor=__webpack_require__("./node_modules/es-abstract/2021/ToPropertyDescriptor.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function DefinePropertyOrThrow(O,P,desc){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var Desc=isPropertyDescriptor({Type,IsDataDescriptor,IsAccessorDescriptor},desc)?desc:ToPropertyDescriptor(desc);if(!isPropertyDescriptor({Type,IsDataDescriptor,IsAccessorDescriptor},Desc))throw new $TypeError("Assertion failed: Desc is not a valid Property Descriptor");return DefineOwnProperty(IsDataDescriptor,SameValue,FromPropertyDescriptor,O,P,Desc)}},"./node_modules/es-abstract/2021/FlattenIntoArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),MAX_SAFE_INTEGER=__webpack_require__("./node_modules/es-abstract/helpers/maxSafeInteger.js"),Call=__webpack_require__("./node_modules/es-abstract/2021/Call.js"),CreateDataPropertyOrThrow=__webpack_require__("./node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),HasProperty=__webpack_require__("./node_modules/es-abstract/2021/HasProperty.js"),IsArray=__webpack_require__("./node_modules/es-abstract/2021/IsArray.js"),LengthOfArrayLike=__webpack_require__("./node_modules/es-abstract/2021/LengthOfArrayLike.js"),ToString=__webpack_require__("./node_modules/es-abstract/2021/ToString.js");module.exports=function FlattenIntoArray(target,source,sourceLen,start,depth){var mapperFunction;arguments.length>5&&(mapperFunction=arguments[5]);for(var targetIndex=start,sourceIndex=0;sourceIndex<sourceLen;){var P=ToString(sourceIndex),exists=HasProperty(source,P);if(!0===exists){var element=Get(source,P);if(void 0!==mapperFunction){if(arguments.length<=6)throw new $TypeError("Assertion failed: thisArg is required when mapperFunction is provided");element=Call(mapperFunction,arguments[6],[element,sourceIndex,source])}var shouldFlatten=!1;if(depth>0&&(shouldFlatten=IsArray(element)),shouldFlatten){var elementLen=LengthOfArrayLike(element);targetIndex=FlattenIntoArray(target,element,elementLen,targetIndex,depth-1)}else{if(targetIndex>=MAX_SAFE_INTEGER)throw new $TypeError("index too large");CreateDataPropertyOrThrow(target,ToString(targetIndex),element),targetIndex+=1}}sourceIndex+=1}return targetIndex}},"./node_modules/es-abstract/2021/FromPropertyDescriptor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var assertRecord=__webpack_require__("./node_modules/es-abstract/helpers/assertRecord.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function FromPropertyDescriptor(Desc){if(void 0===Desc)return Desc;assertRecord(Type,"Property Descriptor","Desc",Desc);var obj={};return"[[Value]]"in Desc&&(obj.value=Desc["[[Value]]"]),"[[Writable]]"in Desc&&(obj.writable=Desc["[[Writable]]"]),"[[Get]]"in Desc&&(obj.get=Desc["[[Get]]"]),"[[Set]]"in Desc&&(obj.set=Desc["[[Set]]"]),"[[Enumerable]]"in Desc&&(obj.enumerable=Desc["[[Enumerable]]"]),"[[Configurable]]"in Desc&&(obj.configurable=Desc["[[Configurable]]"]),obj}},"./node_modules/es-abstract/2021/Get.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),inspect=__webpack_require__("./node_modules/object-inspect/index.js"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function Get(O,P){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true, got "+inspect(P));return O[P]}},"./node_modules/es-abstract/2021/GetIterator.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$TypeError=GetIntrinsic("%TypeError%"),$asyncIterator=GetIntrinsic("%Symbol.asyncIterator%",!0),inspect=__webpack_require__("./node_modules/object-inspect/index.js"),hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),getIteratorMethod=__webpack_require__("./node_modules/es-abstract/helpers/getIteratorMethod.js"),AdvanceStringIndex=__webpack_require__("./node_modules/es-abstract/2021/AdvanceStringIndex.js"),Call=__webpack_require__("./node_modules/es-abstract/2021/Call.js"),GetMethod=__webpack_require__("./node_modules/es-abstract/2021/GetMethod.js"),IsArray=__webpack_require__("./node_modules/es-abstract/2021/IsArray.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function GetIterator(obj,hint,method){var actualHint=hint;if(arguments.length<2&&(actualHint="sync"),"sync"!==actualHint&&"async"!==actualHint)throw new $TypeError("Assertion failed: `hint` must be one of 'sync' or 'async', got "+inspect(hint));var actualMethod=method;if(arguments.length<3)if("async"===actualHint){if(hasSymbols&&$asyncIterator&&(actualMethod=GetMethod(obj,$asyncIterator)),void 0===actualMethod)throw new $TypeError("async from sync iterators aren't currently supported")}else actualMethod=getIteratorMethod({AdvanceStringIndex,GetMethod,IsArray},obj);var iterator=Call(actualMethod,obj);if("Object"!==Type(iterator))throw new $TypeError("iterator must return an object");return iterator}},"./node_modules/es-abstract/2021/GetMethod.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),GetV=__webpack_require__("./node_modules/es-abstract/2021/GetV.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js");module.exports=function GetMethod(O,P){if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var func=GetV(O,P);if(null!=func){if(!IsCallable(func))throw new $TypeError(P+"is not a function");return func}}},"./node_modules/es-abstract/2021/GetV.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),ToObject=__webpack_require__("./node_modules/es-abstract/2021/ToObject.js");module.exports=function GetV(V,P){if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return ToObject(V)[P]}},"./node_modules/es-abstract/2021/HasProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function HasProperty(O,P){if("Object"!==Type(O))throw new $TypeError("Assertion failed: `O` must be an Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: `P` must be a Property Key");return P in O}},"./node_modules/es-abstract/2021/Invoke.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Call=__webpack_require__("./node_modules/es-abstract/2021/Call.js"),IsArray=__webpack_require__("./node_modules/es-abstract/2021/IsArray.js"),GetV=__webpack_require__("./node_modules/es-abstract/2021/GetV.js"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js");module.exports=function Invoke(O,P){if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: P must be a Property Key");var argumentsList=arguments.length>2?arguments[2]:[];if(!IsArray(argumentsList))throw new $TypeError("Assertion failed: optional `argumentsList`, if provided, must be a List");var func=GetV(O,P);return Call(func,O,argumentsList)}},"./node_modules/es-abstract/2021/IsAccessorDescriptor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var has=__webpack_require__("./node_modules/has/src/index.js"),assertRecord=__webpack_require__("./node_modules/es-abstract/helpers/assertRecord.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function IsAccessorDescriptor(Desc){return void 0!==Desc&&(assertRecord(Type,"Property Descriptor","Desc",Desc),!(!has(Desc,"[[Get]]")&&!has(Desc,"[[Set]]")))}},"./node_modules/es-abstract/2021/IsArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $Array=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Array%"),toStr=!$Array.isArray&&__webpack_require__("./node_modules/call-bind/callBound.js")("Object.prototype.toString");module.exports=$Array.isArray||function IsArray(argument){return"[object Array]"===toStr(argument)}},"./node_modules/es-abstract/2021/IsCallable.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/is-callable/index.js")},"./node_modules/es-abstract/2021/IsConstructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $construct=__webpack_require__("./node_modules/es-abstract/GetIntrinsic.js")("%Reflect.construct%",!0),DefinePropertyOrThrow=__webpack_require__("./node_modules/es-abstract/2021/DefinePropertyOrThrow.js");try{DefinePropertyOrThrow({},"",{"[[Get]]":function(){}})}catch(e){DefinePropertyOrThrow=null}if(DefinePropertyOrThrow&&$construct){var isConstructorMarker={},badArrayLike={};DefinePropertyOrThrow(badArrayLike,"length",{"[[Get]]":function(){throw isConstructorMarker},"[[Enumerable]]":!0}),module.exports=function IsConstructor(argument){try{$construct(argument,badArrayLike)}catch(err){return err===isConstructorMarker}}}else module.exports=function IsConstructor(argument){return"function"==typeof argument&&!!argument.prototype}},"./node_modules/es-abstract/2021/IsDataDescriptor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var has=__webpack_require__("./node_modules/has/src/index.js"),assertRecord=__webpack_require__("./node_modules/es-abstract/helpers/assertRecord.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function IsDataDescriptor(Desc){return void 0!==Desc&&(assertRecord(Type,"Property Descriptor","Desc",Desc),!(!has(Desc,"[[Value]]")&&!has(Desc,"[[Writable]]")))}},"./node_modules/es-abstract/2021/IsExtensible.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$preventExtensions=GetIntrinsic("%Object.preventExtensions%",!0),$isExtensible=GetIntrinsic("%Object.isExtensible%",!0),isPrimitive=__webpack_require__("./node_modules/es-abstract/helpers/isPrimitive.js");module.exports=$preventExtensions?function IsExtensible(obj){return!isPrimitive(obj)&&$isExtensible(obj)}:function IsExtensible(obj){return!isPrimitive(obj)}},"./node_modules/es-abstract/2021/IsIntegralNumber.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var abs=__webpack_require__("./node_modules/es-abstract/2021/abs.js"),floor=__webpack_require__("./node_modules/es-abstract/2021/floor.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),$isNaN=__webpack_require__("./node_modules/es-abstract/helpers/isNaN.js"),$isFinite=__webpack_require__("./node_modules/es-abstract/helpers/isFinite.js");module.exports=function IsIntegralNumber(argument){if("Number"!==Type(argument)||$isNaN(argument)||!$isFinite(argument))return!1;var absValue=abs(argument);return floor(absValue)===absValue}},"./node_modules/es-abstract/2021/IsPropertyKey.js":module=>{"use strict";module.exports=function IsPropertyKey(argument){return"string"==typeof argument||"symbol"==typeof argument}},"./node_modules/es-abstract/2021/IsRegExp.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $match=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Symbol.match%",!0),hasRegExpMatcher=__webpack_require__("./node_modules/is-regex/index.js"),ToBoolean=__webpack_require__("./node_modules/es-abstract/2021/ToBoolean.js");module.exports=function IsRegExp(argument){if(!argument||"object"!=typeof argument)return!1;if($match){var isRegExp=argument[$match];if(void 0!==isRegExp)return ToBoolean(isRegExp)}return hasRegExpMatcher(argument)}},"./node_modules/es-abstract/2021/IteratorClose.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Call=__webpack_require__("./node_modules/es-abstract/2021/Call.js"),GetMethod=__webpack_require__("./node_modules/es-abstract/2021/GetMethod.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function IteratorClose(iterator,completion){if("Object"!==Type(iterator))throw new $TypeError("Assertion failed: Type(iterator) is not Object");if(!IsCallable(completion))throw new $TypeError("Assertion failed: completion is not a thunk for a Completion Record");var completionRecord,completionThunk=completion,iteratorReturn=GetMethod(iterator,"return");if(void 0===iteratorReturn)return completionThunk();try{var innerResult=Call(iteratorReturn,iterator,[])}catch(e){throw completionThunk(),completionThunk=null,e}if(completionRecord=completionThunk(),completionThunk=null,"Object"!==Type(innerResult))throw new $TypeError("iterator .return must return an object");return completionRecord}},"./node_modules/es-abstract/2021/IteratorComplete.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),ToBoolean=__webpack_require__("./node_modules/es-abstract/2021/ToBoolean.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function IteratorComplete(iterResult){if("Object"!==Type(iterResult))throw new $TypeError("Assertion failed: Type(iterResult) is not Object");return ToBoolean(Get(iterResult,"done"))}},"./node_modules/es-abstract/2021/IteratorNext.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Invoke=__webpack_require__("./node_modules/es-abstract/2021/Invoke.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function IteratorNext(iterator,value){var result=Invoke(iterator,"next",arguments.length<2?[]:[value]);if("Object"!==Type(result))throw new $TypeError("iterator next must return an object");return result}},"./node_modules/es-abstract/2021/IteratorStep.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var IteratorComplete=__webpack_require__("./node_modules/es-abstract/2021/IteratorComplete.js"),IteratorNext=__webpack_require__("./node_modules/es-abstract/2021/IteratorNext.js");module.exports=function IteratorStep(iterator){var result=IteratorNext(iterator);return!0!==IteratorComplete(result)&&result}},"./node_modules/es-abstract/2021/IteratorValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function IteratorValue(iterResult){if("Object"!==Type(iterResult))throw new $TypeError("Assertion failed: Type(iterResult) is not Object");return Get(iterResult,"value")}},"./node_modules/es-abstract/2021/LengthOfArrayLike.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),ToLength=__webpack_require__("./node_modules/es-abstract/2021/ToLength.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function LengthOfArrayLike(obj){if("Object"!==Type(obj))throw new $TypeError("Assertion failed: `obj` must be an Object");return ToLength(Get(obj,"length"))}},"./node_modules/es-abstract/2021/OrdinaryGetOwnProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$gOPD=__webpack_require__("./node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js"),$TypeError=GetIntrinsic("%TypeError%"),$isEnumerable=__webpack_require__("./node_modules/call-bind/callBound.js")("Object.prototype.propertyIsEnumerable"),has=__webpack_require__("./node_modules/has/src/index.js"),IsArray=__webpack_require__("./node_modules/es-abstract/2021/IsArray.js"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),IsRegExp=__webpack_require__("./node_modules/es-abstract/2021/IsRegExp.js"),ToPropertyDescriptor=__webpack_require__("./node_modules/es-abstract/2021/ToPropertyDescriptor.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function OrdinaryGetOwnProperty(O,P){if("Object"!==Type(O))throw new $TypeError("Assertion failed: O must be an Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: P must be a Property Key");if(has(O,P)){if(!$gOPD){var arrayLength=IsArray(O)&&"length"===P,regexLastIndex=IsRegExp(O)&&"lastIndex"===P;return{"[[Configurable]]":!(arrayLength||regexLastIndex),"[[Enumerable]]":$isEnumerable(O,P),"[[Value]]":O[P],"[[Writable]]":!0}}return ToPropertyDescriptor($gOPD(O,P))}}},"./node_modules/es-abstract/2021/OrdinaryObjectCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$ObjectCreate=GetIntrinsic("%Object.create%",!0),$TypeError=GetIntrinsic("%TypeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),IsArray=__webpack_require__("./node_modules/es-abstract/2021/IsArray.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),hasProto=!({__proto__:null}instanceof Object);module.exports=function OrdinaryObjectCreate(proto){if(null!==proto&&"Object"!==Type(proto))throw new $TypeError("Assertion failed: `proto` must be null or an object");var additionalInternalSlotsList=arguments.length<2?[]:arguments[1];if(!IsArray(additionalInternalSlotsList))throw new $TypeError("Assertion failed: `additionalInternalSlotsList` must be an Array");if(additionalInternalSlotsList.length>0)throw new $SyntaxError("es-abstract does not yet support internal slots");if($ObjectCreate)return $ObjectCreate(proto);if(hasProto)return{__proto__:proto};if(null===proto)throw new $SyntaxError("native Object.create support is required to create null objects");var T=function T(){};return T.prototype=proto,new T}},"./node_modules/es-abstract/2021/PromiseResolve.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),$resolve=GetIntrinsic("%Promise.resolve%",!0),$PromiseResolve=$resolve&&callBind($resolve);module.exports=function PromiseResolve(C,x){if(!$PromiseResolve)throw new SyntaxError("This environment does not support Promises.");return $PromiseResolve(C,x)}},"./node_modules/es-abstract/2021/RegExpExec.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),regexExec=__webpack_require__("./node_modules/call-bind/callBound.js")("RegExp.prototype.exec"),Call=__webpack_require__("./node_modules/es-abstract/2021/Call.js"),Get=__webpack_require__("./node_modules/es-abstract/2021/Get.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function RegExpExec(R,S){if("Object"!==Type(R))throw new $TypeError("Assertion failed: `R` must be an Object");if("String"!==Type(S))throw new $TypeError("Assertion failed: `S` must be a String");var exec=Get(R,"exec");if(IsCallable(exec)){var result=Call(exec,R,[S]);if(null===result||"Object"===Type(result))return result;throw new $TypeError('"exec" method must return `null` or an Object')}return regexExec(R,S)}},"./node_modules/es-abstract/2021/RequireObjectCoercible.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/es-abstract/5/CheckObjectCoercible.js")},"./node_modules/es-abstract/2021/SameValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $isNaN=__webpack_require__("./node_modules/es-abstract/helpers/isNaN.js");module.exports=function SameValue(x,y){return x===y?0!==x||1/x==1/y:$isNaN(x)&&$isNaN(y)}},"./node_modules/es-abstract/2021/SameValueZero.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $isNaN=__webpack_require__("./node_modules/es-abstract/helpers/isNaN.js");module.exports=function SameValueZero(x,y){return x===y||$isNaN(x)&&$isNaN(y)}},"./node_modules/es-abstract/2021/Set.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),IsPropertyKey=__webpack_require__("./node_modules/es-abstract/2021/IsPropertyKey.js"),SameValue=__webpack_require__("./node_modules/es-abstract/2021/SameValue.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),noThrowOnStrictViolation=function(){try{return delete[].length,!0}catch(e){return!1}}();module.exports=function Set(O,P,V,Throw){if("Object"!==Type(O))throw new $TypeError("Assertion failed: `O` must be an Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: `P` must be a Property Key");if("Boolean"!==Type(Throw))throw new $TypeError("Assertion failed: `Throw` must be a Boolean");if(Throw){if(O[P]=V,noThrowOnStrictViolation&&!SameValue(O[P],V))throw new $TypeError("Attempted to assign to readonly property.");return!0}try{return O[P]=V,!noThrowOnStrictViolation||SameValue(O[P],V)}catch(e){return!1}}},"./node_modules/es-abstract/2021/SpeciesConstructor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$species=GetIntrinsic("%Symbol.species%",!0),$TypeError=GetIntrinsic("%TypeError%"),IsConstructor=__webpack_require__("./node_modules/es-abstract/2021/IsConstructor.js"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js");module.exports=function SpeciesConstructor(O,defaultConstructor){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");var C=O.constructor;if(void 0===C)return defaultConstructor;if("Object"!==Type(C))throw new $TypeError("O.constructor is not an Object");var S=$species?C[$species]:void 0;if(null==S)return defaultConstructor;if(IsConstructor(S))return S;throw new $TypeError("no constructor found")}},"./node_modules/es-abstract/2021/ToBoolean.js":module=>{"use strict";module.exports=function ToBoolean(value){return!!value}},"./node_modules/es-abstract/2021/ToIntegerOrInfinity.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var abs=__webpack_require__("./node_modules/es-abstract/2021/abs.js"),floor=__webpack_require__("./node_modules/es-abstract/2021/floor.js"),ToNumber=__webpack_require__("./node_modules/es-abstract/2021/ToNumber.js"),$isNaN=__webpack_require__("./node_modules/es-abstract/helpers/isNaN.js"),$isFinite=__webpack_require__("./node_modules/es-abstract/helpers/isFinite.js"),$sign=__webpack_require__("./node_modules/es-abstract/helpers/sign.js");module.exports=function ToIntegerOrInfinity(value){var number=ToNumber(value);return $isNaN(number)||0===number?0:$isFinite(number)?$sign(number)*floor(abs(number)):number}},"./node_modules/es-abstract/2021/ToLength.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var MAX_SAFE_INTEGER=__webpack_require__("./node_modules/es-abstract/helpers/maxSafeInteger.js"),ToIntegerOrInfinity=__webpack_require__("./node_modules/es-abstract/2021/ToIntegerOrInfinity.js");module.exports=function ToLength(argument){var len=ToIntegerOrInfinity(argument);return len<=0?0:len>MAX_SAFE_INTEGER?MAX_SAFE_INTEGER:len}},"./node_modules/es-abstract/2021/ToNumber.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$TypeError=GetIntrinsic("%TypeError%"),$Number=GetIntrinsic("%Number%"),$RegExp=GetIntrinsic("%RegExp%"),$parseInteger=GetIntrinsic("%parseInt%"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),regexTester=__webpack_require__("./node_modules/es-abstract/helpers/regexTester.js"),isPrimitive=__webpack_require__("./node_modules/es-abstract/helpers/isPrimitive.js"),$strSlice=callBound("String.prototype.slice"),isBinary=regexTester(/^0b[01]+$/i),isOctal=regexTester(/^0o[0-7]+$/i),isInvalidHexLiteral=regexTester(/^[-+]0x[0-9a-f]+$/i),hasNonWS=regexTester(new $RegExp("["+["
","",""].join("")+"]","g")),ws=["\t\n\v\f\r "," \u2028","\u2029\ufeff"].join(""),trimRegex=new RegExp("(^["+ws+"]+)|(["+ws+"]+$)","g"),$replace=callBound("String.prototype.replace"),ToPrimitive=__webpack_require__("./node_modules/es-abstract/2021/ToPrimitive.js");module.exports=function ToNumber(argument){var value=isPrimitive(argument)?argument:ToPrimitive(argument,$Number);if("symbol"==typeof value)throw new $TypeError("Cannot convert a Symbol value to a number");if("bigint"==typeof value)throw new $TypeError("Conversion from 'BigInt' to 'number' is not allowed.");if("string"==typeof value){if(isBinary(value))return ToNumber($parseInteger($strSlice(value,2),2));if(isOctal(value))return ToNumber($parseInteger($strSlice(value,2),8));if(hasNonWS(value)||isInvalidHexLiteral(value))return NaN;var trimmed=function(value){return $replace(value,trimRegex,"")}(value);if(trimmed!==value)return ToNumber(trimmed)}return $Number(value)}},"./node_modules/es-abstract/2021/ToObject.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $Object=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object%"),RequireObjectCoercible=__webpack_require__("./node_modules/es-abstract/2021/RequireObjectCoercible.js");module.exports=function ToObject(value){return RequireObjectCoercible(value),$Object(value)}},"./node_modules/es-abstract/2021/ToPrimitive.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toPrimitive=__webpack_require__("./node_modules/es-to-primitive/es2015.js");module.exports=function ToPrimitive(input){return arguments.length>1?toPrimitive(input,arguments[1]):toPrimitive(input)}},"./node_modules/es-abstract/2021/ToPropertyDescriptor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var has=__webpack_require__("./node_modules/has/src/index.js"),$TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%"),Type=__webpack_require__("./node_modules/es-abstract/2021/Type.js"),ToBoolean=__webpack_require__("./node_modules/es-abstract/2021/ToBoolean.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2021/IsCallable.js");module.exports=function ToPropertyDescriptor(Obj){if("Object"!==Type(Obj))throw new $TypeError("ToPropertyDescriptor requires an object");var desc={};if(has(Obj,"enumerable")&&(desc["[[Enumerable]]"]=ToBoolean(Obj.enumerable)),has(Obj,"configurable")&&(desc["[[Configurable]]"]=ToBoolean(Obj.configurable)),has(Obj,"value")&&(desc["[[Value]]"]=Obj.value),has(Obj,"writable")&&(desc["[[Writable]]"]=ToBoolean(Obj.writable)),has(Obj,"get")){var getter=Obj.get;if(void 0!==getter&&!IsCallable(getter))throw new $TypeError("getter must be a function");desc["[[Get]]"]=getter}if(has(Obj,"set")){var setter=Obj.set;if(void 0!==setter&&!IsCallable(setter))throw new $TypeError("setter must be a function");desc["[[Set]]"]=setter}if((has(desc,"[[Get]]")||has(desc,"[[Set]]"))&&(has(desc,"[[Value]]")||has(desc,"[[Writable]]")))throw new $TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return desc}},"./node_modules/es-abstract/2021/ToPropertyKey.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $String=__webpack_require__("./node_modules/get-intrinsic/index.js")("%String%"),ToPrimitive=__webpack_require__("./node_modules/es-abstract/2021/ToPrimitive.js"),ToString=__webpack_require__("./node_modules/es-abstract/2021/ToString.js");module.exports=function ToPropertyKey(argument){var key=ToPrimitive(argument,$String);return"symbol"==typeof key?key:ToString(key)}},"./node_modules/es-abstract/2021/ToString.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$String=GetIntrinsic("%String%"),$TypeError=GetIntrinsic("%TypeError%");module.exports=function ToString(argument){if("symbol"==typeof argument)throw new $TypeError("Cannot convert a Symbol value to a string");return $String(argument)}},"./node_modules/es-abstract/2021/ToUint32.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ToNumber=__webpack_require__("./node_modules/es-abstract/2021/ToNumber.js");module.exports=function ToUint32(x){return ToNumber(x)>>>0}},"./node_modules/es-abstract/2021/Type.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ES5Type=__webpack_require__("./node_modules/es-abstract/5/Type.js");module.exports=function Type(x){return"symbol"==typeof x?"Symbol":"bigint"==typeof x?"BigInt":ES5Type(x)}},"./node_modules/es-abstract/2021/UTF16SurrogatePairToCodePoint.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$TypeError=GetIntrinsic("%TypeError%"),$fromCharCode=GetIntrinsic("%String.fromCharCode%"),isLeadingSurrogate=__webpack_require__("./node_modules/es-abstract/helpers/isLeadingSurrogate.js"),isTrailingSurrogate=__webpack_require__("./node_modules/es-abstract/helpers/isTrailingSurrogate.js");module.exports=function UTF16SurrogatePairToCodePoint(lead,trail){if(!isLeadingSurrogate(lead)||!isTrailingSurrogate(trail))throw new $TypeError("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");return $fromCharCode(lead)+$fromCharCode(trail)}},"./node_modules/es-abstract/2021/abs.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $abs=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Math.abs%");module.exports=function abs(x){return $abs(x)}},"./node_modules/es-abstract/2021/floor.js":module=>{"use strict";var $floor=Math.floor;module.exports=function floor(x){return $floor(x)}},"./node_modules/es-abstract/5/CheckObjectCoercible.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $TypeError=__webpack_require__("./node_modules/get-intrinsic/index.js")("%TypeError%");module.exports=function CheckObjectCoercible(value,optMessage){if(null==value)throw new $TypeError(optMessage||"Cannot call method on "+value);return value}},"./node_modules/es-abstract/5/Type.js":module=>{"use strict";module.exports=function Type(x){return null===x?"Null":void 0===x?"Undefined":"function"==typeof x||"object"==typeof x?"Object":"number"==typeof x?"Number":"boolean"==typeof x?"Boolean":"string"==typeof x?"String":void 0}},"./node_modules/es-abstract/GetIntrinsic.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/get-intrinsic/index.js")},"./node_modules/es-abstract/helpers/DefineOwnProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasArrayLengthDefineBug,$defineProperty=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.defineProperty%",!0);if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=null}try{hasArrayLengthDefineBug=$defineProperty&&0===$defineProperty([],"length",{value:1}).length}catch(e){hasArrayLengthDefineBug=!0}var isArray=hasArrayLengthDefineBug&&__webpack_require__("./node_modules/es-abstract/2020/IsArray.js"),$isEnumerable=__webpack_require__("./node_modules/call-bind/callBound.js")("Object.prototype.propertyIsEnumerable");module.exports=function DefineOwnProperty(IsDataDescriptor,SameValue,FromPropertyDescriptor,O,P,desc){if(!$defineProperty){if(!IsDataDescriptor(desc))return!1;if(!desc["[[Configurable]]"]||!desc["[[Writable]]"])return!1;if(P in O&&$isEnumerable(O,P)!==!!desc["[[Enumerable]]"])return!1;var V=desc["[[Value]]"];return O[P]=V,SameValue(O[P],V)}return hasArrayLengthDefineBug&&"length"===P&&"[[Value]]"in desc&&isArray(O)&&O.length!==desc["[[Value]]"]?(O.length=desc["[[Value]]"],O.length===desc["[[Value]]"]):($defineProperty(O,P,FromPropertyDescriptor(desc)),!0)}},"./node_modules/es-abstract/helpers/assertRecord.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$TypeError=GetIntrinsic("%TypeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),has=__webpack_require__("./node_modules/has/src/index.js"),predicates={"Property Descriptor":function isPropertyDescriptor(Type,Desc){if("Object"!==Type(Desc))return!1;var allowed={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var key in Desc)if(has(Desc,key)&&!allowed[key])return!1;var isData=has(Desc,"[[Value]]"),IsAccessor=has(Desc,"[[Get]]")||has(Desc,"[[Set]]");if(isData&&IsAccessor)throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");return!0}};module.exports=function assertRecord(Type,recordType,argumentName,value){var predicate=predicates[recordType];if("function"!=typeof predicate)throw new $SyntaxError("unknown record type: "+recordType);if(!predicate(Type,value))throw new $TypeError(argumentName+" must be a "+recordType)}},"./node_modules/es-abstract/helpers/getIteratorMethod.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),isString=__webpack_require__("./node_modules/is-string/index.js"),$iterator=GetIntrinsic("%Symbol.iterator%",!0),$stringSlice=callBound("String.prototype.slice"),$String=GetIntrinsic("%String%",!0);module.exports=function getIteratorMethod(ES,iterable){var usingIterator;return hasSymbols?usingIterator=ES.GetMethod(iterable,$iterator):ES.IsArray(iterable)?usingIterator=function(){var i=-1,arr=this;return{next:function(){return{done:(i+=1)>=arr.length,value:arr[i]}}}}:isString(iterable)&&(usingIterator=function(){var i=0;return{next:function(){var nextIndex=ES.AdvanceStringIndex($String(iterable),i,!0),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}),usingIterator}},"./node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $gOPD=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch(e){$gOPD=null}module.exports=$gOPD},"./node_modules/es-abstract/helpers/isFinite.js":module=>{"use strict";var $isNaN=Number.isNaN||function(a){return a!=a};module.exports=Number.isFinite||function(x){return"number"==typeof x&&!$isNaN(x)&&x!==1/0&&x!==-1/0}},"./node_modules/es-abstract/helpers/isLeadingSurrogate.js":module=>{"use strict";module.exports=function isLeadingSurrogate(charCode){return"number"==typeof charCode&&charCode>=55296&&charCode<=56319}},"./node_modules/es-abstract/helpers/isNaN.js":module=>{"use strict";module.exports=Number.isNaN||function isNaN(a){return a!=a}},"./node_modules/es-abstract/helpers/isPrimitive.js":module=>{"use strict";module.exports=function isPrimitive(value){return null===value||"function"!=typeof value&&"object"!=typeof value}},"./node_modules/es-abstract/helpers/isPropertyDescriptor.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),has=__webpack_require__("./node_modules/has/src/index.js"),$TypeError=GetIntrinsic("%TypeError%");module.exports=function IsPropertyDescriptor(ES,Desc){if("Object"!==ES.Type(Desc))return!1;var allowed={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var key in Desc)if(has(Desc,key)&&!allowed[key])return!1;if(ES.IsDataDescriptor(Desc)&&ES.IsAccessorDescriptor(Desc))throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");return!0}},"./node_modules/es-abstract/helpers/isTrailingSurrogate.js":module=>{"use strict";module.exports=function isTrailingSurrogate(charCode){return"number"==typeof charCode&&charCode>=56320&&charCode<=57343}},"./node_modules/es-abstract/helpers/maxSafeInteger.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$Math=GetIntrinsic("%Math%"),$Number=GetIntrinsic("%Number%");module.exports=$Number.MAX_SAFE_INTEGER||$Math.pow(2,53)-1},"./node_modules/es-abstract/helpers/regexTester.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $exec=__webpack_require__("./node_modules/call-bind/callBound.js")("RegExp.prototype.exec");module.exports=function regexTester(regex){return function test(s){return null!==$exec(regex,s)}}},"./node_modules/es-abstract/helpers/sign.js":module=>{"use strict";module.exports=function sign(number){return number>=0?1:-1}},"./node_modules/es-get-iterator/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__("./node_modules/process/browser.js"),isArguments=__webpack_require__("./node_modules/is-arguments/index.js");if(__webpack_require__("./node_modules/has-symbols/index.js")()||__webpack_require__("./node_modules/has-symbols/shams.js")()){var $iterator=Symbol.iterator;module.exports=function getIterator(iterable){return null!=iterable&&void 0!==iterable[$iterator]?iterable[$iterator]():isArguments(iterable)?Array.prototype[$iterator].call(iterable):void 0}}else{var isArray=__webpack_require__("./node_modules/isarray/index.js"),isString=__webpack_require__("./node_modules/is-string/index.js"),GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),$Map=GetIntrinsic("%Map%",!0),$Set=GetIntrinsic("%Set%",!0),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),$arrayPush=callBound("Array.prototype.push"),$charCodeAt=callBound("String.prototype.charCodeAt"),$stringSlice=callBound("String.prototype.slice"),getArrayIterator=function getArrayIterator(arraylike){var i=0;return{next:function next(){var value,done=i>=arraylike.length;return done||(value=arraylike[i],i+=1),{done,value}}}},getNonCollectionIterator=function getNonCollectionIterator(iterable,noPrimordialCollections){if(isArray(iterable)||isArguments(iterable))return getArrayIterator(iterable);if(isString(iterable)){var i=0;return{next:function next(){var nextIndex=function advanceStringIndex(S,index){if(index+1>=S.length)return index+1;var first=$charCodeAt(S,index);if(first<55296||first>56319)return index+1;var second=$charCodeAt(S,index+1);return second<56320||second>57343?index+1:index+2}(iterable,i),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}return noPrimordialCollections&&void 0!==iterable["_es6-shim iterator_"]?iterable["_es6-shim iterator_"]():void 0};if($Map||$Set){var isMap=__webpack_require__("./node_modules/is-map/index.js"),isSet=__webpack_require__("./node_modules/is-set/index.js"),$mapForEach=callBound("Map.prototype.forEach",!0),$setForEach=callBound("Set.prototype.forEach",!0);if(void 0===process||!process.versions||!process.versions.node)var $mapIterator=callBound("Map.prototype.iterator",!0),$setIterator=callBound("Set.prototype.iterator",!0),getStopIterationIterator=function(iterator){var done=!1;return{next:function next(){try{return{done,value:done?void 0:iterator.next()}}catch(e){return done=!0,{done:!0,value:void 0}}}}};var $mapAtAtIterator=callBound("Map.prototype.@@iterator",!0)||callBound("Map.prototype._es6-shim iterator_",!0),$setAtAtIterator=callBound("Set.prototype.@@iterator",!0)||callBound("Set.prototype._es6-shim iterator_",!0);module.exports=function getIterator(iterable){return function getCollectionIterator(iterable){if(isMap(iterable)){if($mapIterator)return getStopIterationIterator($mapIterator(iterable));if($mapAtAtIterator)return $mapAtAtIterator(iterable);if($mapForEach){var entries=[];return $mapForEach(iterable,(function(v,k){$arrayPush(entries,[k,v])})),getArrayIterator(entries)}}if(isSet(iterable)){if($setIterator)return getStopIterationIterator($setIterator(iterable));if($setAtAtIterator)return $setAtAtIterator(iterable);if($setForEach){var values=[];return $setForEach(iterable,(function(v){$arrayPush(values,v)})),getArrayIterator(values)}}}(iterable)||getNonCollectionIterator(iterable)}}else module.exports=function getIterator(iterable){if(null!=iterable)return getNonCollectionIterator(iterable,!0)}}},"./node_modules/iterate-value/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getIterator=__webpack_require__("./node_modules/es-get-iterator/index.js"),$TypeError=TypeError,iterate=__webpack_require__("./node_modules/iterate-iterator/index.js");module.exports=function iterateValue(iterable){var iterator=getIterator(iterable);if(!iterator)throw new $TypeError("non-iterable value provided");return arguments.length>1?iterate(iterator,arguments[1]):iterate(iterator)}},"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}__webpack_require__.d(__webpack_exports__,{Z:()=>_arrayLikeToArray})},"./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}__webpack_require__.d(__webpack_exports__,{Z:()=>_arrayWithHoles})},"./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}__webpack_require__.d(__webpack_exports__,{Z:()=>_assertThisInitialized})},"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}__webpack_require__.d(__webpack_exports__,{Z:()=>_asyncToGenerator})},"./node_modules/@babel/runtime/helpers/esm/classCallCheck.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}__webpack_require__.d(__webpack_exports__,{Z:()=>_classCallCheck})},"./node_modules/@babel/runtime/helpers/esm/construct.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_construct});var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"),_isNativeReflectConstruct_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js");function _construct(Parent,args,Class){return _construct=(0,_isNativeReflectConstruct_js__WEBPACK_IMPORTED_MODULE_0__.Z)()?Reflect.construct:function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&(0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_1__.Z)(instance,Class.prototype),instance},_construct.apply(null,arguments)}},"./node_modules/@babel/runtime/helpers/esm/createClass.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}__webpack_require__.d(__webpack_exports__,{Z:()=>_createClass})},"./node_modules/@babel/runtime/helpers/esm/createSuper.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_createSuper});var getPrototypeOf=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"),isNativeReflectConstruct=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js"),esm_typeof=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/typeof.js"),assertThisInitialized=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");function _possibleConstructorReturn(self,call){if(call&&("object"===(0,esm_typeof.Z)(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return(0,assertThisInitialized.Z)(self)}function _createSuper(Derived){var hasNativeReflectConstruct=(0,isNativeReflectConstruct.Z)();return function _createSuperInternal(){var result,Super=(0,getPrototypeOf.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,getPrototypeOf.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}},"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{Z:()=>_defineProperty})},"./node_modules/@babel/runtime/helpers/esm/extends.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}__webpack_require__.d(__webpack_exports__,{Z:()=>_extends})},"./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}__webpack_require__.d(__webpack_exports__,{Z:()=>_getPrototypeOf})},"./node_modules/@babel/runtime/helpers/esm/inherits.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_inherits});var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&(0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__.Z)(subClass,superClass)}},"./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_inheritsLoose});var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,(0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__.Z)(subClass,superClass)}},"./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}__webpack_require__.d(__webpack_exports__,{Z:()=>_isNativeReflectConstruct})},"./node_modules/@babel/runtime/helpers/esm/iterableToArray.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}__webpack_require__.d(__webpack_exports__,{Z:()=>_iterableToArray})},"./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}__webpack_require__.d(__webpack_exports__,{Z:()=>_nonIterableRest})},"./node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_objectSpread2});var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){(0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.Z)(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}},"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_objectWithoutProperties});var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=(0,_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__.Z)(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}},"./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}__webpack_require__.d(__webpack_exports__,{Z:()=>_objectWithoutPropertiesLoose})},"./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}__webpack_require__.d(__webpack_exports__,{Z:()=>_setPrototypeOf})},"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_slicedToArray});var arrayWithHoles=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");var unsupportedIterableToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),nonIterableRest=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function _slicedToArray(arr,i){return(0,arrayWithHoles.Z)(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||(0,unsupportedIterableToArray.Z)(arr,i)||(0,nonIterableRest.Z)()}},"./node_modules/@babel/runtime/helpers/esm/toArray.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_toArray});var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"),_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/iterableToArray.js"),_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function _toArray(arr){return(0,_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__.Z)(arr)||(0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(arr)||(0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(arr)||(0,_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__.Z)()}},"./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_toConsumableArray});var arrayLikeToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");var iterableToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/iterableToArray.js"),unsupportedIterableToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return(0,arrayLikeToArray.Z)(arr)}(arr)||(0,iterableToArray.Z)(arr)||(0,unsupportedIterableToArray.Z)(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"./node_modules/@babel/runtime/helpers/esm/typeof.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}__webpack_require__.d(__webpack_exports__,{Z:()=>_typeof})},"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_unsupportedIterableToArray});var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return(0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.Z)(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.Z)(o,minLen):void 0}}},"./node_modules/doctrine/package.json":module=>{"use strict";module.exports={i8:"3.0.0"}},"./node_modules/entities/lib/maps/decode.json":module=>{"use strict";module.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},"./node_modules/entities/lib/maps/entities.json":module=>{"use strict";module.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},"./node_modules/entities/lib/maps/legacy.json":module=>{"use strict";module.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},"./node_modules/entities/lib/maps/xml.json":module=>{"use strict";module.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},"./node_modules/escodegen/package.json":module=>{"use strict";module.exports={}},"./node_modules/html-tags/html-tags.json":module=>{"use strict";module.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')}}]); |