UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

2 lines • 123 kB
/*! For license information please see CustomSvgIcon.js.LICENSE.txt */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports["monday-style"]=e(require("react")):t["monday-style"]=e(t.react)}(this,(t=>(()=>{var e={85498:(t,e,n)=>{"use strict";n.r(e)},82930:(t,e,n)=>{"use strict";var r,o=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,l=(t,e,n,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let o of c(e))s.call(t,o)||o===n||i(t,o,{get:()=>e[o],enumerable:!(r=a(e,o))||r.enumerable});return t},f={};((t,e)=>{for(var n in e)i(t,n,{get:e[n],enumerable:!0})})(f,{convertFromNode:()=>_,convertFromString:()=>m,default:()=>b}),t.exports=(r=f,l(i({},"__esModule",{value:!0}),r));var p=((t,e,n)=>(n=null!=t?o(u(t)):{},l(!e&&t&&t.__esModule?n:i(n,"default",{value:t,enumerable:!0}),t)))(n(39155)),d=t=>"string"!=typeof t?{}:t.split(/ ?; ?/).reduce(((t,e)=>{const[n,r]=e.split(/ ?: ?/).map(((t,e)=>0===e?t.replace(/\s+/g,""):t.trim()));if(n&&r){const e=n.replace(/(\w)-(\w)/g,((t,e,n)=>`${e}${n.toUpperCase()}`));let o=r.trim();Number.isNaN(Number(r))||(o=Number(r)),t[n.startsWith("-")?n:e]=o}return t}),{});var h=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],v={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function g(t,e){const{key:n,level:r,...o}=e;switch(t.nodeType){case 1:return p.createElement(function(t){if(/[a-z]+[A-Z]+[a-z]+/.test(t))return t;return t.toLowerCase()}(t.nodeName),function(t,e){const n={key:e};if(t instanceof Element){const e=t.getAttribute("class");e&&(n.className=e),[...t.attributes].forEach((t=>{switch(t.name){case"class":break;case"style":n[t.name]=d(t.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[v[t.name]||t.name]=!0;break;default:n[v[t.name]||t.name]=t.value}}))}return n}(t,n),y(t.childNodes,r,o));case 3:{const e=t.nodeValue?.toString()??"";if(!o.allowWhiteSpaces&&/^\s+$/.test(e)&&!/[\u00A0\u202F]/.test(e))return null;if(!t.parentNode)return e;const n=t.parentNode.nodeName.toLowerCase();return h.includes(n)?(/\S/.test(e)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${e}" will be ignored`),null):e}case 8:default:return null;case 11:return y(t.childNodes,r,e)}}function y(t,e,n){const r=[...t].map(((t,r)=>_(t,{...n,index:r,level:e+1}))).filter(Boolean);return r.length?r:null}function _(t,e={}){if(!(t&&t instanceof Node))return null;const{actions:n=[],index:r=0,level:o=0,randomKey:i}=e;let a=t,c=`${o}-${r}`;const u=[];return i&&0===o&&(c=`${function(t=6){const e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let n="";for(let r=t;r>0;--r)n+=e[Math.round(61*Math.random())];return n}()}-${c}`),Array.isArray(n)&&n.forEach((e=>{e.condition(a,c,o)&&("function"==typeof e.pre&&(a=e.pre(a,c,o),a instanceof Node||(a=t)),"function"==typeof e.post&&u.push(e.post(a,c,o)))})),u.length?u:g(a,{key:c,level:o,...e})}function m(t,e={}){if(!t||"string"!=typeof t)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:o="body > *",type:i="text/html"}=e;try{const a=(new DOMParser).parseFromString(t,i);if(n){const{childNodes:t}=a.body;return r?t:[...t].map((t=>_(t,e)))}const c=a.querySelector(o)||a.body.childNodes[0];if(!(c instanceof Node))throw new TypeError("Error parsing input");return r?c:_(c,e)}catch(t){0}return null}function b(t,e={}){return"string"==typeof t?m(t,e):t instanceof Node?_(t,e):null}},1654:(t,e,n)=>{"use strict";var r,o=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,l=(t,e,n,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let o of c(e))s.call(t,o)||o===n||i(t,o,{get:()=>e[o],enumerable:!(r=a(e,o))||r.enumerable});return t},f=(t,e,n)=>(n=null!=t?o(u(t)):{},l(!e&&t&&t.__esModule?n:i(n,"default",{value:t,enumerable:!0}),t)),p=(t,e,n)=>(((t,e,n)=>{e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!=typeof e?e+"":e,n),n),d={};((t,e)=>{for(var n in e)i(t,n,{get:e[n],enumerable:!0})})(d,{cacheStore:()=>k,default:()=>S}),t.exports=(r=d,l(i({},"__esModule",{value:!0}),r));var h=n(39155),v=f(n(82930)),g="react-inlinesvg",y={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function _(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function m(){return function(){if(!document)return!1;const t=document.createElement("div");t.innerHTML="<svg />";const e=t.firstChild;return!!e&&"http://www.w3.org/2000/svg"===e.namespaceURI}()&&"undefined"!=typeof window&&null!==window}async function b(t,e){const n=await fetch(t,e),r=n.headers.get("content-type"),[o]=(r??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((t=>o.includes(t))))throw new Error(`Content type isn't valid: ${o}`);return n.text()}function O(t=1){return new Promise((e=>{setTimeout(e,1e3*t)}))}var w=class{constructor(){p(this,"cacheApi"),p(this,"cacheStore"),p(this,"subscribers",[]),p(this,"isReady",!1),this.cacheStore=new Map;let t=g,e=!1;_()&&(t=window.REACT_INLINESVG_CACHE_NAME??g,e=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),e?caches.open(t).then((t=>{this.cacheApi=t,this.isReady=!0,this.subscribers.forEach((t=>t()))})).catch((t=>{this.isReady=!0,console.error(`Failed to open cache: ${t.message}`)})):this.isReady=!0}onReady(t){this.isReady?t():this.subscribers.push(t)}async get(t,e){return await(this.cacheApi?this.fetchAndAddToPersistentCache(t,e):this.fetchAndAddToInternalCache(t,e)),this.cacheStore.get(t)?.content??""}set(t,e){this.cacheStore.set(t,e)}isCached(t){return this.cacheStore.get(t)?.status===y.LOADED}async fetchAndAddToInternalCache(t,e){const n=this.cacheStore.get(t);if(n?.status!==y.LOADING){if(!n?.content){this.cacheStore.set(t,{content:"",status:y.LOADING});try{const n=await b(t,e);this.cacheStore.set(t,{content:n,status:y.LOADED})}catch(e){throw this.cacheStore.set(t,{content:"",status:y.FAILED}),e}}}else await this.handleLoading(t,(async()=>{this.cacheStore.set(t,{content:"",status:y.IDLE}),await this.fetchAndAddToInternalCache(t,e)}))}async fetchAndAddToPersistentCache(t,e){const n=this.cacheStore.get(t);if(n?.status===y.LOADED)return;if(n?.status===y.LOADING)return void await this.handleLoading(t,(async()=>{this.cacheStore.set(t,{content:"",status:y.IDLE}),await this.fetchAndAddToPersistentCache(t,e)}));this.cacheStore.set(t,{content:"",status:y.LOADING});const r=await(this.cacheApi?.match(t));if(r){const e=await r.text();this.cacheStore.set(t,{content:e,status:y.LOADED})}else try{await(this.cacheApi?.add(new Request(t,e)));const n=await(this.cacheApi?.match(t)),r=await(n?.text())??"";this.cacheStore.set(t,{content:r,status:y.LOADED})}catch(e){throw this.cacheStore.set(t,{content:"",status:y.FAILED}),e}}async handleLoading(t,e){let n=0;for(;this.cacheStore.get(t)?.status===y.LOADING&&n<10;)await O(.1),n+=1;n>=10&&await e()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map((([t,e])=>({[t]:e})))}async delete(t){this.cacheApi&&await this.cacheApi.delete(t),this.cacheStore.delete(t)}async clear(){if(this.cacheApi){const t=await this.cacheApi.keys();for(const e of t)await this.cacheApi.delete(e)}this.cacheStore.clear()}},A=n(39155);function E(t){const e=(0,A.useRef)();return(0,A.useEffect)((()=>{e.current=t})),e.current}var x=f(n(82930));function j(t){const{baseURL:e,content:n,description:r,handleError:o,hash:i,preProcessor:a,title:c,uniquifyIDs:u=!1}=t;try{const t=function(t,e){if(e)return e(t);return t}(n,a),o=(0,x.default)(t,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const s=I(o,{baseURL:e,hash:i,uniquifyIDs:u});if(r){const t=s.querySelector("desc");t?.parentNode&&t.parentNode.removeChild(t);const e=document.createElementNS("http://www.w3.org/2000/svg","desc");e.innerHTML=r,s.prepend(e)}if(void 0!==c){const t=s.querySelector("title");if(t?.parentNode&&t.parentNode.removeChild(t),c){const t=document.createElementNS("http://www.w3.org/2000/svg","title");t.innerHTML=c,s.prepend(t)}}return s}catch(t){return o(t)}}function I(t,e){const{baseURL:n="",hash:r,uniquifyIDs:o}=e,i=["id","href","xlink:href","xlink:role","xlink:arcrole"],a=["href","xlink:href"];return o?([...t.children].forEach((t=>{if(t.attributes?.length){const e=Object.values(t.attributes).map((t=>{const e=t,o=/url\((.*?)\)/.exec(t.value);return o?.[1]&&(e.value=t.value.replace(o[0],`url(${n}${o[1]}__${r})`)),e}));i.forEach((t=>{const n=e.find((e=>e.name===t));var o,i;n&&(o=t,i=n.value,!a.includes(o)||!i||i.includes("#"))&&(n.value=`${n.value}__${r}`)}))}return t.children.length?I(t,e):t})),t):t}var k,T=n(31085);function R(t){const{cacheRequests:e=!0,children:n=null,description:r,fetchOptions:o,innerRef:i,loader:a=null,onError:c,onLoad:u,src:s,title:l,uniqueHash:f}=t,[p,d]=(0,h.useReducer)(((t,e)=>({...t,...e})),{content:"",element:null,isCached:e&&k.isCached(t.src),status:y.IDLE}),{content:g,element:O,isCached:w,status:A}=p,x=E(t),I=E(p),T=(0,h.useRef)(f??function(t){const e="abcdefghijklmnopqrstuvwxyz",n=`${e}${e.toUpperCase()}1234567890`;let r="";for(let e=0;e<t;e++)r+=(o=n)[Math.floor(Math.random()*o.length)];var o;return r}(8)),R=(0,h.useRef)(!1),S=(0,h.useRef)(!1),N=(0,h.useCallback)((t=>{R.current&&(d({status:"Browser does not support SVG"===t.message?y.UNSUPPORTED:y.FAILED}),c?.(t))}),[c]),L=(0,h.useCallback)(((t,e=!1)=>{R.current&&d({content:t,isCached:e,status:y.LOADED})}),[]),D=(0,h.useCallback)((async()=>{const t=await b(s,o);L(t)}),[o,L,s]),C=(0,h.useCallback)((()=>{try{const e=j({...t,handleError:N,hash:T.current,content:g}),n=(0,v.default)(e);if(!n||!(0,h.isValidElement)(n))throw new Error("Could not convert the src to a React element");d({element:n,status:y.READY})}catch(t){N(new Error(t.message))}}),[g,N,t]),B=(0,h.useCallback)((async()=>{const t=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(s);let n;if(t?n=t[1]?window.atob(t[2]):decodeURIComponent(t[2]):s.includes("<svg")&&(n=s),n)L(n);else try{if(e){const t=await k.get(s,o);L(t,!0)}else await D()}catch(t){N(t)}}),[e,D,o,N,L,s]),M=(0,h.useCallback)((async()=>{R.current&&d({content:"",element:null,isCached:!1,status:y.LOADING})}),[]);(0,h.useEffect)((()=>{if(R.current=!0,!_()||S.current)return()=>{};try{if(A===y.IDLE){if(!m())throw new Error("Browser does not support SVG");if(!s)throw new Error("Missing src");M()}}catch(t){N(t)}return S.current=!0,()=>{R.current=!1}}),[]),(0,h.useEffect)((()=>{if(_()&&x)if(x.src!==s){if(!s)return void N(new Error("Missing src"));M()}else x.title===l&&x.description===r||C()}),[r,C,N,M,x,s,l]),(0,h.useEffect)((()=>{I&&(I.status!==y.LOADING&&A===y.LOADING&&B(),I.status!==y.LOADED&&A===y.LOADED&&C(),I.status!==y.READY&&A===y.READY&&u?.(s,w))}),[B,C,w,u,I,s,A]);const P=function(t,...e){const n={};for(const r in t)({}).hasOwnProperty.call(t,r)&&(e.includes(r)||(n[r]=t[r]));return n}(t,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return _()?O?(0,h.cloneElement)(O,{ref:i,...P}):[y.UNSUPPORTED,y.FAILED].includes(A)?n:a:a}function S(t){k||(k=new w);const{loader:e}=t,n=(0,h.useRef)(!1),[r,o]=(0,h.useState)(k.isReady);return(0,h.useEffect)((()=>{n.current||(k.onReady((()=>{o(!0)})),n.current=!0)}),[]),r?(0,T.jsx)(R,{...t}):e}t.exports.default&&(Object.assign(t.exports.default,t.exports),t.exports=t.exports.default,delete t.exports.default)},73335:(t,e,n)=>{"use strict";var r=n(39155),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),e.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(t,e,n){var r,i={},s=null,l=null;for(r in void 0!==n&&(s=""+n),void 0!==e.key&&(s=""+e.key),void 0!==e.ref&&(l=e.ref),e)c.call(e,r)&&!u.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:s,ref:l,props:i,_owner:a.current}}e.jsx=s,e.jsxs=s},31085:(t,e,n)=>{"use strict";t.exports=n(73335)},36610:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,o)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return o(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const c=i(n(39155)),u=a(n(1654)),s=a(n(60458)),l=n(77085),f=n(81521),p=n(60565);function d(t,e="currentColor"){return t.replace(/fill=".*?"/g,`fill="${e}"`)}e.default=({className:t,ref:e,src:n,onClick:r,clickable:o,ariaLabel:i,ariaHidden:a,replaceToCurrentColor:h=!1,customColor:v,id:g,"data-testid":y})=>{const _=(0,s.default)({isClickable:o,label:i,isDecorationOnly:a}),m=(0,p.useIsMounted)(),b=(0,c.useCallback)((t=>h?d(t,"currentColor"):v?d(t,v):t),[h,v]);if("string"!=typeof n)return null;const O=u.default,w=c.default.createElement("div",{className:t,id:g});return m?c.default.createElement(O,Object.assign({innerRef:e},_,{onClick:r,loader:w,src:n,className:t,preProcessor:b,id:g,"data-testid":y||(0,f.getTestId)(l.ComponentDefaultTestId.SVG_ICON,g)}),w):w}},95735:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getClickableIconScreenReaderAccessProps=e.getClickableScreenReaderAccessProps=e.getIconScreenReaderAccessProps=void 0;const r=n(1018);function o({isKeyboardAccessible:t=!0,isDecorationOnly:e=!1,isHoverOnly:n=!1}){return{role:n?"img":"button",tabIndex:t?0:-1,"aria-hidden":e}}function i({label:t,isDecorationOnly:e=!1,isKeyboardAccessible:n=!0,isHoverOnly:r=!1}){return Object.assign(Object.assign({},o({isDecorationOnly:e,isKeyboardAccessible:n,isHoverOnly:r})),{"aria-label":t})}e.getIconScreenReaderAccessProps=function({isClickable:t,isDecorationOnly:e,isKeyboardAccessible:n,label:o}){const a=(0,r.isNil)(e)?!t&&!o:e;return t||o?i({label:o,isDecorationOnly:a,isKeyboardAccessible:n,isHoverOnly:!t&&!!o}):{role:a?void 0:"img","aria-hidden":a,tabIndex:void 0,"aria-label":e?void 0:o}},e.getClickableScreenReaderAccessProps=o,e.getClickableIconScreenReaderAccessProps=i},60565:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useIsMounted=void 0;const r=n(39155);e.useIsMounted=()=>{const[t,e]=(0,r.useState)(!1);return(0,r.useEffect)((()=>(e(!0),()=>{e(!1)})),[]),t}},60458:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(39155),o=n(95735);e.default=function({isClickable:t,label:e,isDecorationOnly:n}){return(0,r.useMemo)((()=>(0,o.getIconScreenReaderAccessProps)({isClickable:t,label:e,isDecorationOnly:n})),[t,e,n])}},99348:(t,e,n)=>{"use strict";n(85498)},77085:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NavigationCommand=e.ComponentDefaultTestId=void 0,function(t){t.TRANSITION_VIEW="transition-view",t.TEXT_AREA="text-area",t.EDITABLE_TEXT="editable-text",t.TIPSEEN_MEDIA="tipseen-media",t.INDICATOR="indicator",t.BADGE="badge",t.TITLE="title",t.TEXT="text",t.COMBOBOX="combobox",t.COMBOBOX_CATEGORY="combobox-category",t.COMBOBOX_OPTION="combobox-option",t.COLOR_PICKER="color-picker",t.CHECKBOX="checkbox",t.CHECKBOX_LABEL="checkbox-label",t.CHECKBOX_CHECKBOX="checkbox-checkbox",t.DROPDOWN="dropdown",t.DROPDOWN_OPTION_CONTENT="dropdown-option-content",t.BUTTON="button",t.BUTTON_GROUP="button-group",t.CLICKABLE="clickable",t.VIRTUALIZED_LIST="virtualized-list",t.VIRTUALIZED_GRID="virtualized-grid",t.TEXT_FIELD="text-field",t.TEXT_FIELD_SECONDARY_BUTTON="text-field-secondary-button",t.SEARCH="search",t.CLEAN_SEARCH_BUTTON="clean-search-button",t.COLOR_PICKER_ITEM="color-picker-item",t.ICON_BUTTON="icon-button",t.SVG_ICON="svg-icon",t.CHIP="chip",t.RADIO_BUTTON="radio-button",t.RADIO_BUTTON_LABEL="radio-button-label",t.RADIO_BUTTON_CONTROL="radio-button-control",t.TAB="tab",t.TAB_PANEL="tab-panel",t.TAB_PANELS="tab-panels",t.TAB_LIST="tab-list",t.TABS_CONTEXT="tabs-context",t.ALERT_BANNER="alert-banner",t.ALERT_BANNER_BUTTON="alert-banner-button",t.ALERT_BANNER_LINK="alert-banner-link",t.ALERT_BANNER_TEXT="alert-banner-text",t.ATTENTION_BOX="attention-box",t.AVATAR="avatar",t.AVATAR_BADGE="avatar-badge",t.AVATAR_CONTENT="avatar-content",t.BREADCRUMB_ITEM="breadcrumb-item",t.BREADCRUMBS_BAR="breadcrumbs-bar",t.LINEAR_PROGRESS_BAR="linear-progress-bar",t.BAR="bar",t.BAR_PRIMARY="bar-primary",t.BAR_SECONDARY="bar-secondary",t.COLOR_PICKER_ITEM_COMPONENT="color-picker-item-component",t.COUNTER="counter",t.MENU="menu",t.OPTION="option",t.EXPAND_COLLAPSE="expand-collapse",t.EDITABLE_INPUT="editable-input",t.EDITABLE_HEADING="editable-heading",t.HEADING="heading",t.LABEL="label",t.LINK="link",t.MENU_DIVIDER="menu-divider",t.MENU_ITEM="menu-item",t.MENU_ITEM_BUTTON="menu-item-button",t.MENU_TITLE="menu-title",t.MENU_TITLE_CAPTION="menu-title-caption",t.MENU_GRID_ITEM="menu-grid-item",t.MENU_BUTTON="menu-button",t.STEP_INDICATOR="step-indicator",t.STEPS="steps",t.STEPS_FORWARD_COMMAND="steps-forward-command",t.STEPS_BACKWARD_COMMAND="steps-backward-command",t.MULTI_STEP_INDICATOR="multi-step-indicator",t.SKELETON="skeleton",t.SPLIT_BUTTON="split-button",t.SPLIT_BUTTON_PRIMARY_BUTTON="split-button-primary-button",t.SPLIT_BUTTON_SECONDARY_BUTTON="split-button-secondary-button",t.TEXT_WITH_HIGHLIGHT="text-with-highlight",t.TOAST="toast",t.TOAST_CONTENT="toast-content",t.TOAST_LINK="toast-link",t.TOAST_BUTTON="toast-button",t.TOAST_CLOSE_BUTTON="toast-close-button",t.TOGGLE="toggle",t.TIPSEEN="tipseen",t.TIPSEEN_CONTENT="tipseen-content",t.TIPSEEN_CONTENT_SUBMIT="tipseen-content-submit",t.TIPSEEN_CONTENT_DISMISS="tipseen-content-dismiss",t.TIPSEEN_TITLE="tipseen-title",t.DIVIDER="divider",t.DATEPICKER="date-picker",t.DATEPICKER_HEADER="date-picker-header",t.DATEPICKER_YEAR_SELECTION="date-picker-year-selection",t.LOADER="loader",t.ICON="icon",t.RESPONSIVE_LIST="responsive-list",t.LIST="list",t.MODAL="monday-dialog-container",t.MODAL_OVERLAY="monday-modal-overlay",t.MODAL_CONTENT="modal-content",t.MODAL_HEADER="modal-header",t.MODAL_FOOTER_BUTTONS="modal-footer-buttons",t.FORMATTED_NUMBER="formatted-number",t.HIDDEN_TEXT="hidden-text",t.DIALOG_CONTENT_CONTAINER="dialog-content-container",t.FLEX="flex",t.TOOLTIP="tooltip",t.DIALOG="dialog",t.TABLE="table",t.TABLE_CONTAINER="table-container",t.TABLE_BODY="table-body",t.TABLE_VIRTUALIZED_BODY="table-virtualized-body",t.TABLE_CELL="table-cell",t.TABLE_HEADER="table-header",t.TABLE_HEADER_CELL="table-header-cell",t.TABLE_ROW="table-row",t.TABLE_ROW_MENU="table-row-menu"}(e.ComponentDefaultTestId||(e.ComponentDefaultTestId={})),function(t){t.RIGHT_ARROW="{arrowright}",t.LEFT_ARROW="{arrowleft}",t.UP_ARROW="{arrowup}",t.DOWN_ARROW="{arrowdown}",t.TAB="#TAB#",t.ENTER="{enter}",t.PAGE_UP="{pageup}",t.PAGE_DOWN="{pagedown}"}(e.NavigationCommand||(e.NavigationCommand={}))},81521:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTestId=e.ComponentDefaultTestId=void 0;const r=n(77085);e.ComponentDefaultTestId=r.ComponentDefaultTestId;e.getTestId=(t,e)=>{const n=(null!=e?e:"").toString();return`${t}${n&&`_${n}`}`}},39155:e=>{"use strict";e.exports=t},1018:(t,e,n)=>{"use strict";n.r(e),n.d(e,{add:()=>x,after:()=>W,ary:()=>be,assign:()=>fn,assignIn:()=>yn,assignInWith:()=>mn,assignWith:()=>On,at:()=>mr,attempt:()=>Tr,before:()=>Rr,bind:()=>Nr,bindAll:()=>Lr,bindKey:()=>Cr,camelCase:()=>Fo,capitalize:()=>ro,castArray:()=>qo,ceil:()=>Go,chain:()=>Vo,chunk:()=>Zo,clamp:()=>Qo,clone:()=>fa,cloneDeep:()=>pa,cloneDeepWith:()=>da,cloneWith:()=>ha,commit:()=>va,compact:()=>ga,concat:()=>ya,cond:()=>Za,conforms:()=>tc,conformsTo:()=>ec,constant:()=>qt,countBy:()=>pc,create:()=>dc,curry:()=>vc,curryRight:()=>yc,debounce:()=>Oc,deburr:()=>so,default:()=>lg,defaultTo:()=>wc,defaults:()=>jc,defaultsDeep:()=>Bc,defer:()=>Wc,delay:()=>zc,difference:()=>$c,differenceBy:()=>Vc,differenceWith:()=>Yc,divide:()=>Zc,drop:()=>Jc,dropRight:()=>Qc,dropRightWhile:()=>eu,dropWhile:()=>nu,each:()=>ou,eachRight:()=>su,endsWith:()=>lu,entries:()=>hu,entriesIn:()=>vu,eq:()=>we,escape:()=>mu,escapeRegExp:()=>wu,every:()=>xu,extend:()=>yn,extendWith:()=>mn,fill:()=>ku,filter:()=>Ru,find:()=>Du,findIndex:()=>Lu,findKey:()=>Bu,findLast:()=>Uu,findLastIndex:()=>Wu,findLastKey:()=>zu,first:()=>Fu,flatMap:()=>$u,flatMapDeep:()=>Gu,flatMapDepth:()=>Vu,flatten:()=>yr,flattenDeep:()=>Yu,flattenDepth:()=>Zu,flip:()=>Ju,floor:()=>Qu,flow:()=>es,flowRight:()=>ns,forEach:()=>ou,forEachRight:()=>su,forIn:()=>rs,forInRight:()=>os,forOwn:()=>is,forOwnRight:()=>as,fromPairs:()=>cs,functions:()=>ss,functionsIn:()=>ls,get:()=>fr,groupBy:()=>ds,gt:()=>gs,gte:()=>ys,has:()=>bs,hasIn:()=>$a,head:()=>Fu,identity:()=>U,inRange:()=>Es,includes:()=>Ts,indexOf:()=>Ss,initial:()=>Ns,intersection:()=>Bs,intersectionBy:()=>Ps,intersectionWith:()=>Ws,invert:()=>Hs,invertBy:()=>Xs,invoke:()=>Js,invokeMap:()=>tl,isArguments:()=>Ue,isArray:()=>b,isArrayBuffer:()=>rl,isArrayLike:()=>Re,isArrayLikeObject:()=>kc,isBoolean:()=>ol,isBuffer:()=>$e,isDate:()=>cl,isElement:()=>ul,isEmpty:()=>ll,isEqual:()=>fl,isEqualWith:()=>pl,isError:()=>Ir,isFinite:()=>hl,isFunction:()=>z,isInteger:()=>vl,isLength:()=>Te,isMap:()=>na,isMatch:()=>gl,isMatchWith:()=>yl,isNaN:()=>ml,isNative:()=>Ol,isNil:()=>wl,isNull:()=>Al,isNumber:()=>_l,isObject:()=>R,isObjectLike:()=>g,isPlainObject:()=>jr,isRegExp:()=>jl,isSafeInteger:()=>kl,isSet:()=>ia,isString:()=>xs,isSymbol:()=>y,isTypedArray:()=>tn,isUndefined:()=>Tl,isWeakMap:()=>Rl,isWeakSet:()=>Sl,iteratee:()=>Nl,join:()=>Dl,kebabCase:()=>Bl,keyBy:()=>Pl,keys:()=>un,keysIn:()=>vn,last:()=>Kc,lastIndexOf:()=>Fl,lodash:()=>Lt,lowerCase:()=>Hl,lowerFirst:()=>$l,lt:()=>Gl,lte:()=>Vl,map:()=>Hu,mapKeys:()=>Xl,mapValues:()=>Yl,matches:()=>Zl,matchesProperty:()=>Jl,max:()=>tf,maxBy:()=>ef,mean:()=>of,meanBy:()=>af,memoize:()=>er,merge:()=>uf,mergeWith:()=>Cc,method:()=>sf,methodOf:()=>lf,min:()=>ff,minBy:()=>pf,mixin:()=>df,multiply:()=>hf,negate:()=>vf,next:()=>mf,noop:()=>Ot,now:()=>_c,nth:()=>Of,nthArg:()=>wf,omit:()=>jf,omitBy:()=>Rf,once:()=>Sf,orderBy:()=>Bf,over:()=>Pf,overArgs:()=>Ff,overEvery:()=>qf,overSome:()=>Hf,pad:()=>pp,padEnd:()=>dp,padStart:()=>hp,parseInt:()=>yp,partial:()=>mp,partialRight:()=>Op,partition:()=>Ap,pick:()=>xp,pickBy:()=>Tf,plant:()=>jp,property:()=>Xa,propertyOf:()=>Ip,pull:()=>Np,pullAll:()=>Sp,pullAllBy:()=>Lp,pullAllWith:()=>Dp,pullAt:()=>Pp,random:()=>$p,range:()=>Yp,rangeRight:()=>Zp,rearg:()=>Qp,reduce:()=>ed,reduceRight:()=>rd,reject:()=>od,remove:()=>id,repeat:()=>ad,replace:()=>cd,rest:()=>ud,result:()=>sd,reverse:()=>fd,round:()=>pd,sample:()=>vd,sampleSize:()=>md,set:()=>bd,setWith:()=>Od,shuffle:()=>Ed,size:()=>xd,slice:()=>jd,snakeCase:()=>kd,some:()=>Rd,sortBy:()=>Sd,sortedIndex:()=>Bd,sortedIndexBy:()=>Md,sortedIndexOf:()=>Pd,sortedLastIndex:()=>Wd,sortedLastIndexBy:()=>Ud,sortedLastIndexOf:()=>zd,sortedUniq:()=>qd,sortedUniqBy:()=>Hd,split:()=>$d,spread:()=>Gd,startCase:()=>Xd,startsWith:()=>Yd,stubArray:()=>vi,stubFalse:()=>ze,stubObject:()=>Zd,stubString:()=>Jd,stubTrue:()=>Qd,subtract:()=>th,sum:()=>eh,sumBy:()=>nh,tail:()=>rh,take:()=>oh,takeRight:()=>ih,takeRightWhile:()=>ah,takeWhile:()=>ch,tap:()=>uh,template:()=>Eh,templateSettings:()=>vh,throttle:()=>xh,thru:()=>jh,times:()=>Th,toArray:()=>_f,toFinite:()=>M,toInteger:()=>P,toIterator:()=>Rh,toJSON:()=>Nh,toLength:()=>ju,toLower:()=>Lh,toNumber:()=>C,toPairs:()=>hu,toPairsIn:()=>vu,toPath:()=>Dh,toPlainObject:()=>Rc,toSafeInteger:()=>Bh,toString:()=>cr,toUpper:()=>Mh,transform:()=>Ph,trim:()=>zh,trimEnd:()=>Fh,trimStart:()=>Hh,truncate:()=>Kh,unary:()=>Gh,unescape:()=>Zh,union:()=>ev,unionBy:()=>rv,unionWith:()=>ov,uniq:()=>iv,uniqBy:()=>av,uniqWith:()=>cv,uniqueId:()=>sv,unset:()=>lv,unzip:()=>pv,unzipWith:()=>dv,update:()=>vv,updateWith:()=>gv,upperCase:()=>_v,upperFirst:()=>no,value:()=>Nh,valueOf:()=>Nh,values:()=>Is,valuesIn:()=>mv,without:()=>Ov,words:()=>Po,wrap:()=>wv,wrapperAt:()=>Av,wrapperChain:()=>Ev,wrapperCommit:()=>va,wrapperLodash:()=>Lt,wrapperNext:()=>mf,wrapperPlant:()=>jp,wrapperReverse:()=>xv,wrapperToIterator:()=>Rh,wrapperValue:()=>Nh,xor:()=>Iv,xorBy:()=>Tv,xorWith:()=>Rv,zip:()=>Sv,zipObject:()=>Lv,zipObjectDeep:()=>Dv,zipWith:()=>Bv});const r="object"==typeof global&&global&&global.Object===Object&&global;var o="object"==typeof self&&self&&self.Object===Object&&self;const i=r||o||Function("return this")();const a=i.Symbol;var c=Object.prototype,u=c.hasOwnProperty,s=c.toString,l=a?a.toStringTag:void 0;const f=function(t){var e=u.call(t,l),n=t[l];try{t[l]=void 0;var r=!0}catch(t){}var o=s.call(t);return r&&(e?t[l]=n:delete t[l]),o};var p=Object.prototype.toString;const d=function(t){return p.call(t)};var h=a?a.toStringTag:void 0;const v=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":h&&h in Object(t)?f(t):d(t)};const g=function(t){return null!=t&&"object"==typeof t};const y=function(t){return"symbol"==typeof t||g(t)&&"[object Symbol]"==v(t)};const _=function(t){return"number"==typeof t?t:y(t)?NaN:+t};const m=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o};const b=Array.isArray;var O=a?a.prototype:void 0,w=O?O.toString:void 0;const A=function t(e){if("string"==typeof e)return e;if(b(e))return m(e,t)+"";if(y(e))return w?w.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n};const E=function(t,e){return function(n,r){var o;if(void 0===n&&void 0===r)return e;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=A(n),r=A(r)):(n=_(n),r=_(r)),o=t(n,r)}return o}};const x=E((function(t,e){return t+e}),0);var j=/\s/;const I=function(t){for(var e=t.length;e--&&j.test(t.charAt(e)););return e};var k=/^\s+/;const T=function(t){return t?t.slice(0,I(t)+1).replace(k,""):t};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var S=/^[-+]0x[0-9a-f]+$/i,N=/^0b[01]+$/i,L=/^0o[0-7]+$/i,D=parseInt;const C=function(t){if("number"==typeof t)return t;if(y(t))return NaN;if(R(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=R(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=T(t);var n=N.test(t);return n||L.test(t)?D(t.slice(2),n?2:8):S.test(t)?NaN:+t};var B=1/0;const M=function(t){return t?(t=C(t))===B||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0};const P=function(t){var e=M(t),n=e%1;return e==e?n?e-n:e:0};const W=function(t,e){if("function"!=typeof e)throw new TypeError("Expected a function");return t=P(t),function(){if(--t<1)return e.apply(this,arguments)}};const U=function(t){return t};const z=function(t){if(!R(t))return!1;var e=v(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const F=i["__core-js_shared__"];var q,H=(q=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"";const $=function(t){return!!H&&H in t};var K=Function.prototype.toString;const G=function(t){if(null!=t){try{return K.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var V=/^\[object .+?Constructor\]$/,X=Function.prototype,Y=Object.prototype,Z=X.toString,J=Y.hasOwnProperty,Q=RegExp("^"+Z.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const tt=function(t){return!(!R(t)||$(t))&&(z(t)?Q:V).test(G(t))};const et=function(t,e){return null==t?void 0:t[e]};const nt=function(t,e){var n=et(t,e);return tt(n)?n:void 0};const rt=nt(i,"WeakMap");const ot=rt&&new rt;var it=ot?function(t,e){return ot.set(t,e),t}:U;const at=it;var ct=Object.create,ut=function(){function t(){}return function(e){if(!R(e))return{};if(ct)return ct(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();const st=ut;const lt=function(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=st(t.prototype),r=t.apply(n,e);return R(r)?r:n}};const ft=function(t,e,n){var r=1&e,o=lt(t);return function e(){return(this&&this!==i&&this instanceof e?o:t).apply(r?n:this,arguments)}};const pt=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var dt=Math.max;const ht=function(t,e,n,r){for(var o=-1,i=t.length,a=n.length,c=-1,u=e.length,s=dt(i-a,0),l=Array(u+s),f=!r;++c<u;)l[c]=e[c];for(;++o<a;)(f||o<i)&&(l[n[o]]=t[o]);for(;s--;)l[c++]=t[o++];return l};var vt=Math.max;const gt=function(t,e,n,r){for(var o=-1,i=t.length,a=-1,c=n.length,u=-1,s=e.length,l=vt(i-c,0),f=Array(l+s),p=!r;++o<l;)f[o]=t[o];for(var d=o;++u<s;)f[d+u]=e[u];for(;++a<c;)(p||o<i)&&(f[d+n[a]]=t[o++]);return f};const yt=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r};const _t=function(){};function mt(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}mt.prototype=st(_t.prototype),mt.prototype.constructor=mt;const bt=mt;const Ot=function(){};var wt=ot?function(t){return ot.get(t)}:Ot;const At=wt;const Et={};var xt=Object.prototype.hasOwnProperty;const jt=function(t){for(var e=t.name+"",n=Et[e],r=xt.call(Et,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e};function It(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}It.prototype=st(_t.prototype),It.prototype.constructor=It;const kt=It;const Tt=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e};const Rt=function(t){if(t instanceof bt)return t.clone();var e=new kt(t.__wrapped__,t.__chain__);return e.__actions__=Tt(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e};var St=Object.prototype.hasOwnProperty;function Nt(t){if(g(t)&&!b(t)&&!(t instanceof bt)){if(t instanceof kt)return t;if(St.call(t,"__wrapped__"))return Rt(t)}return new kt(t)}Nt.prototype=_t.prototype,Nt.prototype.constructor=Nt;const Lt=Nt;const Dt=function(t){var e=jt(t),n=Lt[e];if("function"!=typeof n||!(e in bt.prototype))return!1;if(t===n)return!0;var r=At(n);return!!r&&t===r[0]};var Ct=Date.now;const Bt=function(t){var e=0,n=0;return function(){var r=Ct(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}};const Mt=Bt(at);var Pt=/\{\n\/\* \[wrapped with (.+)\] \*/,Wt=/,? & /;const Ut=function(t){var e=t.match(Pt);return e?e[1].split(Wt):[]};var zt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const Ft=function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(zt,"{\n/* [wrapped with "+e+"] */\n")};const qt=function(t){return function(){return t}};var Ht=function(){try{var t=nt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const $t=Ht;var Kt=$t?function(t,e){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(e),writable:!0})}:U;const Gt=Bt(Kt);const Vt=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t};const Xt=function(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1};const Yt=function(t){return t!=t};const Zt=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1};const Jt=function(t,e,n){return e==e?Zt(t,e,n):Xt(t,Yt,n)};const Qt=function(t,e){return!!(null==t?0:t.length)&&Jt(t,e,0)>-1};var te=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const ee=function(t,e){return Vt(te,(function(n){var r="_."+n[0];e&n[1]&&!Qt(t,r)&&t.push(r)})),t.sort()};const ne=function(t,e,n){var r=e+"";return Gt(t,Ft(r,ee(Ut(r),n)))};const re=function(t,e,n,r,o,i,a,c,u,s){var l=8&e;e|=l?32:64,4&(e&=~(l?64:32))||(e&=-4);var f=[t,e,o,l?i:void 0,l?a:void 0,l?void 0:i,l?void 0:a,c,u,s],p=n.apply(void 0,f);return Dt(t)&&Mt(p,f),p.placeholder=r,ne(p,t,e)};const oe=function(t){return t.placeholder};var ie=/^(?:0|[1-9]\d*)$/;const ae=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&ie.test(t))&&t>-1&&t%1==0&&t<e};var ce=Math.min;const ue=function(t,e){for(var n=t.length,r=ce(e.length,n),o=Tt(t);r--;){var i=e[r];t[r]=ae(i,n)?o[i]:void 0}return t};var se="__lodash_placeholder__";const le=function(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var a=t[n];a!==e&&a!==se||(t[n]=se,i[o++]=n)}return i};const fe=function t(e,n,r,o,a,c,u,s,l,f){var p=128&n,d=1&n,h=2&n,v=24&n,g=512&n,y=h?void 0:lt(e);return function _(){for(var m=arguments.length,b=Array(m),O=m;O--;)b[O]=arguments[O];if(v)var w=oe(_),A=yt(b,w);if(o&&(b=ht(b,o,a,v)),c&&(b=gt(b,c,u,v)),m-=A,v&&m<f){var E=le(b,w);return re(e,n,t,_.placeholder,r,b,E,s,l,f-m)}var x=d?r:this,j=h?x[e]:e;return m=b.length,s?b=ue(b,s):g&&m>1&&b.reverse(),p&&l<m&&(b.length=l),this&&this!==i&&this instanceof _&&(j=y||lt(j)),j.apply(x,b)}};const pe=function(t,e,n){var r=lt(t);return function o(){for(var a=arguments.length,c=Array(a),u=a,s=oe(o);u--;)c[u]=arguments[u];var l=a<3&&c[0]!==s&&c[a-1]!==s?[]:le(c,s);return(a-=l.length)<n?re(t,e,fe,o.placeholder,void 0,c,l,void 0,void 0,n-a):pt(this&&this!==i&&this instanceof o?r:t,this,c)}};const de=function(t,e,n,r){var o=1&e,a=lt(t);return function e(){for(var c=-1,u=arguments.length,s=-1,l=r.length,f=Array(l+u),p=this&&this!==i&&this instanceof e?a:t;++s<l;)f[s]=r[s];for(;u--;)f[s++]=arguments[++c];return pt(p,o?n:this,f)}};var he="__lodash_placeholder__",ve=128,ge=Math.min;const ye=function(t,e){var n=t[1],r=e[1],o=n|r,i=o<131,a=r==ve&&8==n||r==ve&&256==n&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!i&&!a)return t;1&r&&(t[2]=e[2],o|=1&n?0:4);var c=e[3];if(c){var u=t[3];t[3]=u?ht(u,c,e[4]):c,t[4]=u?le(t[3],he):e[4]}return(c=e[5])&&(u=t[5],t[5]=u?gt(u,c,e[6]):c,t[6]=u?le(t[5],he):e[6]),(c=e[7])&&(t[7]=c),r&ve&&(t[8]=null==t[8]?e[8]:ge(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o,t};var _e=Math.max;const me=function(t,e,n,r,o,i,a,c){var u=2&e;if(!u&&"function"!=typeof t)throw new TypeError("Expected a function");var s=r?r.length:0;if(s||(e&=-97,r=o=void 0),a=void 0===a?a:_e(P(a),0),c=void 0===c?c:P(c),s-=o?o.length:0,64&e){var l=r,f=o;r=o=void 0}var p=u?void 0:At(t),d=[t,e,n,r,o,l,f,i,a,c];if(p&&ye(d,p),t=d[0],e=d[1],n=d[2],r=d[3],o=d[4],!(c=d[9]=void 0===d[9]?u?0:t.length:_e(d[9]-s,0))&&24&e&&(e&=-25),e&&1!=e)h=8==e||16==e?pe(t,e,c):32!=e&&33!=e||o.length?fe.apply(void 0,d):de(t,e,n,r);else var h=ft(t,e,n);return ne((p?at:Mt)(h,d),t,e)};const be=function(t,e,n){return e=n?void 0:e,e=t&&null==e?t.length:e,me(t,128,void 0,void 0,void 0,void 0,e)};const Oe=function(t,e,n){"__proto__"==e&&$t?$t(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};const we=function(t,e){return t===e||t!=t&&e!=e};var Ae=Object.prototype.hasOwnProperty;const Ee=function(t,e,n){var r=t[e];Ae.call(t,e)&&we(r,n)&&(void 0!==n||e in t)||Oe(t,e,n)};const xe=function(t,e,n,r){var o=!n;n||(n={});for(var i=-1,a=e.length;++i<a;){var c=e[i],u=r?r(n[c],t[c],c,n,t):void 0;void 0===u&&(u=t[c]),o?Oe(n,c,u):Ee(n,c,u)}return n};var je=Math.max;const Ie=function(t,e,n){return e=je(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=je(r.length-e,0),a=Array(i);++o<i;)a[o]=r[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=r[o];return c[e]=n(a),pt(t,this,c)}};const ke=function(t,e){return Gt(Ie(t,e,U),t+"")};const Te=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};const Re=function(t){return null!=t&&Te(t.length)&&!z(t)};const Se=function(t,e,n){if(!R(n))return!1;var r=typeof e;return!!("number"==r?Re(n)&&ae(e,n.length):"string"==r&&e in n)&&we(n[e],t)};const Ne=function(t){return ke((function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&Se(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++r<o;){var c=n[r];c&&t(e,c,r,i)}return e}))};var Le=Object.prototype;const De=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Le)};const Ce=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};const Be=function(t){return g(t)&&"[object Arguments]"==v(t)};var Me=Object.prototype,Pe=Me.hasOwnProperty,We=Me.propertyIsEnumerable;const Ue=Be(function(){return arguments}())?Be:function(t){return g(t)&&Pe.call(t,"callee")&&!We.call(t,"callee")};const ze=function(){return!1};var Fe="object"==typeof exports&&exports&&!exports.nodeType&&exports,qe=Fe&&"object"==typeof module&&module&&!module.nodeType&&module,He=qe&&qe.exports===Fe?i.Buffer:void 0;const $e=(He?He.isBuffer:void 0)||ze;var Ke={};Ke["[object Float32Array]"]=Ke["[object Float64Array]"]=Ke["[object Int8Array]"]=Ke["[object Int16Array]"]=Ke["[object Int32Array]"]=Ke["[object Uint8Array]"]=Ke["[object Uint8ClampedArray]"]=Ke["[object Uint16Array]"]=Ke["[object Uint32Array]"]=!0,Ke["[object Arguments]"]=Ke["[object Array]"]=Ke["[object ArrayBuffer]"]=Ke["[object Boolean]"]=Ke["[object DataView]"]=Ke["[object Date]"]=Ke["[object Error]"]=Ke["[object Function]"]=Ke["[object Map]"]=Ke["[object Number]"]=Ke["[object Object]"]=Ke["[object RegExp]"]=Ke["[object Set]"]=Ke["[object String]"]=Ke["[object WeakMap]"]=!1;const Ge=function(t){return g(t)&&Te(t.length)&&!!Ke[v(t)]};const Ve=function(t){return function(e){return t(e)}};var Xe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ye=Xe&&"object"==typeof module&&module&&!module.nodeType&&module,Ze=Ye&&Ye.exports===Xe&&r.process;const Je=function(){try{var t=Ye&&Ye.require&&Ye.require("util").types;return t||Ze&&Ze.binding&&Ze.binding("util")}catch(t){}}();var Qe=Je&&Je.isTypedArray;const tn=Qe?Ve(Qe):Ge;var en=Object.prototype.hasOwnProperty;const nn=function(t,e){var n=b(t),r=!n&&Ue(t),o=!n&&!r&&$e(t),i=!n&&!r&&!o&&tn(t),a=n||r||o||i,c=a?Ce(t.length,String):[],u=c.length;for(var s in t)!e&&!en.call(t,s)||a&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ae(s,u))||c.push(s);return c};const rn=function(t,e){return function(n){return t(e(n))}};const on=rn(Object.keys,Object);var an=Object.prototype.hasOwnProperty;const cn=function(t){if(!De(t))return on(t);var e=[];for(var n in Object(t))an.call(t,n)&&"constructor"!=n&&e.push(n);return e};const un=function(t){return Re(t)?nn(t):cn(t)};var sn=Object.prototype.hasOwnProperty,ln=Ne((function(t,e){if(De(e)||Re(e))xe(e,un(e),t);else for(var n in e)sn.call(e,n)&&Ee(t,n,e[n])}));const fn=ln;const pn=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var dn=Object.prototype.hasOwnProperty;const hn=function(t){if(!R(t))return pn(t);var e=De(t),n=[];for(var r in t)("constructor"!=r||!e&&dn.call(t,r))&&n.push(r);return n};const vn=function(t){return Re(t)?nn(t,!0):hn(t)};var gn=Ne((function(t,e){xe(e,vn(e),t)}));const yn=gn;var _n=Ne((function(t,e,n,r){xe(e,vn(e),t,r)}));const mn=_n;var bn=Ne((function(t,e,n,r){xe(e,un(e),t,r)}));const On=bn;var wn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,An=/^\w*$/;const En=function(t,e){if(b(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!y(t))||(An.test(t)||!wn.test(t)||null!=e&&t in Object(e))};const xn=nt(Object,"create");const jn=function(){this.__data__=xn?xn(null):{},this.size=0};const In=function(t){var e=this.has(t)&&delete this.__data__[t];return this.si