PageSourceSearch

https://static.chewy.com/lib/cds/kib-overlays-react/3.32.9/kib-overlays.umd.js

js chewy.com collected 2026-09-24 08:25:13 UTC 104,681 bytes, 2 lines download raw bytes

1/*! For license information please see kib-overlays.umd.js.LICENSE.txt */
2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("@chewy/kib-overlays-react",["react","react-dom"],t):"object"==typeof exports?exports["@chewy/kib-overlays-react"]=t(require("react"),require("react-dom")):e.KibOverlays=t(e.React,e.ReactDOM)}(this,((e,t)=>(()=>{var r={1596:(e,t)=>{"use strict";t.Z=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 2===e.length?n(e[0],e[1])||null:e.slice(1).reduce((function(e,t){return n(e,t)}),e[0])||null};var r=new WeakMap;function n(e,t){if(e&&t){var n=r.get(e)||new WeakMap;r.set(e,n);var a=n.get(t)||function(r){o(e,r),o(t,r)};return n.set(t,a),a}return e||t}function o(e,t){"function"==typeof e?e(t):e.current=t}},7530:(e,t,r)=>{"use strict";var n=r(7156),o=r(1764),a=r(8978),i=r(7723);e.exports=i||n.call(a,o)},1764:e=>{"use strict";e.exports=Function.prototype.apply},8978:e=>{"use strict";e.exports=Function.prototype.call},3049:(e,t,r)=>{"use strict";var n=r(7156),o=r(682),a=r(8978),i=r(7530);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return i(n,a,e)}},7723:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},3328:(e,t,r)=>{"use strict";var n=r(1528),o=r(3049),a=o([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?o([r]):r}},4933:(e,t,r)=>{var n=r(5001),o=r(6291),a=r(7073),i=n.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a function")}},9076:(e,t,r)=>{var n=r(5001),o=r(6291),a=n.String,i=n.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+a(e)+" as a prototype")}},5822:(e,t,r)=>{var n=r(6802),o=r(2275),a=r(6462),i=n("unscopables"),s=Array.prototype;null==s[i]&&a.f(s,i,{configurable:!0,value:o(null)}),e.exports=function(e){s[i][e]=!0}},5528:(e,t,r)=>{"use strict";var n=r(189).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},4905:(e,t,r)=>{var n=r(5001),o=r(2366),a=n.String,i=n.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not an object")}},5029:(e,t,r)=>{var n=r(678),o=r(6971),a=r(4821),i=function(e){return function(t,r,i){var s,c=n(t),u=a(c),l=o(i,u);if(e&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},5489:(e,t,r)=>{var n=r(936),o=n({}.toString),a=n("".slice);e.exports=function(e){return a(o(e),8,-1)}},486:(e,t,r)=>{var n=r(5001),o=r(8171),a=r(6291),i=r(5489),s=r(6802)("toStringTag"),c=n.Object,u="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=c(e),s))?r:u?i(t):"Object"==(n=i(t))&&a(t.callee)?"Arguments":n}},4086:(e,t,r)=>{var n=r(936),o=Error,a=n("".replace),i=String(o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(i);e.exports=function(e,t){if(c&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=a(e,s,"");return e}},6810:(e,t,r)=>{var n=r(8382),o=r(2466),a=r(8117),i=r(6462);e.exports=function(e,t,r){for(var s=o(t),c=i.f,u=a.f,l=0;l<s.length;l++){var p=s[l];n(e,p)||r&&n(r,p)||c(e,p,u(t,p))}}},149:(e,t,r)=>{var n=r(5061);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2141:(e,t,r)=>{"use strict";var n=r(1151).IteratorPrototype,o=r(2275),a=r(6034),i=r(606),s=r(501),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=o(n,{next:a(+!u,r)}),i(e,l,!1,!0),s[l]=c,e}},430:(e,t,r)=>{var n=r(1502),o=r(6462),a=r(6034);e.exports=n?function(e,t,r){return o.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},6034:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},645:(e,t,r)=>{"use strict";var n=r(9638),o=r(3927),a=r(13),i=r(9873),s=r(6291),c=r(2141),u=r(4320),l=r(2848),p=r(606),f=r(430),d=r(6313),v=r(6802),y=r(501),h=r(1151),b=i.PROPER,m=i.CONFIGURABLE,g=h.IteratorPrototype,x=h.BUGGY_SAFARI_ITERATORS,E=v("iterator"),w="keys",O="values",S="entries",k=function(){return this};e.exports=function(e,t,r,i,v,h,P){c(r,t,i);var _,T,j,A=function(e){if(e===v&&I)return I;if(!x&&e in C)return C[e];switch(e){case w:case O:case S:return function(){return new r(this,e)}}return function(){return new r(this)}},N=t+" Iterator",R=!1,C=e.prototype,F=C[E]||C["@@iterator"]||v&&C[v],I=!x&&F||A(v),D="Array"==t&&C.entr
vendor: 5,549 bytes, line 2
2ies||F;if(D&&(_=u(D.call(new e)))!==Object.prototype&&_.next&&(a||u(_)===g||(l?l(_,g):s(_[E])||d(_,E,k)),p(_,N,!0,!0),a&&(y[N]=k)),b&&v==O&&F&&F.name!==O&&(!a&&m?f(C,"name",O):(R=!0,I=function(){return o(F,this)})),v)if(T={values:A(O),keys:h?I:A(w),entries:A(S)},P)for(j in T)(x||R||!(j in C))&&d(C,j,T[j]);else n({target:t,proto:!0,forced:x||R},T);return a&&!P||C[E]===I||d(C,E,I,{name:v}),y[t]=I,T}},1502:(e,t,r)=>{var n=r(5061);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6009:(e,t,r)=>{var n=r(5001),o=r(2366),a=n.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},8514:e=>{e.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}},7234:(e,t,r)=>{var n=r(6009)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},9966:(e,t,r)=>{var n=r(3425);e.exports=n("navigator","userAgent")||""},2821:(e,t,r)=>{var n,o,a=r(5001),i=r(9966),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},2089:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7896:(e,t,r)=>{var n=r(5061),o=r(6034);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},9638:(e,t,r)=>{var n=r(5001),o=r(8117).f,a=r(430),i=r(6313),s=r(8506),c=r(6810),u=r(1092);e.exports=function(e,t){var r,l,p,f,d,v=e.target,y=e.global,h=e.stat;if(r=y?n:h?n[v]||s(v,{}):(n[v]||{}).prototype)for(l in t){if(f=t[l],p=e.noTargetGet?(d=o(r,l))&&d.value:r[l],!u(y?l:v+(h?".":"#")+l,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;c(f,p)}(e.sham||p&&p.sham)&&a(f,"sham",!0),i(r,l,f,e)}}},5061:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},5453:(e,t,r)=>{"use strict";r(2295);var n=r(936),o=r(6313),a=r(4847),i=r(5061),s=r(6802),c=r(430),u=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,p){var f=s(e),d=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),v=d&&!i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!d||!v||r){var y=n(/./[f]),h=t(f,""[e],(function(e,t,r,o,i){var s=n(e),c=t.exec;return c===a||c===l.exec?d&&!i?{done:!0,value:y(t,r,o)}:{done:!0,value:s(r,t,o)}:{done:!1}}));o(String.prototype,e,h[0]),o(l,f,h[1])}p&&c(l[f],"sham",!0)}},5494:(e,t,r)=>{var n=r(8483),o=Function.prototype,a=o.apply,i=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?i.bind(a):function(){return i.apply(a,arguments)})},8483:(e,t,r)=>{var n=r(5061);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},3927:(e,t,r)=>{var n=r(8483),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},9873:(e,t,r)=>{var n=r(1502),o=r(8382),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,s=o(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},936:(e,t,r)=>{var n=r(8483),o=Function.prototype,a=o.bind,i=o.call,s=n&&a.bind(i,i);e.exports=n?function(e){return e&&s(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},3425:(e,t,r)=>{var n=r(5001),o=r(6291);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},3815:(e,t,r)=>{var n=r(4933);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},8327:(e,t,r)=>{var n=r(936),o=r(7615),a=Math.floor,i=n("".charAt),s=n("".replace),c=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,p,f){var d=r+e.length,v=n.length,y=l;return void 0!==p&&(p=o(p),y=u),s(f,y,(function(o,s){var u;switch(i(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,d);case"<":u=p[c(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>v){var f=a(l/10);return 0===f?o:f<=v?void 0===n[f-1]?i(s,1):n[f-1]+i(s,1):o}u=n[l-1]}return void 0===u?"":u}))}},5001:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},8382:(e,t,r)=>{var n=r(936),o=r(7615),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},2499:e=>{e.exports={}},2118:(e,t,r)=>{var n=r(3425);e.exports=n("document","documentElement")},7788:(e,t,r)=>{var n=r(1502),o=r(5061),a=r(6009);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},2901:(e,t,r)=>{var n=r(5001),o=r(936),a=r(5061),i=r(5489),s=n.Object,c=o("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?c(e,""):s(e)}:s}
vendor: 5,272 bytes, line 2
2,3419:(e,t,r)=>{var n=r(6291),o=r(2366),a=r(2848);e.exports=function(e,t,r){var i,s;return a&&n(i=t.constructor)&&i!==r&&o(s=i.prototype)&&s!==r.prototype&&a(e,s),e}},685:(e,t,r)=>{var n=r(936),o=r(6291),a=r(9982),i=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},2946:(e,t,r)=>{var n=r(2366),o=r(430);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},684:(e,t,r)=>{var n,o,a,i=r(7650),s=r(5001),c=r(936),u=r(2366),l=r(430),p=r(8382),f=r(9982),d=r(1695),v=r(2499),y="Object already initialized",h=s.TypeError,b=s.WeakMap;if(i||f.state){var m=f.state||(f.state=new b),g=c(m.get),x=c(m.has),E=c(m.set);n=function(e,t){if(x(m,e))throw new h(y);return t.facade=e,E(m,e,t),t},o=function(e){return g(m,e)||{}},a=function(e){return x(m,e)}}else{var w=d("state");v[w]=!0,n=function(e,t){if(p(e,w))throw new h(y);return t.facade=e,l(e,w,t),t},o=function(e){return p(e,w)?e[w]:{}},a=function(e){return p(e,w)}}e.exports={set:n,get:o,has:a,enforce:function(e){return a(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw h("Incompatible receiver, "+e+" required");return r}}}},119:(e,t,r)=>{var n=r(5489);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6291:e=>{e.exports=function(e){return"function"==typeof e}},1092:(e,t,r)=>{var n=r(5061),o=r(6291),a=/#|\.prototype\./,i=function(e,t){var r=c[s(e)];return r==l||r!=u&&(o(t)?n(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},2366:(e,t,r)=>{var n=r(6291);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},13:e=>{e.exports=!1},6448:(e,t,r)=>{var n=r(5001),o=r(3425),a=r(6291),i=r(6282),s=r(7558),c=n.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return a(t)&&i(t.prototype,c(e))}},1151:(e,t,r)=>{"use strict";var n,o,a,i=r(5061),s=r(6291),c=r(2275),u=r(4320),l=r(6313),p=r(6802),f=r(13),d=p("iterator"),v=!1;[].keys&&("next"in(a=[].keys())?(o=u(u(a)))!==Object.prototype&&(n=o):v=!0),null==n||i((function(){var e={};return n[d].call(e)!==e}))?n={}:f&&(n=c(n)),s(n[d])||l(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},501:e=>{e.exports={}},4821:(e,t,r)=>{var n=r(4479);e.exports=function(e){return n(e.length)}},9262:(e,t,r)=>{var n=r(2821),o=r(5061);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},7650:(e,t,r)=>{var n=r(5001),o=r(6291),a=r(685),i=n.WeakMap;e.exports=o(i)&&/native code/.test(a(i))},9270:(e,t,r)=>{var n=r(9284);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},2275:(e,t,r)=>{var n,o=r(4905),a=r(6191),i=r(2089),s=r(2499),c=r(2118),u=r(6009),l=r(1695),p="prototype",f="script",d=l("IE_PROTO"),v=function(){},y=function(e){return"<"+f+">"+e+"</"+f+">"},h=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;b="undefined"!=typeof document?document.domain&&n?h(n):(t=u("iframe"),r="java"+f+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):h(n);for(var o=i.length;o--;)delete b[p][i[o]];return b()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(v[p]=o(e),r=new v,v[p]=null,r[d]=e):r=b(),void 0===t?r:a.f(r,t)}},6191:(e,t,r)=>{var n=r(1502),o=r(5780),a=r(6462),i=r(4905),s=r(678),c=r(9749);t.f=n&&!o?Object.defineProperties:function(e,t){i(e);for(var r,n=s(t),o=c(t),u=o.length,l=0;u>l;)a.f(e,r=o[l++],n[r]);return e}},6462:(e,t,r)=>{var n=r(5001),o=r(1502),a=r(7788),i=r(5780),s=r(4905),c=r(1030),u=n.TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",v="writable";t.f=o?i?function(e,t,r){if(s(e),t=c(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&v in r&&!r[v]){var n=p(e,t);n&&n[v]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=c(t),s(r),a)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},8117:(e,t,r)=>{var n=r(1502),o=r(3927),a=r(9265),i=r(6034),s=r(678),c=r(1030),u=r(8382),l=r(7788),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=s(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return i(!o(a.f,e,t),e[t])}},9219:(e,t,r)=>{var n=r(3855),o=r(2089).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},2822:(e,t)=>{t.f=Object.getOwnPropertySymbols},4320:(e,t,r)=>{var n=r(5001),o=r(8382),a=r(6291),i=r(7615),s=r(1695),c=r(149),u=s("IE_PROTO"),l=n.Object,p=l.prototype;e.exports=c?l.getPrototypeOf:function(e){var t=i(e);if(o(t,u))return t[u];var r=t.constructor;return a(r)&&t instanceof r?r.prototype:t instanceof l?p:null}},6282:(e,t,r)=>{var n=r(936);e.exports=n({}.isPrototypeOf)},3855:(e,t,r)=>{var n=r(936),o=r(8382),a=r(678),i=r(5029).indexOf,s=r(2499),c=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);for(;t.length>u;
vendor: 3,396 bytes, line 2
2)o(n,r=t[u++])&&(~i(l,r)||c(l,r));return l}},9749:(e,t,r)=>{var n=r(3855),o=r(2089);e.exports=Object.keys||function(e){return n(e,o)}},9265:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},2848:(e,t,r)=>{var n=r(936),o=r(4905),a=r(9076);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),a(n),t?e(r,n):r.__proto__=n,r}}():void 0)},379:(e,t,r)=>{var n=r(5001),o=r(3927),a=r(6291),i=r(2366),s=n.TypeError;e.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!i(n=o(r,e)))return n;if(a(r=e.valueOf)&&!i(n=o(r,e)))return n;if("string"!==t&&a(r=e.toString)&&!i(n=o(r,e)))return n;throw s("Can't convert object to primitive value")}},2466:(e,t,r)=>{var n=r(3425),o=r(936),a=r(9219),i=r(2822),s=r(4905),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=i.f;return r?c(t,r(e)):t}},3828:(e,t,r)=>{var n=r(6462).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},6313:(e,t,r)=>{var n=r(5001),o=r(6291),a=r(8382),i=r(430),s=r(8506),c=r(685),u=r(684),l=r(9873).CONFIGURABLE,p=u.get,f=u.enforce,d=String(String).split("String");(e.exports=function(e,t,r,c){var u,p=!!c&&!!c.unsafe,v=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet,h=c&&void 0!==c.name?c.name:t;o(r)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||l&&r.name!==h)&&i(r,"name",h),(u=f(r)).source||(u.source=d.join("string"==typeof h?h:""))),e!==n?(p?!y&&e[t]&&(v=!0):delete e[t],v?e[t]=r:i(e,t,r)):v?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||c(this)}))},1847:(e,t,r)=>{var n=r(5001),o=r(3927),a=r(4905),i=r(6291),s=r(5489),c=r(4847),u=n.TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var n=o(r,e,t);return null!==n&&a(n),n}if("RegExp"===s(e))return o(c,e,t);throw u("RegExp#exec called on incompatible receiver")}},4847:(e,t,r)=>{"use strict";var n,o,a=r(3927),i=r(936),s=r(9284),c=r(5268),u=r(4764),l=r(6809),p=r(2275),f=r(684).get,d=r(1406),v=r(3069),y=l("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,b=h,m=i("".charAt),g=i("".indexOf),x=i("".replace),E=i("".slice),w=(o=/b*/g,a(h,n=/a/,"a"),a(h,o,"a"),0!==n.lastIndex||0!==o.lastIndex),O=u.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(w||S||O||d||v)&&(b=function(e){var t,r,n,o,i,u,l,d=this,v=f(d),k=s(e),P=v.raw;if(P)return P.lastIndex=d.lastIndex,t=a(b,P,k),d.lastIndex=P.lastIndex,t;var _=v.groups,T=O&&d.sticky,j=a(c,d),A=d.source,N=0,R=k;if(T&&(j=x(j,"y",""),-1===g(j,"g")&&(j+="g"),R=E(k,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==m(k,d.lastIndex-1))&&(A="(?: "+A+")",R=" "+R,N++),r=new RegExp("^(?:"+A+")",j)),S&&(r=new RegExp("^"+A+"$(?!\\s)",j)),w&&(n=d.lastIndex),o=a(h,T?r:d,R),T?o?(o.input=E(o.input,N),o[0]=E(o[0],N),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:w&&o&&(d.lastIndex=d.global?o.index+o[0].length:n),S&&o&&o.length>1&&a(y,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&_)for(o.groups=u=p(null),i=0;i<_.length;i++)u[(l=_[i])[0]]=o[l[1]];return o}
2),e.exports=b},5268:(e,t,r)=>{"use strict";var n=r(4905);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},4764:(e,t,r)=>{var n=r(5061),o=r(5001).RegExp,a=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),i=a||n((function(){return!o("a","y").sticky})),s=a||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:i,UNSUPPORTED_Y:a}},1406:(e,t,r)=>{var n=r(5061),o=r(5001).RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},3069:(e,t,r)=>{var n=r(5061),o=r(5001).RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4475:(e,t,r)=>{var n=r(5001).TypeError;e.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}},8506:(e,t,r)=>{var n=r(5001),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},606:(e,t,r)=>{var n=r(6462).f,o=r(8382),a=r(6802)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,a)&&n(e,a,{configurable:!0,value:t})}},1695:(e,t,r)=>{var n=r(6809),o=r(1050),a=n("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},9982:(e,t,r)=>{var n=r(5001),o=r(8506),a="__core-js_shared__",i=n[a]||o(a,{});e.exports=i},6809:(e,t,r)=>{var n=r(13),o=r(9982);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:n?"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"})},189:(e,t,r)=>{var n=r(936),o=r(9398),a=r(9284),i=r(4475),s=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,p=a(i(t)),f=o(r),d=p.length;return f<0||f>=d?e?"":void 0:(n=c(p,f))<55296||n>56319||f+1===d||(l=c(p,f+1))<56320||l>57343?e?s(p,f):n:e?u(p,f,f+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6971:(e,t,r)=>{var n=r(9398),o=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):a(r,t)}},678:(e,t,r)=>{var n=r(2901),o=r(4475);e.exports=function(e){return n(o(e))}},9398:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){var n=+e;return n!=n||0===n?0:(n>0?r:t)(n)}},4479:(e,t,r)=>{var n=r(9398),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},7615:(e,t,r)=>{var n=r(5001),o=r(4475),a=n.Object;e.exports=function(e){return a(o(e))}},6973:(e,t,r)=>{var n=r(5001),o=r(3927),a=r(2366),i=r(6448),s=r(3815),c=r(379),u=r(6802),l=n.TypeError,p=u("toPrimitive");e.exports=function(e,t){if(!a(e)||i(e))return e;var r,n=s(e,p);if(n){if(void 0===t&&(t="default"),r=o(n,e,t),!a(r)||i(r))return r;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},1030:(e,t,r)=>{var n=r(6973),o=r(6448);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},8171:(e,t,r)=>{var n={};n[r(6802)("toStringTag")]="z",e.exports="[object z]"===String(n)},9284:(e,t,r)=>{var n=r(5001),o=r(486),a=n.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},7073:(e,t,r)=>{var n=r(5001).String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},1050:(e,t,r)=>{var n=r(936),o=0,a=Math.random(),i=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},7558:(e,t,r)=>{var n=r(9262);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5780:(e,t,r)=>{var n=r(1502),o=r(5061);e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},6802:(e,t,r)=>{var n=r(5001),o=r(6809),a=r(8382),i=r(1050),s=r(9262),c=r(7558),u=o("wks"),l=n.Symbol,p=l&&l.for,f=c?l:l&&l.withoutSetter||i;e.exports=function(e){if(!a(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&a(l,e)?u[e]=l[e]:u[e]=c&&p?p(t):f(t)}
2return u[e]}},2971:(e,t,r)=>{"use strict";var n=r(3425),o=r(8382),a=r(430),i=r(6282),s=r(2848),c=r(6810),u=r(3828),l=r(3419),p=r(9270),f=r(2946),d=r(4086),v=r(7896),y=r(1502),h=r(13);e.exports=function(e,t,r,b){var m="stackTraceLimit",g=b?2:1,x=e.split("."),E=x[x.length-1],w=n.apply(null,x);if(w){var O=w.prototype;if(!h&&o(O,"cause")&&delete O.cause,!r)return w;var S=n("Error"),k=t((function(e,t){var r=p(b?t:e,void 0),n=b?new w(e):new w;return void 0!==r&&a(n,"message",r),v&&a(n,"stack",d(n.stack,2)),this&&i(O,this)&&l(n,this,k),arguments.length>g&&f(n,arguments[g]),n}));if(k.prototype=O,"Error"!==E?s?s(k,S):c(k,S,{name:!0}):y&&m in w&&(u(k,w,m),u(k,w,"prepareStackTrace")),c(k,w),!h)try{O.name!==E&&a(O,"name",E),O.constructor=k}catch(e){}return k}}},8868:(e,t,r)=>{"use strict";var n=r(678),o=r(5822),a=r(501),i=r(684),s=r(6462).f,c=r(645),u=r(13),l=r(1502),p="Array Iterator",f=i.set,d=i.getterFor(p);e.exports=c(Array,"Array",(function(e,t){f(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var v=a.Arguments=a.Array;
2if(o("keys"),o("values"),o("entries"),!u&&l&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(e){}},8547:(e,t,r)=>{"use strict";var n=r(9638),o=r(936),a=r(119),i=o([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),i(this)}})},2355:(e,t,r)=>{var n=r(9638),o=r(5001),a=r(5494),i=r(2971),s="WebAssembly",c=o[s],u=7!==Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=i(e,t,u),n({global:!0,forced:u},r)},p=function(e,t){if(c&&c[e]){var r={};r[e]=i(s+"."+e,t,u),n({target:s,stat:!0,forced:u},r)}};l("Error",(function(e){return function(t){return a(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return a(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return a(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return a(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return a(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return a(e,this,arguments)}})),l("URIError",(function(e){return function(t){return a(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return a(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return a(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return a(e,this,arguments)}}))},3039:(e,t,r)=>{r(9638)({global:!0},{globalThis:r(5001)})},2295:(e,t,r)=>{"use strict";var n=r(9638),o=r(4847);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},4994:(e,t,r)=>{"use strict";var n=r(5494),o=r(3927),a=r(936),i=r(5453),s=r(5061),c=r(4905),u=r(6291),l=r(9398),p=r(4479),f=r(9284),d=r(4475),v=r(5528),y=r(3815),h=r(8327),b=r(1847),m=r(6802)("replace"),g=Math.max,x=Math.min,E=a([].concat),w=a([].push),O=a("".indexOf),S=a("".slice),k="$0"==="a".replace(/./,"$0"),P=!!/./[m]&&""===/./[m]("a","$0");i("replace",(function(e,t,r){var a=P?"$":"$0";return[function(e,r){var n=d(this),a=null==e?void 0:y(e,m);return a?o(a,e,n,r):o(t,f(n),e,r)},function(e,o){var i=c(this),s=f(e);if("string"==typeof o&&-1===O(o,a)&&-1===O(o,"$<")){var d=r(t,i,s,o);if(d.done)return d.value}var y=u(o);y||(o=f(o));var m=i.global;if(m){var k=i.unicode;i.lastIndex=0}for(var P=[];;){var _=b(i,s);if(null===_)break;if(w(P,_),!m)break;""===f(_[0])&&(i.lastIndex=v(s,p(i.lastIndex),k))}for(var T,j="",A=0,N=0;N<P.length;N++){for(var R=f((_=P[N])[0]),C=g(x(l(_.index),s.length),0),F=[],I=1;I<_.length;I++)w(F,void 0===(T=_[I])?T:String(T));var D=_.groups;if(y){var L=E([R],F,C,s);void 0!==D&&w(L,D);var $=f(n(o,void 0,L))}else $=h(R,s,C,F,D,o);C>=A&&(j+=S(s,A,C)+$,A=C+R.length)}return j+S(s,A)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!k||P)},4861:(e,t,r)=>{var n=r(5001),o=r(8514),a=r(7234),i=r(8868),s=r(430),c=r(6802),u=c("iterator"),l=c("toStringTag"),p=i.values,f=function(e,t){if(e){if(e[u]!==p)try{s(e,u,p)}catch(t){e[u]=p}if(e[l]||s(e,l,t),o[t])for(var r in i)if(e[r]!==i[r])try{s(e,r,i[r])}catch(t){e[r]=i[r]}}};for(var d in o)f(n[d]&&n[d].prototype,d);f(a,"DOMTokenList")},64:(e,t,r)=>{"use strict";var n,o=r(3049),a=r(1455);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var i=!!n&&a&&a(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=i&&"function"==typeof i.get?o([i.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},3880:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},5727:e=>{"use strict";e.exports=EvalError},4772:e=>{"use strict";e.exports=Error},511:e=>{"use strict";e.exports=RangeError},5912:e=>{"use strict";e.exports=ReferenceError},4332:e=>{"use strict";e.exports=SyntaxError},682:e=>{"use strict";e.exports=TypeError},4834:e=>{"use strict";e.exports=URIError},7143:e=>{"use strict";e.exports=Object},6211:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}
2function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function s(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===n(t)?t:String(t)}var c=r(9787),u=r(216),l=r(6498).createFocusTrap,p=r(1642).isFocusable,f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(d,e);var t,r,u,l,f=(u=d,l=function(){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(){var e,t=i(u);if(l){var r=i(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,e)});function d(e){var t,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),r=a(t=f.call(this,e)),o=function(e){var t,r=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];r=r.apply(void 0,o)}if(!0===r&&(r=void 0),!r){if(void 0===r||!1===r)return r;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var i,s=r;if("string"==typeof r&&!(s=null===(i=this.getDocument())||void 0===i?void 0:i.querySelector(r)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(n=s(n="getNodeForOption"))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,t.handleDeactivate=t.handleDeactivate.bind(a(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(a(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(a(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var i=e.focusTrapOptions;for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&("returnFocusOnDeactivate"!==c&&"onDeactivate"!==c&&"onPostDeactivate"!==c&&"checkCanReturnFocus"!==c&&"clickOutsideDeactivates"!==c?t.internalOptions[c]=i[c]:t.originalOptions[c]=i[c]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=d,(r=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),r=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||p(e.outsideClick.target,e.internalOptions.tabbableOptions))),n=e.internalOptions.preventScroll,o=void 0!==n&&n;r&&t.focus({preventScroll:o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,r=e.active&&!this.props.active,n=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),r)return void this.deactivateTrap();n&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?c.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===c.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return c.cloneElement(t,{ref:function(r){var n=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(r):t.ref&&(t.ref.current=r)),e.focusTrapElements=n||[r]}})}return null}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),d}(c.Component),d="undefined"==typeof Element?Function:Element;
2f.propTypes={active:u.bool,paused:u.bool,focusTrapOptions:u.shape({document:u.object,onActivate:u.func,onPostActivate:u.func,checkCanFocusTrap:u.func,onPause:u.func,onPostPause:u.func,onUnpause:u.func,onPostUnpause:u.func,onDeactivate:u.func,onPostDeactivate:u.func,checkCanReturnFocus:u.func,initialFocus:u.oneOfType([u.instanceOf(d),u.string,u.bool,u.func]),fallbackFocus:u.oneOfType([u.instanceOf(d),u.string,u.func]),escapeDeactivates:u.oneOfType([u.bool,u.func]),clickOutsideDeactivates:u.oneOfType([u.bool,u.func]),returnFocusOnDeactivate:u.bool,setReturnFocus:u.oneOfType([u.instanceOf(d),u.string,u.bool,u.func]),allowOutsideClick:u.oneOfType([u.bool,u.func]),preventScroll:u.bool,tabbableOptions:u.shape({displayCheck:u.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:u.oneOfType([u.bool,u.func])}),trapStack:u.array,isKeyForward:u.func,isKeyBackward:u.func}),containerElements:u.arrayOf(u.instanceOf(d)),children:u.oneOfType([u.element,u.instanceOf(d)])},f.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:l},e.exports=f},6498:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createFocusTrap:()=>y});var n=r(1642);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},c=function(e){return s(e)&&!e.shiftKey},u=function(e){return s(e)&&e.shiftKey},l=function(e){return setTimeout(e,0)},p=function(e,t){var r=-1;return e.every((function(e,n){return!t(e)||(r=n,!1)})),r},f=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,r):e},d=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},v=[],y=function(e,t){var r,o=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||v,y=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:c,isKeyBackward:u},t),h={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b=function(e,t,r){return e&&void 0!==e[t]?e[t]:y[r||t]},m=function(e,t){var r="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return h.containerGroups.findIndex((function(t){var n=t.container,o=t.tabbableNodes;return n.contains(e)||(null==r?void 0:r.includes(n))||o.find((function(t){return t===e}))}))},g=function(e){var t=y[e];if("function"==typeof t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];t=t.apply(void 0,n)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var i=t;if("string"==typeof t&&!(i=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return i},x=function(){var e=g("initialFocus");if(!1===e)return!1;if(void 0===e||!(0,n.isFocusable)(e,y.tabbableOptions))if(m(o.activeElement)>=0)e=o.activeElement;else{var t=h.tabbableGroups[0];e=t&&t.firstTabbableNode||g("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},E=function(){if(h.containerGroups=h.containers.map((function(e){var t=(0,n.tabbable)(e,y.tabbableOptions),r=(0,n.focusable)(e,y.tabbableOptions),o=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,i=r.find((function(e){return(0,n.isTabbable)(e)})),s=r.slice().reverse().find((function(e){return(0,n.isTabbable)(e)})),c=!!t.find((function(e){return(0,n.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:c,firstTabbableNode:o,lastTabbableNode:a,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=t.indexOf(e);return a<0?o?r.slice(r.indexOf(e)+1).find((function(e){return(0,n.isTabbable)(e)})):r.slice(0,r.indexOf(e)).reverse().find((function(e){return(0,n.isTabbable)(e)})):t[a+(o?1:-1)]}}})),h.tabbableGroups=h.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),h.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(h.containerGroups.find((function(e){return e.posTabIndexesFound}))&&h.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},w=function e(t){!1!==t&&t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!y.preventScroll}),h.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(x()))},O=function(e){var t=g("setReturnFocus",e);return t||!1!==t&&e},S=function(e){var t=e.target,r=e.event,o=e.isBackward,a=void 0!==o&&o;t=t||d(r),E();var i=null;if(h.tabbableGroups.length>0){var c=m(t,r),u=c>=0?h.containerGroups[c]:void 0;if(c<0)i=a?h.tabbableGroups[h.tabbableGroups.length-1].lastTabbableNode:h.tabbableGroups[0].firstTabbableNode;
2else if(a){var l=p(h.tabbableGroups,(function(e){var r=e.firstTabbableNode;return t===r}));if(l<0&&(u.container===t||(0,n.isFocusable)(t,y.tabbableOptions)&&!(0,n.isTabbable)(t,y.tabbableOptions)&&!u.nextTabbableNode(t,!1))&&(l=c),l>=0){var f=0===l?h.tabbableGroups.length-1:l-1,v=h.tabbableGroups[f];i=(0,n.getTabIndex)(t)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else s(r)||(i=u.nextTabbableNode(t,!1))}else{var b=p(h.tabbableGroups,(function(e){var r=e.lastTabbableNode;return t===r}));if(b<0&&(u.container===t||(0,n.isFocusable)(t,y.tabbableOptions)&&!(0,n.isTabbable)(t,y.tabbableOptions)&&!u.nextTabbableNode(t))&&(b=c),b>=0){var x=b===h.tabbableGroups.length-1?0:b+1,w=h.tabbableGroups[x];i=(0,n.getTabIndex)(t)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else s(r)||(i=u.nextTabbableNode(t))}}else i=g("fallbackFocus");return i},k=function(e){var t=d(e);m(t,e)>=0||(f(y.clickOutsideDeactivates,e)?r.deactivate({returnFocus:y.returnFocusOnDeactivate}):f(y.allowOutsideClick,e)||e.preventDefault())},P=function(e){var t=d(e),r=m(t,e)>=0;if(r||t instanceof Document)r&&(h.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var a=!0;if(h.mostRecentlyFocusedNode)if((0,n.getTabIndex)(h.mostRecentlyFocusedNode)>0){var i=m(h.mostRecentlyFocusedNode),s=h.containerGroups[i].tabbableNodes;if(s.length>0){var c=s.findIndex((function(e){return e===h.mostRecentlyFocusedNode}));c>=0&&(y.isKeyForward(h.recentNavEvent)?c+1<s.length&&(o=s[c+1],a=!1):c-1>=0&&(o=s[c-1],a=!1))}}else h.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,n.getTabIndex)(e)>0}))}))||(a=!1);else a=!1;a&&(o=S({target:h.mostRecentlyFocusedNode,isBackward:y.isKeyBackward(h.recentNavEvent)})),w(o||h.mostRecentlyFocusedNode||x())}h.recentNavEvent=void 0},_=function(e){if(("Escape"===(null==(t=e)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==f(y.escapeDeactivates,e))return e.preventDefault(),void r.deactivate();var t;(y.isKeyForward(e)||y.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h.recentNavEvent=e;var r=S({event:e,isBackward:t});r&&(s(e)&&e.preventDefault(),w(r))}(e,y.isKeyBackward(e))},T=function(e){var t=d(e);m(t,e)>=0||f(y.clickOutsideDeactivates,e)||f(y.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},j=function(){if(h.active)return function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)}(i,r),h.delayInitialFocusTimer=y.delayInitialFocus?l((function(){w(x())})):w(x()),o.addEventListener("focusin",P,!0),o.addEventListener("mousedown",k,{capture:!0,passive:!1}),o.addEventListener("touchstart",k,{capture:!0,passive:!1}),o.addEventListener("click",T,{capture:!0,passive:!1}),o.addEventListener("keydown",_,{capture:!0,passive:!1}),r},A=function(){if(h.active)return o.removeEventListener("focusin",P,!0),o.removeEventListener("mousedown",k,!0),o.removeEventListener("touchstart",k,!0),o.removeEventListener("click",T,!0),o.removeEventListener("keydown",_,!0),r},N="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===h.mostRecentlyFocusedNode}))}))&&w(x())})):void 0,R=function(){N&&(N.disconnect(),h.active&&!h.paused&&h.containers.map((function(e){N.observe(e,{subtree:!0,childList:!0})})))};return(r={get active(){return h.active},get paused(){return h.paused},activate:function(e){if(h.active)return this;var t=b(e,"onActivate"),r=b(e,"onPostActivate"),n=b(e,"checkCanFocusTrap");n||E(),h.active=!0,h.paused=!1,h.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var a=function(){n&&E(),j(),R(),null==r||r()};return n?(n(h.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!h.active)return this;var t=a({onDeactivate:y.onDeactivate,onPostDeactivate:y.onPostDeactivate,checkCanReturnFocus:y.checkCanReturnFocus},e);clearTimeout(h.delayInitialFocusTimer),h.delayInitialFocusTimer=void 0,A(),h.active=!1,h.paused=!1,R(),function(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}(i,r);var n=b(t,"onDeactivate"),o=b(t,"onPostDeactivate"),s=b(t,"checkCanReturnFocus"),c=b(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var u=function(){l((function(){c&&w(O(h.nodeFocusedBeforeActivation)),null==o||o()}))};return c&&s?(s(O(h.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(h.paused||!h.active)return this;var t=b(e,"onPause"),r=b(e,"onPostPause");return h.paused=!0,null==t||t(),A(),R(),null==r||r(),this},unpause:function(e){if(!h.paused||!h.active)return this;var t=b(e,"onUnpause"),r=b(e,"onPostUnpause");return h.paused=!1,null==t||t(),E(),j(),R(),null==r||r(),this}
2,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return h.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),h.active&&E(),R(),this}}).updateContainerElements(e),r}},2521:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var a,i=function(e,t){for(var r=[],n=1,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments),s=r(0,o.length-i.length),c=[],u=0;u<s;u++)c[u]="$"+u;if(a=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=",");return r}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof a){var t=o.apply(this,n(i,arguments));return Object(t)===t?t:this}return o.apply(e,n(i,arguments))})),o.prototype){var l=function(){};l.prototype=o.prototype,a.prototype=new l,l.prototype=null}return a}},7156:(e,t,r)=>{"use strict";var n=r(2521);e.exports=Function.prototype.bind||n},1528:(e,t,r)=>{"use strict";var n,o=r(7143),a=r(4772),i=r(5727),s=r(511),c=r(5912),u=r(4332),l=r(682),p=r(4834),f=r(6140),d=r(9571),v=r(9553),y=r(4441),h=r(9444),b=r(5368),m=r(3750),g=Function,x=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},E=r(1455),w=r(3880),O=function(){throw new l},S=E?function(){try{return O}catch(e){try{return E(arguments,"callee").get}catch(e){return O}}}():O,k=r(465)(),P=r(8792),_=r(2686),T=r(2609),j=r(1764),A=r(8978),N={},R="undefined"!=typeof Uint8Array&&P?P(Uint8Array):n,C={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":k&&P?P([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":N,"%AsyncGenerator%":N,"%AsyncGeneratorFunction%":N,"%AsyncIteratorPrototype%":N,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":N,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":k&&P?P(P([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&k&&P?P((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":E,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&k&&P?P((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&P?P(""[Symbol.iterator]()):n,"%Symbol%":k?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":S,"%TypedArray%":R,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":A,"%Function.prototype.apply%":j,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":_,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":v,"%Math.min%":y,"%Math.pow%":h,"%Math.round%":b,"%Math.sign%":m,"%Reflect.getPrototypeOf%":T};if(P)try{null.error}catch(e){var F=P(P(e));C["%Error.prototype%"]=F}var I=function e(t){var r;if("%AsyncFunction%"===t)r=x("async function () {}");else if("%GeneratorFunction%"===t)r=x("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=x("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&P&&(r=P(o.prototype))}return C[t]=r,r},D={__proto__:null,"%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"]},L=r(7156),$=r(5673),M=L.call(A,Array.prototype.concat),U=L.call(j,Array.prototype.splice),B=L.call(A,String.prototype.replace),G=L.call(A,String.prototype.slice),z=L.call(A,RegExp.prototype.exec),K=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,q=function(e,t){var r,n=e;if($(D,n)&&(n="%"+(r=D[n])[0]+"%"),$(C,n)){var o=C[n];if(o===N&&(o=I(n)),void 0===o&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===z(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=G(e,0,1),r=G(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return B(e,K,(function(e,t,r,o){n[n.length]=r?B(o,W,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=q("%"+n+"%",t),a=o.name,i=o.value,s=!1,c=o.alias;c&&(n=c[0],U(r,M([0,1],c)));for(var p=1,f=!0;p<r.length;
vendor: 8,242 bytes, line 2
2p+=1){var d=r[p],v=G(d,0,1),y=G(d,-1);if(('"'===v||"'"===v||"`"===v||'"'===y||"'"===y||"`"===y)&&v!==y)throw new u("property names with quotes must have matching quotes");if("constructor"!==d&&f||(s=!0),$(C,a="%"+(n+="."+d)+"%"))i=C[a];else if(null!=i){if(!(d in i)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(E&&p+1>=r.length){var h=E(i,d);i=(f=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:i[d]}else f=$(i,d),i=i[d];f&&!s&&(C[a]=i)}}return i}},2686:(e,t,r)=>{"use strict";var n=r(7143);e.exports=n.getPrototypeOf||null},2609:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},8792:(e,t,r)=>{"use strict";var n=r(2609),o=r(2686),a=r(64);e.exports=n?function(e){return n(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:a?function(e){return a(e)}:null},4003:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},1455:(e,t,r)=>{"use strict";var n=r(4003);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},465:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(6073);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},6073:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},5673:(e,t,r)=>{"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,a=r(7156);e.exports=a.call(n,o)},4690:(e,t,r)=>{var n=r(441).Symbol;e.exports=n},6460:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},4318:(e,t,r)=>{var n=r(4690),o=r(7077),a=r(1954),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},454:(e,t,r)=>{var n=r(4690),o=r(6460),a=r(7236),i=r(2945),s=n?n.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return o(t,e)+"";if(i(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},3349:(e,t,r)=>{var n=r(5720),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},4414:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},7077:(e,t,r)=>{var n=r(4690),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=r:delete e[s]),o}},1954:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},441:(e,t,r)=>{var n=r(4414),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();e.exports=a},5720:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},5750:(e,t,r)=>{var n=r(5973),o=r(8148),a=r(8746),i=Math.max,s=Math.min;e.exports=function(e,t,r){var c,u,l,p,f,d,v=0,y=!1,h=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var r=c,n=u;return c=u=void 0,v=t,p=e.apply(n,r)}function g(e){var r=e-d;return void 0===d||r>=t||r<0||h&&e-v>=l}function x(){var e=o();if(g(e))return E(e);f=setTimeout(x,function(e){var r=t-(e-d);return h?s(r,l-(e-v)):r}(e))}function E(e){return f=void 0,b&&c?m(e):(c=u=void 0,p)}function w(){var e=o(),r=g(e);if(c=arguments,u=this,d=e,r){if(void 0===f)return function(e){return v=e,f=setTimeout(x,t),y?m(e):p}(d);if(h)return clearTimeout(f),f=setTimeout(x,t),m(d)}return void 0===f&&(f=setTimeout(x,t)),p}return t=a(t)||0,n(r)&&(y=!!r.leading,l=(h="maxWait"in r)?i(a(r.maxWait)||0,t):l,b="trailing"in r?!!r.trailing:b),w.cancel=function(){void 0!==f&&clearTimeout(f),v=0,c=d=u=f=void 0},w.flush=function(){return void 0===f?p:E(o())},w}},7236:e=>{var t=Array.isArray;e.exports=t},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2945:(e,t,r)=>{var n=r(4318),o=r(3387);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},8148:(e,t,r)=>{var n=r(441);e.exports=function(){return n.Date.now()}},8746:(e,t,r)=>{var n=r(3349),o=r(5973),a=r(2945),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=s.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):i.test(e)?NaN:+e}},1119:(e,t,r)=>{var n=r(454);e.exports=function(e){return null==e?"":n(e)}},556:(e,t,r)=>{var n=r(1119),o=0;e.exports=function(e){var t=++o;return n(e)+t}},6140:e=>{"use strict";e.exports=Math.abs},9571:e=>{"use strict";e.exports=Math.floor},1087:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},9553:e=>{"use strict";e.exports=Math.max},4441:e=>{"use strict";e.exports=Math.min},9444:e=>{"use strict";e.exports=Math.pow},5368:e=>{"use strict";e.exports=Math.round},3750:(e,t,r)=>{"use strict";var n=r(1087);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},9113:(e,t,r)=>{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=r(8441),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),u=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(e){var t=e.constructor;return t&&t.prototype===e},f={$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},d=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{p(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===a.call(e),n=i(e),s=t&&"[object String]"===a.call(e),f=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var v=u&&r;if(s&&e.length>0&&!o.call(e,0))for(var y=0;y<e.length;++y)f.push(String(y));if(n&&e.length>0)for(var h=0;h<e.length;++h)f.push(String(h));else for(var b in e)v&&"prototype"===b||!o.call(e,b)||f.push(String(b));if(c)for(var m=function(e){if("undefined"==typeof window||!d)return p(e);try{return p(e)}catch(e){return!1}}(e),g=0;g<l.length;++g)m&&"constructor"===l[g]||!o.call(e,l[g])||f.push(l[g]);return f}}e.exports=n},3438:(e,t,r)=>{"use strict";var n=Array.prototype.slice,o=r(8441),a=Object.keys,i=a?function(e){return a(e)}:r(9113),s=Object.keys;i.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(n.call(e)):s(e)})}else Object.keys=i;return Object.keys||i},e.exports=i},8441:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},9564:(e,t,r)=>{"use strict";
2var n=r(3438),o=r(6073)(),a=r(3328),i=r(7143),s=a("Array.prototype.push"),c=a("Object.prototype.propertyIsEnumerable"),u=o?i.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var r=i(e);if(1===arguments.length)return r;for(var a=1;a<arguments.length;++a){var l=i(arguments[a]),p=n(l),f=o&&(i.getOwnPropertySymbols||u);if(f)for(var d=f(l),v=0;v<d.length;++v){var y=d[v];c(l,y)&&s(p,y)}for(var h=0;h<p.length;++h){var b=p[h];if(c(l,b)){var m=l[b];r[b]=m}}}return r}},6213:(e,t,r)=>{"use strict";var n=r(9564);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var o=Object.assign({},r),a="";for(var i in o)a+=i;return e!==a}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?n:Object.assign:n}},459:(e,t,r)=>{"use strict";var n=r(5704);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},216:(e,t,r)=>{e.exports=r(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1642:(e,t,r)=>{"use strict";r.r(t),r.d(t,{focusable:()=>E,getTabIndex:()=>f,isFocusable:()=>S,isTabbable:()=>w,tabbable:()=>x});var n=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],o=n.join(","),a="undefined"==typeof Element,i=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!a&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},c=function e(t,r){var n;void 0===r&&(r=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||r&&t&&e(t.parentNode)},u=function(e,t,r){if(c(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&i.call(e,o)&&n.unshift(e),n.filter(r)},l=function e(t,r,n){for(var a=[],s=Array.from(t);s.length;){var u=s.shift();if(!c(u,!1))if("SLOT"===u.tagName){var l=u.assignedElements(),p=e(l.length?l:u.children,!0,n);n.flatten?a.push.apply(a,p):a.push({scopeParent:u,candidates:p})}else{i.call(u,o)&&n.filter(u)&&(r||!t.includes(u))&&a.push(u);var f=u.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(u),d=!c(f,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(u));if(f&&d){var v=e(!0===f?u.children:f.children,!0,n);n.flatten?a.push.apply(a,v):a.push({scopeParent:u,candidates:v})}else s.unshift.apply(s,u.children)}}return a},p=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&!p(e)?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},v=function(e){return"INPUT"===e.tagName},y=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},h=function(e,t){return!(t.disabled||c(t)||function(e){return v(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(o,"details:not([open]) *"))return!0;
2if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return y(e)}else{if("function"==typeof n){for(var a=e;e;){var c=e.parentElement,u=s(e);if(c&&!c.shadowRoot&&!0===n(c))return y(e);e=e.assignedSlot?e.assignedSlot:c||u===e.ownerDocument?c:u.host}e=a}if(function(e){var t,r,n,o,a=e&&s(e),i=null===(t=a)||void 0===t?void 0:t.host,c=!1;if(a&&a!==e)for(c=!!(null!==(r=i)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(i)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!c&&i;){var u,l,p;c=!(null===(l=i=null===(u=a=s(i))||void 0===u?void 0:u.host)||void 0===l||null===(p=l.ownerDocument)||void 0===p||!p.contains(i))}return c}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!i.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},b=function(e,t){return!(function(e){return function(e){return v(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||s(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!o||o===e}(e)}(t)||f(t)<0||!h(e,t))},m=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},g=function e(t){var r=[],n=[];return t.forEach((function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,s=function(e,t){var r=f(e);return r<0&&t&&!p(e)?0:r}(i,a),c=a?e(t.candidates):i;0===s?a?r.push.apply(r,c):r.push(i):n.push({documentOrder:o,tabIndex:s,item:t,isScope:a,content:c})})),n.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},x=function(e,t){var r;return r=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:b.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:m}):u(e,t.includeContainer,b.bind(null,t)),g(r)},E=function(e,t){return(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:h.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,h.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,o)&&b(t,e)},O=n.concat("iframe").join(","),S=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,O)&&h(t,e)}},9787:t=>{"use strict";t.exports=e},5156:e=>{"use strict";e.exports=t}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.r(a),o.d(a,{KibModal:()=>lt,KibSheet:()=>at,KibSheetContext:()=>Xe,KibSheetStep:()=>ct,KibSpinningLoader:()=>vt}),o(8547),o(4861);var e=o(9787),t=o.n(e);function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);
2else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function n(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}const i=n;var s=o(6211),c=o.n(s),u=o(556),l=o.n(u),p=o(5750),f=o.n(p);const d=(t=!0,r=!1)=>{const n=(0,e.useRef)(0),o=(0,e.useRef)(!0),a=()=>{if(!window.visualViewport)return;const e=`${window.visualViewport.height}px`;document.body.style.height=e,document.documentElement.style.height=e},i=()=>{o.current||(document.body.style.overflow="",document.body.style.height="",document.documentElement.style.overflow="",document.documentElement.style.height="",document.documentElement.style.paddingRight="",window.scrollTo(0,n.current),n.current=0,o.current=!0)};(0,e.useEffect)((()=>{t?i():(()=>{if(!o.current)return;n.current=window.pageYOffset,a();const e=window.innerWidth-document.body.offsetWidth;document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=`${e}px`,document.body.scrollTo(0,n.current),window.scrollTo(0,0),o.current=!1})()}),[t]),(0,e.useLayoutEffect)((()=>{if(r)return;const e=f()(a,50);return t?window.removeEventListener("resize",e):window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),i()}}),[t])};var v=o(6213),y=o.n(v),h=function(e){var r=y()()({},{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e);return t().createElement("svg",r,t().createElement("path",{d:"m9 16.2-3.5-3.5a.984.984 0 0 0-1.4 0 .984.984 0 0 0 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7a.984.984 0 0 0 0-1.4.984.984 0 0 0-1.4 0L9 16.2Z",fill:"currentColor"}))},b=function(e){var r=y()()({},{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e);return t().createElement("svg",r,t().createElement("path",{d:"M14.71 15.88 10.83 12l3.88-3.88a.996.996 0 1 0-1.41-1.41L8.71 11.3a.996.996 0 0 0 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .38-.39.39-1.03 0-1.42Z",fill:"currentColor"}))},m=function(e){var r=y()()({},{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e);return t().createElement("svg",r,t().createElement("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"currentColor"}))};function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}function x(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function w(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,E(e,t)}
vendor: 3,866 bytes, line 2
2function O(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var S=o(5156),k=o.n(S);const P=t().createContext(null);var _=function(e){return e.scrollTop},T="unmounted",j="exited",A="entering",N="entered",R="exiting",C=function(e){function r(t,r){var n;n=e.call(this,t,r)||this;var o,a=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?a?(o=j,n.appearStatus=A):o=N:o=t.unmountOnExit||t.mountOnEnter?T:j,n.state={status:o},n.nextCallback=null,n}w(r,e),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===T?{status:j}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==A&&r!==N&&(t=A):r!==A&&r!==N||(t=R)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===A){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:k().findDOMNode(this);r&&_(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===j&&this.setState({status:T})},n.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[k().findDOMNode(this),n],a=o[0],i=o[1],s=this.getTimeouts(),c=n?s.appear:s.enter;e||r?(this.props.onEnter(a,i),this.safeSetState({status:A},(function(){t.props.onEntering(a,i),t.onTransitionEnd(c,(function(){t.safeSetState({status:N},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:N},(function(){t.props.onEntered(a)}))},n.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:k().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:R},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:j},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:j},(function(){e.props.onExited(n)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:k().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===T)return null;var r=this.props,n=r.children,o=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,x(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t().createElement(P.Provider,{value:null},"function"==typeof n?n(e,o):t().cloneElement(t().Children.only(n),o))},r}(t().Component);function F(){}C.contextType=P,C.propTypes={},C.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:F,onEntering:F,onEntered:F,onExit:F,onExiting:F,onExited:F}
2,C.UNMOUNTED=T,C.EXITED=j,C.ENTERING=A,C.ENTERED=N,C.EXITING=R;const I=C;var D=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return n=t,void((r=e).classList?r.classList.remove(n):"string"==typeof r.className?r.className=O(r.className,n):r.setAttribute("class",O(r.className&&r.className.baseVal||"",n)));var r,n}))},L=function(e){function r(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,r){var n=t.resolveArguments(e,r),o=n[0],a=n[1];t.removeClasses(o,"exit"),t.addClass(o,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,r)},t.onEntering=function(e,r){var n=t.resolveArguments(e,r),o=n[0],a=n[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,r)},t.onEntered=function(e,r){var n=t.resolveArguments(e,r),o=n[0],a=n[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,r)},t.onExit=function(e){var r=t.resolveArguments(e)[0];t.removeClasses(r,"appear"),t.removeClasses(r,"enter"),t.addClass(r,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var r=t.resolveArguments(e)[0];t.addClass(r,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var r=t.resolveArguments(e)[0];t.removeClasses(r,"exit"),t.addClass(r,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,r){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,r]},t.getClassNames=function(e){var r=t.props.classNames,n="string"==typeof r,o=n?(n&&r?r+"-":"")+e:r[e];return{baseClassName:o,activeClassName:n?o+"-active":r[e+"Active"],doneClassName:n?o+"-done":r[e+"Done"]}},t}w(r,e);var n=r.prototype;return n.addClass=function(e,t,r){var n=this.getClassNames(t)[r+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===r&&o&&(n+=" "+o),"active"===r&&e&&_(e),n&&(this.appliedClasses[t][r]=n,function(e,t){e&&t&&t.split(" ").forEach((function(t){return n=t,void((r=e).classList?r.classList.add(n):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(r,n)||("string"==typeof r.className?r.className=r.className+" "+n:r.setAttribute("class",(r.className&&r.className.baseVal||"")+" "+n)));var r,n}))}(e,n))},n.removeClasses=function(e,t){var r=this.appliedClasses[t],n=r.base,o=r.active,a=r.done;this.appliedClasses[t]={},n&&D(e,n),o&&D(e,o),a&&D(e,a)},n.render=function(){var e=this.props,r=(e.classNames,x(e,["classNames"]));return t().createElement(I,g({},r,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(t().Component);L.defaultProps={classNames:""},L.propTypes={};const $=L,M={default:400,slow:600,fast:200};function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])({}).hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},U.apply(null,arguments)}const B=({switchKey:e,name:r="fade",speed:n="default",appear:o=!1,enter:a=(()=>{}),afterEnter:i=(()=>{}),leave:s=(()=>{}),afterLeave:c=(()=>{}),unmountOnExit:u=!0,children:l,nodeRef:p,...f})=>{const d=M[n||"default"],v=e=>{var t,r;return"object"==typeof(r=p)&&null!=r&&r.hasOwnProperty("current")?null!==(t=p.current)&&void 0!==t?t:void 0:e instanceof HTMLElement?e:void 0},y="kib-transition",h=`${y}--${r}`,b=`${y}--${n}`;return t().createElement($,U({in:e,appear:o,timeout:d,mountOnEnter:!0,unmountOnExit:u,classNames:{appear:`${h} ${y}--appear`,appearActive:`${h} ${y}--appear-active ${b}`,appearDone:`${h} ${y}--appear-done`,enter:`${h} ${y}--enter`,enterActive:`${h} ${y}--enter-active ${b}`,enterDone:`${h} ${y}--enter-done`,exit:`${h} ${y}--exit`,exitActive:`${h} ${y}--exit-active ${b}`,exitDone:`${h} ${y}--exit-done`},onEnter:e=>{const t=v(e);if("collapse"===r&&t){const e=getComputedStyle(t).width;t.style.width=e,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const r=getComputedStyle(t).height;t.style.width="",t.style.position="",t.style.visibility="",t.style.height="0",requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height=r}))}))}a()},onEntered:e=>{const t=v(e);"collapse"===r&&t&&(t.style.height="auto"),i()},onExit:e=>{const t=v(e);if("collapse"===r&&t){const e=getComputedStyle(t).height;t.style.height=e,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height="0"}))}))}s()},onExited:c,nodeRef:p},f),l)};B.displayName="KibTransition";const G=B;o(2355),o(3039),o(4994);var z={xs:0,sm:361,md:648,lg:1025,xl:1440},K=!1;"function"==typeof SuppressedError&&SuppressedError;var W,q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==o.g?o.g:"undefined"!=typeof self?self:{},V=(Array.isArray,"object"==typeof q&&q&&q.Object===Object&&q),H="object"==typeof self&&self&&self.Object===Object&&self,Y=V||H||Function("return this")(),J=Y.Symbol,X=J,Z=Object.prototype,Q=Z.hasOwnProperty,ee=Z.toString,te=X?X.toStringTag:void 0,re=Object.prototype.toString,ne=J?J.toStringTag:void 0,oe=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ae=oe,ie=Y["__core-js_shared__"],se=(W=/[^.]+$/.exec(ie&&ie.keys&&ie.keys.IE_PROTO||""))?"Symbol(sr
2c)_1."+W:"",ce=Function.prototype.toString,ue=oe,le=/^\[object .+?Constructor\]$/,pe=Function.prototype,fe=Object.prototype,de=pe.toString,ve=fe.hasOwnProperty,ye=RegExp("^"+de.call(ve).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),he=function(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!ue(e)||function(e){return!!se&&se in e}(e))&&(function(e){if(!ae(e))return!1;var t=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ne&&ne in Object(e)?function(e){var t=Q.call(e,te),r=e[te];try{e[te]=void 0;var n=!0}catch(e){}var o=ee.call(e);return n&&(t?e[te]=r:delete e[te]),o}(e):function(e){return re.call(e)}(e)}(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(e)?ye:le).test(function(e){if(null!=e){try{return ce.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(r)?r:void 0},be=he(Object,"create"),me=be,ge=be,xe=Object.prototype.hasOwnProperty,Ee=be,we=Object.prototype.hasOwnProperty,Oe=be;function Se(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Se.prototype.clear=function(){this.__data__=me?me(null):{},this.size=0},Se.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Se.prototype.get=function(e){var t=this.__data__;if(ge){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return xe.call(t,e)?t[e]:void 0},Se.prototype.has=function(e){var t=this.__data__;return Ee?void 0!==t[e]:we.call(t,e)},Se.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Oe&&void 0===t?"__lodash_hash_undefined__":t,this};var ke=Se,Pe=function(e,t){return e===t||e!=e&&t!=t},_e=function(e,t){for(var r=e.length;r--;)if(Pe(e[r][0],t))return r;return-1},Te=_e,je=Array.prototype.splice,Ae=_e,Ne=_e,Re=_e;function Ce(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ce.prototype.clear=function(){this.__data__=[],this.size=0},Ce.prototype.delete=function(e){var t=this.__data__,r=Te(t,e);return!(0>r||(r==t.length-1?t.pop():je.call(t,r,1),--this.size,0))},Ce.prototype.get=function(e){var t=this.__data__,r=Ae(t,e);return 0>r?void 0:t[r][1]},Ce.prototype.has=function(e){return-1<Ne(this.__data__,e)},Ce.prototype.set=function(e,t){var r=this.__data__,n=Re(r,e);return 0>n?(++this.size,r.push([e,t])):r[n][1]=t,this};var Fe=Ce,Ie=he(Y,"Map"),De=ke,Le=Fe,$e=Ie,Me=function(e,t){var r=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?r["string"==typeof t?"string":"hash"]:r.map},Ue=Me,Be=Me,Ge=Me,ze=Me;function Ke(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ke.prototype.clear=function(){this.size=0,this.__data__={hash:new De,map:new($e||Le),string:new De}},Ke.prototype.delete=function(e){var t=Ue(this,e).delete(e);return this.size-=t?1:0,t},Ke.prototype.get=function(e){return Be(this,e).get(e)},Ke.prototype.has=function(e){return Ge(this,e).has(e)},Ke.prototype.set=function(e,t){var r=ze(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};var We=Ke;function qe(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(qe.Cache||We),r}qe.Cache=We;var Ve=qe,He=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ye=/\\(\\)?/g,Je=(function(e){var t=Ve((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(He,(function(e,r,n,o){t.push(n?o.replace(Ye,"$1"):r||e)})),t}),(function(e){return 500===r.size&&r.clear(),e})),r=t.cache}(),J?J.prototype:void 0);Je&&Je.toString;const Xe=(0,e.createContext)({state:{steps:0,current:1,inactive:[],stepTitle:"",reverse:!1,success:!1,preventReverse:!1,hasNavigated:!1},currentStep:0,set:()=>{},back:()=>{},close:()=>{},forward:()=>{},onStepChange:()=>{},setState:e=>e,disableScrollShadows:!1}),Ze=(0,e.createContext)({kibSheetFlowState:{currentStep:0,completed:0,total:0,shouldShowBackButton:void 0},kibSheetFlowAction:{stepBack:()=>{},stepForward:()=>{},stepSet:()=>{},stepNextIncomplete:()=>{},stepStatus:()=>{},stepCompletedSet:()=>{}}});function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])({}).hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Qe.apply(null,arguments)}const et=(0,e.forwardRef)((({totalSteps:r,currentStep:n=1,completedStep:o=0,inactiveSteps:a=[],onStepChange:i=(()=>{}),shouldShowBackButton:s,className:c,children:u,...l},p)=>{const[f,d]=(0,e.useState)(n||1),[v,y]=(0,e.useState)(o||0),h=()=>{let e=f;for(;1<e;)if(e--,-1===a.indexOf(e)){d(e);break}i(e)},b=e=>{let t=e||f;for(y(f>v?f:v);t<r;)if(t++,-1===a.indexOf(t)){d(t);break}i(t)};(0,e.useImperativeHandle)(p,(()=>({stepBack:h,stepForward:b,stepSet:m})));const m=e=>{const t=e>r?r:e;d(t),y(t>=v?t:v),i(t)};return t().createElement("div",Qe({className:c},l),t().createElement(Ze.Provider,{value:{kibSheetFlowState:{currentStep:f,completed:v,total:r,shouldShowBackButton:s},kibSheetFlowAction:{stepBack:h,stepForward:b,stepSet:m,stepNextIncomplete:()=>{v>f?(d(v),b(v)):b(f)},stepStatus:e=>{let t;switch(!0){case-1!==a.indexOf(e):t="inactive";break;case e===f:t="active";break;
2case e!==f&&e<=v:t="complete";break;default:t="incomplete"}return t},stepCompletedSet:e=>{y(f<=e?e:f)}}}},u))}));et.displayName="KibSheetFlow";const tt=e=>e instanceof Element&&!!e.closest("[data-kib-overlay-dismiss-ignore]"),rt=(t,r)=>{const n=(0,e.useRef)(!1),o=()=>{n.current=!1},a=e=>e instanceof Node&&!!t.current&&!t.current.contains(e);return{gestureProps:{onPointerCancelCapture:()=>{o()},onPointerDownCapture:e=>{tt(e.target)?n.current=!1:n.current=a(e.target)},onPointerUpCapture:e=>{const t=n.current&&a(e.target)&&!tt(e.target);o(),t&&r()}}}};function nt(t=!1){const[r,n]=(0,e.useState)(!0),[o,a]=(0,e.useState)(!0),[i,s]=(0,e.useState)(!1),[c,u]=(0,e.useState)(0),l=(0,e.useRef)(null),p=(0,e.useRef)(null),d=(0,e.useCallback)((e=>{if(t)return;const{scrollTop:c,scrollHeight:u,clientHeight:l}=e,p=u>l,f=c<16,d=c>u-l-16||u===l;p!==i&&s(p),o!==f&&a((()=>f)),r!==d&&n((()=>d))}),[t,i,o,r]),v=(0,e.useCallback)((e=>{t||d(e.currentTarget)}),[t,d]),y=(0,e.useCallback)((e=>{var r,o;t||(l.current&&(u(0),n((()=>!0)),a((()=>!0)),l.current.scrollTop=0,null===(r=p.current)||void 0===r||r.disconnect()),e&&(null===(o=p.current)||void 0===o||o.observe(e),u(e.clientHeight)),l.current=e)}),[t]);return(0,e.useEffect)((()=>{var e;return t?(null===(e=p.current)||void 0===e||e.disconnect(),void(p.current=null)):(p.current=new ResizeObserver(f()((e=>{const t=e[0].target,{scrollHeight:r,clientHeight:n}=t,o=r>n;n===c&&o===i||(s(o),d(t),u(n))}))),()=>{var e;null===(e=p.current)||void 0===e||e.disconnect(),p.current=null})}),[t,c,i,d]),t?{onScrollHandler:()=>{},setContentRef:()=>{},isAtStart:!0,isAtEnd:!0,hasOverflow:!1}:{onScrollHandler:v,setContentRef:y,isAtStart:o,isAtEnd:r,hasOverflow:i}}function ot(){return ot=Object.assign?Object.assign.bind():function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])({}).hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},ot.apply(null,arguments)}const at=(0,e.forwardRef)((({backLabel:r="Back",bottom:o=!1,closeLabel:a="Close",hybrid:i=!1,noScrollHandler:s=!1,size:u="default",title:p="",open:f=!0,pauseClose:v=!1,onOpen:y=(()=>{}),onBeforeClose:g=(()=>{}),onClose:x=(()=>{}),onBack:E=(()=>{}),onClosePause:w=(()=>{}),initialFocus:O,openAtStep:S=1,useWorkflow:k=!1,actions:P,id:_,className:T,disableScrollShadows:j=!1,children:A,...N},R)=>{const C=(0,e.useRef)(null),F=(0,e.useRef)(null),I=(0,e.useRef)(!1),D=(0,e.useRef)(null),L=(0,e.useRef)(null),$=(0,e.useRef)(_||l()("kib-sheet-")),M=(0,e.useRef)(0),U=(0,e.useRef)(!1),{onScrollHandler:B,setContentRef:W,isAtStart:q,isAtEnd:V,hasOverflow:H}=nt(j),[Y,J]=(0,e.useState)(f),[X,Z]=(0,e.useState)(!1),[Q,ee]=(0,e.useState)(!0),[te,re]=(0,e.useState)(null),ne={steps:0,current:S,inactive:[],stepTitle:"",success:!1,reverse:!1,preventReverse:!1,hasNavigated:!1,lastEvent:null},[oe,ae]=(0,e.useState)({...ne});let ie,se;Q&&"undefined"!=typeof window&&"function"==typeof window.matchMedia&&(ee(!1),ie=window.matchMedia(function(e){K||(K=!0,console.warn("[@chewy/kib-utilities] media.query() is deprecated. Prefer CSS media queries and container queries for layout to avoid client-only layout flash on SSR. Use @chewy/kib-foundations (SCSS) or design tokens for breakpoint values."));var t=function(e){var t=e.indexOf("-");return-1!==t?e.slice(t+1):e}(e),r=function(e,t,r){if(void 0===r&&(r="item"),!(t in e))throw new Error("The ".concat(r," ").concat(t," does not exist."));return e[t]}(z,t,"breakpoint");if(-1!==e.indexOf("min-"))return"(min-width: ".concat(r,"px)");var n=function(e){var t=function(e){var t=z,r=Object.keys(t),n=r.length-1,o=Object.values(t),a=r.indexOf(e);if(-1===a)throw new Error("The breakpoint ".concat(e," does not exist."));return a<n?o[a+1]:null}(e);return t?t-1:""}(t);if(-1!==e.indexOf("max-")&&n)return"(max-width: ".concat(n,"px)");if(n)return"(min-width: ".concat(r,"px) and (max-width: ").concat(n,"px)");throw new Error("The breakpoint ".concat(e," does not exist."))}("max-sm")),se=e=>Z(e.matches),Z(ie.matches),ie.addEventListener?ie.addEventListener("change",se):ie.addListener&&ie.addListener(se)),(0,e.useEffect)((()=>()=>{ie&&se&&(ie.removeEventListener?ie.removeEventListener("change",se):ie.removeListener&&ie.removeListener(se))}),[]),(0,e.useEffect)((()=>{k&&(null!==te&&te!==oe.current&&(oe.reverse?re(null):oe.hasNavigated||re(null)),oe.hasNavigated&&te!==oe.current&&re(oe.current))}),[k,oe.current,oe.hasNavigated,te,oe.reverse]);const ce=`${$.current}-title`,ue=`${$.current}-dialog`,le=oe.stepTitle||p,pe="function"!=typeof A,fe=!oe.steps&&!!P,de=(0,e.useMemo)((()=>
2{const e=!oe.preventReverse&&!oe.success&&1<oe.current;return k&&te!==oe.current&&1!==oe.current?U.current:e}),[oe.current,oe.preventReverse,oe.success,k,te]);(0,e.useEffect)((()=>{if(!k||te===oe.current||1===oe.current){const e=!oe.preventReverse&&!oe.success&&1<oe.current;U.current=e}}),[oe.current,oe.preventReverse,oe.success,k,te]);const ve=o&&X?"slide-up":"slide-left",ye=()=>{g(),J(!1)},he=()=>{if(v)return null==w?void 0:w(ye);ye()},{gestureProps:be}=rt(C,he),me=e=>{var t;if(!oe.preventReverse)return!0!==oe.reverse&&ae((e=>({...e,reverse:!0}))),t=oe.current-1,E(t),e.stepBack()},ge=()=>{var e;null===(e=L.current)||void 0===e||e.focus()},xe=n("kib-sheet",{"kib-sheet--has-workflow":k,"kib-sheet--bottom":o,"kib-sheet--stepped":0<oe.steps,"kib-sheet--has-back":de,"kib-sheet--has-actions":fe},T),{onPointerCancelCapture:Ee,onPointerDownCapture:we,onPointerUpCapture:Oe,...Se}=N;return d(!Y,s),(0,e.useEffect)((()=>{J(f)}),[f]),t().createElement("div",ot({ref:R,id:$.current,className:xe,onPointerCancelCapture:e=>{var t;null===(t=be.onPointerCancelCapture)||void 0===t||t.call(be,e),null==Ee||Ee(e)},onPointerDownCapture:e=>{var t;null===(t=be.onPointerDownCapture)||void 0===t||t.call(be,e),null==we||we(e)},onPointerUpCapture:e=>{var t;null===(t=be.onPointerUpCapture)||void 0===t||t.call(be,e),null==Oe||Oe(e)}},Se),t().createElement(G,{appear:!0,nodeRef:C,name:ve,switchKey:Y,afterEnter:y,afterLeave:()=>{const e=D.current;null==e||e.stepSet(S),I.current=!1,ae({...ne}),x()}},t().createElement(c(),{focusTrapOptions:{initialFocus:O||`#${ce}`,delayInitialFocus:!0,fallbackFocus:`#${ue}`,clickOutsideDeactivates:!1,allowOutsideClick:e=>e.target===F.current||tt(e.target),escapeDeactivates:()=>(he(),!v)}},t().createElement("div",{ref:C,id:ue,className:n("kib-sheet__panel","default"!==u?`kib-sheet__panel--${u}`:void 0),role:"dialog",tabIndex:-1,"aria-modal":"true","aria-hidden":!Y,"aria-labelledby":ce},t().createElement("div",{className:n("kib-sheet__header",{"kib-sheet__header--hidden":i})},de&&!i&&t().createElement("button",{className:"kib-sheet__control kib-sheet__control--back",type:"button","aria-label":r,onClick:()=>{const e=D.current;ae((e=>({...e,lastEvent:`back:${oe.current-1}:${++M.current}`}))),e&&me(e)}},t().createElement(b,{className:"kib-sheet__control-icon",role:"img",focusable:"false","aria-hidden":"true","data-a11y":"decorative"})),t().createElement((()=>t().createElement("h2",{id:ce,ref:L,className:n("kib-sheet__title",{"kib-sheet__title--success":oe.success}),tabIndex:-1,key:le},oe.success&&t().createElement(h,{className:"kib-sheet__title-icon",focusable:"false","aria-hidden":"true","data-a11y":"decorative"}),le)),null),!i&&t().createElement("button",{className:"kib-sheet__control",type:"button","aria-label":a,onClick:he},t().createElement(m,{className:"kib-sheet__control-icon",role:"img",focusable:"false","aria-hidden":"true","data-a11y":"decorative"}))),t().createElement("div",{ref:pe?W:null,className:n("kib-sheet__content",pe?{"kib-sheet__content--at-start":q,"kib-sheet__content--at-end":V,"kib-sheet__content--has-overflow":H}:null),onScroll:B},pe?k?t().createElement(Xe.Provider,{value:{state:oe,setState:ae,close:he,onStepChange:ge,set:()=>{},back:()=>()=>{},forward:()=>()=>{},disableScrollShadows:j}},A):A:t().createElement(et,{className:"kib-sheet__steps-wrapper",ref:D,totalSteps:oe.steps,inactiveSteps:oe.inactive,currentStep:S,shouldShowBackButton:de},t().createElement(Ze.Consumer,null,(({kibSheetFlowAction:e})=>t().createElement(Xe.Provider,{value:{state:oe,setState:ae,close:he,onStepChange:ge,set:t=>((e,t,r="default")=>{const n=e<oe.current;return"reverse"!==r&&oe.reverse===n||ae((e=>({...e,reverse:"reverse"===r?!n:n}))),t.stepSet(e)})(t,e),back:()=>me(e),forward:()=>(e=>(!1!==oe.reverse&&ae((e=>({...e,reverse:!1}))),e.stepForward()))(e),disableScrollShadows:j}},t().createElement(Xe.Consumer,null,(e=>A(e)))))))),fe&&t().createElement("div",{className:"kib-sheet__actions"},P)))),t().createElement(G,{appear:!0,name:"fade",speed:"fast",switchKey:Y,nodeRef:F},t().createElement("div",{ref:F,className:"kib-sheet__backdrop"})))}));at.displayName="KibSheet";var it=o(1596);function st(){return st=Object.assign?Object.assign.bind():function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])({}).hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},st.apply(null,arguments)}const ct=(0,e.forwardRef)((({title:r="",success:o=!1,inactive:a=!1,preventReverse:i=!1,actions:s,className:c,disableScrollShadows:u,children:l,...p},f)=>{const d=(0,e.useRef)(0),v=(0,e.useRef)(!1),y=(0,e.useRef)(null),{kibSheetFlowState:h}=(0,e.useContext)(Ze),{state:b,setState:m,onStepChange:g,disableScrollShadows:x}=(0,e.useContext)(Xe),E=void 0!==u?u:null!=x&&x,{onScrollHandler:w,setContentRef:O,isAtStart:S,isAtEnd:k,hasOverflow:P}=nt(E),[_,T]=(0,e.useState)(!1);(0,e.useEffect)((()=>(m((e=>(d.current=e.steps+1,1!==d.current&&(v.current=!0),{...e,steps:d.current}))),()=>{m({steps:0,current:1,inactive:[],stepTitle:"",reverse:!1,success:!1,preventReverse:!1,hasNavigated:!1})})),[]),(0,e.useEffect)((()=>{m((e=>{const t=e.inactive;if(a)t.push(d.current);else{const e=t.indexOf(d.current);-1<e&&t.splice(e,1)}return{...e,inactive:t}}))}),[a]),(0,e.useEffect)((()=>{T(d.current===h.currentStep),d.current===h.currentStep&&(v.current=!0),m((e=>({...e,current:h.currentStep})))}),[d.current,h.currentStep]),(0,e.useEffect)((()=>{_&&m((e=>({...e,stepTitle:r,preventReverse:i})))}),[_,i,r]),(0,e.useEffect)((()=>{_&&m((e=>({...e,success:o,hasNavigated:!0})))}),[_,o]);const j=b.reverse?"backward":"forward";return t().createElement($,{classNames:b.hasNavigated?`kib-sheet-step-react--${j}
2`:"",nodeRef:y,in:_,timeout:300,unmountOnExit:!0,enter:v.current,onEntered:()=>{v.current=!0,g()}},t().createElement("div",st({ref:(0,it.Z)(y,f),className:n("kib-sheet-step",c)},p),t().createElement("div",{ref:O,className:n("kib-sheet-step__content",{"kib-sheet-step__content--at-start":S,"kib-sheet-step__content--at-end":k,"kib-sheet-step__content--has-overflow":P}),onScroll:w},l),s&&t().createElement("div",{className:"kib-sheet-step__actions"},s)))}));function ut(){return ut=Object.assign?Object.assign.bind():function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])({}).hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},ut.apply(null,arguments)}ct.displayName="KibSheetStep";const lt=(0,e.forwardRef)((({transitionProps:r={},closeLabel:o="Close",title:a="",controls:i,open:s=!0,size:u="default",onOpen:p=(()=>{}),onBeforeClose:f=(()=>{}),onClose:v=(()=>{}),initialFocus:y,dialogAttributes:h,className:b,children:g,id:x,...E},w)=>{const[O,S]=(0,e.useState)(s),k=(0,e.useRef)(x||l()("kib-modal-")),P=(0,e.useRef)(null),_=(0,e.useRef)(null),T=(0,e.useRef)(null),j=`${k.current}-title`,A=`${k.current}-dialog`,N=`${k.current}-close-button`,R=n("kib-modal",b),C=n("kib-modal__header"),F=n("kib-modal__container",u&&"default"!==u&&`kib-modal__container--${u}`,null==h?void 0:h.className),I=n("kib-modal__wrapper-inner",u&&"default"!==u&&`kib-modal__wrapper-inner--${u}`),D=n("kib-modal__content",i&&"kib-modal__content--has-controls"),L=()=>{f(),S(!1)},{gestureProps:$}=rt(P,L),M=t().createElement("div",{className:C},a&&t().createElement("h2",{id:j,className:"kib-modal__title"},a),t().createElement("button",{id:N,className:"kib-modal__control",type:"button",onClick:L},t().createElement("span",{className:"kib-modal__control-label"},o),t().createElement(m,{className:"kib-modal__control-icon",role:"img",focusable:"false","aria-hidden":"true","data-a11y":"decorative"}))),U=t().createElement("div",{className:"kib-modal__actions"},"function"==typeof i?i({close:L}):i),B=t().createElement("div",{tabIndex:0,role:"region","aria-label":"scrollable",className:D},g),{onPointerCancelCapture:z,onPointerDownCapture:K,onPointerUpCapture:W,...q}=E;return d(!O),(0,e.useEffect)((()=>{S(s)}),[s]),t().createElement("div",ut({ref:w,id:k.current,className:R,onPointerCancelCapture:e=>{var t;null===(t=$.onPointerCancelCapture)||void 0===t||t.call($,e),null==z||z(e)},onPointerDownCapture:e=>{var t;null===(t=$.onPointerDownCapture)||void 0===t||t.call($,e),null==K||K(e)},onPointerUpCapture:e=>{var t;null===(t=$.onPointerUpCapture)||void 0===t||t.call($,e),null==W||W(e)}},q),t().createElement(G,ut({appear:!0,nodeRef:_,name:"zoom",speed:"fast",switchKey:O,afterEnter:p,afterLeave:v},r),t().createElement("div",{ref:_,className:"kib-modal__container-wrapper"},t().createElement("div",{className:I},t().createElement(c(),{focusTrapOptions:{initialFocus:y||`#${N}`,fallbackFocus:`#${A}`,escapeDeactivates:()=>(L(),!0),clickOutsideDeactivates:!1,allowOutsideClick:e=>tt(e.target)||e.target===_.current}},t().createElement("div",ut({ref:P},h,{role:"dialog",id:A,"aria-modal":O,"aria-labelledby":j,"aria-hidden":O?void 0:"true",className:F,tabIndex:-1}),M,g&&B,i&&U))))),t().createElement(G,{name:"fade",speed:"fast",nodeRef:T,switchKey:O},t().createElement("div",{ref:T,className:"kib-modal__backdrop"})))}));function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])({}).hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},pt.apply(null,arguments)}lt.displayName="KibModal";const ft=(0,e.forwardRef)((({label:e="Loading",className:r,...n},o)=>t().createElement("span",pt({ref:o,className:i("kib-spinner",r)},n),t().createElement("svg",{className:"kib-spinner__svg",viewBox:"22 22 44 44",role:"img","aria-label":e,focusable:"false"},t().createElement("circle",{className:"kib-spinner__path",cx:"44",cy:"44",r:"20.2",fill:"none"})))));function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])({}).hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},dt.apply(null,arguments)}ft.displayName="KibSpinner";const vt=(0,e.forwardRef)((({emphasis:e=!1,embedded:r=!1,label:n,className:o,...a},s)=>{const c=i("kib-spinning-loader",e&&"kib-spinning-loader--emphasis",r&&"kib-spinning-loader--embedded",o);return t().createElement("div",dt({ref:s,className:c},a),t().createElement("div",{className:"kib-spinning-loader__spinner"},t().createElement(ft,{label:n})))}));vt.displayName="KibSpinningLoader"})(),a})()));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.